本帖最后由 bhffhzh 于 2018-2-7 21:56 编辑 #Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_UseUPX=n
#AutoIt3Wrapper_UseX64=n
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include "XCGUI_Fun.au3"
XInitXCGUI()
XC_LoadResource("resource.xml")
$create = XC_LoadLayout("layout.xml")
$btn2 = XC_GetobjectByid(XWnd_GetHWND($create),10)
XWnd_ShowWindow($create)
XRunXCGUI()
>运行 AU3Check (1.54.19.0) 开始目录:D:\autoit3
C:\Users\Administrator\Desktop\Sql\第一个窗口程序.au3(10,50) : ERROR: XC_GetObjectByID() 调用参数的数量错误.
$btn2 = XC_GetobjectByid(XWnd_GetHWND($create),10)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\Administrator\Desktop\Sql\XCGUI_Fun.au3(676,29) : REF: definition of XC_GetObjectByID().
Func XC_GetObjectByID($_nID)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
$btn2 = XC_GetobjectByid(XWnd_GetHWND($create),10) 就这行
|