From: Paul V. <pa...@vi...> - 2006-05-30 15:47:50
|
Hi all, [ Guardian fails to start classic-as-app in Firebird 2 ] > looking at the source I notice: > > - The argument parser only looks for -a (application); anything else > is interpreted as -s (service). There's nothing to distinguish > Classic from Superserver. > > - The server app is started like this: > > success = CreateProcess(NULL, prog_name, &sa, NULL, FALSE, 0, > NULL, NULL, &si, &pi); > > But prog_name has been set earlier to (path +) server_name, and > server_name has been set to FBSERVER, which is a constant defined > as "fbserver.exe". And looking at the 1.5.3 source (where the Guardian *does* start Classic-as-app) I notice: - The argument parser looks for -a and also for -c - FBSERVER is set to fbserver.exe (default) or fb_inet_server.exe (if -c argument present). Maybe it was simply forgotten to implement this in the FB2 branch as well? Greetings, Paul Vinkenoog |