Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot generate .dll
Message
 
 
To
14/05/2008 07:57:29
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01316913
Message ID:
01316920
Views:
10
See if checking Regenerate Component IDs on the Build Option page fixes the problem.

>
>Using VFP 8 (sp1) I am trying to create a multi-threaded .dll, and during the build I get the error message "Class definition QUOTEENGINE not found", but this class is definitely there in the top-level program (let's call it Main.prg). In fact Main.prg only contains the class, nothing else. The 1st line of the class definition is
>DEFINE CLASS QuoteEngine AS SESSION OLEPUBLIC
>
>Despite the error, a .dll is still created (and a .vbr, but no .tlb file), but it doesn't work.
>
>I noticed in the 'Server' tab of the 'Project Info' dialog there was a registered class that I didn't recognise, so I recreated the project from scratch, but the error still occurs (no classes registered in the Servers tab).
>
>A few months ago this .dll compiled without any problems, and the project has not changed since then.
>
>Could there be something in the registry blocking the build? Can anyone give me any pointers how to solve this problem? Any help would be appreciated.
>
>Alan
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform