Click here to Skip to main content
15,925,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Registered ActiveX Controls Pin
Naveen9-Feb-07 23:25
Naveen9-Feb-07 23:25 
GeneralRe: Registered ActiveX Controls Pin
Joan M10-Feb-07 1:05
professionalJoan M10-Feb-07 1:05 
QuestionBuilding an MFC in Release Mode Pin
Member 17658779-Feb-07 21:03
Member 17658779-Feb-07 21:03 
AnswerRe: Building an MFC in Release Mode Pin
Michael Dunn9-Feb-07 21:10
sitebuilderMichael Dunn9-Feb-07 21:10 
Question2 Process at a time in Win 32 App Pin
Suresh H9-Feb-07 17:56
Suresh H9-Feb-07 17:56 
AnswerRe: 2 Process at a time in Win 32 App Pin
Naveen9-Feb-07 18:04
Naveen9-Feb-07 18:04 
GeneralRe: 2 Process at a time in Win 32 App Pin
Suresh H9-Feb-07 18:31
Suresh H9-Feb-07 18:31 
QuestionRe: 2 Process at a time in Win 32 App Pin
Suresh H9-Feb-07 18:56
Suresh H9-Feb-07 18:56 
hi Naveen,

I am getting some problem with the handle HWND & hwnd.
in thread i am trying to extract the Edit box contents but i am getting the junk values, why i am getting the junk values ?? what is wrong in the code ???
same code was working in the OnStart function, when I moved it to thread is not working what is cause ???
<br />
<br />
<br />
UINT WorkerThreadProc(LPVOID Param)<br />
{<br />
   HWND hwnd = (HWND)Param;<br />
 <br />
<br />
    char *FName = new char[20];<br />
    HWND HEFName = GetDlgItem(hwnd, IDC_FILE_NAME);<br />
    SendMessage(HEFName , EM_GETLINE, 0 ,(LPARAM)FName);<br />
}


output :- ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
AnswerRe: 2 Process at a time in Win 32 App Pin
Naveen9-Feb-07 19:16
Naveen9-Feb-07 19:16 
GeneralRe: 2 Process at a time in Win 32 App Pin
Suresh H9-Feb-07 19:33
Suresh H9-Feb-07 19:33 
GeneralRe: 2 Process at a time in Win 32 App Pin
Naveen9-Feb-07 19:50
Naveen9-Feb-07 19:50 
GeneralRe: 2 Process at a time in Win 32 App Pin
Suresh H9-Feb-07 19:53
Suresh H9-Feb-07 19:53 
GeneralRe: 2 Process at a time in Win 32 App Pin
S Douglas10-Feb-07 22:43
professionalS Douglas10-Feb-07 22:43 
Questionhow can i pass my array object in function arguments by reference? Pin
amitmistry_petlad 9-Feb-07 16:59
amitmistry_petlad 9-Feb-07 16:59 
AnswerRe: how can i pass my array object in function arguments by reference? Pin
Naveen9-Feb-07 17:17
Naveen9-Feb-07 17:17 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
amitmistry_petlad 9-Feb-07 17:20
amitmistry_petlad 9-Feb-07 17:20 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
Naveen9-Feb-07 17:31
Naveen9-Feb-07 17:31 
AnswerRe: how can i pass my array object in function arguments by reference? Pin
Eytukan9-Feb-07 17:33
Eytukan9-Feb-07 17:33 
AnswerRe: how can i pass my array object in function arguments by reference? Pin
Michael Dunn9-Feb-07 17:39
sitebuilderMichael Dunn9-Feb-07 17:39 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
Naveen9-Feb-07 17:57
Naveen9-Feb-07 17:57 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
Michael Dunn9-Feb-07 21:09
sitebuilderMichael Dunn9-Feb-07 21:09 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
Naveen9-Feb-07 21:13
Naveen9-Feb-07 21:13 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
hsuch9-Feb-07 23:21
hsuch9-Feb-07 23:21 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
amitmistry_petlad 9-Feb-07 19:35
amitmistry_petlad 9-Feb-07 19:35 
GeneralRe: how can i pass my array object in function arguments by reference? Pin
Naveen9-Feb-07 19:55
Naveen9-Feb-07 19:55 

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.