Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:multiasm:papc:chapter_6_9 [2026/02/27 01:52] – [Programming in Assembler for Linux] jtokarzen:multiasm:papc:chapter_6_9 [2026/02/27 02:50] (current) – [Merging of the High-Level Languages and Assembler Code] jtokarz
Line 135: Line 135:
     if (!dllHandle)     if (!dllHandle)
     {     {
-      std::cerr << "Failed to load DLL library\n"; +        std::cerr << "Failed to load DLL library\n"; 
-       return 1;+        return 1;
     }     }
     MyProc myAsmProcedure = (MyProc)GetProcAddress(dllHandle, "MyAsmProc");     MyProc myAsmProcedure = (MyProc)GetProcAddress(dllHandle, "MyAsmProc");
     if (!myAsmProcedure)     if (!myAsmProcedure)
     {     {
-      std::cerr << "Failed to find assembler procedure\n"; +        std::cerr << "Failed to find assembler procedure\n"; 
-       FreeLibrary(dllHandle); +        FreeLibrary(dllHandle); 
-       return 2;+        return 2;
     }     }
     std::cout << myAsmProcedure();     std::cout << myAsmProcedure();
en/multiasm/papc/chapter_6_9.1772149962.txt.gz · Last modified: by jtokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0