Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distributing .DLL

Status
Not open for further replies.

prangster

MIS
Sep 14, 1999
18
US
In Visual FoxPro v6 under Win95 I created a non-visual class. I had FoxPro build a multi-threaded .DLL. I sent the .DLL, .TBL, .VBR files and the two Fox runtime files to the client. I included instructions to register the .DLL using RegSvr32 and put the runtimes and the .DLL in the same folder. (Actually I suggesting putting all the files into the same folder.) The client says his machine will not register the .DLL. He says that another machine that "once had" Visual Studio on it will successfully register the .DLL. What am I missing? I believe the target machine is running Win2000.
 
Hi
If .DDL file is on the client machine you should not register .DDL file. You just need to declare .DLL in the code:

p1="Parameter1"
p2="Parameter2"

DECLARE INTEGER MethName;
IN mylib as MethNamealias STRING @,STRING @

MethNamealias(@p1,@p2)

CLEAR DLLS

"mylib" is name of the DLL file
"MethName" is name of the method
"MethNamealias" is alias of the method
"p1" and "p2" is a parameters
@ - parameter is passed by reference
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top