PDA

View Full Version : how to use ocx or .NET dll in QT4



hashb
27th November 2009, 04:52
Hi All,

My application need to call a function in a dll library created by VC.NET,
but I am wondering how to do that,I search on google, and someone
said that .NET dll can be convert to ocx,I didn't know how to use ocx
in QT4 either,
Any suggestions?
Thanks in advance.

Best regards,
hb

ChrisW67
27th November 2009, 05:30
You should start by reading the docs for QAxWidget and QAxObject for ways to access COM objects on Windows (including I assume OCX controls). It can be quite straightforward from the look of it, but then I've never tried it in anger.

hashb
27th November 2009, 08:52
Hi Chris,

Thanks you very much for the clue,I'll try it,

Best regards,
hb