Click here to Skip to main content
15,885,645 members
Please Sign up or sign in to vote.
4.00/5 (1 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
Comments
DaveAuld 13-Nov-10 8:20am    
Vista? there is your problem right there! :)
[no name] 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' ?

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.
 
Share this answer
 
Try to run program on Vista in compatible mode by properties. Maybe it's OS problem...
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900