Click here to Skip to main content
16,012,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
chandu00411-Oct-07 21:31
chandu00411-Oct-07 21:31 
AnswerRe: Get text associated with 'Edit Control' in MFC Pin
chandu00411-Oct-07 21:30
chandu00411-Oct-07 21:30 
GeneralRe: Get text associated with 'Edit Control' in MFC Pin
CodingLover11-Oct-07 21:38
CodingLover11-Oct-07 21:38 
QuestionRGB from bmp instead from desktop? Pin
purplee8510-Oct-07 21:08
purplee8510-Oct-07 21:08 
AnswerRe: RGB from bmp instead from desktop? Pin
Nishad S10-Oct-07 21:16
Nishad S10-Oct-07 21:16 
AnswerRe: RGB from bmp instead from desktop? Pin
Nibu babu thomas10-Oct-07 21:34
Nibu babu thomas10-Oct-07 21:34 
QuestionOS compatibility!! Pin
vipin_nvk10-Oct-07 21:01
vipin_nvk10-Oct-07 21:01 
AnswerRe: OS compatibility!! Pin
Matthew Faithfull10-Oct-07 23:06
Matthew Faithfull10-Oct-07 23:06 
vipin_nvk wrote:
Is the .exe generated by VC++ IDE also dependent on the PC on which the application has been developed?


This is the key point and the answer is, it can be, in at least the following ways.

1. Installed SDK. The code you develop on your Win2K PC will be diferent depending on what version of Visual C++ and what version of and SDKs are installed. These will effectively change your source. You can update these to versions capable of build XP apps if they are not already.

2. Test platform. The code you build on the Win2K PC may work there against the Win32 API verion available there but that does not automatically gaurentee it will work against XP. Remember that every Win32 application loads up Dlls that are part of Windows from the machines where it's installed and then makes hundreds of calls into these Dlls. If one function is missing, or perhaps behaves differently then things can go wrong.

Two points to note in your specific case.

1. The reason for the failure may not actually be the Win2K vs XP differences it could possibly be just the general difference between the two machines although with the error you're getting this is unlikely.

2. The requirements and environment for Services in particular are very Windows version specific. It may be that your Win2K developed service does not do all the things or meet all the timings required by an XP Service. MS tightens things up in security for example with each release.

With all that in mind in the end it could be as simple as which value of the _WIN32_WINNT you've compiled with. Unless you set this to at least 0x0501 I wouldn't expect the service to start on XP.


Nothing is exactly what it seems but everything with seems can be unpicked.

QuestionMouse Click Message From Desktop Pin
ashishbhatt10-Oct-07 20:52
ashishbhatt10-Oct-07 20:52 
AnswerRe: Mouse Click Message From Desktop Pin
Nishad S10-Oct-07 21:23
Nishad S10-Oct-07 21:23 
GeneralRe: Mouse Click Message From Desktop Pin
Nishad S10-Oct-07 23:23
Nishad S10-Oct-07 23:23 
GeneralRe: Mouse Click Message From Desktop Pin
ashishbhatt11-Oct-07 1:37
ashishbhatt11-Oct-07 1:37 
GeneralRe: Mouse Click Message From Desktop Pin
Nishad S11-Oct-07 1:43
Nishad S11-Oct-07 1:43 
GeneralRe: Mouse Click Message From Desktop Pin
ashishbhatt11-Oct-07 2:00
ashishbhatt11-Oct-07 2:00 
GeneralRe: Mouse Click Message From Desktop Pin
Nishad S11-Oct-07 18:03
Nishad S11-Oct-07 18:03 
Questionhow to read the Red Green and Blue values from a bmp image file? Pin
purplee8510-Oct-07 20:48
purplee8510-Oct-07 20:48 
AnswerRe: how to read the Red Green and Blue values from a bmp image file? Pin
Nelek10-Oct-07 20:51
protectorNelek10-Oct-07 20:51 
GeneralRe: how to read the Red Green and Blue values from a bmp image file? Pin
purplee8510-Oct-07 20:55
purplee8510-Oct-07 20:55 
GeneralRe: how to read the Red Green and Blue values from a bmp image file? Pin
Nelek10-Oct-07 22:43
protectorNelek10-Oct-07 22:43 
QuestionVectors! Pin
Michael10110-Oct-07 20:17
Michael10110-Oct-07 20:17 
AnswerRe: Vectors! Pin
Nibu babu thomas10-Oct-07 20:28
Nibu babu thomas10-Oct-07 20:28 
GeneralRe: Vectors! Pin
Michael10110-Oct-07 20:29
Michael10110-Oct-07 20:29 
GeneralRe: Vectors! Pin
Nibu babu thomas10-Oct-07 20:32
Nibu babu thomas10-Oct-07 20:32 
QuestionAttach the caption of the child window to the Frame Pin
prithaa10-Oct-07 20:04
prithaa10-Oct-07 20:04 
AnswerRe: Attach the caption of the child window to the Frame Pin
Nibu babu thomas10-Oct-07 20:06
Nibu babu thomas10-Oct-07 20:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.