how can i write sendcommendtoconsole function in delphi?

Posts 1–8 of 8 · Page 1 of 1
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
Why use delphi

/Moved to Coding Section
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.
i know only to guys who can help you....
jaBBa and 0rbit
Quote Originally Posted by user590177 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?
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......
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 user590177 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......
I Used to code a bit of Delphi too., But I did my memory management with imported Cpp Functions Libs.
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us