VSTA integration sample provided with the installer works from C# code but not using C++. RRS feed

  • Question

  • Hi All,

    i followed the procedure as mentioned in "VSTA Sample Host Integration.doc" dcoument and am able to work successfully with C# sample (launch ide, create project from template..so on) where as tried the same with C++ code but it is failing.

    Below is the API which is failing and returning error code "HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND) : The specified module could not be found. "

    hr = CreateSessionManager(bstrLicKey, spSessionManagerOptions, &spSessionManager);

    i have also created a sample C++ app (win32 console) to check whether sample provided with the vsta installer is failing or what, but my sample app also giving the same problem.

    your help is appriciated.



    • Moved by Anna Cc Thursday, January 9, 2014 7:06 AM
    Tuesday, January 7, 2014 11:12 AM

All replies

  • Hi Nayaz B A,

    This forum is to discuss problems of visual studio extensibility development. Your question is not related to the topic of this forum. I moved this case to Visual Studio Tools for Applications (VSTA) forum for better response.

    Thank you for your understanding!

    Best regards,


    Thursday, January 9, 2014 7:06 AM