|
-
January 12th, 2006, 01:13 PM
#1
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.
-
January 12th, 2006, 01:38 PM
#2
Re: LINK : warning LNK4243
http://support.microsoft.com/?id=814472, I see you have tried the solution with the entry point. To be frank I never had this error message before, and thus can't tell you any other solution. Have you tried searching the microsoft groups? Here is an interesting result.
-
January 12th, 2006, 02:02 PM
#3
Re: LINK : warning LNK4243
Cool....
I have added __DllMainCRTStartup@12 on Linker/Input/Force Symbol References, and now I don´t have link warnings.
PDAManager - 0 error(s), 0 warning(s)
Thanks Nohero.
Last edited by Eliseu_CEL; January 12th, 2006 at 04:02 PM.
Reason: more appropriate icon
-
January 12th, 2006, 03:55 PM
#4
Re: LINK : warning LNK4243
You are welcome!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|