DLL em Delphi quero rodar ela em Visual Basic
Como Rodar uma dll feito em delphi no VB ???
Exemplo de uma função da DLL. Por favor...
function DiscarNumero( AccessType, LineType : char;
Prefix, Number : PChar;
DTE : PChar = nil;
NIU : PChar = nil;
SenhaNIU : PChar = nil ) : boolean; stdcall;
Exemplo de uma função da DLL. Por favor...
function DiscarNumero( AccessType, LineType : char;
Prefix, Number : PChar;
DTE : PChar = nil;
NIU : PChar = nil;
SenhaNIU : PChar = nil ) : boolean; stdcall;
Ocaetano
Curtidas 0
Respostas
Beppe
27/01/2004
Qual é realmente o problema que está enfrentando no Delphi?
GOSTEI 0
Aroldo Zanela
27/01/2004
Colega,
Da mesma forma que é necessário declarar a DLL em Delphi em VB também. Veja um exemplo em VB6:
Da mesma forma que é necessário declarar a DLL em Delphi em VB também. Veja um exemplo em VB6:
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
GOSTEI 0