| Titolo Commento | Autore | Data |
 | COM | schifidus | 23 ott 03 |
 | dll per visual basic | vertfan | 10 ago 04 |
 | dll da C a matlab | Anonimo | 22 feb 06 |
| Re: dll da C a matlab | Brainkiller | 22 feb 06 |
 | Creare una classe DLL | mrb | 22 mag 06 |
 | dll in vb | Anonimo | 13 set 06 |
 | DLL in c# | Anonimo | 07 dic 06 |
 | creare una DLL per l'esportazione | Anonimo | 20 dic 06 |
 | utilizzare una DLL scritta in C++ da Delphi
Bell'articolo. Erano giorni che stavo cercando come utilizzare una dll scritta in c++ da Delphi.
Se ci fosse qualche altro disperato come me, l'articolo in questione è perfetto per la parte in c++.
Segue il codice per il Delphi:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
function InternetGetConnectedStateEx(
lpdwFlags: LPDWORD;
lpszConnectionName: LPTSTR;
dwNameLen: DWORD;
dwReserved: DWORD): BOOL; stdcall;
external 'wininet.dll' name 'InternetGetConnectedStateEx';
function Funz01(
a: Integer): Integer; pascal; cdecl; stdcall;
external 'pino.dll';
function Somma(
a,b: Integer): Integer; CDECL;
external 'pino.dll';
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
// InternetGetConnectedStateEx(0,0,0,0);
ShowMessage( intToStr(Somma(10,5)) );
end;
end.
| Anonimo | 16 apr 07 |
 | CIAO GENIO! | Anonimo | 01 ago 08 |
 | CoInitizialize | luigidibiasi | 22 dic 08 |