Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EReports - Creating EXE undefined ereports Class
Message
 
 
To
23/06/2003 00:55:44
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00802683
Message ID:
00802835
Views:
18
I'm glad you got it resolved.

>I got this response from the product support person:
>
>-----------------------------------------------------------------
>The problem your running into only affects version 6.0 and has to
>do with the NEWOBJECT reference, which is a bug in the VFP
>6.0 compiler.
>
>If you change the second parameter to a variable reference rather
>than "eReports.dll" you should not get the compile time error.
>
>For that matter you should probably change the third parameter
>to the same variable just for consistency.
>
>Something like below should work:
>
>LOCAL ceReports
>lceReports = "eReports.dll"
>
>oReport = NEWOBJECT("eReportsPDF", lceReports, lceReports)
>------------------------------------------------------------------
>I have made the changes and tested it. It works!
>I also tested under the VFP 8.0 Beta and the original code worked without a problem but I wasn't ready to go to VFP 8.0 yet without a significant amount of testing.
>
>Thanks for your responses.
>
>Werner
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform