I've got this code in MC++ __property void set_DataType( Type* type ) { if ( type == typeof(String)) m_sdkConstName = WMT_TYPE_STRING; return;
if ( type == typeof(Int32)) m_sdkConstName = WMT_TYPE_DWORD; return; } and calling it from C#: obj.DataType = typeof(Int32); when I step-through the code, the condition always comes out to typeof(String). Any ideas as to why? - Ron =================================== This list is hosted by DevelopMentorŪ http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com