Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: chrishowarth on April 27, 2007, 06:17:26 PM

Title: Staric loading DLLs
Post by: chrishowarth on April 27, 2007, 06:17:26 PM
Hi ~

I'm statically loading a DLL. This is my first time loading a DLL.  I have loaded the Import Library successfully by going to Project -> Build options -> Linker -> Link Libraries -> Add.  is this correct/  Anyway, it seems to compile.  The probel is when using a function in a DLL.  It says the undeclared function stuff.  i am including the DLL in the same directory.  What am I doing wrong? Is it obvious?
Title: Re: Staric loading DLLs
Post by: dje on April 27, 2007, 06:23:29 PM
Hi !

Are you sure your function is exported, ie available for use in an external application/library ?

Dje
Title: Re: Staric loading DLLs
Post by: chrishowarth on April 27, 2007, 06:43:00 PM
Yes - I've used the DLL before in when I used a simple program called 'Gamemaker'.
Title: Re: Staric loading DLLs
Post by: chrishowarth on April 28, 2007, 12:33:23 PM
Has anyone else had problems with loading DLLs