Message de rapport:
 

Variant et ActiveXEvenement ?

Sujet: Variant et ActiveXEvenement ?
par hrun sur 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
Connexion
Menu
Chercher WDForge
Chercher Web
Partenaires
Visualiser tous les Partenaires...
WinDev, WebDev, WinDev Mobile et HyperFile sont des marques déposées par PCSoft. |  Voter |  Legal |  Contact |   XOOPS 2.0.13.2