|
#10
|
||||
|
||||
|
Code:
HANDLE __stdcall MyHandle(void)
{
return AppHandler;
}
Code:
extern "C" __declspec(dllexport) HANDLE MyHandle(void)
{
return AppHandler;
}
Code:
//MyDll.cpp
#pragma once
typedef long int HWND;
extern "C" __declspec(dllexport) HWND Func(void)
{
return 30*5; //150
}
__________________
"There are three things that sages fear... The tormented sea, a moonless night and the wrath of a gentleness man." - The fear of the Sages. Last edited by kassane; 06-09-2017 at 11:09. Reason: My example |
| Tags |
| dll |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BlackBox v2 | y_thelastknight | Conversion Tutorials | 567 | 11-03-2025 07:16 |
| INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
| Inno Setup: Additional Libraries | altef_4 | Conversion Tutorials | 50 | 21-10-2020 09:59 |
| Useful Dll for Inno Setup users | peterf1999 | Conversion Tutorials | 88 | 01-12-2017 16:00 |
| INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |