Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AVCXCLASSES() - Not in EXE?
Message
 
 
To
16/04/2002 13:49:27
Isabel Cabanne
Hubbard Woods Software, Inc.
Winnetka, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00645569
Message ID:
00645596
Views:
16
>>>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform