hey guys,
ist it possible to use LoadLibrary from inside a dll file to get access to another dll?
part of sorcecode:
Code:
#include <string.h>
#include <stdio.h>
#include <windows.h>
.
.
.
extern "C" void __declspec(dllexport) __cdecl EXPORTNAME
(float *a,int *b, char *c, char *d, char *e)
{
typedef void (_cdecl *MYPROC)(double*, double*);
HINSTANCE hinstlib_ctrl;
MYPROC call_controller;
hinstlib_ctrl = LoadLibrary("DLLNAME.dll"); // compiler ERROR in this LINE
//call_controller=(MYPROC)GetProcAddress(hinstlib_ct rl,"Controller");
.
.
.
maybe anyone has an answer!
thank you