Publié : mar. 13/sept./2005 17:34
dans ce cas montre moi ton code qui ne fonctionne pas... parce qu'avec l'assembleur activé je ne vois pas ce qui cloche...
Dri
Dri
Code : Tout sélectionner
FSTP dword [v_ma_variable]
Code : Tout sélectionner
FSTP dword [esp]
Code : Tout sélectionner
;- Variables Global
Global Barometre.f
Global Temperature.f
Code : Tout sélectionner
Procedure Open_Window_0()
OpenLibrary(0, "VantagePro.dll")
ErreurCom.w = CallFunction(0,"OpenCommPort_V",1,19200) ;c'est un "short int"
Debug ErreurCom
;
lectureint.w=CallFunction(0,"LoadCurrentVantageData_V") ;c'est un "short int"
CallCFunction(0,"GetBarometer_V") ;c'est un "float"
!FSTP dword [v_Barometre]
Debug Barometre
CallCFunction(0,"GetInsideTemp_V") ;c'est un "float"
!FSTP dword [v_Temperature]
Debug Temperature
EndProcedure