I am compiling and running secmain from the command line with no debugger, 
compiler is VS2005.
Perhaps there is a way to dump the exception to file?

It happens in Windows 7 64 as well.

I'll see if I can debug the ShellExecute function directly to find out which 
line is crashing out

From: [email protected]
Date: Thu, 18 Sep 2014 10:25:30 -0700
To: [email protected]
Subject: Re: [edk2] ShellExecute crashing in NT emulator


On Sep 18, 2014, at 6:22 AM, J. E. <[email protected]> wrote:The below code 
is crashing the emulator, any ideas?
Do you get a stack trace and error messages from the crash?
Thanks,
Andrew Fish
Is it a Windows 8 thing? (can't test a Win7 system or via proper EFI shell 
right now)

EFI_STATUSEFIAPIUefiMain (  IN EFI_HANDLE        ImageHandle,  IN 
EFI_SYSTEM_TABLE  *SystemTable  ){    EFI_STATUS Status;    Status = 
ShellExecute(ImageHandle, L"startup.nsh", FALSE, NULL, NULL);    // Crash 
dxecore.dll    Status = ShellExecute(ImageHandle, NULL, FALSE, NULL, NULL);    
// Crash dxecore.dll
}

UDK2014Win8.1 64bitUEFI Mode


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel                         
                  
------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to