Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot generate .dll
Message
De
14/05/2008 07:57:29
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Cannot generate .dll
Divers
Thread ID:
01316913
Message ID:
01316913
Vues:
60
Hi,

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform