Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
koldo is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: problem with package locations
Next Topic: From XSD to XML
Goto Forum:
  


Current Time: Sun May 12 00:26:06 CEST 2024

Total time taken to generate the page: 0.02256 seconds