Hi to everyone.
I am trying to debug a program with Ollydbg v1.10 on a virtual machine running Windows 7 32bits, the program use the GetOpenFileName() and GetSaveFileName() functions.
I press F9 to run the program and when I click on the Open file menu option in the program, it ends up in a paused state.
This happens with all the programs that I have tried to debug with Ollydbg on Windows 7 and use the aforementioned functions.
Why this happens?
There is not problem when I work on Windows XP sp3 32bits.
Known problem:
http://www.masmforum.com/board/index.php?topic=10458.msg76659#msg76659
http://www.masmforum.com/board/index.php?topic=12649.0
Google for getopenfilename exception to see more.
What's the result with OllyDbg 2.01?
http://www.ollydbg.de/version2.html
Quote from: jj2007 on May 09, 2014, 03:20:55 AM
Known problem:
http://www.masmforum.com/board/index.php?topic=10458.msg76659#msg76659
http://www.masmforum.com/board/index.php?topic=12649.0
Google for getopenfilename exception to see more.
Known problem, but, so far, unknown solution.
It's the same with Ollydbg 2.01.
I have decided to ignore the exception and add it to the list of exceptions to ignore in Ollydbg.
Thanks for your help.
a big change with windows 7 was window hierarchy for controls and dialogs
they added a layer (or more) for all kinds of controls
they call them "worker" windows - kind of analogous to "wrapper" functions
one might guess they use these worker windows to employ a C "try-catch-throw-block" mechanism
that might explain why the exception occurs
and, it may provide a hint to a solution
Quote from: p3tr0va on May 09, 2014, 10:43:32 AM
I have decided to ignore the exception and add it to the list of exceptions to ignore in Ollydbg.
That is indeed a straightforward solution :t