- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use 6.6A of Compaq/Intel Visual Fortran
I distribute programs written in VF
The program work fine on most machines
One some Win98 systems, I get Error 168
Error 168 in help file says Illegal Instruction
Operating system error
How do I trace what commands or area of the program is causing this problem
I can not distribute a Debug version with traceback as taht would be a security breach
I do not have a computer which causes the problem
Thank you for your assistance
I distribute programs written in VF
The program work fine on most machines
One some Win98 systems, I get Error 168
Error 168 in help file says Illegal Instruction
Operating system error
How do I trace what commands or area of the program is causing this problem
I can not distribute a Debug version with traceback as taht would be a security breach
I do not have a computer which causes the problem
Thank you for your assistance
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is that the systems with this problem have a bad device driver (often a video driver) or a problem with system memory or a disk. There is no ready way for you to trace this yourself, unfortunately.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Turns out that the problem was caused by an older-generation processor not understanding newer instructions. The application had been compiled with the "Generate most optimized code" (/fast) setting, which implies /arch:host. Unfortunately, the project settings box display doesn't reveal the implied switches, leading to this sort of problem.
Steve
Steve

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