Lang.dll

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • I'm slowly piecing together my own version of the GCC code provided here on the forums and in the 2nd edition. I'm coming to understand the inner workings of a lot of things, but the reason I enjoyed GCC so much is because of the amount of foreign concepts to me. One of those being the loading of a language DLL. I've set up a string table that matches that from GameCode2.sln but at the moment my code breaks at runtime when it hits

      Source Code

      1. m_LangDll = LoadLibraryA(appPath);


      with an unhandeled exception error.
      appPath reads to a proper location for "Test\LangDebug.dll"
      The dll is the one included in Mike's code. Once again I'm stuck not knowing where to begin.
      http://www.michaelkofman.com/
    • RE: Lang.dll

      Hrm... an exception is a wierd thing here - if the file weren't found it would return NULL. Could it be that the DLL itself is bad? I think you have to set it up as a resource DLL...did you do that?
      Mr.Mike
      Author, Programmer, Brewer, Patriot
    • Glad you found it!
      Mr.Mike
      Author, Programmer, Brewer, Patriot