Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2005

Tip: Looking for answers? Try searching our database.

Loader Lock issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phil Atkin - 27 Jun 2005 17:38 GMT
I'm really struggling with this issue.  I can see it's complex, but given
the difficulty in reproducing it it's really essential that the advice
provided is bullet-proof and very clear.  So far, I can't follow the advice.

My situation is this: I have followed MS recommendations to convert my
in-process COM server to a mixed-mode DLL that exposes managed objects to
.NET framework clients and COM objects to unmanaged COM clients.  In fact,
the article "Walkthrough: Exploring COM interoperability with ATL and
Managed Extensions for C++" is more or less directly analogous to my
situation.  So when I started getting " LNK4243 'DLL containing objects
compiled with /clr is not linked with /NOENTRY; image may not run
correctly'." I went back to this walkthrough to see how it avoids the
message.  Surprise!  It produces the same warning.

The 'definitive' documentation (http://support.microsoft.com/?id=814472:
PRB: Linker Warnings When You Build Managed Extensions for C++ DLL Projects)
isn't clear to me.  In the section "Modify the Components that Consume the
DLL for Manual Initialization", it seems to me that my scenario (and that of
the walkthrough) encompasses both the second _and_ the third cases.  Do I
have to follow both remedies?

It would be most helpful if MS could post a method to fix the walkthrough so
that it conformed to their own recommendations.  It would also be helpful if
they could fix the documents so the language is a little clearer.

Phil Atkin
Phil Atkin - 28 Jun 2005 17:01 GMT
I'm really starting to worry about the lack of responses now.  Am I using
the wrong deodorant?

Phil

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.