Click here to Skip to main content
15,921,959 members
Home / Discussions / COM
   

COM

 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
SysLo13-Jul-03 21:32
SysLo13-Jul-03 21:32 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
Heath Stewart14-Jul-03 1:53
protectorHeath Stewart14-Jul-03 1:53 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
SysLo15-Jul-03 1:34
SysLo15-Jul-03 1:34 
GeneralNot detecting interfaces Pin
satishsilla7-Jul-03 17:29
satishsilla7-Jul-03 17:29 
Generalin-proc ==>> Out-of-proc Pin
In-At7-Jul-03 0:44
In-At7-Jul-03 0:44 
GeneralRe: in-proc ==>> Out-of-proc Pin
Vi210-Jul-03 3:09
Vi210-Jul-03 3:09 
GeneralRe: in-proc ==>> Out-of-proc Pin
In-At14-Jul-03 20:01
In-At14-Jul-03 20:01 
GeneralRe: in-proc ==>> Out-of-proc Pin
Vi215-Jul-03 2:29
Vi215-Jul-03 2:29 
I have no problem at all.

I made the VB's Server.dll, VC's Server.exe and testing Project1.exe. Tested object has one method xxx in VB server
Public Sub xxx()
  MsgBox "xxx subroutine is called"
End Sub

and in VC server
STDMETHODIMP CClass::xxx()
{
	// TODO: Add your implementation code here
	MessageBox(NULL,"ATL xxx is called", "ATL", MB_OK);
	return S_OK;
}

and testing code in Project1 project
Sub Main()
  Dim x As Server.Class
  Set x = CreateObject("Server.Class")
  x.xxx
End Sub


When i register some COM server, I have relevant message: if VB, then VB, if VC, then VC. I.e.

>regsvr32 Server.dll
>Project1.exe
Having ... xxx subroutine is called
>regsvr32 /u Server.dll
>Server.exe -RegServer
>Project1.exe
Having ... ATL xxx is called
>Server.exe -UnRegServer

There is no magic. It's possible that you have a mistake. I also firstly made a mistake - I have mixed up the coclass and interface IDs. And I had "Type mismatch" Smile | :)


With best wishes,
Vita
GeneralRe: in-proc ==>> Out-of-proc Pin
In-At15-Jul-03 2:42
In-At15-Jul-03 2:42 
GeneralSpeed of COM Pin
Jo Fredrickson6-Jul-03 21:02
Jo Fredrickson6-Jul-03 21:02 
GeneralRe: Speed of COM Pin
In-At6-Jul-03 23:30
In-At6-Jul-03 23:30 
GeneralRe: Speed of COM Pin
In-At6-Jul-03 23:58
In-At6-Jul-03 23:58 
GeneralRe: Speed of COM Pin
Jo Fredrickson7-Jul-03 16:03
Jo Fredrickson7-Jul-03 16:03 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 19:59
In-At7-Jul-03 19:59 
GeneralRe: Speed of COM Pin
Mike Dimmick12-Jul-03 8:10
Mike Dimmick12-Jul-03 8:10 
GeneralRe: Speed of COM Pin
Jo Fredrickson14-Jul-03 18:05
Jo Fredrickson14-Jul-03 18:05 
GeneralRe: Speed of COM Pin
Gerald Schwab20-Jul-03 17:23
Gerald Schwab20-Jul-03 17:23 
GeneralATL Control sinks Pin
Ancient Dragon4-Jul-03 3:32
Ancient Dragon4-Jul-03 3:32 
GeneralAccessing COM objects Pin
Moonspellwizard3-Jul-03 19:44
Moonspellwizard3-Jul-03 19:44 
GeneralRe: Accessing COM objects Pin
In-At3-Jul-03 20:17
In-At3-Jul-03 20:17 
GeneralADO Pin
Anthony98873-Jul-03 9:51
Anthony98873-Jul-03 9:51 
GeneralRe: ADO Pin
Anonymous3-Jul-03 11:51
Anonymous3-Jul-03 11:51 
GeneralMultiple instances are launched Pin
In-At2-Jul-03 20:42
In-At2-Jul-03 20:42 
GeneralIn-proc to out-of-proc Pin
In-At2-Jul-03 20:19
In-At2-Jul-03 20:19 
GeneralRe: In-proc to out-of-proc Pin
valikac3-Jul-03 7:39
valikac3-Jul-03 7:39 

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.