News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Visual C++ with CB

Started by xloom, August 13, 2007, 01:41:16 PM

Previous topic - Next topic

xloom

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

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
        ]


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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

stanley

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