Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL registration
Message
From
22/09/2004 12:24:41
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/09/2004 12:08:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00945044
Message ID:
00945075
Views:
22
>>Hi, I am trying to find out it a DLL exists on another machine but when
>>build this code into an vfp EXE and try to run it on a machine that does not
>>have VFP installed I get this message "Can not load 32 bit c:\page0\vfpOpubTest.dll"
>>Is there a way around this?
>>Thanks
>>
>>IF FILE("VfpOpubTest.DLL")
>>	TRY
>>	     oData = Createobject("VfpOpubTest.TestClass")
>>	CATCH TO oErr
>>	    IF oErr.Errorno = 1733 && Class definition is not found
>>	        DECLARE INTEGER DllRegisterServer IN VfpOpubTest.TestClass
>>	        DllRegisterServer()
>>	    ENDIF
>>	ENDTRY
>>endif
>>
>
>Steve,
>
>DECLARE INTEGER DllRegisterServer IN VfpOpubTest.TestClass
>
>Wouldn't it be :
>DECLARE INTEGER DllRegisterServer IN Win32API
>
>Ooops. It wouldn't. Sounds I totally forgot the syntax
>
>Cetin

Steve,
Copy VFP runtime files + VfpOpubTest.dll, VfpOpubTest.vbr there and register with regsvr32.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform