Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
t.__m_onclick (Cannot make exe. Error 4, failed to compile.)
#4
For me the code works well. What is your QM version?

For testing, I created TEST_TTRY function, TEST_1 function, and TEST_2 function, and this macro:
Code:
Copy      Help
;/exe
Tray t.AddIcon("" "tray icon" 0 &TEST_TTRY)
10

;BEGIN PROJECT
;main_function  Macro518
;exe_file  $my qm$\Macro518.exe
;icon  $qm$\macro.ico
;manifest  $qm$\default.exe.manifest
;res  
;on_before  
;on_after  
;on_run  
;flags  6
;end_hotkey  0
;guid  {0BF25657-F4EC-4A39-9758-06C8160D1998}
;END PROJECT

onclick and onrclicks functions don't have any special requirements. With AddIcon, use their names in quotes.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)