Go Back   Winamp & Shoutcast Forums > Search Forums

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: dbarrett
Forum: NSIS Discussion 15th August 2006, 01:05
Replies: 4
Views: 3,526
Posted By dbarrett
Wow, that's great! Thanks. The solution I went...

Wow, that's great! Thanks. The solution I went with was something similar -- I'm using a DLL via the System plugin and I added SetClassLong( ..., GCL_WNDPROC, ... ) on the dialog DLL on entry. ...
Forum: NSIS Discussion 10th August 2006, 23:31
Replies: 4
Views: 3,526
Posted By dbarrett
WM_QUERYENDSESSION and logoff/shutdown

I read in the 2.02 release notes [1] that NSIS responds "false" to WM_QUERYENDSESSION, and thus aborts any attempt by the user to shutdown or logoff his computer while the NSIS script is running.
...
Forum: NSIS Discussion 29th July 2006, 20:36
Replies: 3
Views: 1,747
Posted By dbarrett
Mark -- Great idea. Now I copy the INI to a temp...

Mark -- Great idea. Now I copy the INI to a temp file, read it, and then delete the temp file. Works great.

GetTempFileName $R0
CopyFiles "my.ini" $R0
ReadINIStr $0 $R0 "My Section" "MyName"...
Forum: NSIS Discussion 28th July 2006, 02:28
Replies: 3
Views: 1,747
Posted By dbarrett
Forcing reload/reread for ReadINIStr?

So far as I can tell, ReadINIStr loads the INI file into memory once, rather than re-reading the file each time its called. This is a sensible optimization.

However, is there any way to force...
Forum: NSIS Discussion 19th July 2006, 22:37
Replies: 8
Views: 2,733
Posted By dbarrett
Eureka! I figured out the filename issue. My...

Eureka! I figured out the filename issue. My DLL filename is of the following form:

MyDLL-X.YYY-ZZZ.dll

And I was calling as follows:

System::Call "MyDLL-X.YYY-ZZZ::Run( ) i.r3 ? u"
...
Forum: NSIS Discussion 19th July 2006, 08:38
Replies: 8
Views: 2,733
Posted By dbarrett
Ok, I'll put together a DLL with the same...

Ok, I'll put together a DLL with the same function signature and post a link here. Thanks for all your help on this.

In the meantime, I've decided to temporarily drop the backwards compatibility...
Forum: NSIS Discussion 18th July 2006, 19:50
Replies: 8
Views: 2,733
Posted By dbarrett
Unfortunately I can't change the function...

Unfortunately I can't change the function signature for backwards compatability reasons. Were it up to me I'd just return 'true' or 'false' in the return value. Unfortunately, I'm stuck with a...
Forum: NSIS Discussion 18th July 2006, 03:39
Replies: 8
Views: 2,733
Posted By dbarrett
Alas, no luck. Every time it just segfaults when...

Alas, no luck. Every time it just segfaults when I try to write to the 'bool&' parameter. :(
Forum: NSIS Discussion 18th July 2006, 03:01
Replies: 8
Views: 2,733
Posted By dbarrett
How to System::Call DLL function with reference?

I have a DLL with an exported function with the following signature:

extern "C" __declspec(dllexport) HRESULT Run4( HINSTANCE, HINSTANCE, HINSTANCE, LPSTR, int, bool& )

How do I call this...
Showing results 1 to 9 of 9

 
Forum Jump