general question about a component

  • Thread starter Thread starter Bernie Yaeger
  • Start date Start date
B

Bernie Yaeger

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
 
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
 
Hi Cor,

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

Bernie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top