Click here to Skip to main content
15,927,694 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCould I get the main window's handle of a process by the process's handle? Pin
liyuan-rey4-Apr-02 0:26
liyuan-rey4-Apr-02 0:26 
AnswerRe: Could I get the main window's handle of a process by the process's handle? Pin
Joaquín M López Muñoz4-Apr-02 1:32
Joaquín M López Muñoz4-Apr-02 1:32 
GeneralRe: Could I get the main window's handle of a process by the process's handle? Pin
liyuan-rey4-Apr-02 15:48
liyuan-rey4-Apr-02 15:48 
GeneralRe: Could I get the main window's handle of a process by the process's handle? Pin
Joaquín M López Muñoz4-Apr-02 18:39
Joaquín M López Muñoz4-Apr-02 18:39 
GeneralRe: Could I get the main window's handle of a process by the process's handle? Pin
liyuan-rey7-Apr-02 16:20
liyuan-rey7-Apr-02 16:20 
GeneralModule path Pin
3-Apr-02 23:55
suss3-Apr-02 23:55 
GeneralRe: Module path Pin
Joaquín M López Muñoz4-Apr-02 2:13
Joaquín M López Muñoz4-Apr-02 2:13 
GeneralGUID structure inside the managed world Pin
SasaT3-Apr-02 23:44
SasaT3-Apr-02 23:44 
Hi there!
I have some big problems translating one relatively separated dll written in C++ to the managed world because I don't know how to work with the GUID structure. I can't just replace it with the System::Guid structure cause one of my functions which returns guid is used from both worlds, managed and unmanaged.
I'm also getting errors when trying to assign one GUID to another.
The code looks like this:

GUID& GetGuid()
{
GUID guidVar1, guidVar2;
CoCreateGuid(&guidVar1); //error
guidVar = guidVar2; //error
return guidVar; //error
}

Help me please!!! Confused | :confused:
Questionsimple Question? Pin
Neha3-Apr-02 22:54
Neha3-Apr-02 22:54 
AnswerRe: simple Question? Pin
Mazdak4-Apr-02 0:10
Mazdak4-Apr-02 0:10 
GeneralInstall on client computer MsXML 4.0 Pin
Braulio Dez3-Apr-02 21:59
Braulio Dez3-Apr-02 21:59 
GeneralRe: Install on client computer MsXML 4.0 Pin
Michael A. Barnhart4-Apr-02 8:03
Michael A. Barnhart4-Apr-02 8:03 
GeneralAccess Rights! Pin
hph3-Apr-02 21:40
hph3-Apr-02 21:40 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:14
Tomasz Sowinski4-Apr-02 6:14 
GeneralRe: Access Rights! Pin
hph4-Apr-02 6:26
hph4-Apr-02 6:26 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:29
Tomasz Sowinski4-Apr-02 6:29 
GeneralRe: Access Rights! Pin
hph4-Apr-02 6:33
hph4-Apr-02 6:33 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:37
Tomasz Sowinski4-Apr-02 6:37 
GeneralRe: Access Rights! Pin
hph4-Apr-02 6:44
hph4-Apr-02 6:44 
GeneralRe: Access Rights! Pin
Tomasz Sowinski4-Apr-02 6:55
Tomasz Sowinski4-Apr-02 6:55 
GeneralRe: Access Rights! Pin
hph4-Apr-02 7:30
hph4-Apr-02 7:30 
GeneralRe: Access Rights! Pin
hph4-Apr-02 9:20
hph4-Apr-02 9:20 
QuestionFunction _beginthreadex not recognized? Pin
NicholasCougar3-Apr-02 21:38
NicholasCougar3-Apr-02 21:38 
AnswerRe: Function _beginthreadex not recognized? Pin
Joaquín M López Muñoz3-Apr-02 21:58
Joaquín M López Muñoz3-Apr-02 21:58 
AnswerRe: Function _beginthreadex not recognized? Pin
Tim Smith4-Apr-02 2:06
Tim Smith4-Apr-02 2:06 

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.