[comp.windows.ms] Avoiding the Dreaded AUX Message

rpk@wheaties.ai.mit.edu (Robert Krajewski) (08/10/90)

Has anybody figured out a clever way to see if CodeView is running ?
If one could do so, it would be a lot easier to write debugging
code that didn't cause such a ruckus....
-- 
Robert P. Krajewski
Internet: rpk@ai.mit.edu ; Lotus: robert_krajewski.lotus@crd.dnet.lotus.com

rossh@umd5.umd.edu (Hollis "The Big Kahuna" Ross) (08/10/90)

In article <9806@rice-chex.ai.mit.edu> rpk@wheaties.ai.mit.edu (Robert Krajewski) writes:
>Has anybody figured out a clever way to see if CodeView is running ?
>If one could do so, it would be a lot easier to write debugging
>code that didn't cause such a ruckus....
>-- 
>Robert P. Krajewski
>Internet: rpk@ai.mit.edu ; Lotus: robert_krajewski.lotus@crd.dnet.lotus.com

Assuming that you can't detect codeview, how about a flag, say 
something like: 

BOOL fCodeViewOn 

This is toggle TRUE/FALSE by a menu item.  Then you can use: 

	if (fCodeViewOn) 
		OutputDebugString("Debug Msg");

Hol