Sonic and Sega Retro Message Board: SA2/SADX Mod Loader - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 15 Pages +
  • ◄ First
  • 13
  • 14
  • 15
    Locked
    Locked Forum

SA2/SADX Mod Loader I am the best at names

#211 User is offline Turbohog 

Posted 09 July 2017 - 02:38 PM

  • Posts: 438
  • Joined: 25-June 08
  • Gender:Male
  • Wiki edits:22
This is the signature I'm using: "__declspec(dllexport) void Init(const char *path, const HelperFunctions &helperFunctions)".

#212 User is offline MainMemory 

Posted 09 July 2017 - 02:42 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Well, do you have "__declspec(dllexport) ModInfo SA2ModInfo = { ModLoaderVer };" in there too? Have you specified the DLLFile key in the mod.ini file? Does the mod loader's log say anything?

#213 User is offline Turbohog 

Posted 09 July 2017 - 03:19 PM

  • Posts: 438
  • Joined: 25-June 08
  • Gender:Male
  • Wiki edits:22
Yes, I've got that in there. And the mod.ini file is correct. The modloader log shows that the mod is loaded and I can tell it is. I've put in some debug print statements in other parts of the mod and the mod loader log does show those. It's just that the code inside the Init function is never executed.
This post has been edited by Turbohog: 09 July 2017 - 03:29 PM

#214 User is offline MainMemory 

Posted 09 July 2017 - 05:07 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Well then without any further information (such as the cpp or dll file) I can't help you.

  • 15 Pages +
  • ◄ First
  • 13
  • 14
  • 15
    Locked
    Locked Forum

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users