Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL registration
Message
De
22/09/2004 12:08:36
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00945044
Message ID:
00945059
Vues:
21
>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
Ç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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform