Click here to Skip to main content
15,944,950 members
Home / Discussions / COM
   

COM

 
GeneralRe: Difficult to Understand your Question Pin
mazizi17-May-09 18:45
mazizi17-May-09 18:45 
Generalsorry Pin
Baltoro20-May-09 14:22
Baltoro20-May-09 14:22 
Questionproblem in query interface Pin
chandrakar ashish14-May-09 21:27
chandrakar ashish14-May-09 21:27 
AnswerRe: problem in query interface Pin
Stuart Dootson15-May-09 0:12
professionalStuart Dootson15-May-09 0:12 
AnswerRe: problem in query interface Pin
«_Superman_»15-May-09 5:19
professional«_Superman_»15-May-09 5:19 
AnswerRe: problem in query interface Pin
Jürgen Jung15-May-09 5:39
Jürgen Jung15-May-09 5:39 
QuestionExcel 2007 automation on top of a Windows Server 2008 x64 [modified] Pin
Chris Richner14-May-09 10:24
Chris Richner14-May-09 10:24 
Questionout-of-proc c# COM server: AccessViolationException in .net client Pin
thorben50014-May-09 9:27
thorben50014-May-09 9:27 
Hello,

I've written a C# out-of-proc COM server (I delete the Inproc registry entry and add a LocalServer32 entry to get my EXE working as a COM server - then I register a class factory in the server's main method). The server works well when I access it from VB6 (I can instantiate the EXE with CreateObject and always get the same server object from my class factory, as I desire it). Now I need to write a C# client. I instantiate the object via Activator.CreateInstance, passing the progid. I get the server instance. But as soon as I am trying to register an event handler on one of the server's events, I get an AccessViolationException (subscribing events works well in the vb client). Simple method calls without parameters do work. When I run the server in-proc, I don't get the exception.

Is there any possibility to get this working? Or is it fundamentally wrong to simply register the component as LocalServer32?


Thank you,

Thorben
QuestionE_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082114-May-09 3:30
Cajunman082114-May-09 3:30 
AnswerRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082114-May-09 4:12
Cajunman082114-May-09 4:12 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082114-May-09 6:39
Cajunman082114-May-09 6:39 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Lim Bio Liong14-May-09 22:39
Lim Bio Liong14-May-09 22:39 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Vi217-May-09 23:45
Vi217-May-09 23:45 
GeneralRe: E_UNEXPECTED when calling SafeArrayAccessData Pin
Cajunman082118-May-09 1:51
Cajunman082118-May-09 1:51 
QuestionTurn Off Bluetooth using Com [modified] Pin
elluna14-May-09 2:47
elluna14-May-09 2:47 
AnswerRe: Turn Off Bluetooth using Com Pin
elluna17-May-09 19:22
elluna17-May-09 19:22 
QuestionHow to use activeX function that has a pointer parameter in JavaScript? [modified] Pin
lynn100712-May-09 16:01
lynn100712-May-09 16:01 
AnswerRe: How to use activeX function that has a pointer parameter in JavaScript? Pin
CPallini12-May-09 23:33
mveCPallini12-May-09 23:33 
GeneralRe: How to use activeX function that has a pointer parameter in JavaScript? Pin
lynn100713-May-09 2:09
lynn100713-May-09 2:09 
Questionmonikers Pin
monemshalash12-May-09 9:05
monemshalash12-May-09 9:05 
AnswerRe: monikers Pin
«_Superman_»12-May-09 19:40
professional«_Superman_»12-May-09 19:40 
GeneralRe: monikers Pin
monemshalash14-May-09 1:48
monemshalash14-May-09 1:48 
AnswerRe: monikers Pin
Baltoro14-May-09 5:44
Baltoro14-May-09 5:44 
Question.NET1.1 cannot create COM Object created with Net2.0 ?? Pin
Member 257016711-May-09 1:21
Member 257016711-May-09 1:21 
QuestionNot getting DocumentOpen notification while opening winword document. Pin
sksaran9-May-09 2:32
sksaran9-May-09 2:32 

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.