Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() vs. NewObject() functions
Message
De
15/12/2008 08:17:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01367158
Message ID:
01367387
Vues:
8
>Hi Cetin
>
>>Which is more advisable? If you take my advice use NewObject() if the classes are coming from a prg or vcx. If you have "set path ..." includes "C:\VSO3\Common\Libs" then
>>
loODBC = NEWOBJECT("cODBC", "cVSONoSCNonVisualUtilities")
>
>Funny, though I have the classlib folder in the SET("PATH") yet this won't work for me. I have confirmed this by displaying the SET("PATH") just before the call.
>
>Thanks for responding.

Oh it doesn't!? Maybe adding .vcx would help (I generally have prg and thus I add the extension, I didn't have such a problem yet).
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