mIRC Home    About    Download    Register    News    Help

Print Thread
Accessing variables from a different application #23421 10/05/03 12:07 AM
Joined: May 2003
Posts: 2
K
knightrage Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: May 2003
Posts: 2
Is it possible to find where variables are in the memory register, so they could be accessed from a different application, such as one of C++? I believe the variables are stored in memory, otherwise the /flushini command would not exist. If anybody knows of a way to find the memory registers that mIRC uses for variables, please reply.

Thanks in advance.

Re: Accessing variables from a different application #23422 10/05/03 12:12 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Umm why in God's name would you want to do such a horrid thing?

Re: Accessing variables from a different application #23423 10/05/03 04:20 PM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
There are all kinds of nasty perv's out there these days... grin


Code:
//if ( khaled isgod ) echo yes | else echo no
Re: Accessing variables from a different application #23424 11/05/03 06:06 AM
Joined: Feb 2003
Posts: 32
S
SaX0n Offline
Ameglian cow
Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 32
You can access the mIRC variables from another application using SendMessage and WM_MEVALUATE. Check out the mIRC help file on SendMessage..

Re: Accessing variables from a different application #23425 11/05/03 09:08 AM
Joined: Feb 2003
Posts: 2,803
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,803
Or if you don't want to put a whole lot of effort into it... DDE Evaluate wink


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Accessing variables from a different application #23426 11/05/03 05:12 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
I take it you've never worked with the C DDE API? If you don't want to put effort in something, then you shouldn't even consider DDE. DDE is an incredibly hard thing to work with, especially if you're not familiar with DDE.

Re: Accessing variables from a different application #23427 13/05/03 04:47 PM
Joined: Apr 2003
Posts: 8
S
sNif Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Apr 2003
Posts: 8
Reading data from memsets is kind complicated. You need know the address, size, type, and read it. In that case you can follow recordsets by using some debug-softwares. In win32 I recommend Visual C++.