HDTenEightyP/NetNews huggingface dataset:
From: artoinas@phoenix.oulu.fi.oulu.fi (Arto Oinas)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: TDW to support Trident
Date: 11 Jan 93 16:25:38 GMT
Organization: University of Oulu, Finland
X-Newsreader: TIN [version 1.1 PL6]


Does anybody know whether there is available a dll which makes TDW - Turbo
Debugger for Windows to support Trident - graphics device.

According the TDW manual there should be one, where ? I mean, is that availab-
le somewhere in Internet.

Arto Oinas
Newsgroups: comp.os.ms-windows.programmer.misc
From: fwbent@watmsg.uwaterloo.ca (Fred Bent)
Subject: Re: Why does my mouse crash when I use Win 3.1 Debugging Verion?
Organization: University of Waterloo
Date: Thu, 7 Jan 1993 15:53:30 GMT

In article <1igmbfINN87o@gap.caltech.edu> jkubicky@cco.caltech.edu (Joseph J. Kubicky) writes:
>
>I just tried to use the debugging version of 3.1 (Enhanced) for the first
>time.  It starts up ok, and identifies itself as the debugging version,
>but my mouse only responds until the big prog manager window opens up -
>as soon as this window is opened, the mouse dies right where it is (but
>continues to switch between hourglass, pointer, etc.).  Has anyone else
>had this problem?  Can I fix it.

Is your mouse on Com1?  If so you will have to tell debugging windows
not to use COM1 for the AUX device output ...  Or move you mouse
to COM2.


>
>Oh, my mouse is a Logitech Serial (type C7).  Works fine under no-debugging
>version of 3.1.
>
>
>Thanks,
>
>Jay Kubicky
>jkubicky@cco.caltech.edu
>


Newsgroups: comp.os.ms-windows.programmer.misc
From: vorwerk@cs.utwente.nl (Manfred Vorwerk)
Subject: CDBW.ZIP database toolbox for WINDOWS
Keywords: database toolbox, windows
Organization: University of Twente, Dept. of Computer Science
Date: Wed, 6 Jan 1993 12:52:13 GMT

Recently I noticed a sophisticated database toolkit for Microsoft Windows
programmers on FTP.CICA.INDIANA.EDU, it's called CDB for Windows.

Everything I've read sofar sounds great. There is only one little question that
keeps coming to my head:

	"What's the catch?"

It seems to me that there are a number of possibilities:

	1) Only a limited number of tables can be referenced
	2) Only a limited number of records (per table) can be stored
	3) Limited time to evaluate toolkit


Can somebody please tell me something about this toolkit? 
If you wish you can E-Mail me, I'll summerize.

Manfred Vorwerk
From: rhoda@sybase.com (Rhoda Neimand)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: How do you get enviroment variables?
Date: 6 Jan 93 22:59:59 GMT
Organization: Sybase, Inc.

In article <1993Jan3.194240.11140@exucom.com> bobw@exucom.com (Bob Willer) writes:
>How do you get the enviroment variables that are used by the system
>with the SET command ie. in the autoexec.bat file ?
>
>Bob Willer

Try GetDOSEnvironment(), a windows sdk routine.  There is an article in
the windows knowledgbase titled "Retrieving DOS Environment Variables
from a Windows DLL" that shows GetDOSEnvironment() in action.  Altho,
it's not too tough and can be figured out from the sdk online help or
ref manual.


--
Rhoda Neimand			                [I speak for myself]
{sun,lll-tis,pyramid,pacbell}!sybase!rhoda -or- rhoda@sybase.com
"I didn't want to, Jim"		Mr. Spock in _This Side Of Paradise_
Newsgroups: comp.os.ms-windows.programmer.misc
From: fmouse@wixer.cactus.org (Lindsay Haisley)
Subject: Re: HELP!!!!!
Organization: Real/Time Communications
Date: Tue, 12 Jan 93 01:49:02 GMT

You're far more likely to get a response from Microsoft on CIS than on this
newsgroup.  I've never seen a posting from MS here.
-- 
"Everything works if you let it"    |                Lindsay Haisley
-- The Roadie                       |            fmouse@wixer.cactus.org
		                    |                    * * * *
	                            |               Austin, Texas, USA
Newsgroups: comp.os.ms-windows.programmer.misc
From: gbrandt@muug.mb.ca (Gregor Brandt)
Subject: timer resolution
Summary: HELP ME
Keywords: timer ms
Organization: Manitoba Unix User Group, Winnipeg, Manitoba, Canada
Date: Tue, 12 Jan 1993 22:11:48 GMT

I need help with the windows timer resolution.   Petzold says its limited
to the PC clock resolution, which appears to be true.  I however need
something more accurate, in the range of 5 ro 15ms.  Can anybody help
me?
 
Gregor
From: jagrant@emr1.emr.ca (John Grant)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: how to convert (C,M,Y) colours to (R,G,B)?
Date: 12 Jan 93 23:26:30 GMT
Organization: Energy, Mines, and Resources, Ottawa

In article <1993Jan11.221759.7441@sierra.com> paul@sierra.com (Paul Stratton) writes:
>In article <1993Jan7.211624.27277@emr1.emr.ca> jagrant@emr1.emr.ca (John Grant) writes:
[stuff deleted]
>
>It really is simple.  For example if your CMY is in the range of 0 - 255
>and you have a CMY value of (4, 195, 80) then the RGB value is
>
>	255 - 4
>	255 - 195
>	255 - 80
>
>The only problem is I can't remember which CMY go with which RGB!  I haven't
>done this in a while.
	Yeah, I found it already:
		R=1-C
		G=1-M
		B=1-Y
	assuming that all of r,g,b,c,m,y are [0,1] range.
	or:
		R=255-C
		G=255-M
		B=255-Y
	assuming all are [0,255].  This makes sense since
	(c,m,y)=(0,0,0) is white (i.e. no paint on paper) and white
	is also (r,g,b)=(255,255,255), i.e. all guns turned on,
	summing to white.
-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Automatic data segment exceeds 64K 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Fri, 8 Jan 1993 19:13:39 +0000

In article <C0IGp6.777@world.std.com> pbreen@world.std.com writes:

>"Jeffrey P. Overcash" <p00090@mail.psi.net> writes:
>
> [ stuff deleted]
>If these don't help, the space is probably being taken up by a few static
>arrays or structures.  If it is possible to change these to be allocated
>from the heap, the problem may go away.  If it is not possible to allocate
>them from the heap, you can force them to be put into a far segment by
>including the _far keyword in the declaration - for instance 
>
>static long _far LargeArray[1000] = { 1, 2, ... 1000, };
>
>The one thing to watch for with this is that by default, Borland will
>create a new far segment for each declaration of this type.  There is a
>compile switch (and a #pragma) that force them all into the same far
>segment but I forget what the switch is.
>
>Hope this helps,
>
>Patrick Breen
>

The problem with doing this, though, is that the presence of FAR data makes
the application single instance only.  There's no way around this.

If you have global arrays, it's better to replace it with a global pointer,
and "GlobalAlloc" the actual memory.  If you need to store lots of static
data for initialization, store it in the resource file and read it in at
run-time.
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Newsgroups: comp.os.ms-windows.programmer.misc
From: blakeco@microsoft.com (Blake Coverett)
Subject: Re: Mail-enabled app programming using a Windows API
Date: 05 Jan 93 05:40:14 GMT
Organization: Microsoft Canada Inc.

In article <1993Jan4.162324.22451@ulci20.unil.ch> mike@ulinf0.unil.ch (Michael Bloch) writes:
>I am currently looking for information on the programming of a mail-enabled
>application running under Windows. I plan to use the Mail API of one of
>the three packages : MS-Mail, Lotus cc:Mail or DaVinci Mail.

For obvious reasons I can't speak for cc:Mail or DaVinci, but for Microsoft
Mail it is a breeze.

>Do you have any experience with such programming ? I would like to
>call the mail routines from a program written in Turbo Pascal for Windows.
>Another special requirement is that I would like my app to send documents
>with embedded documents (e.g. Word, Excel) in it.

Examples come for C and VB, but WordBasic and Excel Macro solutions are
also included.  Basically if you can call a DLL from some enviroment
then you can be mail enabled.

>I am looking for any experience to know if it is possible (first:-), which
>tools you used, which documentation, what are the special developer's
>packages, ...

The documentation and sample code come with Mail 3.0, the runtime (MAPI.DLL)
is a core part of each Mail 3.0 or Windows for Workgroups product.  I have
used both C++ and VB.  For TPW you will need to translate the .h or .txt
files but that's not uncommon.

-Blake
-- 
#include <std/disclaimer.h>                       blakeco@microsoft.com
Mail Flames, Post Apologies.                      ...!uunet!microsoft!blakeco
Organization: Computing Technology Services, Michigan Technological Univ.
Date: Friday, 8 Jan 1993 10:27:58 EST
From: <TMVANDER@MTUS5.BITNET>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject:    PASCAL

I'm new to this programming in windows, and I'm curious as to why WinMain
is alwasy declared as a PASCAL calling sequence.  Please e-mail me.
      - Todd Vander Woude
--
tmvander@major.cs.mtu.edu
From: j0l6569@tamsun.tamu.edu (Kenneth Lee)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: How to change the title bar color
Date: 12 Jan 1993 18:52:35 -0600
Organization: Texas A&M University, College Station, TX
Distribution: world
NNTP-Posting-Host: tamsun.tamu.edu

Hi windows gurus,

Could someone tell me how to make an inactive window have a titlebar in active
color?
please email me, 'cause I don't read news frequently.
Thanks a lot.

Ken
Newsgroups: comp.os.ms-windows.programmer.misc
From: mmccarri@physics.ucla.edu (Mike McCarrick)
Subject: How do I rotate text or a bitmap?
Organization: UCLA Department of Physics
Date: Thu, 7 Jan 93 21:19:26 GMT

I could rotate a bitmap pixel by pixel, but it seems like a
lot of work given the various color formats.  Is there an
easier (and faster) way?

Speaking of bitmaps, I am drawing a large, multi-color bitmap
(a frequeny-time spectrogram) using the Rectangle() function
to fill in each df dt block.  This also seems like too much 
work since I have to create a pen and a brush with the desired
color, select these objects, draw the rectangle, and then delete
both objects.  This is repeated 100,000 times or so and is very
slow.  I experimented with the SetPixel() function instead, but
it is even slower!  Also, SetPixel() will not dither the color
if I am running on a paletteless display.  Any suggestions?

Thanks,
-Mike-
-- 
Dr. Michael McCarrick                   UCLA Department of Physics
Plasma Physics Lab                              405 Hilgard Avenue
mmccarri@physics.ucla.edu                    Los Angeles, CA 90024
Newsgroups: comp.os.ms-windows.programmer.misc
From: DRPORTER@SUVM.SYR.EDU (Brad Porter)
Subject: Re: Screensaver wanted!
Organization: Syracuse University
Date: Wed, 6 Jan 93 15:36:53 EST

In article <1993Jan04.171924.22524@microsoft.com>
blakeco@microsoft.com (Blake Coverett) writes:
 
>
>In article <16B4A13B04.DRPORTER@SUVM.SYR.EDU> DRPORTER@SUVM.SYR.EDU (Brad Porter) writes:
>>Help!!!  Freeware or shareware that needs to be written!  Here's what's needed:
>>            A Windows screensaver, accessible through the Control Panel/Desktop
>>            area, that allows you to specify a program to run.  In other words,
>>            when I click setup I want to be able to input a command line just
>>            like when I click Run in the program manager.  There are numerous
>>            DOS screensavers, and I can write full-screen animations in VB,
>>            but none of these can be run through the Windows Screensaver
>>            area.  This can't be all that difficult to program if you're
>>            familiar with writing Windows screensavers, which I'm sure someone
>>            here is, but it would be invaluable in my opinion.
>
>It sounds like you have VB, in that case you can make screen savers directly
>as long as you know a couple of tricks.  Those .SCR files are really just
>Windows executables with a different name that obey a couple of standard rules.
>
>Make the module description "SCRNSAVE : Your Title Here".
>(In VB you do this by setting the Application Title when you make the .EXE)
>
>If your app is started with a "/s" switch display your saver.
>
>If your app is started with "/c" display your configuration dialog.
>
>Since you aren't using the SCRNSAVE.LIB that comes with the SDK you will
>need to manage exiting and passwords yourself.
>
>a section named [ScreenSaver.Your Title Here] in control.ini is the customary
>place to store your configuration info.
 
Wow, it works just as you said it would - and just as easily.  I'm continually
impressed with the power of Visual Basic.  It doesn't do everything, but it
does most of it.  One more question on this subject (for anyone):  Is there
an easy way to prevent Windows from spawning multiple Screensavers?  Or,
Is there an easy was to check and see if a copy of the program is already
running using VB commands?
                                        -Brad Porter
DRPORTER@SUVM
From: tope@enea.se (Tommy Petersson)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Calling C from VB--Debug??
Date: 5 Jan 93 15:14:32 GMT
Organization: Enea Data AB
X-Newsreader: Tin 1.1 PL3

yefchak@hplabsz.hpl.hp.com (George Yefchak) writes:
: I'm using Microsoft QuickC to write DLL's which I call from Visual
: Basic 2.0.  Is there a way to do source-level debugging in the C
: code after it's called from VB?  (Yes, I've already used the debugger
: from within QuickC by having a little main() routine call the DLL
: from C, but now that that worked I'm having problems getting VB to
: call it correctly, and I thought having the debugger alive might
: help.)
: Thanks,

Can you start VB from the debugger? I beleive that was what I did
a while back, when I worked with Microsoft C/C++ ver. 7, VB 1.0 and
CodeView as the debugger.

-- 
=============================================================================
 Tommy Petersson              tope@enea.se              Enea Data AB, Sweden
=============================================================================
Newsgroups: comp.os.ms-windows.programmer.misc
From: dj@ekcolor.ssd.kodak.com (Dave Jones)
Subject: Re: Drawing on a dialog
Organization: Morituri Te Salutent, Inc.
X-Newsreader: TIN [version 1.1 PL7]
Date: Mon, 11 Jan 93 16:36:12 GMT

If memory serves, the dialog window is not visible when you get 
WM_INITDIALOG.  Best way to give yourself a prod to do something unusual in 
a dialog is to use the WM_INITDIALOG as a cue to arrange for another message 
to be delivered later.  I've set up WM_TIMER messages myself, and there's no
reason why you can't post yourself a WM_USER.  Try playing with WM_PAINT: 
the dialog box will get it just like any other window does, but you'll have to
be careful to coordinate with the dialog's own repaint (if it has one).

There are other strategies like placing a static control behind all the 
others and just painting that.  You would probably have to subclass it
and intercept WM_PAINT.

--
||------------------------------------------------------------------------
||Dave Jones (dj@ekcolor.ssd.kodak.com)|Eastman Kodak Co. Rochester, NY  |
Newsgroups: comp.os.ms-windows.programmer.misc
From: steven@netcom.com (Steven Nelson)
Subject: Re: How to use OWL-runtime-library as DLL?
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Sat, 9 Jan 1993 08:40:47 GMT

In article <runehh.124.726553291@dhhalden.no> runehh@dhhalden.no (RUNE HALFDAN HOLST HUSEBY) writes:
>As the subject says, how do I use Borlands run-time libraries as DLL's?
>
>I set the the linker/libraries options to DYNAMIC on all, I include the 
>import-libraries (OWL.LIB, CRTLDLL.LIB, TCLASSDLL.LIB) in my project-file, 
>compile everything in large model, but still I get linker errors, 
>complaining about undefined symbols in my modules. 
>
>Have anyone out there did what I'm trying to do?
>If so please help me, I really need it!
>

Have you defined _CLASSDLL ? If not, this will cause many linker
problems.  I believe the application must also be compiled in the
large memory model.


steven@netcom.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: Use of STRICT def. in windows.h
Organization: Energy, Mines, and Resources, Ottawa
Distribution: comp
Date: Wed, 6 Jan 1993 22:16:07 GMT

In article <9301061117.PN20611@LL.MIT.EDU> khamsi@ll.mit.edu (Sarir Khamsi) writes:
>Yo,
>
>Does anyone know where I can find information on what the meaning of
>the
>
>#ifdef STRICT
>
>statements in the windows.h file is? Does this have anything to do w/
>NT, backward compatibility or what? Thanks in advance.

	Look at what it is doing in the windows.h file.  You can
	see it all there.

	Basically, without STRICT, all of those HWND, HCURSOR, HPEN,
	etc handles are just UINTs, so the compiler can't detect
	an error like:
		PAINTSTRUCT ps;
		HDC hdc;
		HWND hwnd;
		hwnd=BeginPaint(hdc,&ps);
	when you actually wanted to do:
		hdc=BeginPaint(hwnd,&ps);

	With STRICT, each handle type is defined as a pointer to a
	dummy struct (a different one is defined for each type of
	handle).  Now the compiler can check all arguments which
	now appear as pointers to specific structs.
-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Printing. How to make 11 pt come out... 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Fri, 8 Jan 1993 19:38:36 +0000

In article <1993Jan8.144922.3697@cis.ohio-state.edu> guzman@python.cis.ohio-state.edu writes:

>....looking like 11 pt regardless of the device onto which you are rendering
> the
>text?? I have a program that uses TT fonts for output (due to their scalabi-
>lity), but I am having to *manually* adjust the font size -when I CreateFont
>for the DC- depending on the output device (screen, printer).
>
>I am obviously missing something here. What??
>
>Thanks all
>        Jon -- guzman@cis.ohio-state.edu
>

If you have a device context handle, hDC, you can get 11-point text by
saying:

    nHeight = 11*GetDeviceCaps( hDC, LOGPIXELSY )/72;

then creating a font that's "nHeight" pixels high.  That's the standard
method.

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Newsgroups: comp.os.ms-windows.programmer.win32
From: nulkar@oct17.dfe.dec.com (Vinay Nulkar)
Subject: Vertical Refresh problem
Keywords: Refresh Sync
Organization: Digital Equipment Corporation - Santa Clara, CA
Date: Sat, 9 Jan 1993 00:33:35 GMT


  This message has also been posted to the Compuserv WINNT forum.

  I've had the July release running fine on the same hardware for the past many months. I'm
currently trying to upgrade to the Oct. Beta.

  I boot with the CD and the boot floppy. The "text" part of the installation proceeds
perfectly. When the "Windows NT Setup" graphical screen comes up, however, vertical bands
appear across the screen, and on the ms-window in the middle in particular. These bands don't
go away as the installation proceeds (even though the video is set to the generic IBM VGA
video). Installation completed, NT boots fine, but those bands appear when the NT banner
comes up. For example, when the login prompt window comes up, it has vertical bands in it,
through which you can see the underlying "flag" of the NT banner below. On logging in, the
problem continues with every window that comes up, rendering the screen unreadable after some
time. 

 I have Windows 3.1 under high resolution working fine on the same machine. 
  
 Any suggestions? Anyone seen this problem before? I would really appreciate any help!!!
 I still can't figure why the same machine/hardware running the July release would have
 a problem with the Oct. release.

 Hardware : Orchid Superboard 486
            ProDesigner IIs video adapter
            Adaptech 1542b controller
            Sony CD-541
            Nanao Flexscan 550i 17" monitor


Newsgroups: comp.os.ms-windows.programmer.win32
From: keith.p.madden.1@nd.edu (Keith Madden)
Subject: Can't run dos or win3.1 apps under NT
Keywords: NT DOS Win3.1
Organization: Notre Dame Rad Lab
Date: Wed, 6 Jan 1993 17:46:57 GMT

Hello all,
       I've completed an apparently successful installation of the 
October92 Windows NT system, but although the included applets run fine,
invoking any DOS or Win 3.1 application causes the following error window to
pop-up:
               ntvdm.exe - application error
               The instruction at "0x60615974" referenced memory
               at "0x00000000". The memory could not be written.
       The same problem occurs if I try to start WOWEXEC.  The value
of the first address changes but the second remains the same.
       The hardware specifics are:
               Zenith Z-386 SX ( 16 Mhz), 8 meg ram.
               3com Etherlink II /16 netowrk board.
               WD 212 meg IDE hard drive
               Plus Hardcard 105XL
               Exverex Evercom 2400 modem.
	I've tried the WNT002.zip fix on CI$, but it didn't help...
       Anybody have any ideas out there ???? Thanks!
	( Sorry about reposting this, but the header info was absent on the
original.)

Keith Madden
Notre Dame Radiation Laboratory
University of Notre Dame
Keith.P.Madden.1@nd.edu
Newsgroups: comp.os.ms-windows.programmer.win32
From: coffler@dbased.enet.dec.com (Jeff Coffler)
Subject: Backup under Windows NT
Reply-To: coffler@dbased.enet.dec.com (Jeff Coffler)
Organization: Digital Equipment Corporation, Nashua, NH
Date: Wed, 6 Jan 1993 16:22:16 GMT


I note that the supported hardware list only shows one tape drive (a DAT drive)
for SCSI tape backup.

I have a DAT tape drive (it's an HP drive), and it's not recognized as a valid
backup device.  The BACKUP program doesn't see it at all.

Is there anything that I can do to make the tape backup work?  If not, is there
anything like Sytos-Plus that will work with Windows/NT?

Thanks for any information ...
--
Jeff Coffler				TCP/IP: coffler@dbased.nuo.dec.com
Database Systems Engineering		DECnet: DBASED::COFFLER
Digital Equipment Corporation		Voice:  1-603-884-1351
Nashua, New Hampshire			FAX:    1-603-884-0829

                {Disclaimer: What I say is my personal opinion}
Newsgroups: comp.os.ms-windows.programmer.win32