Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newobject prg vcx
Message
De
24/04/2006 05:22:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Newobject prg vcx
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01115898
Message ID:
01115898
Vues:
50
A small question:

When i issue the following commands:

*** opening/instantiating dataenvironment class 'dt_vrdsal1' in prgdt_vrdsal1.prg
lodata1 = NEWOBJECT('dt_vrdsal1','c:\prgdt_vrdsal1.prg')
lodata1.OpenTables()

Meanwhile also my classlibrary vcx is open
SET CLASSLIB TO c:\VOORRAAD1.VCX
In this library i have also a dataenvironment class with the same name 'dt_vrdsal1'

I was expecting the class 'dt_vrdsal1' in the class-program will become alive. But instead the class with the same name in the class-vcx is becoming alive.

Is this normal behaviour?

I have already a workaround, so thats not the issue. Renaming the class etc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform