problem with MS visual c++ linking

Home Forums Discussions Support problem with MS visual c++ linking

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5620
    Manpreet Singh
    Participant

      make sure that you have following lib files

      kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

      #5621
      Wyatt
      Participant

        I verified that my computer does have all those libraries. However upon further look, I determined that there were function prototypes for NDisApi functions like “ReadPacket” but not function definitions. I wrote to Serpentfly and he told me that the definitions were in ndisapi.dll. Most of the folders (bin/Cbuilder/kernel) have a ndisapi.dll file in them but the MSVC folder does not. So I copied ndisapi.dll into the MSVC folder (still trying to get the MSVC version to compile) and added an include statement on ndisapi.h to include the ndisapi.dll. Unfortunately this gave me different errors, however the original problem of the “unresolved external symbols” is gone. How should the program link to ndisapi.dll? I’ll review the other folders/files and maybe I can figure it out.

        #5622
        Vadim Smirnov
        Keymaster

          You should link ndisapi.lib.

          #5623
          Wyatt
          Participant

            Thank you Serpent Fly. I had to link to ndisapi.lib and then add ndisapi.dll to my path (I chose inside the projects debug folder). She is running, and that is a relief.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.