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

COM

 
GeneralRe: Accessing images trough IHTMLDocument2 Pin
Heath Stewart10-Jul-03 4:06
protectorHeath Stewart10-Jul-03 4:06 
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 
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 2:29
Vi215-Jul-03 2:29 
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 

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.