On Sep 18, 2014, at 4:24 PM, J. E. <[email protected]> wrote:
> 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?
>
Not sure as I don’t use VC++.
> 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
>
Look at: http://tianocore.sourceforge.net/wiki/NT32
Thanks,
Andrew Fish
> 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_STATUS
> EFIAPI
> UefiMain (
> 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
>
> }
>
>
> UDK2014
> Win8.1 64bit
> UEFI 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
------------------------------------------------------------------------------
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