VFP and .NET Interop
can't find entry point SetClrVersion in the dll ,can't find entry point ClrCreateInstanceForm in the dll ,Variable 'LNDISPANDHLE' is not found , unab
Gravatar is a globally recognized avatar based on your email address. can't find entry point SetClrVersion in the dll ,can't find entry point ClrCreateInstanceForm in the dll ,Variable 'LNDISPANDHLE' is not found , unab
  Akashdeep Singh
  All
  Sep 14, 2017 @ 01:40pm
*** DO wwDotNetBridge


LOCAL loBridge as wwDotNetBridge

loBridge = newobject('wwDotNetBridge', 'c:\users\akashdeep singh\documents\visual foxpro projects\share\wwdotnetbridge.prg','', 'V4')
loBridge.LoadAssembly('c:\users\akashdeep singh\documents\visual studio 2017\Projects\S3\S3\bin\Debug\S3.dll') 
loClass = loBridge.CreateInstance('S3.Form1')
a=TRIM(thisform.txtFilepath.Value)
b=TRIM(thisform.txtLibraryname.Value)
c=TRIM(thisform.txtSiteurl.Value)
d=TRIM(thisform.txtProperty.Value)
e=TRIM(thisform.txtComments.Value)
f=TRIM(thisform.txtKeywords.Value)

loClass.upload('a','b','c','d','e','f')

Gravatar is a globally recognized avatar based on your email address. re: can't find entry point SetClrVersion in the dll ,can't find entry point ClrCreateInstanceForm in the dll ,Variable 'LNDISPANDHLE' is not found ,
  Rick Strahl
  Akashdeep Singh
  Sep 15, 2017 @ 02:31am

You need to make sure the DLLs are in your FoxPro path. Ideally you'll want those in the same folder that you are running out of.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: can't find entry point SetClrVersion in the dll ,can't find entry point ClrCreateInstanceForm in the dll ,Variable 'LNDISPANDHLE' is not found ,
  Akashdeep Singh
  Rick Strahl
  Sep 15, 2017 @ 10:49am

sry i'm not able to understand & could u give me some instructions visually or jst give a procedure to do

Gravatar is a globally recognized avatar based on your email address. re: can't find entry point SetClrVersion in the dll ,can't find entry point ClrCreateInstanceForm in the dll ,Variable 'LNDISPANDHLE' is not found ,
  Akashdeep Singh
  Akashdeep Singh
  Sep 15, 2017 @ 11:26am

now i am getting a error of this kind! that Microsoft.SharePoint.Client.Runtime does not fall with in the expected range plz hlp me in resolving this

Gravatar is a globally recognized avatar based on your email address. re: can't find entry point SetClrVersion in the dll ,can't find entry point ClrCreateInstanceForm in the dll ,Variable 'LNDISPANDHLE' is not found ,
  Rick Strahl
  Akashdeep Singh
  Sep 15, 2017 @ 03:19pm

Please take a look at the documentation. You have to understand how .NET components work before you can use this library.

The white paper will also help.

+++ Rick ---

© 1996-2024