Home > Software engineering >  MFC DLL injection to collapse
MFC DLL injection to collapse

Time:09-17

BOOL CLittleHelpApp: : InitInstance ()
{
CWinApp: : InitInstance ();

//: : CreateThread (NULL, NULL, ShowDialog (LPTHREAD_START_ROUTINE), NULL, NULL, NULL);

Return TRUE;
}
Entrance obviously didn't do anything why host will collapse

CodePudding user response:

ShowDialog in another process

CodePudding user response:

reference 1st floor schlafenhamster response:
ShowDialog in another process

I already the annotation which also can not run

CodePudding user response:

Quote: refer to 1st floor schlafenhamster response:

ShowDialog in another process [/quo te]
Inject the hint this completely have no clue

CodePudding user response:

Take a look at your injected code

CodePudding user response:

In the DllMain ()
The switch (dwReason)
{
Case DLL_PROCESS_ATTACH:
//CreateThread (NULL, NULL, ShowDialog (LPTHREAD_START_ROUTINE), NULL, NULL, NULL);
break;

CodePudding user response:

I don't this is a MFC DLL should DLLMAIN my injection is directly with injector didn't write my own, this DLL is to use two days ago today it not make me combined with a code should be no problem, because I haven't had time to change) is it possible is a question of environment Settings I didn't study for the environment will not ah

CodePudding user response:

Know why the DEBUG version adds a lot of things, do not know what causes the collapse, is ready for RELEASE

CodePudding user response:

CreateRemoteThread test in the wheel

  • Related