I suspect the VCX is compiled into a different EXE than the running app/exe.
AVCXClasses may not search into the other EXE. Quick testing showed the
results you have when I put it into this scenario. AVCXClasses was
successful when the VCX is compiled into the current EXE.

HTH,

Tracy

-----Original Message-----
From: Coppens, Georges, FC (Provincialaat)
Sent: Wednesday, March 11, 2009 6:23 AM

To instantiate a grid I have to test the existence of a class in a
classlib.  There is no problem in the development environment.  But once
the classlib is included in an application and the classlib is not a
physical file on disk the named vcx is not found.
In the form load method:
THISFORM.cAppClassLib="app.vcx"
SET CLASSLIB TO app.vcx IN acerta.exe ADDITIVE
In the 'anychange' method:
    lcAlias=THISFORM.aAlias(THIS.VALUE)
    SELECT (lcAlias)
    lnMax=AVCXCLASSES(laClass,THISFORM.cAppClassLib)
The last line generates the error: file not found.
 
What's wrong with this code?
 
Thanks.
 
Georges Coppens
  


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000601c9a251$059f5ab0$10de10...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to