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 Quote 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 Quote 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... Quote 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 Quote 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. Quote 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} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.