>>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.
>
>Is this happening when you are running an EXE from within VFP but working fine when you run the EXE from windows ? If so it is the old problem with VFP whereby you need to ensure that you set paths to everything if you are running an EXE from within the VFP ide.
Unfortunatly it did not work in both cases. Thanks for your help.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only