locked
Error code E_NOINTERFACE when creating instante to Scheduler RRS feed

  • Question

  • Hello all,

    Im building up an application with c++ and as found on the web i tried to load the .tlb files and also tried using the generated header files when it compiles.

    When i run the app i get this error now 0x80004002 (NO INTERFACE)

     

    Everything was running perfectly until one day it simply started returning this error.

    The code to instance:

     

        hr = CoCreateInstance( __uuidof(Scheduler), // CLSID_Scheduler,
            NULL,
            CLSCTX_INPROC_SERVER,
            __uuidof(IScheduler), // IID_IScheduler,
            reinterpret_cast<void **> (&g_pScheduler) );
    

     


    This is where it crashes. The DLL files are available on the servers. I tried to run this in several nodes, but got same result.

     

    Anyone has any idea on why this could be happening now?

     

    NOTE: I wrote a simple app in C# that would create a Scheduler and connect to headnode and it works. Why would this not create an instance in c++ ?

     

    Thanks in advance


    • Edited by pixel_ Monday, January 9, 2012 7:00 PM
    Monday, January 9, 2012 6:40 PM

All replies