I've made a program in c++ (unmanaged)

How would I make it into a dll for use in other apps? also,
instead of gets, or cin.getline, how do I pass a variable (named COM) from an app to the dll?

(BTW: in using Dev-C++ 4.9.9.2)

did you try google?

>>how do I pass a variable (named COM) from an app to the dll?
The same way that you would pass it to any other function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.