🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #674

Re: MSC 7.0 windows debug mode and 'Cant read from device AUX'

#674
From: Rob Ryan
Date: Wed, 16 Dec 1992 13:59
21 lines
1307 bytes
In <1992Dec15.114345.8779@titan.inmos.co.uk> jeremy@cheetah.inmos.co.uk
(Jeremy Thorp) writes:

>I have NEVER got DebugOutput to work. TRACE (C++), and OutputDebugString
>work fine, but not DebugOutput. I am using DbWin.
>
>Could someone give me an example that is known to work (with configuration)?

The main thing is that you need a line in your .DEF file that says:

  IMPORTS		_DebugOutput=KERNEL._DebugOutput

Also, this is a Windows v3.1 routine, so it won't work if you have
Windows 3.0.  I'm not sure why this import is needed.  It is a documented
function of the Windows 3.1 API, so you really shouldn't need to do this,
but you do.  Also, the docs don't seem to reference to DBF_APPLICATION.
Perhaps they simply expect everyone to use TRACE().

-- 
 Rob Ryan
    rryan@panix.com
Technical Details
Message-ID: <1992Dec16.135938.21596@panix.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!panix!rryan
References: <RHARMON.92Dec10144328@triton.uucp> <1992Dec11.160246.3274@panix.com> <1992Dec15.114345.8779@titan.inmos.co.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!panix!rryan
From: rryan@panix.com (Rob Ryan)
Subject: Re: MSC 7.0 windows debug mode and 'Cant read from device AUX'
Message-ID: <1992Dec16.135938.21596@panix.com>
Date: Wed, 16 Dec 1992 13:59:38 GMT
Distribution: comp.os.ms-windows.programmer.tools
References: <RHARMON.92Dec10144328@triton.uucp> <1992Dec11.160246.3274@panix.com> <1992Dec15.114345.8779@titan.inmos.co.uk>
Organization: Panix, NYC
Lines: 21