Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs. NewObject() functions
Message
From
15/12/2008 08:17:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01367158
Message ID:
01367387
Views:
7
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform