>>>>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"))
Thanks for the sample, but my problem is that the vcx file does not exist with the application. This is a compiled, distributed EXE, so the class library is embeded within an executable. I've got a standby plan in case I can't use AVCXCLASSES(), but was hoping there was something I missed about the function, like an undocumented 3rd argument for an application file or something.
Thanks,
Isabel