Click here to Skip to main content
15,845,367 members
Home / Discussions / COM
   

COM

 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
SysLo13-Jul-03 22:32
SysLo13-Jul-03 22:32 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
Heath Stewart14-Jul-03 2:53
protectorHeath Stewart14-Jul-03 2:53 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
SysLo15-Jul-03 2:34
SysLo15-Jul-03 2:34 
GeneralNot detecting interfaces Pin
satishsilla7-Jul-03 18:29
satishsilla7-Jul-03 18:29 
Generalin-proc ==>> Out-of-proc Pin
In-At7-Jul-03 1:44
In-At7-Jul-03 1:44 
GeneralRe: in-proc ==>> Out-of-proc Pin
Vi210-Jul-03 4:09
Vi210-Jul-03 4:09 
GeneralRe: in-proc ==>> Out-of-proc Pin
In-At14-Jul-03 21:01
In-At14-Jul-03 21:01 
GeneralRe: in-proc ==>> Out-of-proc Pin
Vi215-Jul-03 3:29
Vi215-Jul-03 3: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 3:42
In-At15-Jul-03 3:42 
GeneralSpeed of COM Pin
Jo Fredrickson6-Jul-03 22:02
Jo Fredrickson6-Jul-03 22:02 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 0:30
In-At7-Jul-03 0:30 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 0:58
In-At7-Jul-03 0:58 
GeneralRe: Speed of COM Pin
Jo Fredrickson7-Jul-03 17:03
Jo Fredrickson7-Jul-03 17:03 
GeneralRe: Speed of COM Pin
In-At7-Jul-03 20:59
In-At7-Jul-03 20:59 
GeneralRe: Speed of COM Pin
Mike Dimmick12-Jul-03 9:10
Mike Dimmick12-Jul-03 9:10 
GeneralRe: Speed of COM Pin
Jo Fredrickson14-Jul-03 19:05
Jo Fredrickson14-Jul-03 19:05 
GeneralRe: Speed of COM Pin
Gerald Schwab20-Jul-03 18:23
Gerald Schwab20-Jul-03 18:23 
GeneralATL Control sinks Pin
Ancient Dragon4-Jul-03 4:32
Ancient Dragon4-Jul-03 4:32 
GeneralAccessing COM objects Pin
Moonspellwizard3-Jul-03 20:44
Moonspellwizard3-Jul-03 20:44 
GeneralRe: Accessing COM objects Pin
In-At3-Jul-03 21:17
In-At3-Jul-03 21:17 
GeneralADO Pin
Anthony98873-Jul-03 10:51
Anthony98873-Jul-03 10:51 
GeneralRe: ADO Pin
Anonymous3-Jul-03 12:51
Anonymous3-Jul-03 12:51 
GeneralMultiple instances are launched Pin
In-At2-Jul-03 21:42
In-At2-Jul-03 21:42 
GeneralIn-proc to out-of-proc Pin
In-At2-Jul-03 21:19
In-At2-Jul-03 21:19 
GeneralRe: In-proc to out-of-proc Pin
valikac3-Jul-03 8:39
valikac3-Jul-03 8: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.