mIRC Home    About    Download    Register    News    Help

Print Thread
#103550 22/11/04 08:13 AM
Joined: Dec 2003
Posts: 61
A
Aeron Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2003
Posts: 61
Any idea's how i can check if a filemap is in use or exists?

#103551 22/11/04 09:20 AM
Joined: Jan 2004
Posts: 7
M
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
M
Joined: Jan 2004
Posts: 7
whats a filemap ?

#103552 22/11/04 05:41 PM
Joined: Dec 2003
Posts: 61
A
Aeron Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2003
Posts: 61
/help SendMessage
Quote:

Mapped Files
The application that sends these messages must create a mapped file named mIRC with CreateFileMapping().

When mIRC receives the above messages, it will open this file and use the data that this mapped file contains to perform the command or evaluation. In the case of an evaluation, mIRC will output the results to the mapped file.

The mapped file must be at least 1024 bytes in length.

To prevent simultaneous access to the mapped file, your code must check whether the mapped file exists or not before using it. If it exists, you should assume that it is in use by another program, and should try again later.


The last part is what i'm talking about.

#103553 23/11/04 11:34 PM
Joined: Dec 2003
Posts: 61
A
Aeron Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Dec 2003
Posts: 61
Still help wanted :'(


Link Copied to Clipboard