home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 981 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.2 KB  |  27 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!sal.wisc.edu!rat!zeus!vcurley
  3. From: vcurley@zeus.calpoly.edu (Vince Curley)
  4. Subject: What functions am I calling?
  5. Message-ID: <1992Jul23.214421.533373@zeus.calpoly.edu>
  6. Keywords: debug functions
  7. Organization: California Polytechnic State University, San Luis Obispo
  8. Date: Thu, 23 Jul 1992 21:44:21 GMT
  9. Lines: 16
  10.  
  11. For debugging purposes I need to know what functions my app is
  12. calling but can't find out how to do it.  For example, I have
  13. an app that calls into a DLL and I want to set up some sort of
  14. hook that will catch a call to the DLL function, lemme know it
  15. was called and call the original function as if nothing happened.
  16. I was thinking of doing something along the lines of subclassing
  17. where I would replace the proc with one of my own, but this only
  18. works for windows and classes, not arbitrary functions, right?
  19.  
  20. Anyway, ANY suggestions or comments would be appreciated.  Thanks.
  21.  
  22. Vince
  23.  
  24. -- 
  25.             //  Vince Curley  +  vcurley@demeter.calpoly.edu  \\
  26.   +  Windows Multimedia  +  Windows NT  +  Windows DBMS  +  Windows OOP  +
  27.