code blocks: how add my own DLL?

how can i add my own DLL to Code Block project?
i had found these limited code:
1
2
3
4
5
6
7
8
9
typedef VOID (*DLLPROC) (LPTSTR);
HINSTANCE hinstDLL= LoadLibrary("C:\\Users\\Cambalinho\\Documents\\CodeBlocks\\DLL\\testdll\\bin\\Debug\\testdll.dll");
DLLPROC SomeFunction;
BOOL fFreeDLL;
//on main:
SomeFunction = (DLLPROC) GetProcAddress(hinstDLL, "SomeFunction");

//free it:
fFreeDLL = FreeLibrary(hinstDLL);

but these code is limited... it's only for 1 function.
so how can i add a dll, for i see what(on list) what i can use from it.
maybe i did these without notice with some API functions. but i don't know
Topic archived. No new replies allowed.