Click here to Skip to main content
16,008,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help for using stl::map? Pin
toxcct3-May-07 23:23
toxcct3-May-07 23:23 
AnswerRe: Help for using stl::map? Pin
markkuk4-May-07 3:30
markkuk4-May-07 3:30 
Questionesy way to send email in win32 application Pin
sepel3-May-07 21:57
sepel3-May-07 21:57 
AnswerRe: esy way to send email in win32 application Pin
Roger Stoltz3-May-07 22:30
Roger Stoltz3-May-07 22:30 
GeneralRe: esy way to send email in win32 application Pin
sepel4-May-07 1:48
sepel4-May-07 1:48 
AnswerRe: esy way to send email in win32 application Pin
David Crow4-May-07 2:45
David Crow4-May-07 2:45 
QuestionCompile EVC++ 4.0 from command line [modified] Pin
pri_skit3-May-07 21:41
pri_skit3-May-07 21:41 
QuestionSplitDialogTemplate() difference between VC6 and VC2005 Options Pin
RaymondYounan3-May-07 20:54
RaymondYounan3-May-07 20:54 
Hello everybody,
I am actually migrating an existing project from VC6 to VC2005. I had a problem with an ActiveX component that wasn't loading at runtime, all other components were loading except the ActiveX. I dug in more and found out that the SplitDialogTemplate() function of the atlwin.h in VC6 differs a lot from the same function in VC2005.
In VC6 it copies all the components (OLE and non-OLE), while in VC2005 it only copies the non-OLE components. Does anyone know any turnaround that can help me load the ActiveX component?
This is the piece of the code that calls SplitDialogTemplate();

HGLOBAL hResource = LoadResource(hInstResource, hDlg); 
DLGTEMPLATE* pDlg = (DLGTEMPLATE*)LockResource(hResource); 

//Here it is only copying the non OLE components 
LPCDLGTEMPLATE lpDialogTemplate = SplitDialogTemplate(pDlg, pInitData); 

HINSTANCE hInst = _Module.GetModuleInstance(); 
nRet = ::DialogBoxIndirectParamA(hInst, lpDialogTemplate, hWndParent, 
pDialogProc, dwInitParam); 
if (lpDialogTemplate != pDlg) 
GlobalFree(GlobalHandle(lpDialogTemplate)); 
UnlockResource(hResource); 
FreeResource(hResource); 


Thank you in advance,

Ray
QuestionNeed little help in Worker threads [modified] Pin
amitmistry_petlad 3-May-07 20:36
amitmistry_petlad 3-May-07 20:36 
AnswerRe: Need little help in Worker threads Pin
Chilli714-May-07 0:52
Chilli714-May-07 0:52 
GeneralRe: Need little help in Worker threads Pin
amitmistry_petlad 4-May-07 1:03
amitmistry_petlad 4-May-07 1:03 
GeneralRe: Need little help in Worker threads Pin
Chilli714-May-07 4:17
Chilli714-May-07 4:17 
AnswerRe: Need little help in Worker threads Pin
Roger Stoltz4-May-07 1:29
Roger Stoltz4-May-07 1:29 
GeneralRe: Need little help in Worker threads Pin
amitmistry_petlad 4-May-07 1:38
amitmistry_petlad 4-May-07 1:38 
QuestionFinger print sensor with mfc Pin
deeps_cute3-May-07 20:13
deeps_cute3-May-07 20:13 
JokeRe: Finger print sensor with mfc Pin
Rajesh R Subramanian3-May-07 20:30
professionalRajesh R Subramanian3-May-07 20:30 
GeneralRe: Finger print sensor with mfc Pin
deeps_cute3-May-07 20:55
deeps_cute3-May-07 20:55 
QuestionRe: Finger print sensor with mfc Pin
Rajesh R Subramanian3-May-07 21:06
professionalRajesh R Subramanian3-May-07 21:06 
AnswerRe: Finger print sensor with mfc Pin
deeps_cute3-May-07 21:27
deeps_cute3-May-07 21:27 
QuestionRe: Finger print sensor with mfc Pin
Rajesh R Subramanian3-May-07 21:41
professionalRajesh R Subramanian3-May-07 21:41 
AnswerRe: Finger print sensor with mfc Pin
Rajesh R Subramanian3-May-07 21:57
professionalRajesh R Subramanian3-May-07 21:57 
GeneralRe: Finger print sensor with mfc Pin
deeps_cute4-May-07 0:22
deeps_cute4-May-07 0:22 
GeneralRe: Finger print sensor with mfc Pin
Rajesh R Subramanian4-May-07 1:33
professionalRajesh R Subramanian4-May-07 1:33 
GeneralRe: Finger print sensor with mfc Pin
Mark Salsbery4-May-07 6:32
Mark Salsbery4-May-07 6:32 
GeneralRe: Finger print sensor with mfc Pin
Rajesh R Subramanian4-May-07 21:09
professionalRajesh R Subramanian4-May-07 21:09 

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.