Find Jobs
Hire Freelancers

Converting delphi code from cgi to apache 1.3 shared module

$30-5000 USD

Ditutup
Disiarkan lebih dari 19 tahun yang lalu

$30-5000 USD

Dibayar semasa penghantaran
I've a simple delphi cgi code which i need converted to apache shared module to handle heavier load - because i encounter apache 1.3 "Internal Server Error" everytime i try to execute it too many times. Please also suggest how to run the module using browser interface, e.g. to run cgi is just http://localhost/[login to view URL] As you can see below, this code is used to run a php using php in cli mode. In practice, i encounter [login to view URL] - Application Error The application failed to initialize properly (0xc0000142). Click on OK to terminate de application. Pls also suggest how this can be resolved. Thanks. program receivesms; {$APPTYPE CONSOLE} uses windows, sysutils, ShellApi; var s:string; res:string; Buffer: array[0..4095] of Char; rslt:integer; msg:string; begin SetString(Res, Buffer, GetEnvironmentVariable(PChar('QUERY_STRING'), Buffer, SizeOf(Buffer))); s := 'c:\[login to view URL] '+'"'+res+'"'; //resd:=UrlDecode(res); //s := '"'+res+'"'; writeln('Content type: text/html'); writeln; writeln(s); rslt:=ShellExecute(0, 'open','c:\[login to view URL]',PChar(s), nil, SW_HIDE); if rslt <= 32 then begin case rslt of 0, se_err_OOM: msg := 'Out of memory/resources'; error_File_Not_Found: msg := 'File not found'; error_Path_Not_Found: msg := 'Path not found'; error_Bad_Format: msg := 'Damaged or invalid exe'; se_err_AccessDenied: msg := 'Access denied'; se_err_NoAssoc, se_err_AssocIncomplete: msg := 'Filename association invalid'; se_err_DDEBusy, se_err_DDEFail, se_err_DDETimeOut: msg := 'DDE error'; se_err_Share: msg := 'Sharing violation'; else msg := 'no text'; end; writeln('Exception when executing: '+msg); end; end. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform win32
ID Projek: 3518348

Tentang projek

2 cadangan
Projek jarak jauh
Aktif 19 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
2 pekerja bebas membida secara purata $19 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$21.25 USD dalam 1 hari
4.9 (246 ulasan)
5.4
5.4
Avatar Pengguna
See private message.
$17 USD dalam 1 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera SINGAPORE
Singapore, Singapore
5.0
139
Ahli sejak Ogo 31, 2005

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.