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

general question about a component

I am having trouble using a component - I believe a managed component, but
that's part of the problem.

I have to source, as it is freely available on the internet. I have
communicated with the authors of one of these components (there are several
versions) but no one has been able to explain this: fyi, it is the xpburncd
component, but there is a more general issue here.

I run a program that uses it component; it works fine - once. Thereafter it
fails, but I noticed something - it remembers the info from the first run,
notwithstanding that I have closed out the app, vs, etc. and started it all
again. If I reboot, it's happy once. Then I noticed something even more
interesting - if I run it and then run one of the other versions of the same
component, the other one runs fine - once. So my surmise is that somehow
this component is not being closed out, because it is fine again - once - if
I reboot. So each version runs once.

So I thought that I would call marshal.releasecomobjects(oburn) but this
failed; I tried setting it to nothing; didn't help. One of the authors told
me that I should not have to use marshal.

Now remember that I said I did not know if it was managed code - it does
call
System.Runtime.InteropServices

at some point in the code, but it is written entirely in c#.

Any ideas?

Tx for any help.

Bernie Yaeger


Nov 21 '05 #1
3 1006
Bernie,

Did you already tried to set it in a component yourself.
Just add a component item and see where you have to place everything in the
way as it is done in a form.

When you ask why, than my idea is to let the methods from Idisposable which
are implemented in that do their job.

It is just a gues by the way

Cor
Nov 21 '05 #2
Hi Cor,

Tx for the idea, but it did not work. I do not see the .dll using the
idisposable interface.

Bernie

"Cor Ligthert" <no************@planet.nl> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl...
Bernie,

Did you already tried to set it in a component yourself.
Just add a component item and see where you have to place everything in
the way as it is done in a form.

When you ask why, than my idea is to let the methods from Idisposable
which are implemented in that do their job.

It is just a gues by the way

Cor

Nov 21 '05 #3
Bernie,

I was not sure if it was a dll or a kind of code.

Sorry

Cor
Nov 21 '05 #4

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

Similar topics

20
by: syd | last post by:
In my project, I've got dozens of similar classes with hundreds of description variables in each. In my illustrative example below, I have a Library class that contains a list of Nation classes. ...
2
by: Ross Micheals | last post by:
All I have some general .NET questions that I'm looking for some help with. Some of these questions (like the first) are ones that I've seen various conflicting information on, or questions that...
4
by: marcel | last post by:
Hi, I have written a component in c#. But when I recompile this component, all other apps which includes my component can not start correctly: An exception "System.IO.FileLoadExceptio" occurred....
7
by: Richard Gutery | last post by:
I have written a COM component who's purpose is to allow a user to change his Windows (NT/AD) password via a web page. Now the component works fine when I run it in VB 6, but not via the web page....
4
by: Mike | last post by:
Please help this is driving me nuts. I have 2 forms, 1 user class and I am trying to implement a singleton class. Form 1 should create a user object and populate some properties in user. Form2...
1
by: Yosh | last post by:
I am looking for a mail UI component for .Net. I know how to send emails using the System.Web namespace but I am interested in a component with a UI built in? Does anyone know of a component or...
39
by: Antoon Pardon | last post by:
I was wondering how people would feel if the cmp function and the __cmp__ method would be a bit more generalised. The problem now is that the cmp protocol has no way to indicate two objects are...
3
by: Nick | last post by:
Hello, This isn't specific to C#, but that is what I am using to develop my app. I am trying to figure out how to organize my code and I'm not sure what the best way of doing it is. For the sake...
6
by: djc | last post by:
I had previously (in asp.net 1.1 and asp.net web matrix) just done this to populate a listbox with data from a database: ------------ this was from the page load event ---------------- 'fill...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
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...
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
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,...

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.