title: How to use a class in DLL?
body: <p>Can I put a class inside a DLL?
  The class i wrote is this:</p>
  
  <pre><code>    class SDLConsole
  {
        public:
               SDLConsole();
               ~SDLConsole(){};
               void getInfo(int,int);
               void initConsole(char*, char*, SDL_Surface*, int, int, int);
               void sendMsg(char*,int, SDL_Surface*);
               void cls(SDL_Surface*);
  
        private:
                TTF_Font *font;
                SDL_Surface *consoleImg;
                int width, pos, height, line, size, ctLine;
                SDL_Surface* render(char*,int);
  
  };
  </code></pre>
  
  <p>I know how to load a DLL and use the function inside a DLL, but how can I put a class inside a DLL? Thank you very much.</p>