Click here to Skip to main content
15,911,715 members
Home / Discussions / COM
   

COM

 
GeneralRe: How to convert a CString to _bstr_t Pin
Steve S10-Apr-07 21:55
Steve S10-Apr-07 21:55 
QuestionEmpty DACL Pin
San24689-Apr-07 23:44
San24689-Apr-07 23:44 
AnswerRe: Empty DACL Pin
Steve S10-Apr-07 5:22
Steve S10-Apr-07 5:22 
QuestionCOM Framework Pin
Gupta Suraj9-Apr-07 3:21
Gupta Suraj9-Apr-07 3:21 
AnswerRe: COM Framework Pin
sthotakura16-Apr-07 7:25
sthotakura16-Apr-07 7:25 
QuestionImage viewer Pin
MEmami6-Apr-07 21:17
MEmami6-Apr-07 21:17 
QuestionCOM in C# for beginner Pin
Stevo Z5-Apr-07 4:26
Stevo Z5-Apr-07 4:26 
QuestionE_FAIL from COM Object Pin
Hideaway765-Apr-07 4:16
Hideaway765-Apr-07 4:16 
First post, so be gentle...

I didn't know where to post this, so I'll start here...

I have a COM DLL that is part of a 32bit executable application. The DLL relies on other files and DLLs to operate. I have a reference in VS.NET 2K5 to the DLL and when working locally, the DLL does exactly as it's supposed to.

Now here's the problem. When I upload my site, the DLL breaks and returns "Error HRESULT E_FAIL has been returned from a call to a COM component".

This could mean one of two things:
1. The COM DLL encountered an error.
2. The COM DLL is nowhere to be found.

I installed the application on our server. I registered the COM DLL. And I can locate the DLL using System.IO.File.Exists. But it's still failing.

So I have a two part question:
1. Can I load the DLL dynamically using Reflection and have the same access to its members?
2. Is there a magic way to register the DLL in the GAC and not break the linkage to its other resources?

I've never worked with COM objects before so my experience is somewhat limited.

Any help on this is GREATLY appreciated!!

-Daniel
Questiontoolbar button_click event Pin
aamn15-Apr-07 2:27
aamn15-Apr-07 2:27 
QuestionDCOM (Transferring of binary files.) Pin
Don Box2-Apr-07 23:32
Don Box2-Apr-07 23:32 
AnswerRe: DCOM (Transferring of binary files.) Pin
lafleon3-Apr-07 12:39
lafleon3-Apr-07 12:39 
GeneralRe: DCOM (Transferring of binary files.) Pin
Don Box3-Apr-07 20:25
Don Box3-Apr-07 20:25 
QuestionMonitor Activex/COM object Instantiation Pin
__Azzy2-Apr-07 8:49
__Azzy2-Apr-07 8:49 
QuestionVT_DISPATCH variant Pin
asdtry1-Apr-07 23:57
asdtry1-Apr-07 23:57 
AnswerRe: VT_DISPATCH variant Pin
Vi24-Apr-07 19:04
Vi24-Apr-07 19:04 
QuestionWhere should I call CoUninitialize Pin
Hariom Tiwari1-Apr-07 20:59
Hariom Tiwari1-Apr-07 20:59 
AnswerRe: Where should I call CoUninitialize Pin
prasad_som1-Apr-07 21:34
prasad_som1-Apr-07 21:34 
QuestionHow to create a service Pin
simonr62831-Mar-07 21:05
simonr62831-Mar-07 21:05 
QuestionFull idlist for a folder [modified] Pin
CodeBerserker30-Mar-07 12:13
CodeBerserker30-Mar-07 12:13 
AnswerRe: Full idlist for a folder Pin
CodeBerserker5-Apr-07 10:15
CodeBerserker5-Apr-07 10:15 
Questionissue reading records from SQL CE 2005 Pin
vvr198329-Mar-07 23:18
vvr198329-Mar-07 23:18 
QuestionExcel Interop Issues Pin
Steven M Hunt29-Mar-07 10:25
Steven M Hunt29-Mar-07 10:25 
AnswerRe: Excel Interop Issues Pin
Phillip M. Hoff31-Mar-07 16:26
Phillip M. Hoff31-Mar-07 16:26 
QuestionMicrosoft word Pin
Amr M. K.29-Mar-07 2:15
Amr M. K.29-Mar-07 2:15 
QuestionCreate a COM component and use in my application Pin
Malayil alex28-Mar-07 19:51
Malayil alex28-Mar-07 19:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.