>>>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--