Re: Extern Linkage Type

2015-06-18 Thread Rodney via Digitalmars-d
On Thursday, 18 June 2015 at 07:52:02 UTC, Kagamin wrote: D, like C, can call dll with proper import library, it's just implib can't produce one. OK, Thanks people, you gave me a things to think about..

Re: Extern Linkage Type

2015-06-18 Thread FreeSlave via Digitalmars-d
On Wednesday, 17 June 2015 at 20:33:04 UTC, Rodney wrote: On Tuesday, 16 June 2015 at 07:47:21 UTC, Kagamin wrote: implib works for C calling convention only. Thank you for your reply. So if I am understanding correctly (feel free to admit my ignorance): 1. implib is required to generate a

Re: Extern Linkage Type

2015-06-18 Thread Kagamin via Digitalmars-d
D, like C, can call dll with proper import library, it's just implib can't produce one.

Re: Extern Linkage Type

2015-06-17 Thread Rodney via Digitalmars-d
On Tuesday, 16 June 2015 at 07:47:21 UTC, Kagamin wrote: implib works for C calling convention only. Thank you for your reply. So if I am understanding correctly (feel free to admit my ignorance): 1. implib is required to generate a dmd compatible import library from an .dll 2. implib on

Re: Extern Linkage Type

2015-06-16 Thread Kagamin via Digitalmars-d
implib works for C calling convention only.

Extern Linkage Type

2015-06-15 Thread Rodney via Digitalmars-d
Relatively new to D, experienced in other programming languages - especially mixed language programming. Below is code snippets of an extern statement and resulting error messages. finance.lib was created from implib, finance.dll was created by Free Pascal. dfinc.d is a simple MS-DOS proof of