Thread: call function from variable

  1. #1

    call function from variable

    You know when you register a class you can set it wndproc callback function? Or when you subclass you set it?

    How does the system call that function?


    WNDPROC procfunc = WinProc;

    How does it call the function that procfunc has as it's value, in this case WinProc.

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Damn and blast, your learning more in two days than I learn in a year!

    >>How does the system call that function?<<

    Search: function pointer tutorial

  3. #3

    Thanks for the info, now I can do heaps more stuff ... shouldn't be to long till my visual resource editor can do something.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help calling function is asm
    By brietje698 in forum C++ Programming
    Replies: 24
    Last Post: 12-06-2007, 04:48 PM
  2. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  3. <Gulp>
    By kryptkat in forum Windows Programming
    Replies: 7
    Last Post: 01-14-2006, 01:03 PM
  4. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM