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

C / C++ / MFC

 
GeneralRe: How can i get psapi.h file Pin
vikas amin5-Jan-06 2:13
vikas amin5-Jan-06 2:13 
GeneralRe: How can i get psapi.h file Pin
ThatsAlok8-Jan-06 20:58
ThatsAlok8-Jan-06 20:58 
Questionplz help Pin
thes3cr3t14-Jan-06 23:16
thes3cr3t14-Jan-06 23:16 
AnswerRe: plz help Pin
David Crow5-Jan-06 3:00
David Crow5-Jan-06 3:00 
AnswerRe: plz help Pin
John R. Shaw5-Jan-06 12:34
John R. Shaw5-Jan-06 12:34 
QuestionStop Dos box appearing on screen Pin
KevinSheedy4-Jan-06 23:02
KevinSheedy4-Jan-06 23:02 
AnswerRe: Stop Dos box appearing on screen Pin
Owner drawn4-Jan-06 23:07
Owner drawn4-Jan-06 23:07 
QuestionCDHtmlDialog (COM?): memory leak, wrong 'this' pointer, ect Pin
balage24-Jan-06 22:44
balage24-Jan-06 22:44 
Hi!

I have some problems with this class. This class is implemented in a dll and it is called in own thread (GUIThread()). In GUIThread(): OleInitialize(NULL) is called, after main dll function (dllMain()) is called, and then dllMain() exits OleUninitialize() is called.
So:
- The 'this' pointer is not the same, for example, in OnInitDialog() and in a hmtl event-handling function, and I would like to refer to 'this' pointer, the application is aborted with a memory error.
- If GUIThread() is finished and I would like to run this thread again, the program aborted with a memory error, or some thread, which were started by MFC when CHtmlDialog class was used at first, isn't finished and there will be memory leaks.
Any ideas?

Balage
QuestionI want to print using the CView Pin
vikas amin4-Jan-06 22:34
vikas amin4-Jan-06 22:34 
AnswerRe: I want to print using the CView Pin
Zdeslav Vojkovic4-Jan-06 22:52
Zdeslav Vojkovic4-Jan-06 22:52 
GeneralRe: I want to print using the CView Pin
vikas amin6-Jan-06 2:22
vikas amin6-Jan-06 2:22 
QuestionRun a Batch or .exe file from a program Pin
KevinSheedy4-Jan-06 22:10
KevinSheedy4-Jan-06 22:10 
AnswerRe: Run a Batch or .exe file from a program Pin
Owner drawn4-Jan-06 22:17
Owner drawn4-Jan-06 22:17 
AnswerRe: Run a Batch or .exe file from a program Pin
S Douglas5-Jan-06 1:05
professionalS Douglas5-Jan-06 1:05 
AnswerRe: Run a Batch or .exe file from a program Pin
ThatsAlok8-Jan-06 23:00
ThatsAlok8-Jan-06 23:00 
QuestionAccessing Windows Clock Pin
KevinSheedy4-Jan-06 22:04
KevinSheedy4-Jan-06 22:04 
AnswerRe: Accessing Windows Clock Pin
Owner drawn4-Jan-06 22:06
Owner drawn4-Jan-06 22:06 
GeneralRe: Accessing Windows Clock Pin
Anilkumar K V5-Jan-06 0:39
Anilkumar K V5-Jan-06 0:39 
AnswerRe: Accessing Windows Clock Pin
Prakash Nadar4-Jan-06 23:49
Prakash Nadar4-Jan-06 23:49 
AnswerRe: Accessing Windows Clock Pin
ThatsAlok8-Jan-06 20:55
ThatsAlok8-Jan-06 20:55 
QuestionVC++ sdi Pin
bruno9579574-Jan-06 22:03
bruno9579574-Jan-06 22:03 
AnswerRe: VC++ sdi Pin
Prakash Nadar4-Jan-06 22:06
Prakash Nadar4-Jan-06 22:06 
GeneralRe: VC++ sdi Pin
bruno9579574-Jan-06 22:12
bruno9579574-Jan-06 22:12 
GeneralRe: VC++ sdi Pin
Prakash Nadar4-Jan-06 22:19
Prakash Nadar4-Jan-06 22:19 
GeneralRe: VC++ sdi Pin
bruno9579574-Jan-06 22:24
bruno9579574-Jan-06 22:24 

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.