Click here to Skip to main content
15,922,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to find Memory Over Flow ? Pin
Amarelia31-Aug-04 11:50
Amarelia31-Aug-04 11:50 
AnswerRe: How to find Memory Over Flow ? Pin
mahade131-Aug-04 18:36
mahade131-Aug-04 18:36 
Generalconst char * Pin
rtb33331-Aug-04 11:47
rtb33331-Aug-04 11:47 
GeneralRe: const char * Pin
Ryan Binns31-Aug-04 18:36
Ryan Binns31-Aug-04 18:36 
Generalopening a command prompt inside a cdialog Pin
mickelliot31-Aug-04 11:13
mickelliot31-Aug-04 11:13 
GeneralRe: opening a command prompt inside a cdialog Pin
vcplusplus31-Aug-04 11:38
vcplusplus31-Aug-04 11:38 
GeneralCFormView and ActiveX Controls... Pin
herbert_chow31-Aug-04 10:57
herbert_chow31-Aug-04 10:57 
GeneralRe: CFormView and ActiveX Controls... Pin
herbert_chow31-Aug-04 14:12
herbert_chow31-Aug-04 14:12 
Hi,

Just a bit of important information which I didn't think was relevant before.

My app also uses a COM server for some services. In my MFC app class's InitInstance I set the thread model. When I comment this out the ActiveX controls seem to work, but then I can't connect to the COM server.

BOOL CNFITGuiApp::InitInstance()
{
::CoInitializeEx(NULL, COINIT_MULTITHREADED);
.........

I understand that ActiveX and COM are very related. And this may be why commenting the threading model assignment will work.

Thanks.
QuestionOverlay mode? Pin
Vilo99931-Aug-04 9:18
Vilo99931-Aug-04 9:18 
AnswerRe: Folder path for any Win OS? Pin
vcplusplus31-Aug-04 7:52
vcplusplus31-Aug-04 7:52 
GeneralGDI+ VC++ Access Violation Pin
Nicholas Cardi31-Aug-04 7:22
Nicholas Cardi31-Aug-04 7:22 
GeneralRe: GDI+ VC++ Access Violation Pin
Anonymous31-Aug-04 7:29
Anonymous31-Aug-04 7:29 
GeneralRe: GDI+ VC++ Access Violation Pin
Nicholas Cardi31-Aug-04 7:33
Nicholas Cardi31-Aug-04 7:33 
GeneralRe: GDI+ VC++ Access Violation Pin
Nicholas Cardi31-Aug-04 11:02
Nicholas Cardi31-Aug-04 11:02 
QuestionFolder path for any Win OS? Pin
nigma_x31-Aug-04 7:01
nigma_x31-Aug-04 7:01 
AnswerRe: Folder path for any Win OS? Pin
Nicholas Cardi31-Aug-04 7:30
Nicholas Cardi31-Aug-04 7:30 
AnswerRe: Folder path for any Win OS? Pin
Ravi Bhavnani31-Aug-04 7:31
professionalRavi Bhavnani31-Aug-04 7:31 
Generalsecurity project password cracker Pin
gtre691431-Aug-04 6:53
gtre691431-Aug-04 6:53 
GeneralRe: security project password cracker Pin
Ravi Bhavnani31-Aug-04 7:29
professionalRavi Bhavnani31-Aug-04 7:29 
GeneralDisabling Keyboard in Win2000 / XP Pin
Ivan Cachicatari31-Aug-04 6:16
Ivan Cachicatari31-Aug-04 6:16 
GeneralRe: Disabling Keyboard in Win2000 / XP Pin
Nicholas Cardi31-Aug-04 7:47
Nicholas Cardi31-Aug-04 7:47 
GeneralRe: Disabling Keyboard in Win2000 / XP Pin
Ivan Cachicatari31-Aug-04 11:45
Ivan Cachicatari31-Aug-04 11:45 
GeneralRe: Disabling Keyboard in Win2000 / XP Pin
ThatsAlok31-Aug-04 22:28
ThatsAlok31-Aug-04 22:28 
GeneralRe: Disabling Keyboard in Win2000 / XP Pin
Ivan Cachicatari1-Sep-04 5:28
Ivan Cachicatari1-Sep-04 5:28 
GeneralUnicode characters on Win9x Pin
Jim Crafton31-Aug-04 5:26
Jim Crafton31-Aug-04 5:26 

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.