Re: [ADVANCED-DOTNET] Marshalling of COM dates

2007-11-03 Thread Peter van der Weerd
Hi Ryan, Thanks for your reply. But no, it doesn't help. Because the interfaces that I'm using are existing interfaces. So I can't spcecify custom marshallers on them. I think its best to replace or hook the standard date-marshaller, but haven't found a way to do that... /P - Original Me

Re: [ADVANCED-DOTNET] Marshalling of COM dates

2007-11-03 Thread Peter Ritchie
I think you'll have to declare your own managed interface for your native interfaces if you want to use custom marshaling (i.e. not use tlbimp) But, before going that route, how are the "COM dates" declared in the IDL? I've round-tripped dates through a native COM object without losing precision.