Author Topic: Staric loading DLLs  (Read 2996 times)

chrishowarth

  • Guest
Staric loading DLLs
« 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?

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: Staric loading DLLs
« Reply #1 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

chrishowarth

  • Guest
Re: Staric loading DLLs
« Reply #2 on: April 27, 2007, 06:43:00 pm »
Yes - I've used the DLL before in when I used a simple program called 'Gamemaker'.

chrishowarth

  • Guest
Re: Staric loading DLLs
« Reply #3 on: April 28, 2007, 12:33:23 pm »
Has anyone else had problems with loading DLLs