CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Join Date
    Sep 2009
    Posts
    6

    Re: Fatal error C1047

    Hello,

    ../lib/SIPEvent.lib' - linked in ABC.DLL or the EXE? Or Both??
    I don't use SIPEvent.lib at all. It's not mine, and I don't use it.
    It's a matter from some other post earlier.

    Don't fiddle with VC runtime library settings. Restore them!


    Is your DLL generated successfully?
    YES

    Are all .LIBs Release Builds?
    SDK.lib is Release, and ABC.lib and ABC.dll are Debug.
    ABCTest.exe is Debug.

    No service pack issues of VC8 with ABC.DLL and your EXE?
    Don't know.

    Did not fiddle with Manifest settings?
    Not sure. I am using embeded Manifest file, and
    it has a reference to both msvc80 and msvc90 DLL(s).
    Does it make sense ?

    Thanks,
    Oscar

  2. #17
    Join Date
    Jan 2013
    Posts
    1

    Re: Fatal error C1047

    Quote Originally Posted by oscarso View Post
    Hi Cilu,

    I have the same issue where I got an SDK lib (no DLL) from MSVC 2005 Professional,
    and I have to link this lib statically with my code to create a ABC.DLL
    under MSVC 2008 Professional.

    ...and one website suggested that
    to change settings on:
    C/C++ > Optimization > "Whole Program Optimization" from "/GL" to "No".

    Then, it compiled and built properly.

    Then, I have an ABCTest.exe program that links with this ABC.DLL.
    It first asked for msvcr90.dll, and msvc*90.dll.
    I provided all of those, and it ended up a runtime error.

    Any idea ?

    Best,
    Oscar
    Thanks, this helped. A long time looking for a solution.

Page 2 of 2 FirstFirst 12

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