help making a com?

Discussion about everything. New games, 3d math, development tips...
Post Reply
zaneiel
Posts: 10
Joined: Wed Apr 19, 2006 5:25 am

help making a com?

Post by zaneiel »

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)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Why didn't you post this topic in the .net section, or in offtopic? You wouldn't have to fear flaming then. And sory, I definitely know nothing about .net techniques.
Post Reply