Hello KetilO
I need for my addin the Output filename after compile my project with Radasm.
Gives any struct entry to get it or must i build this string?
example
.elseif uMsg==AIM_MAKEDONE
mov esi,lParam
lea edi,lpFileName
.while byte ptr [esi]!= "."
lodsb
stosb
.endw
mov dword ptr [edi], "exe."
an is this what export radasm to the addin lparam (da.szMainAsm) the output file
example:
link /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 /OUT:"DlgMain.exe"
.elseif eax==IDM_MAKE_BUILD
invoke PostAddinMessage,hWin,AIM_MAKEBEGIN,IDM_MAKE_BUILD,addr da.szMainAsm,0,HOOK_MAKEBEGIN
Or can you add a function to export the makeexe Structur by HOOK_MAKEDONE and HOOK_BEGIN
as wparam or anything?
example your Fbedit export the output filename and commandline
ADDINDATA Struct
...
..
.
smakeoutput db 260 dup(?) ; Make output filename
smakerun db 260 dup(?) ; Run commamd line parameters
...
..
.
Regards
I found a Solution
Get the lparam for da.szMainAsm
return DlgMain.asm
Get (ADDINDATA ptr[eax]).make.szOutLink return output "$C.exe"
and build Dlgmain.exe
greets