mhmda Posted November 30, 2012 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
dison Posted November 30, 2012 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
lema Posted November 30, 2012 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
Anachronox Posted November 30, 2012 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
stas Posted December 1, 2012 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
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.