Are there any restrictions or incompatibilities to watch for? (using 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).

  -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^
  -w partner1_demo_service^
  -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)^
  -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.

asked 26 Mar '17, 10:25

Breck%20Carter's gravatar image

Breck Carter
accept rate: 20%

edited 26 Mar '17, 11:03

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:

As of Windows Vista, this is no longer available.

Just saying:)

permanent link

answered 27 Mar '17, 04:18

Volker%20Barth's gravatar image

Volker Barth
accept rate: 34%

converted 27 Mar '17, 04:19

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Mar '17, 10:25

question was seen: 1,604 times

last updated: 27 Mar '17, 04:19