!define _OPENFILENAME "(i, i, i, t, t, i, i, t, i, t, i, t, t, i, i, i, t, t, t, t, v, i, i) i"
FindWindow $0 "#32770" "" $HWNDPARENT
System::Call "*${_OPENFILENAME}(400, r0,,,,, 0, 'Test.exe', 256,, 256, 'C:\', 'Open Test',,,,'exe',,,, 0,,) .r0"
System::Call "Comdlg32::GetOpenFileNameA(t) i(r0) e.r1" Everytime I try to change it and use "GetLastError" API after, GetLastError returns 71-75.I really need this, I'm using a ListBox with several sound files to play, and if the user wants to change one of them, he/she needs to click in a button to appear the "Open File" dialog.
I have:
WinXP
NSIS Latest Development version from today.
(I'm trying the Color Dialogbox, but not sufficient to debug it yet)