You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the following code I seem to be running into a problem with the call to GetPropertyStore:
I get the error Invalid managed/unmanaged type combination (Interfaces must be paired with Interface). Either I am declaring the ICreateObject incorrectly or there is a bug in GetPropertyStore which is causing the exception to be thrown.
What is the best way to correct this?
The text was updated successfully, but these errors were encountered:
Hi, thanks for fixing this. I am translating some C++ code so I am keeping the C# as close as possible to that so I can make sure it is correctly translated.
Thanks also for pointing out the overloaded methods, I was not aware of them.
Using the following code I seem to be running into a problem with the call to
GetPropertyStore
:I get the error Invalid managed/unmanaged type combination (Interfaces must be paired with Interface). Either I am declaring the
ICreateObject
incorrectly or there is a bug inGetPropertyStore
which is causing the exception to be thrown.What is the best way to correct this?
The text was updated successfully, but these errors were encountered: