473,499 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detach doesn't release the file handle

Hi All,
Here is the scenario where i am having the problem.

There is a COM component let us say "A" is running under DLLHOST . "A"
creates normal COM component "B". To debug the component B i am attaching to
the DLLHOST process before any method is calledon the component B. In this
case i didn't find any FILE HANDLES held by the DLLHOST.EXE for the
component "B".

When workspace of "B" attaches to the DLLHOST.EXE and when a method is
already calledon the component "B", DLLHOST.EXE is holding a FILE
HANDLE refrence, which is not freed even after detach happens.

I would like to know why this difference in the behavior is.
Any suggestions are welcome.

Regards,
Ramesh

Jul 21 '05 #1
0 1490

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

Similar topics

4
15421
by: DBA | last post by:
If I detach a database on a server, then attach the database with a single file only using the data file...will I lose any transactions that were in the original log file? There is a debate going...
0
304
by: Ramesh K | last post by:
Hi All, Here is the scenario where i am having the problem. There is a COM component let us say "A" is running under DLLHOST . "A" creates normal COM component "B". To debug the component B i...
0
1357
by: Ramesh K | last post by:
Hi All, Here is the scenario where i am having the problem. There is a COM component let us say "A" is running under DLLHOST . "A" creates normal COM component "B". To debug the component B i...
0
1192
by: Francois | last post by:
Hi, I think I found a bug with VS, and I've included a project example of the problem I got. I've got a project deep into a set of folders. The project have an additional include library...
0
1353
by: Ramesh K | last post by:
Hi All, Here is the scenario where i am having the problem. There is a COM component let us say "A" is running under DLLHOST . "A" creates normal COM component "B". To debug the component B i...
6
2953
by: fernandez.dan | last post by:
I have a umangaged dll ( I have the source code) which I use in my web app using pinvoke. The dll creates a file, writes to it, and then closes it. It works the first time through but the second...
4
5426
by: Esben Stien | last post by:
Any examples how to detach and run as a daemon?. I've seen some use System.out.close() and System.err.close(), but I just can't get it to detach and run as a daemon. I'm on GNU/Linux, using...
2
5131
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
so I notice to detach a database you use Server svr = new Server(); svr.DetachDatabase("MyDatabase"); but is there a way you can set where its saved after detaching ? thansk
1
1971
by: Homer | last post by:
Hi All, In my work place we are still using VS6.00 with C++ and are not allowed to use a newer version (to connect to source control). We also use ClearCase as source control software. What I...
9
7791
by: dpatel75 | last post by:
I am trying to copy a database from a SQL 2000 SP3 Windows 2000 server to a 2005 SP2 Windows 2003 server. I am trying to use detach and attach method (have tried both within Management Studio and...
0
7128
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
7215
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...
1
6892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5467
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4917
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
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.