Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with NEWOBJECT()
Message
 
 
À
09/04/2008 05:05:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01308856
Message ID:
01309258
Vues:
18
>>>>Thanks for your suggestions. I tried everything, until I found the solution, late in the evening:
>>>>
>>>>The library name was "-MyLibrary_xyz.vcx".
>>>>
>>>>When I remove the "-" from the library name, it works. I cannot reproduce this from the commandline, but when running the application the THIS.NEWOBJECT does not seem to work when called inside the application.
>>>>
>>>>The solution was to rename the library into "MyLibrary_xyz.vcx"
>>>>
>>>
>>>Using - in the name would never occur to me.
>>
>>I found out that when I used - in the library name, those libraries appear on the top of the list in the project manager. So I used it for the libraries that were not part of the framework libraries.
>>
>>I thought it would be a great idea, now I am not so sure anymore...
>
>Best if you use VFP valid identifier characters only.
>
>uses "_" to put a library on the bottom of the list

I did not know about VFP valid identifier characters. How do I know a character is a VFP valid identifier?
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform