Click here to Skip to main content
Rate this: bad
good
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
Comments
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
good
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.
  Permalink  
Rate this: bad
good
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...
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 400
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 DamithSL 95
4 Garth J Lancaster 90
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 30 Mar 2011
Copyright © CodeProject, 1999-2014
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