Click here to Skip to main content
11,709,844 members (75,840 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VC8.0
hi all i have a win32 service created in vc++. it is working well on xp. but when i am using it in vista window service and exe both r running but its code is not working.
Posted 12-Nov-10 22:59pm
DaveAuld at 13-Nov-10 8:20am
Vista? there is your problem right there! :)
Ruard at 17-Nov-10 7:20am
Did you notice any errors / messages in the eventlog?
What does your code do? Can you add messages for the eventlog to see where your code fails?
Did you install the correct vc++ redistributable on your Vista system?
Are both systems 32/64 bits?
Malli_S at 25-Jan-11 5:42am
What exactly meant by code not working ?
As you say, exe are running did you get any error message in the 'Event Log Viewer' ?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

there's many things that can cause this problem, one common prob... microsoft implemented their linux-like permissions for applications in Vista that can cause all sorts of weirdness, for example, I've had apps that aren't granted permission to open their DLLs. Try running the app as administrator and see if that fixes your issues.

p.s. yes, sort of blind suggestion since there's no details.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Try to run program on Vista in compatible mode by properties. Maybe it's OS problem...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 524
1 OriginalGriff 250
2 Peter Leow 229
3 Maciej Los 180
4 Mika Wendelius 125
0 OriginalGriff 9,428
1 Sergey Alexandrovich Kryukov 9,037
2 CPallini 5,189
3 Maciej Los 4,991
4 Mika Wendelius 3,856

Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 30 Mar 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100