473,411 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Loader Lock issue

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
Nov 17 '05 #1
2 1423
I'm really starting to worry about the lack of responses now. Am I using
the wrong deodorant?

Phil
Nov 17 '05 #2
I'm really starting to worry about the lack of responses now. Am I using
the wrong deodorant?

Phil
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Roy Chastain | last post by:
I have read and re-read KB 814472. There appears to be a little 1984 New Speak in it. I am referring to option 3. DLL that contains consumers that use managed code and dll exports or managed...
4
by: Marko Becirevic | last post by:
Hi, does anyone know how to bypass bug in .NET framework where NT loader deadlock occurs? It seems to me that using methods like Process.GetCurrentProcess is not safe, and also using mixed dlls...
0
by: Phil Atkin | last post by:
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...
2
by: Luis F. Rodas | last post by:
When I use the debugger in Microsoft Visual Studio 2005 to debug my Microsoft Foundation Classes (MFC) class library application, I receive an error message: "Managed Debugging Assistant...
4
by: Al Norman | last post by:
We have two separate DLLs that do not interact (directly, at least). One is an MFC extension DLL that was built back in VC++ 6 days (but has been recompiled with VS2005). The other is a DLL that...
6
by: Wilfried Mestdagh | last post by:
Hi, I'm trying out the demo version of FastReports. All is running fine in a small test project. I just copy my code from test project into a large application to demonstrate tomorrow but have...
0
by: gaikwadrachit | last post by:
Hi We are uploading a picture image(jpg) as a BLOB in a table using SQL Loader. We are parallely uploading the images at the same time from 2 different sessions on the server. The command for...
1
by: Claudia Fong | last post by:
In my windows form I have a comboBox and a textBox. When I try to write something in the textBox it shows me the error message below: Attempting managed execution inside OS Loader lock. Do not...
5
by: Justin Rich | last post by:
LoaderLock was detected Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause...
6
by: Curious | last post by:
I have an arraylist used in three separate methods. In method #1 (event method), some items are removed from the arraylist if certain conditions are met; In method #2 (event method),...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.