Results 1 to 8 of 8
  1. #1
    zee_mars's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0

    how can i write sendcommendtoconsole function in delphi?

    i have wrote an admin toole for alteriwnet mw2 and use the sendmessage api to send commands to the console window.
    i saw the sendcommand offset in a threat and gave the c code follow:

    void (__cdecl*SendCommandToConsole)(int a1,inta2,char *cvar)=(void (__cdecl*)(int,int,char *))0x00000;

    0x00000 is the offset

    the question is if anyone can tell me how can i use and recode it in delphi?
    thx

  2. #2
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    Why use delphi

    /Moved to Coding Section

    Ex Middleman

  3. #3
    zee_mars's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Insane View Post
    Why use delphi

    /Moved to Coding Section
    my main program is written in delphi..i am too lazy to recode the whole program in c.

  4. #4
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,117
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    i know only to guys who can help you....
    jaBBa and 0rbit

  5. #5
    zee_mars's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by AcE.bu50t View Post
    i know only to guys who can help you....
    jaBBa and 0rbit
    ~~thank you. it seems that few people use delphi , am i right?but why so few?

  6. #6
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,117
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    Quote Originally Posted by zee_mars View Post
    ~~thank you. it seems that few people use delphi , am i right?but why so few?
    /
    IDK those are the guys that i know......

  7. #7
    Melodia's Avatar
    Join Date
    Dec 2009
    Gender
    female
    Posts
    2,608
    Reputation
    276
    Thanks
    1,662
    My Mood
    Dead
    I Used to code a bit of Delphi too., But I did my memory management with imported Cpp Functions Libs.
    Love You All~

  8. #8
    zee_mars's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Melodia View Post
    I Used to code a bit of Delphi too., But I did my memory management with imported Cpp Functions Libs.
    ha!
    thank u for reminding me.the idea never occured to me.

    Quote Originally Posted by AcE.bu50t View Post
    /
    IDK those are the guys that i know......
    :-)
    i think may be in part the result of that VC & VB is developed by microsoft......
    Last edited by zee_mars; 10-12-2010 at 05:38 PM.

Similar Threads

  1. [Solved] how can i write question mark (?) in my name in cf?
    By marawanlol in forum CrossFire Help
    Replies: 2
    Last Post: 09-15-2011, 05:12 PM
  2. How can i kill a function in vb
    By HeXel in forum Visual Basic Programming
    Replies: 5
    Last Post: 02-15-2008, 04:56 PM
  3. How can I play Gunbound World CHampion!?
    By Beer_Hunter in forum GunBound Hacks / Bots
    Replies: 5
    Last Post: 12-27-2007, 08:12 AM
  4. How can i resize a pic?
    By darkone1149 in forum Art & Graphic Design
    Replies: 4
    Last Post: 02-08-2006, 05:31 PM
  5. how can i make game hack?!!!!
    By UnknownID in forum General Game Hacking
    Replies: 2
    Last Post: 02-07-2006, 07:21 PM