Author |
Topic: API COM (1 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
PFranchetti Posts: 17 Joined: Sep 26, 2012 |
1) Excel sample doesn't work for me: when I try to login, I get "Automation error"
2) API works (I use Visual Basic 6), but there is an error: all DATE/TIME types have become DOUBLE types (for example, ExpirationTime and ExpirationDate both appear as Double). This is an error in the .TLB file, where the only thing that is needed is to modify those types to COM type DATE (which maps to Date in VB6). This can be done with a TLB editor, like for example Edanmo's EditTLB. Can OEC please provide the corrected version? Otherwise you need to cast that type to Date,which is easy with C but not with VB6. I have a .TLB which adds many interesting functions to VB6 (without any code!) including AsDate(ByRef param as Any) which casts any 64-bit value to a Date value and vice-versa. I can share it with no problem, but I can't find a way in this forum to upload files. Paolo Franchetti |
||||