Click here to Skip to main content
15,892,674 members
Home / Discussions / COM
   

COM

 
QuestionHow to restrict client application to create COM object Pin
lvantin13-Dec-05 15:26
lvantin13-Dec-05 15:26 
AnswerRe: How to restrict client application to create COM object Pin
Per Nilsson13-Dec-05 21:44
Per Nilsson13-Dec-05 21:44 
AnswerRe: How to restrict client application to create COM object Pin
User 21559714-Dec-05 9:05
User 21559714-Dec-05 9:05 
QuestionCOM Wrapper for C++ DLL Pin
James Smith13-Dec-05 5:37
James Smith13-Dec-05 5:37 
AnswerRe: COM Wrapper for C++ DLL Pin
lemur211-Jan-06 10:02
lemur211-Jan-06 10:02 
QuestionHow to create COM objects in different processes Pin
Per Nilsson12-Dec-05 22:28
Per Nilsson12-Dec-05 22:28 
QuestionCoCreateInstace Working Differently then createobject Pin
ky_rerun12-Dec-05 6:06
ky_rerun12-Dec-05 6:06 
QuestionATL COM Server throws Exception. Pin
Diana Fernandez12-Dec-05 0:36
Diana Fernandez12-Dec-05 0:36 
Hi I have searched a lot for this, but in vain. I found sites were the same problem has been raised, but nowhere with a proper answer. I hope I will get an answer here.

I am using an ATL COM server in VC++ from C#. Object of a class from the COM side is successfully created at C# side. But while calling a method on that object it is throwing an error with message "The Server threw an exception". The Error encountered is 0X80010105. And the HRESULT is -2147417851.

Everything was working fine until I made some changes at the client side. I don't think those changes have some relation in with this error.

Code for the Server and client side are as shown below

//Client side in C#
ServerObj sObj = new ServerObj();

//Error is thrown here, arguments passed are interger, reference of structure and object of calling class.
sObj.CallServerMethod(integer, ref structure, this);


//Server side in VC++
STDMETHODIMP CServerObj ::CallServerMethod(int integer, tagStruct *pVal, VARIANT vt)
{


}


Thanks in Advance,
Diana.

AnswerRe: ATL COM Server throws Exception. Pin
Diana Fernandez12-Dec-05 23:29
Diana Fernandez12-Dec-05 23:29 
QuestionWQL Queries for Win32_Directory Events Pin
ragavan11-Dec-05 19:14
ragavan11-Dec-05 19:14 
QuestionDisabling right click on flash OCX Pin
Xeronith10-Dec-05 19:03
Xeronith10-Dec-05 19:03 
Questioni cannt insert the values from an asp page to ms-acess database Pin
jibybabu9-Dec-05 2:44
jibybabu9-Dec-05 2:44 
QuestionCOM(WebBrowser Problem) Pin
Arun Appukuttan8-Dec-05 17:20
Arun Appukuttan8-Dec-05 17:20 
AnswerRe: COM(WebBrowser Problem) Pin
Sufyan_shani7-Jan-06 2:46
Sufyan_shani7-Jan-06 2:46 
GeneralRe: COM(WebBrowser Problem) Pin
Arun Appukuttan11-Jan-06 0:21
Arun Appukuttan11-Jan-06 0:21 
QuestionHow to call a C# com component from VC++ Pin
meesho8-Dec-05 10:34
meesho8-Dec-05 10:34 
AnswerRe: How to call a C# com component from VC++ Pin
Lim Bio Liong8-Dec-05 18:49
Lim Bio Liong8-Dec-05 18:49 
Questionhow to drag and drop xml element from treeview to web browser control Pin
fadi moon8-Dec-05 1:02
fadi moon8-Dec-05 1:02 
QuestionE-Book for ActiveX Programming Pin
Rajkamal_dfine6-Dec-05 18:08
Rajkamal_dfine6-Dec-05 18:08 
AnswerRe: E-Book for ActiveX Programming Pin
Amol Ravatale7-Dec-05 0:20
Amol Ravatale7-Dec-05 0:20 
QuestionLPSTR and LPBYTE passing to a dll Pin
Paul_5916-Dec-05 6:33
Paul_5916-Dec-05 6:33 
AnswerRe: LPSTR and LPBYTE passing to a dll Pin
JonEngle6-Dec-05 7:05
JonEngle6-Dec-05 7:05 
GeneralRe: LPSTR and LPBYTE passing to a dll Pin
Paul_5916-Dec-05 8:40
Paul_5916-Dec-05 8:40 
GeneralRe: LPSTR and LPBYTE passing to a dll Pin
JonEngle6-Dec-05 9:12
JonEngle6-Dec-05 9:12 
GeneralRe: LPSTR and LPBYTE passing to a dll Pin
Paul_5916-Dec-05 9:50
Paul_5916-Dec-05 9:50 

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.