Discussion:
Breakpoint on WinAPI function
(too old to reply)
Maxim
2007-04-27 13:19:54 UTC
Permalink
Hello, everyone.

How do I set a breakpoint on a WinAPI function? I need to find out where my
appication calls kernel32 LoadLibrary and FreeLibrary.
I've already tried different approaches with no success.
I set breakpoint on ***@4 wich was ok but the breakpoint was
never hit, but I'm sure that the function was called.
Also tried to set a breakpoint on
LoadLibrary
LoadLibraryW
::LoadLibrary
::LoadLibraryW
{,,kernel32.dll}LoadLibrary
{,,kernel32.dll}LoadLibraryW

with no success. VS said that the function is not found.
Andrew
2007-06-27 08:30:51 UTC
Permalink
Post by Maxim
Hello, everyone.
How do I set a breakpoint on a WinAPI function? I need to find out where my
appication calls kernel32 LoadLibrary and FreeLibrary.
I've already tried different approaches with no success.
never hit, but I'm sure that the function was called.
Also tried to set a breakpoint on
LoadLibrary
LoadLibraryW
::LoadLibrary
::LoadLibraryW
{,,kernel32.dll}LoadLibrary
{,,kernel32.dll}LoadLibraryW
with no success. VS said that the function is not found.
what about search by sources?

Loading...