Hello,
I am getting an error in the following segment of code, on line SetClrVersion(). The error says, "could not find entery SetClrVersion in the DLL" (IIRC).
PROTECTED FUNCTION SetClrVersion(lcVersion)
DECLARE Integer SetClrVersion IN WWC_CLR_HOSTDLL string
SetClrVersion(lcVersion)
ENDFUNC
What could be wrong or missing in my environment?
TIA
UPDATE. Found solution. The code has to be executed in the folder where the .DLLs reside. I was using PATH statement to point to the folder with the .DLL. Apparently this is not enough.
wwipstuff.dll doesn't need to load out of the current path. It should work with the VFP path - VFP does the work for finding DLLs. Just make sure that there's not another old version of wwipstuff that gets picked up before. Especially make sure there is not one in Windows\System32. Easiest way to find out is do FULLPATH("wwipstuff.dll")
to see where the file actually is coming from. If the path returned is not valid VFP is not finding it and then it would obviously fail.
+++ Rick ---