Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL written in VB6 for VFP use problem
Message
De
10/02/2003 10:16:35
 
 
À
10/02/2003 08:54:59
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00751314
Message ID:
00751393
Vues:
14
With DECLARE statement you can access only non-COM DLLs (like user32.dll, gdi32.dll and kernel32.dll). So you must not use DECLARE statement for using VB DLL functions. Instead, as I said, you must create instance of the class, declared in this DLL, and call its functions as methods of the instantiated object.
If VB DLL uses another DLL, Declare statement in this VB DLL must have scope, appropriate for the DLL. I'm not sure, but even this Declare statement is Public, it is only for the DLL and these functions will not be accessible out of the DLL.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform