Re: Class libraries w/VS 2005
On 2007-10-15 22:06, djbaker@gmail.com wrote:
Greetings,
I am trying to create a class library/dll with C++ and I am running
into a lot of trouble. I know that this is a C++ forum and not one
specific to windows or VS 2005 but I'm hoping someone call help me.
I would like to create a class library so that I can put classes that
I reuse a lot into their own modules. I played around with it for
awhile and had no luck. It was really easy to do in C# but C++ does
not seem to be so easy.
I saw a lot of websites referencing exporting and importing symbols
but they all seem to relate to functions. How do you decorate the
class so that you can export the whole class and create an instance of
it in the calling program.
You are right about this not being a C++ question, so for future
questions regarding DLLs please use a more appropriate group (I think a
win32 programming group would be the right choice). Here is a tutorial
to get you started: http://www.codeproject.com/dll/RegDLL.asp
--
Erik Wikstr??m