using activex in vc v6

M

mike

I'm tring to learn how to use activeX controls in my C++ programs but have
hit a stone wall. I have a server control that's suppose to pass the
clients name and password. The VB example shows it as User.Name and
User.Password

VC has the function declared as:

OnUserLogin(LPDISPATCH User, BOOL FAR* Cancel, BSTR FAR* Message)

I can't figure out how to get the user's name and password. Can any one
help?
 
V

Victor Bazarov

I'm tring to learn how to use activeX controls in my C++ programs but have
hit a stone wall. I have a server control that's suppose to pass the
clients name and password. The VB example shows it as User.Name and
User.Password

VC has the function declared as:

OnUserLogin(LPDISPATCH User, BOOL FAR* Cancel, BSTR FAR* Message)

I can't figure out how to get the user's name and password. Can any one
help?

Not here, no. ActiveX is off-topic. LPDISPATCH is undefined. This is
C++ _language_ newsgroup, not OLE newsgroup. Try microsoft.public.vc.*
hierarchy.
 
M

mike

Not here, no. ActiveX is off-topic. LPDISPATCH is undefined. This is
C++ _language_ newsgroup, not OLE newsgroup. Try microsoft.public.vc.*
hierarchy.

I'm writing in C++ so no it is NOT off topic. If you can't help, don't
waste bandwidth.

Hell by your way of thinking, since I'm using a dell computer, I should be
posting in a DELL newsgroup.
 
M

Malte Starostik

I'm writing in C++ so no it is NOT off topic. If you can't help, don't
waste bandwidth.

Hell by your way of thinking, since I'm using a dell computer, I should be
posting in a DELL newsgroup.

No, because that doesn't affect how to program with it. Using
technologies specific to a particular platform makes questions regarding
their use specific to that plaform though. If you encounter a
C++-language specific problem while doing so, that problem becomes on
topic here again.
By your way of thinking, I would have to ask an English teacher how to
understand the C++ standard since it is written in the English language.

Cheers,
Malte
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,662
Latest member
sxarexu

Latest Threads

Top