Click here to Skip to main content
15,891,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: want the result of child process Pin
Mushtaque Nizamani2-Dec-06 3:58
Mushtaque Nizamani2-Dec-06 3:58 
AnswerRe: want the result of child process [modified] Pin
prasad_som30-Nov-06 21:38
prasad_som30-Nov-06 21:38 
GeneralRe: want the result of child process Pin
Mushtaque Nizamani30-Nov-06 23:06
Mushtaque Nizamani30-Nov-06 23:06 
AnswerRe: want the result of child process Pin
prasad_som1-Dec-06 1:08
prasad_som1-Dec-06 1:08 
GeneralRe: want the result of child process Pin
Mushtaque Nizamani1-Dec-06 1:26
Mushtaque Nizamani1-Dec-06 1:26 
GeneralRe: want the result of child process Pin
prasad_som1-Dec-06 1:41
prasad_som1-Dec-06 1:41 
GeneralRe: want the result of child process Pin
Mushtaque Nizamani1-Dec-06 1:46
Mushtaque Nizamani1-Dec-06 1:46 
AnswerRe: want the result of child process Pin
Tony Hill30-Nov-06 23:50
mveTony Hill30-Nov-06 23:50 
Would it not be easier to register the dll yourself (see below).

HINSTANCE hDll;
HRESULT  hReply;
HRESULT (FAR *lpDll) (void);

hDll = LoadLibrary(szFile);

if (hDll > (HINSTANCE)32)
{
    if (bRegistering)
    {
        lpDll = (HRESULT (FAR *) (void)) GetProcAddress(hDll, "DllRegisterServer");
    }
    else
    {
        lpDll = (HRESULT (FAR *) (void)) GetProcAddress(hDll, "DllUnregisterServer");
    }
        hReply = (*lpDll)();

        if (hReply != 0)
        {
            // Display register/unregister error message here
        }
    }

    FreeLibrary(hDll);
}
else
{
    // Display Dll load error here
}

QuestionUsing CString in WIN32 Application. Pin
VCSharp00730-Nov-06 20:00
VCSharp00730-Nov-06 20:00 
QuestionRe: Using CString in WIN32 Application. Pin
prasad_som30-Nov-06 20:06
prasad_som30-Nov-06 20:06 
AnswerRe: Using CString in WIN32 Application. Pin
uusheikh30-Nov-06 20:38
uusheikh30-Nov-06 20:38 
GeneralRe: Using CString in WIN32 Application. Pin
Mike_V30-Nov-06 20:51
Mike_V30-Nov-06 20:51 
GeneralRe: Using CString in WIN32 Application. Pin
uusheikh30-Nov-06 20:59
uusheikh30-Nov-06 20:59 
GeneralRe: Using CString in WIN32 Application. Pin
Mike_V30-Nov-06 21:03
Mike_V30-Nov-06 21:03 
QuestionRe: Using CString in WIN32 Application. Pin
prasad_som30-Nov-06 21:30
prasad_som30-Nov-06 21:30 
AnswerRe: Using CString in WIN32 Application. Pin
Mike_V30-Nov-06 20:51
Mike_V30-Nov-06 20:51 
Questionhooking process termination Pin
PK218430-Nov-06 19:58
PK218430-Nov-06 19:58 
AnswerRe: hooking process termination Pin
Christopher Duncan1-Dec-06 5:03
Christopher Duncan1-Dec-06 5:03 
QuestionHow to move a whole folder Pin
kamalesh8230-Nov-06 19:51
kamalesh8230-Nov-06 19:51 
AnswerRe: How to move a whole folder Pin
snprani30-Nov-06 19:58
snprani30-Nov-06 19:58 
QuestionHow to create in MFC Tray Icon, any easy way.. Pin
dasrimk30-Nov-06 19:38
dasrimk30-Nov-06 19:38 
AnswerRe: How to create in MFC Tray Icon, any easy way.. Pin
snprani30-Nov-06 20:08
snprani30-Nov-06 20:08 
AnswerRe: How to create in MFC Tray Icon, any easy way.. Pin
Laxman Auti30-Nov-06 20:15
Laxman Auti30-Nov-06 20:15 
Questioncalling order? Pin
Kiran Pinjala30-Nov-06 19:20
Kiran Pinjala30-Nov-06 19:20 
AnswerRe: calling order? Pin
prasad_som30-Nov-06 19:36
prasad_som30-Nov-06 19:36 

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.