>>I have a DLL file that must receive 4 input parameters (all Character) and return 1 parameter (characters) but when i do:
>>
>>FuncHandle=RegFn(1,"@C@C@C@C,"C","MYDLL.DLL")
>>=CallFn(FuncHandle,"myparm1","myparm2","myparm3","myparm4")
>>
>>the program make an illigal operation and y must close fox and start over.
First to Alistair :
in FP2.x there is no DECLARE -DLL command . u can only call directly
.fll files and there is one .fll called foxtools that enables
you (among other things) to register .DLLs
to Francisko
you are passing all the parameters by reference (to get a value returned into them" and sending strings ...
try to define it "CCCC","C","Mydll.dll" instead
Arnon
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only