Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Locked Error code E_NOINTERFACE when creating instante to Scheduler

  • 9 ianuarie 2012 18:40
     
      Are cod

    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


    • Editat de Pixel_ 9 ianuarie 2012 19:00
    •  

Toate mesajele