Find Jobs
Hire Freelancers

Converting delphi code from cgi to apache 1.3 shared module

$30-5000 USD

Cerrado
Publicado hace más de 19 años

$30-5000 USD

Pagado a la entrega
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 del proyecto: 3518348

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 19 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
2 freelancers están ofertando un promedio de $19 USD por este trabajo
Avatar del usuario
See private message.
$21,25 USD en 1 día
4,9 (246 comentarios)
5,4
5,4
Avatar del usuario
See private message.
$17 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de SINGAPORE
Singapore, Singapore
5,0
139
Miembro desde ago 31, 2005

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.