A couple of programming questions [message #389501] |
Sun, 07 June 2009 06:22 |
|
Two questions.
is it possible to make one console application interact with one another? (like send commands etc.)
how do I find out what parameters and stuff a dll has so I can use it in my program
|
|
|
|
|
Re: A couple of programming questions [message #389508 is a reply to message #389501] |
Sun, 07 June 2009 07:07 |
|
Then you'll probably need to find or reverse engineer the protocool details yourself, and send commands via 127.0.0.1.
If, like Renegade, there is a RenRem.exe type application (IE, another EXE which takes command line parameters and sends the correct packet to the specified destination) then you can use that.
(That's how BrenBot works, I think)
Renguard is a wonderful initiative
Toggle Spoiler
BBC news, quoting... |
Supporters of Proposition 8 will argue California does not discriminate against gays, as the current law allows them to get married - as long as they wed a partner of the opposite sex.
|
halokid wrote on Mon, 11 October 2010 08:46 |
R315r4z0r wrote on Mon, 11 October 2010 15:35 |
|
the hell is that?
|
|
|
|
Re: A couple of programming questions [message #389686 is a reply to message #389501] |
Mon, 08 June 2009 10:14 |
|
function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
function AddRef: UI4; stdcall;
function Release: UI4; stdcall;
function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
function sendText(out console: ^BSTR; out Command: ^BSTR): Bool; stdcall;
function SysDir: BSTR; stdcall;
this is from the dll i was talking about
i found all this in the resource editor of pe explorer. does it carry any significance?
[Updated on: Mon, 08 June 2009 10:16] Report message to a moderator
|
|
|
Re: A couple of programming questions [message #389783 is a reply to message #389501] |
Tue, 09 June 2009 08:23 |
|
Assuming the DLL is related to the server, which I'm sure it isn't (Reverse engineering is a violation of the license, I would not doubt) then I could guess that the sendText function might do what you want, maybe.
Renguard is a wonderful initiative
Toggle Spoiler
BBC news, quoting... |
Supporters of Proposition 8 will argue California does not discriminate against gays, as the current law allows them to get married - as long as they wed a partner of the opposite sex.
|
halokid wrote on Mon, 11 October 2010 08:46 |
R315r4z0r wrote on Mon, 11 October 2010 15:35 |
|
the hell is that?
|
|
|
|