Subj : Re: Using Turbo Debugger and GetProcAddress To : borland.public.cpp.borlandcpp From : Corey Sellers Date : Wed Dec 15 2004 03:51 pm Thanks for you quick reply! The problem is before I call the function, the DLL isn't loaded so the debugger can't load the symbol table. However, once I call the function, the debugger's status says "RUNNING", and I can't break into it (hitting Ctrl-Break doesn't do it). Once the function has completed, then I can get control again, but by then its too late. >>> Ed Mulroy [TeamB] 12/15/04 3:08 PM >>> Do View|Module In the right listbox load the symbol table for the DLL .. Ed > Corey Sellers wrote in message > news:41c0a285$1@newsgroups.borland.com... > > I am using Borland C++ version 5.01, and I have a piece > of code that looks like this: > > int FAR PASCAL (*func)( data* mydata ); > (FARPROC)func = ::GetProcAddress( hDLL, "MyFunction" ); > > if ( func ) > func( mydata ); > > The code runs fine, but there is a problem that I need to > debug. However, Turbo Debugger will not allow me to > debug into the function returned from GetProcAddress > (it just steps over it), even though the associated dll has > been compiled with debug information. .