Illegal instruction in GetOpenFileName()

Jeremie Pelletier jeremiep at gmail.com
Thu Oct 22 10:54:05 PDT 2009


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Test.cpp
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20091022/1883228c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Test.d
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20091022/1883228c/attachment-0001.ksh>


More information about the Digitalmars-d mailing list