Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

I had In a legacy code that used , two different COM IDFs that both define defined the same class -- MSCOMCT2.DataObject and MSCOMCTL.DataObject

...

I want to use the MSCOMCTL once since that custom IDF has more customizations and the type was being used in the context of other MSCOMCTL types.

Ultimately, its one of those things where we probably need to either duplicate work or do what I did which was pre-edit a fully qualified name:

...

Another option is to create a merged custom IDF for all the different versions of Windows Common Controls (This is something we routinely do for ADODB); however, that won't work becauase in general, as you can see in the example below:

Code Block
C:\Users\mark>dir \Windows\SysWOW64\*comct*.ocx
 
06/24/1998 12:00 AM   164,144 COMCT232.OCX
06/24/1998 12:00 AM   369,696 COMCT332.OCX
06/24/1998 12:00 AM   609,584 COMCTL32.OCX 
11/25/2013 12:27 PM   660,120 mscomct2.ocx 
03/31/2014 09:46 PM 1,070,232 MSCOMCTL.OCX
 

...