Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Classlib in Runtime?
Message
De
23/06/2003 13:05:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/06/2003 12:34:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00802957
Message ID:
00802972
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform