Type object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H

How can i declare a variable as object data type
(like in vb we use: dim varname as object
Any help would be apprecaited
Thank
 
Simo said:
Hi

How can i declare a variable as object data type?
(like in vb we use: dim varname as object)
Any help would be apprecaited.

The VB "object" type is essentially an IDispatch* in C or C++.

-cd
 
thanks for you repl
Can please explain how to implement this in vc++ 6.0

the only thing i know about IDispatch that it is a com interface that make communication between com container and com serve

here is what i am trying to do

a server application make a call to a client application each time he receive data, i found a very good example with vb on msdn with call back methode, they made a class on the client application that register it self into a global variable on the server application, so the server can call back a function into the client applicatio
in this example they worked with object variabl
 
Back
Top