Jump to content

Search the Community

Showing results for tags 'dll'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 10 results

  1. When you select the project type "Standalone Server / ISAPI Module," two output file types are available for you to choose from: *.exe and *.dll. The default output is *.exe. If you want to generate a *.dll file, you need to comment out the following line, completely close the project, and reopen it so that the *.dll file is produced: //{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module However, there is a more professional way to generate both *.exe and *.dll outputs without closing your project in Delphi. Simply add the following line to your project: {$EXTENSION .dll} // or {$E .dll} This way, you can generate either *.exe or *.dll at any time without restarting the project. //{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module {$ifndef UNIGUI_VCL} library {$else} program {$endif} Project1; 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} {$EXTENSION .dll} // or {$E .dll} exports GetExtensionVersion, HttpExtensionProc, TerminateExtension; {$endif} begin {$ifdef UNIGUI_VCL} ReportMemoryLeaksOnShutdown := True; Application.Initialize; TUniServerModule.Create(Application); Application.Run; {$endif} end.
  2. HI Everybody i open a new Browser Page with the following coomand (from the website): UniSession.BrowserWindow('news/news.dll', 1280,1024, '_blank' ); and so i start a new UniGui Application in Form Mode, it work super but when i let the user quit the application with a Form.Close the result is an empty new Browser Windows (blue screen with the "Restart Application" line.... How can i close this Browser Windows? Thanks for any help. Davide
  3. Is there any configuration to be done or activated in unigui so that it is possible to correctly run the dll (64bits) on my IIS server? If I generate the dll in 32 bits the application works normally Error below
  4. Hi everyone! Is there any solution to hide parameters like 'xxx.DLL' in mobile navigation on uniGUI? I mean, everytime we start the application on mobile he loads the main site and his .DLL. I want to hide all captions after '.com', including the 'ABCDEF.DLL' part. In desktop everything looks regular, but as soon we start to use mobile, he show all parameters... P.S: i've already see this link, including the solution from IIS, and doesn't work. Thanks!
  5. HI Exe How to Load Forms in DLL? Code execution does not report exceptions, but the main interface does not display DLL forms。 Main Form Calls DLL Code procedure TfrmMain.UniButton3Click(Sender: TObject); var f: TCreateDLLFormAsChild; c: TControl; begin f := GetProcAddress(DLLHandle, 'CreateDLLFormAsChild'); if Assigned(f) then begin c := f(UniTabSheet1); end; end; DLL Form Creation Method function CreateDLLFormAsChild(parent: TWinControl): TControl; stdcall; var frmResQuery: TfrmResQuery; begin if not Assigned(frmResQuery) then begin frmResQuery := TfrmResQuery.Create(UniApplication); frmResQuery.ParentFont := False; frmResQuery.ParentWindow := parent.Handle; frmResQuery.Visible := true; frmResQuery.Left := 100; frmResQuery.Top := 100; Result := frmResQuery; end; end; exports CreateDLLFormAsChild;
  6. Fala galera, estou iniciando no Unigui... Criei uma aplicação de exemplo e o dll ficou com 24Mb, quando eu for desenvolver mesmo, como fica isso? para os mais experientes aí, normalmente que tamanho se chega em média uma dll? Um abraço a todos!
  7. Hi, Can someone explain what is the property ISAPIOptions -> AsyncMode, in Server Module ? I had a problem with ExportToFilter(quick report), then checking option to 'true', I solved this.
  8. Hi, I'd like to call from a UniMobileApplication a UnimForm inserted in a DLL but, when I call it, I receive this error message: "Form Owner must be UniApplication" Someone can help me? ​Thanks. Example ***************************************** ** MyMobileApplication.exe ***************************************** program ApplicationServer; uses Forms, ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule}, MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule}, Mainm in 'Mainm.pas' {MainmForm: TUnimForm}, {$R *.res} begin ReportMemoryLeaksOnShutdown := True; Application.Initialize; TUniServerModule.Create(Application); Application.Run; end. unit Mainm; type TMainmForm = class(TUnimForm) UnimBitBtn1: TUnimBitBtn; private { Private declarations } public { Public declarations } end; function my_external_form ( UniApplication: TUniGUIApplication ): TUnimForm; StdCall ; external "c:\temp\my_dll.dll" ; implementation .. .. .. procedure TMainmForm.UnimBitBtn1Click(Sender: TObject); begin result := my_externat_form ( UniApplication ) ; end; ******************************* ** c:\temp\my_dll.dll ** ******************************* library My_dll; uses Mobile_form in 'Mobile_form.pas' {UnimForm1: TUnimForm}; {$R *.res} exports my_external_form ; begin end. ************************************ unit Mobile_form; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, uniGUIServer, uniGUIMainModule, uniGUIApplication, uIdCustomHTTPServer, uniGUITypes, Controls, uniGUIAbstractClasses, uniGUIClasses, uniGUImClasses, uniGUIForm, uniGUImForm, uniGUImJSForm ; type TUnimForm1 = class(TUnimForm) private { Private declarations } public { Public declarations } end; Var MyUniApplication :TUniGUIApplication ; function my_external_form ( UniApplication :TUniGUIApplication ) :TUnimForm ; stdCall ; function UnimForm1: TUnimForm1; implementation {$R *.dfm} function my_external_form( UniApplication :TUniGUIApplication ):TUnimForm ; Begin MyUniApplication := UniApplication ; Result := UnimForm1 ; End; function UnimForm1: TUnimForm1; begin Result := TUnimForm1 ( MyUniApplication.UniMainModule.GetFormInstance ( TUnimForm1 ) ); end; end.
  9. Hi. Does anyone know a way to put unigui form in a DLL and call it from main application? I managed to build sample with exe calling dll and kinda creating unigui form but it fires exception "invalid property path MonitoredKeys.Keys" Thanks. UniGUI_DLLTest.zip
  10. Good morning everyone! Anyone here in the group has had trouble in the generation of DLL in Delphi XE4? In 2010 he generates DELPHI corrretamente put the latest version of Delphi does not generate the DLL only. EXE. Below the figures. Att,
×
×
  • Create New...