Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL is not Found
Message
From
29/01/2009 16:41:49
 
 
To
29/01/2009 16:17:20
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01378274
Message ID:
01378292
Views:
12
You don't create an instance of a DLL, but of the COM classes inside it. You'll need to know what they are. With a VFP DLL, it's usually projectname.classname.

The COM+ article on my web site will get you started.


>When I run the code below
>
>Arquivo_Inix = SYS(5) + SYS(2003) + "\SISTEMA.ini"
>loBIBLIO_Ini = CREATEOBJECT("arquivos_ini.dll", Arquivo_Inix)
>
>It returns this error message:
>
>"Class definition ARQUIVOS_INI.DLL is not found."
>
>arquivos_ini.dll is a Multi-threaded COM DLL generated with VFP and is registered.
>I'm also passing a value to the INIT event of the DLL
>
>Any ideia why it doesn't work?
>
>TIA
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform