- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I work on a C++ / Fortran project. It worked fine on Windows XP. Now I am working on Windows 7. I am using VS2005 and IF 11.1.070.
I can compile and run the application on Windows 7.
However, when I install it on Windows XP it opens normally and closes if I try to access any item from its menu. No error messages appears.
Is there any special settings on the project so it can work on both Windows 7 and XP?
Thanks
Andrea
I work on a C++ / Fortran project. It worked fine on Windows XP. Now I am working on Windows 7. I am using VS2005 and IF 11.1.070.
I can compile and run the application on Windows 7.
However, when I install it on Windows XP it opens normally and closes if I try to access any item from its menu. No error messages appears.
Is there any special settings on the project so it can work on both Windows 7 and XP?
Thanks
Andrea
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One subtle difference might be whether you have enabled the SSE2 instruction set, or not (arch:IA32). Your Win7 machine undoubtedly supports SSE2, but an older XP machine might not, and I don't think there is any error message when this happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try starting the application from a command prompt window and see if any error messages appear. There are no special project settings for such a thing, as applications are generally compatible as long as they don't rely on Windows API routines not in he older OS - but if that was the issue you'd get an explicit error message when running the program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve: even running from the cmd line, no message is shown.
But it seems I could fix the problem following Paul's advice.
For the fortran project, the "Code Generation > Enable Enhanced Instruction Set" was "NotSet". So I changed to /arch:IA32. I didnt change it for the C++ project, which remains "NotSet".
And voila: its working!
Maybe I'll find some other issues ahead, but at least now I can test the app.
Thanks A LOT. Couldnt have done by myself.
Andrea
But it seems I could fix the problem following Paul's advice.
For the fortran project, the "Code Generation > Enable Enhanced Instruction Set" was "NotSet". So I changed to /arch:IA32. I didnt change it for the C++ project, which remains "NotSet".
And voila: its working!
Maybe I'll find some other issues ahead, but at least now I can test the app.
Thanks A LOT. Couldnt have done by myself.
Andrea

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page