Thread View: news.software.readers
1 messages
1 total messages
Started by matija
Mon, 25 Aug 2003 20:45
[dialog] scripting help needed
Author: matija
Date: Mon, 25 Aug 2003 20:45
Date: Mon, 25 Aug 2003 20:45
28 lines
2064 bytes
2064 bytes
i was transferring my world-famous x-now-playing script v1.0 from
delphi to dialog, but, you guessed it right, i can't make it work.
the scripting engine does not support pointers, and i can't think
of any workaround for the code fragment below. can anyone help?
var hwndWinamp, pIDHandle : cardinal;
buffer : array[0..500] of char;
numBytesRead : cardinal;
...
hwndWinamp := findWinampHWND;
getWindowThreadProcessId (hwndWinamp, pIDHandle);
hwndWinamp := openProcess (PROCESS_ALL_ACCESS, false, pIDHandle);
readProcessMemory (hwndWinamp, pointer(getWinampSkinNameAddr), @buffer, 500, numBytesRead);
// getWinampSkinNameAddr is a function which returns a cardinal
--
there is a cheer. the gnomes have learned a new way to say hooray. [-shpongle]
address is scrambled - remove SPAMISEVIL to reply
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads