Click here to Skip to main content
15,900,816 members
Home / Discussions / COM
   

COM

 
AnswerRe: Error message "Overlapped I/O operation is in progress" Pin
Randor 9-Nov-08 21:48
professional Randor 9-Nov-08 21:48 
QuestionSerial Port Simulation Pin
pierrecor5-Nov-08 21:40
pierrecor5-Nov-08 21:40 
AnswerRe: Serial Port Simulation Pin
Roger Stoltz5-Nov-08 22:05
Roger Stoltz5-Nov-08 22:05 
QuestionOutlook Addin Pin
Member 36453113-Nov-08 6:03
Member 36453113-Nov-08 6:03 
AnswerRe: Outlook Addin Pin
Rajasekharan Vengalil4-Nov-08 10:19
Rajasekharan Vengalil4-Nov-08 10:19 
AnswerRe: Outlook Addin Pin
Randor 5-Nov-08 10:30
professional Randor 5-Nov-08 10:30 
QuestionNot sure how to do this(or if you can), COM object and vb6 and c++ stuff Pin
Matthew Cash1-Nov-08 11:42
Matthew Cash1-Nov-08 11:42 
AnswerRe: Not sure how to do this(or if you can), COM object and vb6 and c++ stuff Pin
Rajasekharan Vengalil4-Nov-08 10:15
Rajasekharan Vengalil4-Nov-08 10:15 
Matthew Cash wrote:
I have a project in VB6, and i want to write a C++ ocx with managed code to call some C# functions, so basicly kind of like a wrapper.


Let me get this straight - you want to create a native OCX using managed C++ so you can call C# functions from a VB6 project? Whoa! That's kind of taking interop to the extreme isn't it?! Poke tongue | ;-P Just kidding!

Seriously though, why are you proposing to have a C++ middle-man to liason between the VB6 component and the C# code? Can you not just create an ActiveX DLL using VB6 and use interop to invoke it from C#? And for invoking the C# code from VB6, use "TLBEXP" and "REGASM" to export the .NET class as a COM component.

Shouldn't you just be able to use .NET interop as the middle-man brokering calls?

--
gleat
http://blogorama.nerdworks.in[^]
--

Number Two's eyes narrowed and became what are known in the Shouting and Killing People trade as cold slits, the idea presumably being to give your opponent the impression that you have lost your glasses or are having difficulty keeping awake. Why this is frightening is an, as yet, unresolved problem. -- HHGTG


GeneralRe: Not sure how to do this(or if you can), COM object and vb6 and c++ stuff Pin
Matthew Cash4-Nov-08 18:48
Matthew Cash4-Nov-08 18:48 
QuestionCOM/DCOM singleton behavior not working [modified] Pin
ToriHino200830-Oct-08 11:31
ToriHino200830-Oct-08 11:31 
Questionbatch file writting commands Pin
coloradopad28-Oct-08 17:57
coloradopad28-Oct-08 17:57 
QuestionISpoolerHook Pin
Dr. Kelwin28-Oct-08 14:47
Dr. Kelwin28-Oct-08 14:47 
QuestionEditable datagrid validation. Pin
udaykatakam27-Oct-08 9:36
udaykatakam27-Oct-08 9:36 
QuestionHow to regsvr32 ***.ocx successful? Pin
huangdingjun25-Oct-08 16:29
huangdingjun25-Oct-08 16:29 
AnswerRe: How to regsvr32 ***.ocx successful? Pin
Wes Aday25-Oct-08 19:00
professionalWes Aday25-Oct-08 19:00 
GeneralRe: How to regsvr32 ***.ocx successful? Pin
huangdingjun27-Oct-08 1:26
huangdingjun27-Oct-08 1:26 
GeneralRe: How to regsvr32 ***.ocx successful? Pin
Rajasekharan Vengalil4-Nov-08 9:29
Rajasekharan Vengalil4-Nov-08 9:29 
QuestionVB 6, ASP and COM Pin
indian14322-Oct-08 23:31
indian14322-Oct-08 23:31 
QuestionSystem.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e. Pin
blakshmi21-Oct-08 22:44
blakshmi21-Oct-08 22:44 
AnswerRe: System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e. Pin
User 21559724-Oct-08 0:16
User 21559724-Oct-08 0:16 
QuestionAutoformat an Excel file and import it into Sql Sever 2000 Pin
Nitin Raj21-Oct-08 22:03
Nitin Raj21-Oct-08 22:03 
QuestionMAPI hooks Pin
Dr. Kelwin21-Oct-08 14:55
Dr. Kelwin21-Oct-08 14:55 
QuestionCrashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081521-Oct-08 2:07
professionalMartin081521-Oct-08 2:07 
AnswerRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Ernest Laurentin21-Oct-08 7:55
Ernest Laurentin21-Oct-08 7:55 
GeneralRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081522-Oct-08 0:59
professionalMartin081522-Oct-08 0:59 

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.