Welcome Guest Search | Active Topics | Members | Log In | Register

C# DLL's Options · View
Xarzu
Posted: Friday, January 25, 2008 12:15:26 AM


Rank: Newbie
Groups: Member

Joined: 1/9/2008
Posts: 4
Points: 12
Location: USA
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?
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.059 seconds.