• 0

What happens when I load my dll this way


Question

What does my code do?

#import "MyDll.dll"

?.

CoInitialize(NULL);

if(SUCCEEDED(m_IPtr.CreateInstance("MyDll.Stuff")) ) // Create intstance to component?

{

//is ok

}

else

{

//is not ok

}

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

not much...

you've set up an IF statement but not actually said what its to do whether its true or not

Link to comment
Share on other sites

  • 0

What language is this? C#? Managed C++? And what class is "m_IPtr"? Microsoft's MSDN online library will tell you what CreateInstance does if you know what language and what library (furthermore what class) it belongs to.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.