Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

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

$
0
0

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.

regards,

Nayaz


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>