CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Dec 2005
    Location
    SJCampos - SP - Brazil
    Posts
    30

    Question LINK : warning LNK4243

    I have a C++.Net Library project that wrap C++ unmanaged classes. I will use this Library in a C#.Net application.

    Now, after a hard work, and with helps of Nohero and Darwen, I could clean the compile and linker errors. But I still get this link warnings:


    msvcrt.lib(checkclr.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators
    msvcrt.lib(secchk.obj) : warning LNK4210: .CRT section exists; there may be unhandled static initializers or terminators
    If I use take out “/NOENTRY” of the link options I get:

    LINK : warning LNK4243: DLL containing objects compiled with /clr is not linked with /NOENTRY; image may not run correctly
    If I put back “/NOENTRY” on link options, I get the errors above.

    I am using the options: Link/Input/Additional Dependencies: mscoree.lib msvcrt.lib.

    Do you know what kind of problems do I have here???

    My units code are attached.

    Thank you in advance.
    Last edited by Eliseu_CEL; February 6th, 2006 at 04:10 PM.
    Eliseu M. Gomes

    [email protected]

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