Calling a defined function

This is a discussion on Calling a defined function within the C++ Programming forums, part of the General Programming Boards category; if i have that function defined: Code: typedef void (__cdecl* RequestSuicide_func)(MUID*uid); RequestSuicide_func RequestSuicide = (RequestSuicide_func)ADDR_RequestSuicide; How do i call it?...

  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    17

    Calling a defined function

    if i have that function defined:
    Code:
    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    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, 04:45 PM
  3. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 08:10 AM
  4. Change this program so it uses function??
    By stormfront in forum C Programming
    Replies: 8
    Last Post: 11-01-2005, 07:55 AM
  5. Function calling woes
    By RedZippo in forum C Programming
    Replies: 6
    Last Post: 01-08-2004, 11:39 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21