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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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