News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Problem with Ollydbg on Windows7

Started by p3tr0va, May 09, 2014, 03:11:23 AM

Previous topic - Next topic

p3tr0va

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.

jj2007

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.

Vortex

What's the result with OllyDbg 2.01?

http://www.ollydbg.de/version2.html

p3tr0va

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.

dedndave

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

jj2007

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