mhmda Posted November 30, 2012 Share Posted November 30, 2012 Hello to all When I start a new unigui project I have selected : "vcl application / standalone server / ISAPI module" When I compile the project I get ONLY .exe how can I get .dll from the project. Mhmda Link to comment Share on other sites More sharing options...
dison Posted November 30, 2012 Share Posted November 30, 2012 You must comment out a compiler directive in the first line of your project. later i'll guive you the full name of this directive DP Link to comment Share on other sites More sharing options...
mhmda Posted November 30, 2012 Author Share Posted November 30, 2012 Thanx, I'll wait... Link to comment Share on other sites More sharing options...
lema Posted November 30, 2012 Share Posted November 30, 2012 Comment out the 1st line of your .dpr {$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module Link to comment Share on other sites More sharing options...
Anachronox Posted November 30, 2012 Share Posted November 30, 2012 But to be safe, it's required to save changes, close project, open project and then compile (previously saved source). If you will compile to EXE and immediately comment the line out (for DLL), defunct DLL may arise. It's strange behavior in some Delphi IDE versions. Link to comment Share on other sites More sharing options...
stas Posted December 1, 2012 Share Posted December 1, 2012 But to be safe, it's required to save changes, close project, open project and then compile (previously saved source). If you will compile to EXE and immediately comment the line out (for DLL), defunct DLL may arise. It's strange behavior in some Delphi IDE versions. Add this lines to dpr {$ifndef UNIGUI_VCL} {$E dll} {$else} {$E exe} {$endif} Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now