D - how to create a dll
- Lloyd Dupont (3/3) Nov 24 2002 let's imagein I have a 'mydll.d' file.
- Evan McClanahan (5/9) Nov 25 2002 There's a clear example of that in the D for windows page of the
- Lloyd Dupont (12/21) Nov 25 2002 .... ??
- Evan McClanahan (6/22) Nov 25 2002 you have to include the def file in the complation command:
let's imagein I have a 'mydll.d' file. how I create a DLL from it ? I can't find... which LINK flag are used..
Nov 24 2002
Lloyd Dupont wrote:let's imagein I have a 'mydll.d' file. how I create a DLL from it ? I can't find... which LINK flag are used..There's a clear example of that in the D for windows page of the documentation. I'd suggest that you look there first, and then come back if you still have any questions. Evan
Nov 25 2002
.... ?? the only example I found (in "D for win32" section) say what to write the DllMain but says nothing of the commands to invoke. particularly how to link with a def file ? for example in C with gcc I do: 'gcc -shared -o mydll.dll mydll.c' to create a mydll.dll DLL file from a mydll.c file. I have no idea what command line to invoke in D, and I didn't find the doc either, could you, please, tell me in which section it is ? "Evan McClanahan" <evan dontSPAMaltarinteractive.com> a écrit dans le message de news: arsqb2$2dd2$1 digitaldaemon.com...Lloyd Dupont wrote:let's imagein I have a 'mydll.d' file. how I create a DLL from it ? I can't find... which LINK flag are used..There's a clear example of that in the D for windows page of the documentation. I'd suggest that you look there first, and then come back if you still have any questions. Evan
Nov 25 2002
Lloyd Dupont wrote:.... ?? the only example I found (in "D for win32" section) say what to write the DllMain but says nothing of the commands to invoke. particularly how to link with a def file ? for example in C with gcc I do: 'gcc -shared -o mydll.dll mydll.c' to create a mydll.dll DLL file from a mydll.c file. I have no idea what command line to invoke in D, and I didn't find the doc either, could you, please, tell me in which section it is ?you have to include the def file in the complation command: dmd mydll mydll.def or something like that. It doesn't automatically go out and find the def file. Evan
Nov 25 2002