T
tneon1
Guest
Hello,
First if this is the incorrect forum for this question please let me know the correct one.
Issue:
We have developed a C# dll that is used company wide. This was developed using visual studio 2019, framework 4.7.2.
We are creating a visual studio C++ 2005 axtivex wrapper that will allow equipment we used to access the C# methods and properties via COM. The application works as designed on windows XP, 7 and 10 running full versions of windows. The target device is using windows 7 embedded standard and seems to stop functioning when the C++ code goes to create the point to the C# dll.
I have made sure that all dependencies are included on the target and also all framework version from 1.0 to 4.7.2 are installed on the target. I do not get any errors on the target system.
The section of code that it stops on is as follows:
HRESULT hr = CoInitialize(NULL);
IHmsTGenPtr cHMSFuncCall(__uuidof(cHmsTGen)); Seems to be stopping at this point.
The declaration is as follows
#import "..\WizardDLL\HmsTGen.tlb" rename_namespace("WizardDll") raw_interfaces_only
using namespace WizardDll;
The dll is named WizardDLL.
I am not sure why this is working on full windows systems and not on windows 7 embeded standard.
Thank You for any information.
Tom
Continue reading...
First if this is the incorrect forum for this question please let me know the correct one.
Issue:
We have developed a C# dll that is used company wide. This was developed using visual studio 2019, framework 4.7.2.
We are creating a visual studio C++ 2005 axtivex wrapper that will allow equipment we used to access the C# methods and properties via COM. The application works as designed on windows XP, 7 and 10 running full versions of windows. The target device is using windows 7 embedded standard and seems to stop functioning when the C++ code goes to create the point to the C# dll.
I have made sure that all dependencies are included on the target and also all framework version from 1.0 to 4.7.2 are installed on the target. I do not get any errors on the target system.
The section of code that it stops on is as follows:
HRESULT hr = CoInitialize(NULL);
IHmsTGenPtr cHMSFuncCall(__uuidof(cHmsTGen)); Seems to be stopping at this point.
The declaration is as follows
#import "..\WizardDLL\HmsTGen.tlb" rename_namespace("WizardDll") raw_interfaces_only
using namespace WizardDll;
The dll is named WizardDLL.
I am not sure why this is working on full windows systems and not on windows 7 embeded standard.
Thank You for any information.
Tom
Continue reading...