digitalmars.D.learn - dll's
- lee <llee goucher.edu> Jan 14 2007
I'm trying to write a short dll that exports a single function. I used followed the instructions given in the manual, and produced both a dll file and a lib file. When I try to import the library into an application I get an error, however: "The application failed to initialize properly...". I tried copying the example given in the manual, and I still got the same error. I then tried executing the dll example application provided in the sample folder. This also produced the same error. Attached are copies of the dll source code I'm using. If anyone has any advice concerning the creation and use of dll's I'd appreciate it.
Jan 14 2007