Matlab fails when using Microsoft SDK

I created a simple DLL to try and interface Matlab, and it finally worked fine after fixing a typographical error I originally had with it.
Then I tried to make use of a DLL that isn't so simple (has a lot of functions) and I get a LOT of errors related to the Microsoft SDK that I downloaded following a link from the Matlab website. Below is an example of just one of the errors but there are 50 or more very similar. Anyone have any suggestions what I can do about this:
Function pointer types are unsupported in structures
HRESULT ( __stdcall * QueryInterface )( ICreateErrorInfo * .
Found on line 202218 of input from line 4369 of file
c:\\program files\\microsoft sdks\\windows\\v7.1\\include\\oaidl.h

Answers (0)

Categories

Asked:

on 23 Mar 2015

Edited:

on 23 Mar 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!