![]() To create multiple objects based on a single CLSID, call theĭid you want to use some steps instead of the CoCreateInstance method? ![]() If you want to create only one object on local system you can use the CoCreateInstance method, To create a single object on a remote system, call theĬoCreateInstanceEx function. Please help me understand what is the matter.Īccording to the error message we know that the system cannot find the file specified. This has been woorking perfectly after Visual Studio 2010 building,īut after Visual Studio 2017 Enterprise Edition building I have got ERROR_FILE_NOT_FOUND fromĬoCreateInstance. SpInter.CreateInstance( _uuidof ( OurManager )) We create DLL object in application C++ code as this: The application manifest is looking as this: Mt -outputresource:"$(TargetDir)OurMngr.dll" -manifest "$(TargetDir)OurMngr.manifest" Post-build event command line: call "$(DevEnvDir).\Tools\vsvars32.bat" ![]() Public partial class OurManager : IOurManager All our C# DLLs are COM objects having interfaces as: We have C++ application with C++ and C# DLLs. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |