Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testando um COMponente
Message
From
14/03/2002 09:24:41
 
 
To
14/03/2002 09:13:04
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00632652
Message ID:
00632700
Views:
16
>como vc fez a chamada do método ? declarou a DLL no VB ?
>
>Não nenhum doutor em VB mas já vi alguns exemplos de chamada de DLL.
>
Frederico

Na General declarations de um form você pode fazer assim:
Private Declare Function meumetodo Lib "minhadll.dll" (ByVal bypar1 As Integer, ByVal bypar2 As String) As Integer
para utilizar use algo como:
nRetorno = meumetodo(1, "Teste")
Cláudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform