Home » Community » Coffee corner » Load dll with U++
Re: Load dll with U++ [message #56707 is a reply to message #56704] |
Sun, 04 April 2021 09:58 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
.dli is only handy if you have more than like 8 functions you want to import from the .dll.
Check CtrlCore/Win32Wnd.cpp:107 for simple way how to do this.
Or you can you DllFn:
static BOOL (WINAPI *GetPointerPenInfoHistory)(UINT32 pointerId, UINT32 *entriesCount, POINTER_PEN_INFO *penInfo);
ONCELOCK {
DllFn(GetPointerPenInfoHistory, "User32.dll", "GetPointerPenInfoHistory");
};
Mirek
[Updated on: Sun, 04 April 2021 16:00] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 19 05:14:52 CEST 2024
Total time taken to generate the page: 0.02268 seconds
|