>Hi All!
>
>I get such error when I am trying, to add cursoradapter object to dataenvironent of a report (this.addobject("ca_customer"","myCursoradapterBasedBlass") ).
>The behavior is very strange because:
>1) The application works good only if it is started from project directory.
>2) VCX library with the myCursoradapterBasedBlass is included in exe.
>It seems however that VFP looks for the class outside exe file - see point1
>3) Display status shows that the VCX is loaded into memory
>4) I can create the customeradapter object based on the myCursoradapterBasedBlass ouside report dataenvironment using createobject function (through my application "programmer command window")
>5) I have very similar code and directory structure in another application and the another aplication works good
>
>I recompiled my project and even recreate the VCX library without results.
>I looked also into VCX file - ClassLocation field looks good "..\..\system\klasy\fundam.vcx".
>What else can I do (beside switching to another language) ?
>Thanks in advance.
Additional info - the same code (copy and paste was used) works when placed in beforeopentable method of dataenvironment of a form.
How to solve such puzzle ?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement