Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build-error on NewObject
Message
 
 
À
11/07/2003 11:22:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00809221
Message ID:
00809454
Vues:
22
Hi Guillaume,

The second parameter should be the name of a class and the third - the name of DLL.
Newobject("method", "myclass.vcx", "DllName.dll"),

>I compiled a DLL from VFP which opens tables to use in my other apps.
>In those apps, if I use Newobject("method","DllName.dll"), I always get an error while building saying that the DllName visual class was not found.
>But, it works fine.
>
>If I use newobject("DllName.Method") I get no build errors but it doesn't work anymore.
>Same thing when i use CreateObject.
>
>Is there anyway to avoid the build error while still using the only syntax that works?
>
>Thanks
>
>Guillaume
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform