Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Classlib in Runtime?
Message
From
23/06/2003 13:05:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/06/2003 12:34:06
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00802957
Message ID:
00802972
Views:
21
>I'm using VFP 7.0
>
>I was under the impression that I didn't have to Set ClassLib inside an exe file. All I had to do was include the ClassLib in the project when I built the exe file.
>
>My exe file just stops dead (no error, not anything) when it encounters NewObject() (method or function) if I haven't specifically Set ClassLib to the ClassLib in question. Even including the ClassLib in the NewObject() parameters doesn't help.
>
>Am I missing something?
>
>TIA

Bill,
These work for me :

oObj = NewObject('ClassName','ClassLibName.ext','',Param1...)

this.NewObject('ObjName','ClassName','ClassLibName.ext','',Param1...)

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