In order for your module to be used within WinGate it needs to export a set of mandatory functions.
For GUI
...
modules
Code Block | ||
---|---|---|
| ||
extern "C" __declspec(dllexport) int InitialiseGUI(HostAPI* pHost, HostModuleHandle hModule) |
See InitialiseGUI
For Engine
...
modules
Code Block | ||
---|---|---|
| ||
extern "C" __declspec(dllexport) int Initialise(HostAPI* pHost, HostModuleHandle hModule, LPCWSTR szRegistryPath) |
...