User forums > Using Code::Blocks

Staric loading DLLs

(1/1)

chrishowarth:
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?

dje:
Hi !

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

Dje

chrishowarth:
Yes - I've used the DLL before in when I used a simple program called 'Gamemaker'.

chrishowarth:
Has anyone else had problems with loading DLLs

Navigation

[0] Message Index

Go to full version