Click here to Skip to main content
15,849,829 members
Home / Discussions / COM
   

COM

 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
Heath Stewart10-Jul-03 5:06
protectorHeath Stewart10-Jul-03 5:06 
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 
Thanks. I am facign following trouble:

Create a COM component "InProcVB.dll" as in-proc DLL in VB exposing some interfaces and methods .

Write its client as "clientVB".

Write another COM component as "OutOfProc.exe" as out-of-proc exe server in VC. This has same

interface/class/InterfaceIDs/ClassIDs as that of "InProcVB.dll". This is written with purpose of

replacing "InProcVB.dll". And, the expectation is that client need not re-compile. (As defined by

rule "Location transparency of COM).

After developing "OutOfProc.exe", we unregistered "InProcVB.dll", and registered "OutOfProc.exe".

Executed "clientVB" without any change. It gave error type-mismatch. The error point was:

Dim objSrvClass as SrvClass

set SrvClass = CreateObject("Server.Class") --> Problem: Type mismatch.


If I change code as

Dim objSrvClass as Object

set SrvClass = CreateObject("Server.Class")

It works well.

Please suggest.
GeneralRe: in-proc ==>> Out-of-proc Pin
Vi215-Jul-03 3:29
Vi215-Jul-03 3:29 
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 

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.