Windows Threaded Patches

This commit is contained in:
U-w7\vsc
2013-11-13 17:04:34 +00:00
parent 9a35d17861
commit 7f8f80fdbe
5 changed files with 12 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ Yap_LoadForeignFile(char *file, int flags)
{
void *ptr= (void *)LoadLibrary(file);
if (!ptr) {
CACHE_REGS
LOCAL_ErrorSay[0]='\0';
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, GetLastError(),