Old 21st November 2005, 00:43   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,106
EM_STREAMIN and the system plugin

is it possible?
I could not get it working, brainsucker can you confirm or deny if this is possible at all since the callback is inside a struct ptr that is sent to the richedit window using sendmessage

kichik: nsis already has a callback, is it possible to get the address of this callback and use that?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 22nd November 2005, 16:22   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It should be possible to do with System's callbacks. However, you can't use a NSIS function as a callback function. The System plug-in might support this one day, but currently, the address of a NSIS function and a callback function are totally unrelated.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 22nd November 2005, 18:29   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Got it working. It doesn't read from a file, but I'm sure you'll be able to add that easily.
Attached Files
File Type: nsi test.nsi (814 Bytes, 604 views)

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump