|
|
|
#1
|
||||
|
||||
|
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 |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
||||
|
||||
|
Weird! Well, it worked normally here. Did you test my simple example?
-------------------------------------------------------------------- Update: -- c++ src updated english strings example -- Obj. Pascal (freepascal and Delphi) src added -- setup src and demo Note: (demo) C++ DLL require vcredist 2017! Install vcredist 2017: Code:
https://go.microsoft.com/fwlink/?LinkId=746571
__________________
"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; 03-12-2017 at 04:25. Reason: vcredist2017 x86 |
| The Following User Says Thank You to kassane For This Useful Post: | ||
Simorq (08-09-2017) | ||
|
#4
|
|||
|
|||
|
Quote:
![]() anyway, thank you. I'm going to upload a file so that you can test it all that you want, and I'd appreciate it if you inform me the result ..
|
| The Following User Says Thank You to MCI For This Useful Post: | ||
kassane (06-09-2017) | ||
![]() |
| Tags |
| dll |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |