help making a com?
Posted: Sat May 06, 2006 3:56 am
posted this in beginners help section, think that was a bad idea lol
still need help on this, hoping not to et flamed for c++ question
Hey guys, i was waundering if one of you could tell me about making a dll into a referenceable item to link into C# or VB sort of like the .net irrlicht wraper.
to clarify, if i find a cool code snippet for c++ as i allways do, i would like to make it a function to be called from C# or so others can use it in vb etc. I don't know much about COM programming (i am under the impression thats how its done) but if someone could post a simple function or interface or whatever and the code that makes it compile into a reference-friendly .DLL I will love you forever
even something as simple as :
void PrintThis(char MyString)
{
printf (MyString);
}
and the code to make it a "wrapper" - (can be referenced from Managed code)
still need help on this, hoping not to et flamed for c++ question
Hey guys, i was waundering if one of you could tell me about making a dll into a referenceable item to link into C# or VB sort of like the .net irrlicht wraper.
to clarify, if i find a cool code snippet for c++ as i allways do, i would like to make it a function to be called from C# or so others can use it in vb etc. I don't know much about COM programming (i am under the impression thats how its done) but if someone could post a simple function or interface or whatever and the code that makes it compile into a reference-friendly .DLL I will love you forever
even something as simple as :
void PrintThis(char MyString)
{
printf (MyString);
}
and the code to make it a "wrapper" - (can be referenced from Managed code)