Click here to Skip to main content
13,046,045 members (45,959 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 13-Nov-10 8:20am
Vista? there is your problem right there! :)
Ruard 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 30 Mar 2011
Copyright © CodeProject, 1999-2017
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