Are there any restrictions or incompatibilities to watch for? (using 16.0.0.2419 on Windows 7) The Help says "-i Displays an icon that you can double-click to display the database server messages window." but no such icon or window appears when the following service is started (otherwise, everything is OK). "%SQLANY16%\Bin64\dbsvc.exe"^ -as^ -i^ -o "C:\HADEMO\partner1\dbsvc_partner1_demo_log.txt"^ -s Automatic^ -sd "SQL Anywhere 16 Partner1 Demo Database Server"^ -sn partner1_demo_service^ -t Network^ -y^ -w partner1_demo_service^ "%SQLANY16%\bin64\dbsrv16.exe"^ -n partner1_demo^ -o "C:\HADEMO\partner1\dbsrv16_partner1_demo_log.txt"^ -oe "C:\HADEMO\partner1\dbsrv16_partner1_demo_startup_log.txt"^ -su sql^ -x tcpip(port=55501;dobroadcast=no)^ -zp^ -zl^ -zt^ "C:\HADEMO\partner1\demo.db"^ -xp on "%SQLANY16%\Bin64\dbsvc.exe" -u partner1_demo_service Update: This exhortation from Microsoft seems to say I'm doomed to failure: Services cannot directly interact with a user as of Windows Vista. Therefore, the techniques mentioned in the section titled Using an Interactive Service should not be used in new code. |
Well, as v16 still supports Windows XP, option -i should work there as expected... V17 does not support Windows XP and Vista, and the docs tell that for option -i:
Just saying:) |