mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 2
K
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.

Joined: Dec 2002
Posts: 2,809
C
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?

Joined: Dec 2002
Posts: 774
T
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
Joined: Feb 2003
Posts: 32
S
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..

Joined: Feb 2003
Posts: 2,803
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!
Joined: Dec 2002
Posts: 2,809
C
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.

Joined: Apr 2003
Posts: 8
S
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++.


Link Copied to Clipboard