Thread: Calling a defined function

  1. #1
    Registered User
    Join Date
    Dec 2005

    Calling a defined function

    if i have that function defined:
    typedef void (__cdecl* RequestSuicide_func)(MUID*uid);
    RequestSuicide_func RequestSuicide = (RequestSuicide_func)ADDR_RequestSuicide;
    How do i call it?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Same as you would for a normal function

    RequestSuicide ( myMUIDPtr );
    RequestSuicide ( &myMUIDvar );

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In over my head
    By Shelnutt2 in forum C Programming
    Replies: 1
    Last Post: 07-08-2008, 06:54 PM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 09:10 AM
  4. Change this program so it uses function??
    By stormfront in forum C Programming
    Replies: 8
    Last Post: 11-01-2005, 08:55 AM
  5. Function calling woes
    By RedZippo in forum C Programming
    Replies: 6
    Last Post: 01-09-2004, 12:39 AM