473,385 Members | 1,732 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,385 software developers and data experts.

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 1480

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

Similar topics

4
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
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
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
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
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
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
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
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
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.