3 Feb 2003 03:31
Compiling MDI project with VS.NET /clr switch
I generated a MDI project from the WTL7 wizard(originally done in VS6) I compiled this in VS.NET and the code executed OK. When I used the /clr switch. It compiles fine but when it creates the toolbar I get the following exception message: An unhandled exception of type 'System.TypeLoadException' occurred in WTL7MDI.exe Additional information: Could not load type _IMAGELIST from assembly WTL7MDI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. If I remove all the toolbar code then the code executes OK. It appears that the clr compiler is having trouble handling the HIMAGELIST type in the assembly metadata. There appears not to be a problem with other handles such as HWND and HMENU. Has anyone experienced this and/or have a solution? thank you. Dennis Worthem
RSS Feed