Monthly Archives: September 2008

C++ Header from Com DLL

Welcome to HELL : OLE\COM Viewer displays "Error running MIDL.exe:2"Caused by too long helpstrings in the idl file Solution: http://www.planet-source-code.com/URLSEO/vb/Discussion/AskAProShowPost!asp/lngTopicId!31157/TopicCategory!COM_And_Object+Oriented+/Flag!2/lngWId!1/blnURLSEO!true/Posting.htm Extract the IDL with the OLE\COM Viewer Run the MIDL tool from the command line : ..\Program Files\Microsoft Visual Studio\VC98\Bin\midl yourdll.dll … Continue reading

Posted in ATL | Leave a comment