Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AVCXCLASSES() - Not in EXE?
Message
 
 
À
16/04/2002 13:49:27
Isabel Cabanne
Hubbard Woods Software, Inc.
Winnetka, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00645569
Message ID:
00645596
Vues:
17
>>>I want to use AVCXCLASSES() in an application, but it doesn't work when the specified class library VCX file isn't there. Is it correct that I can't use this function in an exe, or am I missing something?
>>
>>What error message do you get? How do you call it?
>
>I get an error that the vcx does not exist. The error message lists a complete file + path name, implying that it needs the physical vcx file.
>
>I call the function with (the array name first, then) the class library name. I've tried both variable and literal arguments for the library name.
>
>I just want to be double sure that I can't do it in an EXE before going down another path to get the info I need.
>
If it doesn't work with VCX inside EXE you can try to copy VCX out to the temporary library.
lcTempVCX = SYS(2023) + "\" + ".VCX"
USE myclasslib.vcx
COPY TO (lcTempVCX)
USE
AVCXCLASSES(..., lcTempVCX)
ERASE (lcTempVCX )
ERASE (STRTRAN(lcTempVCX , ".VCX", ".VCT"))
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform