Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to compile C++ source code in DLL and use in Delphi app?

Status
Not open for further replies.

mcoster

Member level 2
Joined
Jan 26, 2004
Messages
51
Helped
7
Reputation
14
Reaction score
1
Trophy points
1,288
Activity points
633
Using VC++ DLL in Delphi

Anyone know how can i compile a C++ source code in a DLL and use this DLL in a Delphi application ?

Thanks
 

Re: Using VC++ DLL in Delphi

search for
'delphi header translator'
there are some....

Hugo
 

Using VC++ DLL in Delphi

hi,

try to declare your function in Delphi
as showed below:

function MyFunctionFromVCDLL():LongInt; cdecl external 'myvcdll.dll';

for function in VC:

extern __declspec(dllexport) unsigned long MyFunctionFromVCDLL();

ut
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top