CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 1999
    Posts
    13

    Lib File in Win32 DLL

    Hi All,

    I created a "Win32" DLL using Appwizard (VC++ v6.0)by selecting "A Simple DLL project" radio button. When i build the DLL i do not get the .lib file created though i get .dll successfully. I tried checking the link options and found /implib:"xxx.lib" option present, which is the linker switch that generates the lib file... what's going wrong here???? Win32 DLL wont create .lib files????

    Thanks,
    Shashi


  2. #2
    Join Date
    Jul 1999
    Posts
    12

    Re: Lib File in Win32 DLL

    If you dont export any functions or classes
    from DLL DevStudio will not generate .Lib file.
    Use __declspec( dllexport ) or FAR PASCAL to export stuff from DLL.




  3. #3
    Join Date
    Jun 1999
    Posts
    13

    Re: Lib File in Win32 DLL

    Thanks it works...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured