Hello friends,

I have an com object with some methods and properties inter alia:

[propget, id(3), helpstring("property Date")] HRESULT Date([out, retval] DATE 
*pVal);
[propput, id(3), helpstring("property Date")] HRESULT Date([in] DATE newVal);

in vbs:

Set oObj = CreateObject("Test.date")

res = oObj.ExpireDate

MsgBox res 

I get the result: 21.02.2013

When I make this in Racket:
(define oObj    (com-create-instance "Test.date"))
(com-get-property oObj "Date")

I am getting an error:
VariantTimeToSystemTime: implementation not found; arguments: 41670.0 
#<cpointer:SYSTEMTIME>

So my question is do I something wrong in using rackets ffi?


Yours,
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to