Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>>Hilmar,
>>Classlibs are tables and are aliased when opened. Aliases work as handles. It wouldn't cause alias in use error if the same alias is in use as a table alias.
>>
>>AFAIK the only way to get that error is by trying to open a class library with the "same name" but "from 2 different folders". ie:
>
>That is more or less what I suspected. But I didn't find two classlibs with the same name.
>
>This only happens when I run the EXE (in a separate folder); as far as I know, the original classlibs are not accessible; and the project only does not contain several classlibs with the same name.
In Visual MaxFrame there are two ways this is dealt with. One is to remove the pathing from the VCX/SCX files. Once things are compiled in the exe, the pathing is really dumb. Two there is a piece of code we run, x8setcls, which checks SET("CLASSLIB") to see if the class is already open and then does not reopen it.
I do get that error message if I
SET CLASSLIB TO rptuebase.vcx ALIAS Hilmar
SET CLASSLIB TO rptueadvances.vcx ALIAS Hilmar additive
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement