Well , if you are using Visual Studio IDE, Press F9 to set a breakpoint in the source file. Then, Go to : Project>>Settings>>Debug TAB In the "Executable for debug session:" Edit box, BROWSE and select the EXE file that is going to use your dll. THEN PRESS 'OK' NOW RUN YOUR PROGRAM BY CLICKING THE '!' ICON OR ON THE TOOLBAR...or . THIS WILL RUN THE EXE THAT YOU SELECTED EARLIER. NOW IF THAT PROGRAM(EXE) MAKES USE OF AN EXPORTED FUNCTION FROM YOUR DLL, AND IF YOU HAVE SET UP YOUR BREAKPOINTS CORRECTLY, YOU CAN DEBUG YOUR DLL...... happy debugging! ...Avenger
Remember... testing & debugging are always part of programming ...so exterminate those stinking bugs