From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: #pragma interface Date: Sun, 13 Sep 1998 12:35:41 -0300 Organization: NBTel Internet Lines: 15 Message-ID: <35FBE64D.12EF6970@unb.ca> NNTP-Posting-Host: fctnts08c48.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm trying to use interface and implementation to make my h files into libraries. I have a file "Svga.h". I added "#pragma interface" before any of the code. I then made "Svga.cc" which only has: #pragma implementation "Svga.h" #include "Svga.h" I then build a library out of that, but when I try to use the library, I get "multiple declaration" errors for every function in the h file. Has anyone here used interfaces succesfully? What am I doing wrong? -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca