User forums > Using Code::Blocks

Visual C++ with CB

(1/1)

xloom:
I am receiving the following error when compiling an imported project from .vcproj file:

--- Code: ---C:\Program Files\Microsoft Platform SDK\Include\atl\atlctl.h(1379) : error C2039: '_InternalQueryInterface' : is not a member of 'plugin'
        c:\dev\plugin\Plugin.h(53) : see declaration of 'plugin'
        C:\Program Files\Microsoft Platform SDK\Include\atl\atlctl.h(1377) : while compiling class template member function 'HRESULT ATL::CComControl<T>::ControlQueryInterface(const IID &,void **)'
        with
        [
            T=Plugin
        ]
        c:\dev\plugin\Plugin.h(54) : see reference to class template instantiation 'ATL::CComControl<T>' being compiled
        with
        [
            T=Plugin
        ]

--- End code ---

The same code compiles fine under Visual Express IDE therefore something must be different. I made the same project to CB by hand as well and got the same error. Does anyone have an idea of what might cause it or is there a way to see the exact command-line CB executes so I could compare the differences?
Thanks

thomas:
No solution for your problem, but you can see the full commandline like this:

In the compiler preferences (or in the build options), go to the rightmost tab ("Other Settings") and select Compiler Logging: Full Commandline.

stanley:
I hope I could have helped you but i dont have any idea about this.:(

Navigation

[0] Message Index

Go to full version