Announcement

Collapse
No announcement yet.

Serious bug in Service.Query with non-English Language Pack

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Serious bug in Service.Query with non-English Language Pack

    I set Windows 7 x64 to a non-English Language Pack (for example, German). My setup program then runs the following query for a non-existent service:

    status = Service.Query("", "foo");

    status returns 1 (SERVICE_STOPPED).

    When I switch Windows back to the English Language Pack it correctly returns 0 (SERVICE_NOT_FOUND).

    Is this a known issue? Is there a fix or workaround?

    I am using SUF 9.5.2.0 (the latest, I believe)
    Last edited by commhorizons; 01-04-2019, 03:21 AM.

  • #2
    Update: this appears to be a workaround that works in all cases (so far):

    svc = "foo"; -- Service Registry Key
    status = Service.Query(svc, svc);


    Comment

    Working...
    X