digitalmars.D - Illegal instruction in GetOpenFileName()
- Jeremie Pelletier (11/11) Oct 22 2009 I get an illegal instruction exception when using GetOpenFileName(), I
- Walter Bright (2/6) Oct 23 2009 I'd compare the asm generated by VC++ with DMC++.
I get an illegal instruction exception when using GetOpenFileName(), I know its strange to post windows issues here, but the bug is only when using either DMD or DMC. VC++ 2008 produces a working executable in both 32bits and 64bits. The program crashes on a LES instruction (opcode 0xC4) which is an invalid instruction in 64bit mode. Why it crashes there is beyond me, but its really annoying! If anyone better at debugging than I am wants to give it a try, it would be great, at least to pinpoint what is leading to the crash. I am using Windows 7 x64 build 7100. Jeremie
Oct 22 2009
Jeremie Pelletier wrote:I get an illegal instruction exception when using GetOpenFileName(), I know its strange to post windows issues here, but the bug is only when using either DMD or DMC. VC++ 2008 produces a working executable in both 32bits and 64bits.I'd compare the asm generated by VC++ with DMC++.
Oct 23 2009