NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on June 07, 2016, 10:56:34 AM
-
My web app recently started to have the following error occur when closing the app. A message window pops up that says:
Given a foreign memory block - Realloc
This error occurs only AFTER all code in the app's base module has run during the close down process. Any ideas? It's a problem because in the event of an EXE crash, it won't auto restart and my website will be left hanging.
Regards,
Mark
-
The error turns out to be caused by starting an app as one entity which used the FastMem template. Then I split the app out into a data DLL and main EXE, but didn't realize that only the data DLL should have the FastMem template enabled. After I deleted the FastMem template from the main exe, the error went away.