Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to encode URL Pin
Michael Fentworth5-Mar-01 10:07
Michael Fentworth5-Mar-01 10:07 
AnswerRe: How to encode URL Pin
18-Apr-01 23:46
suss18-Apr-01 23:46 
AnswerRe: How to encode URL Pin
18-Apr-01 23:47
suss18-Apr-01 23:47 
GeneralC++ Command line Pin
5-Mar-01 10:00
suss5-Mar-01 10:00 
GeneralRe: C++ Command line Pin
l a u r e n5-Mar-01 10:06
l a u r e n5-Mar-01 10:06 
GeneralTAPI compatibility issue in Win2000 Pin
Kelly Yao5-Mar-01 9:26
Kelly Yao5-Mar-01 9:26 
GeneralRe: TAPI compatibility issue in Win2000 Pin
l a u r e n5-Mar-01 9:46
l a u r e n5-Mar-01 9:46 
GeneralActiveX Control Wrapper/coclasses Pin
James Bush5-Mar-01 6:29
James Bush5-Mar-01 6:29 
Hi everyone, Im new to this VC++ business and am having a few 'issues' with activex controls on dialogs...

Ive inserted an activex control onto a dialog and created a member variable in the dialog class to 'host' it. I get the main wrapper class for the control generated fine and two other coclasses which I need to access some members of the control. The main wrapper class is derived from CWnd and the coclasses are derived from COleDispatchDriver.

I can use the member variable reference to the control fine except I cannot instantiate an instance of either of the two coclasses. Ive got code that looks like this....

SomeFunction()
{
CCoclass pMyInstance;
MyInstance = m_MyMemberControl.GetCoClassThingy();

}


When I compile I get a message saying something about the coclass not being defined, yet the headers and definitions are there; as generated by class wizard.?????

Anyone tell me whats going on, how do I use these coclasses to access objects within the activex control???

Prrreeeeeezzeee eddddieeee!!!
Blush | :O )

James Bush.
5+years Pro VB&ORACLE (OOD, ADO etc...) MS VC++ newbie!
Generalcmd Pin
5-Mar-01 6:26
suss5-Mar-01 6:26 
GeneralRe: cmd Pin
5-Mar-01 8:07
suss5-Mar-01 8:07 
GeneralRe: cmd Pin
l a u r e n5-Mar-01 10:01
l a u r e n5-Mar-01 10:01 
QuestionHow should I hide or remove tabs in a property sheet without getting the PC crashed? Pin
Joan M5-Mar-01 4:58
professionalJoan M5-Mar-01 4:58 
QuestionHow do I write a file to an edit ctrl or to other ctrl? Pin
5-Mar-01 4:09
suss5-Mar-01 4:09 
AnswerRe: How do I write a file to an edit ctrl or to other ctrl? Pin
l a u r e n5-Mar-01 4:35
l a u r e n5-Mar-01 4:35 
GeneralRe: How do I write a file to an edit ctrl or to other ctrl? Pin
Chris Losinger5-Mar-01 4:55
professionalChris Losinger5-Mar-01 4:55 
GeneralRe: How do I write a file to an edit ctrl or to other ctrl? Pin
l a u r e n5-Mar-01 10:09
l a u r e n5-Mar-01 10:09 
GeneralBulk operations with Long binary. HELP Pin
Alex Barzovski5-Mar-01 3:57
Alex Barzovski5-Mar-01 3:57 
GeneralRe: Bulk operations with Long binary. HELP Pin
l a u r e n5-Mar-01 4:33
l a u r e n5-Mar-01 4:33 
GeneralRe: Bulk operations with Long binary. HELP Pin
Alex Barzovski5-Mar-01 13:16
Alex Barzovski5-Mar-01 13:16 
GeneralRe: Bulk operations with Long binary. HELP Pin
Alex Barzovski5-Mar-01 13:17
Alex Barzovski5-Mar-01 13:17 
GeneralWindows Driver Development Pin
.::RockNix::.5-Mar-01 0:03
.::RockNix::.5-Mar-01 0:03 
GeneralRe: Windows Driver Development Pin
l a u r e n5-Mar-01 2:41
l a u r e n5-Mar-01 2:41 
GeneralRe: Windows Driver Development Pin
MickAB5-Mar-01 3:12
MickAB5-Mar-01 3:12 
GeneralRe: Windows Driver Development Pin
.::RockNix::.5-Mar-01 4:37
.::RockNix::.5-Mar-01 4:37 
GeneralRe: Windows Driver Development Pin
MickAB5-Mar-01 5:57
MickAB5-Mar-01 5:57 

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.