C#, VB6 and the Decimal data type -


im writing c# class library going used proxy between vb6 application , wcf service.

some of wcf service methods use decimal data types parameters im unable duplicate directly in interface provide vb6 application unsupported type.

how implement in com interface , safely convert decimal type wcf interface expecting?

decimal available in vb6 subtype of variant.

  dim d variant    d = cdec(1)    msgbox typename(d) 

you therefore implement variant appropriate subtype in interface.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -