paradoxxm Posted March 31, 2012 Posted March 31, 2012 Hi. was not what I do. I set up standalone, but with the isapi dll file in the project consist of ways to open uniserver ext. project consists of isapi dll. please help. Quote
Administrators Farshad Mohajeri Posted March 31, 2012 Administrators Posted March 31, 2012 Create a new uniGUI VCL STANDALONE + ISAPI project. In project source file comment the first line. Build the project. Now we have Projectx.dll file in the output folder. Now distribute DLL file to your server using instructions in online documentation. Quote
paradoxxm Posted March 31, 2012 Author Posted March 31, 2012 I did say it repeatedly. but they did not: ( Quote
Administrators Farshad Mohajeri Posted March 31, 2012 Administrators Posted March 31, 2012 I did say it repeatedly. but they did not: ( It didn't what? Couldn't you get the DLL file in output folder? Delphi version? Quote
paradoxxm Posted March 31, 2012 Author Posted March 31, 2012 XE2 using 32-bit. and run it as local host. isapi dll only when I made module. VCL + isapi dll project in a folder, but not at all. Quote
Administrators Farshad Mohajeri Posted March 31, 2012 Administrators Posted March 31, 2012 OK. In XE2 you may need close and re-open the project after you comment the first line. If it didn't help then create an ISAPI Module project directly. See attached pic: Quote
paradoxxm Posted March 31, 2012 Author Posted March 31, 2012 {$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module' {$ifndef UNIGUI_VCL} library {$else} program {$endif} web; uses uniGUIISAPI, Forms, ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule}, MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule}, Main in 'Main.pas' {MainForm: TUniForm}; {$R *.res} {$ifndef UNIGUI_VCL} exports GetExtensionVersion, HttpExtensionProc, TerminateExtension; {$endif} begin {$ifdef UNIGUI_VCL} Application.Initialize; TUniServerModule.Create(Application); Application.Run; {$endif} end. Quote
Administrators Farshad Mohajeri Posted March 31, 2012 Administrators Posted March 31, 2012 // {$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module' <-------------------------------------------------------------------- {$ifndef UNIGUI_VCL} library {$else} program {$endif} web; uses uniGUIISAPI, Forms, ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule}, MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule}, Main in 'Main.pas' {MainForm: TUniForm}; {$R *.res} {$ifndef UNIGUI_VCL} exports GetExtensionVersion, HttpExtensionProc, TerminateExtension; {$endif} begin {$ifdef UNIGUI_VCL} Application.Initialize; TUniServerModule.Create(Application); Application.Run; {$endif} end. Quote
paradoxxm Posted March 31, 2012 Author Posted March 31, 2012 yes yours the same. dll but it does not: (. see you later try some more: ((((Thanks for the indulgent. Quote
Administrators Farshad Mohajeri Posted March 31, 2012 Administrators Posted March 31, 2012 Mine is not the same. Please note that first line is commented. Quote
paradoxxm Posted April 1, 2012 Author Posted April 1, 2012 All right. I apologize for that I have not. Thank you for rotation. to discuss new problems Quote
dynamo Posted April 26, 2012 Posted April 26, 2012 project was created by choosing "VCL Application/StandAlone Server/ISAPI Module".In The project, first line is commented. When I build the project2 with Delphi XE2 ide Project -> Build Projectisapi2 , it doesn't consist of Projectisapi2.dll ,it create Projectisapi2.exe in Win32/Debug. What should I do? //{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module' {$ifndef UNIGUI_VCL} library {$else} program {$endif} Projectisapi2; uses uniGUIISAPI, Forms, ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule}, MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule}, Main in 'Main.pas' {MainForm: TUniForm}; {$R *.res} {$ifndef UNIGUI_VCL} exports GetExtensionVersion, HttpExtensionProc, TerminateExtension; {$endif} begin {$ifdef UNIGUI_VCL} Application.Initialize; TUniServerModule.Create(Application); Application.Run; {$endif} end. Quote
Administrators Farshad Mohajeri Posted April 26, 2012 Administrators Posted April 26, 2012 For unknown reasons XE2 doesn't recognize the change immediately. You must close/re-open your project. 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.