Home » Community » Newbie corner » How to link to multiple DLLs
Re: How to link to multiple DLLs [message #43511 is a reply to message #43510] |
Thu, 14 August 2014 08:51 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
Hello Jerson
There is no problem to call many DLLs from a single program.
In case of Functions4U you can have as many Dl classes as you want. Every Dl class represents a DLL through Dl::Load(fileDll). With Dl::GetFunction(functionName) you get a pointer to the functions you will use.
Anyway user32 functions can be called directly. I mean, for example, you can include this in your C++ code:
::SendMessage(hwnd, WM_SYSCOMMAND, 0xf008, MAKELONG(p.x, p.y));
::SetWindowPos(hdlg, NULL, p.x, p.y, 0, 0, SWP_NOSIZE | SWP_NOZORDER | SWP_NOACTIVATE);
::DestroyWindow(hwnd);
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Sun May 12 00:26:06 CEST 2024
Total time taken to generate the page: 0.02256 seconds
|