Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error: Cannot find Entry point name in the DLL???
Message
De
21/08/1998 11:56:33
 
 
À
21/08/1998 11:25:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00128747
Message ID:
00128813
Vues:
24
>>>???

Alex,

The example follows
**********dummy1.prg**********
DEFINE CLASS dummy_class AS custom OLEPUBLIC
procedure dummer
PARAMETER myname
messagebox("Hello . My name is "+myname)
endproc
enddefine
**************

*******from command line ********
build projecet dummy1 from dummy1.prg
build dll dummy1 from build1 recompile
***after successful building ******
run/n regsvr32 c:\dummy1.dll
** give exact path name of dll***

****************************
'Now open VisualBasic and write following code.
'in the module write
declare sub dummer lib "c:\dummy1.dll"( kpk as string)

'''now in form command click event write the code

Set ofox = CreateObject("dummy1.dummy_class")

Call ofox.dummer("Dangerous")
Set ofox = Nothing
'this will clear the ofox object

''''''''''
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform