Variant et ActiveXEvenement ?

Posté par hrun le 3/10/2007 10:04:07
Bonjour
la dernière fonction qui marche pas !

HRESULT OnNotifyTime ( ENotifyTimeType eCode;Variant *pvTime )

j'appelle cet evenement par :
//dans code ini de l'activeX
ActiveXEvenement("MD_OnNotify",Mon_ActiveX,"OnNotifyTime")
dans ma fonction MD_OnNotify
//normalement, je devrais mettre ça !
PROCEDURE MD_OnNotify(ecode,construitvariantautomation(pvtime))

mais ça passe pas et impossible de recupèrer les valeurs de pvtime
[in] This parameter contains the time value of notification. For
eNoMatchAtTimePeriod, this is an array contains 12 elements, the fore 6
elements are the starting time (Year, Month, Day, Hour, Minute, Second).
And the latter 6 elements are the ending time. For other notification code, it
always contains 6 elements for the time point to be notified.

comment faire SVP ?
merci

Cette contribution était de : http://old.wdforge.org/newbb/viewtopic.php?forum=17&topic_id=5424&post_id=22329