I'm pretty new with MinGW and a CPP beginner, so I'm not sure if this is proper place to ask possibly stupid questions:) 
Nevertheless, I've got problem when I tried to switch a MSVC app to work with MinGW libraries. 
I'm having problem to reach methods for objects of IHTMLInputTextElement type. In MSVC I was using some classes which are overlaps of interfaces like IHTMLElement... 
And the app compiled with g++ is working well 'till the moment when methods for IHTMLInputTextElement interface are called. Afterwards, I got SEGFAULT error. I added interface def. for IHTMLInputTextElement to mshtml.h before. What else I have to do for making this work? 
Thank You, 

Try the all-new Yahoo! Mail . "The New Version is radically easier to use" The Wall Street Journal