NTS Forums

Please login or register.

Login with username, password and session length
 

News:

Welcome to the Newtek Technology Services Forum!


Author Topic: C# DLL's  (Read 1167 times)

Offline xarzu

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
C# DLL's
« on: January 25, 2008, 01:00:13 AM »
I thought that my problem was how I was declaring a manifest file.
But now I think I can safely rule this out.

I think the probem lies in the way I am loading the DLL/COM object
that the manifest file references.

The program runs -- sort of.  After I embed the manifest file into
the executable.  I just cannot step through the code in debug mode.

So I put the manifest file into the list of files that the IDE had
to reference.  And then I noticed a big change.  Then the executable
that I produced had an error message (that I could ignore and continue
running the program, if I choose to) that said the probem was
with the way I was loading the COM object.

How do I load a DLL into a GUI front-end written in C#.  Where
should I look for possible problems?

There is something else that interests me.  There is a file that appears
in some of the output directories called <project name>.vshost.exe.
How is this used in the project and connected with external COM objects?

Also, how do I use WinDbg?

I did some study on Click Once.  Tell me if I am getting this right.
Basically Click Once is a way of making software that a user can easily
install (by clicking once) and a developer can make the software such
that it is easy to publish versions of his work either locally or on the internet.

I made a list of links and I watched some videos that Microsoft put together.

I do not think my issue has much to do with Click One, but, on the other hand,
I am new to this.

Bacically, I am able to load the COM object in a different application.
So I already know that the object is loaded.  I also know that it is the
debug version of the object.

So I think I can rule out Click One as a source for a solution.