By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,131 Members | 1,922 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,131 IT Pros & Developers. It's quick & easy.

using activex in vc v6

P: n/a

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?
Jul 23 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
mi**@winserver.us wrote:
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.
Jul 23 '05 #2

P: n/a
In Article <mo*******************@newsread1.mlpsca01.us.to.ve rio.net>
Victor Bazarov <v.********@comAcast.net> writes:

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.
Jul 23 '05 #3

P: n/a
On Sat, 26 Mar 05 17:44:42 CST, mi**@winserver.us wrote:
In Article <mo*******************@newsread1.mlpsca01.us.to.ve rio.net>
Victor Bazarov <v.********@comAcast.net> writes:

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.


This newsgroup is meant for discussion about ISO C++ only, where the answer
can be determined by looking at the ISO language definition. Because
this is a high-traffic newsgroup, system-specific issues have been
generally declared offtopic and are discouraged.

Read: http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Jul 23 '05 #4

P: n/a
mi**@winserver.us schrieb:
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
Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.