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 08:54:59
 
 
À
10/02/2003 05:11:30
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00751314
Message ID:
00751354
Vues:
24
Hi,

Thank a lot for your advise and help.
Just like to check the following issue.

Initially, all my VB function are declare to be public,
with UDF and declaration to access another DLL which I
converting to be a VB DLL for VFP use.

So for all my public, UDF and declare function which cannot be use in VB DLL,
do I declare them to be private in my class declaration section ?

What about declaration of DLL that I need to access to
like below, do I declare them to be private in the
class declaration section too ?

Like :
Public DECLARE ABC IN 'xxx.dll'

To:
Private declare ABC in 'xxx.dll'


Finally, why COM DLL created in VB can be access by VFP
by creating an instance whileas other DLL we can access it
by DECLARE command. How do we tell them apart ?


>VB6 can create only ActiveX (i.e. COM) DLLs. This means you cannot call functions in it with DECLARE statement. Instead, you must register DLL (VB6 does this on the machine, on which DLL was compiled), instantiate class, which is declared in the DLL and call its methods.
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform