Click here to Skip to main content
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 23: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 OriginalGriff 288
1 ProgramFOX 205
2 Peter Leow 140
3 Sergey Alexandrovich Kryukov 133
4 Dave Kreskowiak 96
0 OriginalGriff 288
1 ProgramFOX 165
2 Peter Leow 130
3 Sergey Alexandrovich Kryukov 95
4 Fredrik Bornander 85

Advertise | Privacy | Mobile
Web04 | 2.8.150301.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