Se non siete riusciti a reperire l'informazione che cercavate nei nostri articoli o sul nostro forum vi consiglio di visitare il
Forum ufficiale di Lazarus in lingua inglese.
Citazione01. Open ExtPascalSamples.dpr source in ExtPascalSamples folder using your favorite ObjectPascal IDE.
Citazione02. For Lazarus set these Parsing options (menu \Project\Compiler Options\Parsing):
Syntax mode: 'Delphi'
ON C++ Styled INLINE
ON C Style macros
OFF Constructor name must be init
OFF Static Keyword in Objects
ON Use Ansi Strings
Citazione03. For Delphi set these Syntax options (menu \Project\Options\Compiler):
04. For FreePascal use -Smdghie50 -venwhi -l as compiler options. Append these options -O2pPENTIUM4 -CXpPENTIUM4 -XXsi -CfSSE to release/final version. In Lazarus these options are not necessary, but you can use this path:
Citazione05. Set the compiler "Search path" according. By example to C:\ExtPascal; C:\ExtPascal\ExtJSWrapper
Citazione06. Compile ExtPascalSamples as example.
Application := TIdExtApplication.Create('ExtPascal Samples ' + ExtPascalVersion, TSession, 80, 5);
LoadModule fastcgi_module modules/mod_fastcgi.sofastcgiexternalserver cgi-bin/NomeDelVostroEseguibileCGI –host localhost:2014 –idle-timeout 3localhost/cgi-bin/NomeDelVostroEseguibileCGIExtMessageBox.Alert('Hello','Wolrd');fastcgiexternalserver cgi-bin/project1 –host localhost:2014 –idle-timeout 3fastcgiexternalserver cgi-bin/project1.exe –host localhost:2014 –idle-timeout 3
lazdebuggergdbmi
se non c'è aggiungetelo. Altrimenti non compila.