abnormal program termination
Regan Heath
regan at netmail.co.nz
Thu Aug 30 06:39:29 PDT 2012
On Wed, 29 Aug 2012 18:43:27 +0100, Ellery Newcomer
<ellery-newcomer at utulsa.edu> wrote:
> On 08/28/2012 01:03 PM, Ellery Newcomer wrote:
>> On 08/28/2012 09:55 AM, Regan Heath wrote:
>> > I searched the DMD sources, just in case the message "abnormal
>> > program termination" was DMD specific, and I found nothing. Then I
>> > searched all files and the string appears in the dmd.exe binary,
>> > making me suspect the compiler used to produce dmd.exe put it there,
>> > so perhaps there is a dmc option to disable it.
>>
>> maybe so
>>
>
> found it.
Where did you find that.. I still can't find the blasted thing :p
> void dmd_51d770(char* msg, char* title) {
> HANDLE handle;
> DWORD nchars;
> handle = GetStdHandle(STD_ERROR_HANDLE);
> if(handle == INVALID_HANDLE_VALUE ||
> WriteConsoleA(handle, msg, strlen(msg), &nchars, 0) == 0) {
> MessageBoxA(NULL, msg, title, MB_OK|MB_ICONHAND|MB_TASKMODAL);
> }
> }
>
>
> good old olly.
>
> Sorry to waste your time.
NP.
R
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the Digitalmars-d-learn
mailing list