HDTenEightyP/NetNews huggingface dataset:
From: steve@cstr.ed.ac.uk (Steve Hiller)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Using the Windows 3.1 Timer
Date: 10 Nov 92 09:50:14 GMT
Organization: Centre for Speech Technology Research, Edinburgh University

I have a Windows 3.1 program which conducts a test with the user.
After the user answers a question, the system prints out CORRECT or
INCORRECT and then pauses for a couple of secs before going onto the
next question. I want my program to accept no input during the pause.
The only way I have found to do this thus far is to use the function
difftime() in a loop waiting for the correct time difference. Is there
a so-called proper way of doing this in Windows?

Thanks.
From: yfwu@Uz.nthu.edu.tw (EE U780935)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: VB: I am looking for someone.
Date: 6 Nov 92 09:14:56 GMT
Organization: National Tsing Hua University (HsinChu)

Hello! 
Two persons here e-mail to me that they need some free Visual Basic Custom
Controls. But I lost their personal data because of mail system crash.

If you were the man I am looking for, please e-mail me again. Thanks!

--
===============================================================================
 Yuh-Fuu Wu                                      National Tsing-Hua University
 e-mail: yfwu@uz.nthu.edu.tw                     Dept. of Electric Engineering
                                                 Hsin-Chu City, 300
 Like MS Visual Basic most!                      Taiwan, ROC
===============================================================================
Newsgroups: comp.os.ms-windows.programmer.misc
From: boba@miki.pictel.com (Bob Alexander)
Subject: Why am I out of memory?
Organization: PictureTel Corporation
Date: Fri, 6 Nov 1992 21:53:19 GMT


Hi,

I've developed a windows application and I just noticed that, when it
is running, I can not run any other applications.  If I try, I get an
"Insufficient memory error."

According to WMEM.EXE (an unsupported Microsoft application) I have
46K free in my GDI heap, 49K free in the User heap, 7000+ free selectors,
11M of free linear memory (which includes virtual memory) and 638K of
free physical memory.

Can anyone tell me what I'm missing?

Thanks,

     Bob Alexander                                     boba@pictel.com
     -----------------------------------------------------------------
     Organizations don't have opinions; people do.  The above opinions
     do not reflect those of the directors, stockholders, managers, or
     other employees of PictureTel.

Newsgroups: comp.os.ms-windows.programmer.misc
From: mikael@udac.uu.se (Mikael Lundgren)
Subject: Printing problems, (HP-PaintJet).
Keywords: Printer, win31, HP-PaintJet
Organization: UDAC, Uppsala University, Sweden
Date: Tue, 10 Nov 1992 11:19:55 GMT

From: mikael@udac.uu.se (Mikael Lundgren)
Subject: Printing problems, (HP-PaintJet).
Keywords: Printer, win31, HP-PaintJet
Date: Mon, 9 Nov 1992 20:54:21 GMT

I am having a problem that is driving me nuts! I have been working with this 
problem for several days now...

I am trying to write some code that allows an application to print text to 
a printer. As long as I am writing to the laser printer (PostScript) I 
encounter no problems, everything works smoothly. But, when I try to write
to a HP-PaintJet everything works on the first page then from the second 
page on all output goes to the very first line of page 2 (a very black 
line!).

I am using the new win3.1 functions instead of the old escape codes.
A StartDoc() & StartPage() at the beginning of the document 
an EndPage() & StartPage() pair to go to the next page
and EndPage() & EndDoc() to end the document.

The program is written using Glockenspiel C++ and CommonView although the
printing code itself is written i rather standard windows code.

I have tried different things to make the printing work, the most successful 
has been to print on a landscape oriented page rather than on a portrait 
oriented one with such a setting printing works! The problem is that it is 
very slow and it is not enough :-(
I also had suspicions about the printer driver, but a test using Notepad 
did not encounter my problem.

I have looked at Microsofts printing exemples that came with SDK (or was it 
MSC7.0) the trouble is that even thoug the documentation says that I should 
use the new functions, the sample code does not.

I am now out of ideas (save using banding, could that be the answer? We 
have other programs that print on that same printer that are successful 
without having to use banding though), if someone could give me a hint in 
some useful direction it would be a big help.

Any hints?   Thanks !

Ciao /Mikael
Newsgroups: comp.os.ms-windows.programmer.misc
From: mark@ocsmd.ocs.com (Mark Wilson)
Subject: Compiling under Windows
Organization: Online Computer Systems, Inc.  Germantown, Md., 20874
X-Newsreader: Tin 1.1 PL5
Date: Mon, 9 Nov 1992 13:40:59 GMT

--
After writing my FIRST (like, "Hello"!) program for Windows,
I found I couldn't get it to compile either in PWB or in a
DR-DOS window.  If I exited Windows and ran the same batch file
I had attempted to run in the DR-DOS window, it worked fine.
(Error message was, I believe. "DOSX32: cannot initialize device
VPFD.386".... from memory, might not be EXACT.)

I have a 386-25 w/ 4MB of memory.  Is this simply not enough to
compile while running Windows?  Or is there something I'm missing
with regard to my DOSPRMPT.PIF settings, or the phases of the moon,
or...

Please email me!  Thanks...

--
-------------------------------------------------------------------------------
Mark Wilson, Online Computer Systems.  1-800-922-9204 or 1-301-601-2215
This file .disclaims everything signed with my .signature, I .mean it!
-------------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.misc
From: mark@ocsmd.ocs.com (Mark Wilson)
Subject: Re: Compiling under Windows
Organization: Online Computer Systems, Inc.  Germantown, Md., 20874
X-Newsreader: Tin 1.1 PL5
Date: Thu, 12 Nov 1992 13:43:01 GMT

--
HELP!  This is still a problem...
would a PIF file which calls my compile batch file help me out?

Any assistance would be most HUMBLY appreciated... calls are OK!
--
-------------------------------------------------------------------------------
Mark Wilson, Online Computer Systems.  1-800-922-9204 or 1-301-601-2215
This file .disclaims everything signed with my .signature, I .mean it!
-------------------------------------------------------------------------------
From: tom@castlab.uucp (Tom Wuttke)
Subject: Selling Borland C++3.1 (for DOS & WIndows 3.1), asking $200 
Organization: U of Wisconsin-Madison College of Engineering
Date: 13 Nov 92 04:49:34 CST

I know this group isn't for selling, but I noticed a lot of people here
are either using BC++3.1, or asking about good Windows development tools.

First of all, forget the SDK, it isn't that great.  All you need is this
compiler and a few books you can get at any bookstore.  Plus, this
compiler has all the Windows stuff online anyway with formatted text
and examples.  And the resource editor is way better than anything I've
seen Microsoft produce.  

I posted this twice already to misc.forsale, but here is one more notice
for anyone who might have missed it.  

What am I selling?
The best (my opinion) compiler for any IBM PC, Borland C++ 3.1 for 
Windows 3.1 and DOS.  This is a complete package including C++, an 
object oriented assembler, debugger, and code profiler.  No, it does not 
have the application frameworks class libraries, sorry, but it does have 
all the stuff you need to make really slick DOS or Windows programs.  
If you want to know more, read reviews about it, or email me.  It 
comes with all 9 manuals (still in wrapping) and 15 high density 5.25" 
diskettes, and all the warranty registration stuff.

NOTE - If you want the application frameworks, there is an offer card 
included to get it from Borland directly for $199 extra.

What am I asking?
Borland's list prices are as follows:
BC++3.1 AND Application Frameworks  $795
BC++3.1 (What I'm selling)  $495
BC++3.1 upgrade from 3.0   $99 or $199, I forget which.
BC++3.1 Application Frameworks Upgrade to BC++3.1  $199

A local discount software store is currently charging $350.
I would like to get $200, but I will consider any other offers.

Why am I selling this?
I ordered Borland C++3.1 with my PC a long time ago, and it finally 
arrived a few weeks ago, long after I broke down and bought it in a 
store.  It IS the latest version, with all the manuals and registration 
cards and disks unopened.  I use this product (my copy) all the time, 
and it is worth every penny and then some.  It takes away most of the 
frustration of programming with PCs and Windows.  I have an extra 
copy, and was hoping someone out there was about to buy this 
program anyway, and would like to get a deal.

Is there anybody out there looking for a good C++ compiler?

If anyone who previously mailed me is still interested, please mail me 
again, a lot of that mail got deleted.

- Tom
From: hjohar@rnd.GBA.NYU.EDU (Hardeep Johar)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Turbo C++ Applications Development Framework.
Date: 12 Nov 92 15:42:58 GMT
Organization: NYU Stern School of Business

I'm planning on buying Turbo C++ 3.1 and was wondering whether the
Applications development framework was worth spending an additional
$200. Could someone tell me what the ADF does? Does it provide support
similar to what you get in visual basic? Is it a windows programming
tool or is it generic for borland C++?

Any information on what the ADF does would be appreciated. I need to
develop a fairly heavy duty application and am not looking forward to
writing oodles of code for creating windows for the interface. I am
willing to summarize all the information I get (pros, cons, bugs,
features).

Reply to hjohar@stern.nyu.edu

Thanks.

Hardeep.

-- 
************************         Nothing nifty in this .sig because
Hardeep Johar                    the NEA refused my request for a
hjohar@rnd.stern.nyu.edu         signature development grant.
Newsgroups: comp.os.ms-windows.programmer.misc
From: dab@atlanta.dg.com (David A Busse)
Subject: Audio CD question
Date: Wed, 11 Nov 92 13:11:20 GMT
Organization: Data General Corp. SIS, Atlanta, GA

I'm new to multimedia programming, so you'll have to forgive me if this is
a faq.  Is there a way that a program can identify an audio CD as a 
particular audio CD?  For example, does an audio CD have a serial number
or UPC number that a program can read?

If so, how do you read it?

Thanks!

Dave


-- 
Dave Busse                             e-mail (work): dab@atlanta.dg.com
Systems Integration Services         e-mail (school): dab@cc.gatech.edu 
Data General Corp, Norcross, Ga          Voice Phone: (404)448-6072
DISCLAIMER: Standard disclaimers apply.
Newsgroups: comp.os.ms-windows.programmer.misc
From: cwvernon@cayley.uwaterloo.ca (C. Vernon)
Subject: Re: Changing Window's focus: possible?
Organization: University of Waterloo
Date: Sun, 8 Nov 1992 16:02:13 GMT

In article <6NOV199207570849@zeus.tamu.edu> sam4628@zeus.tamu.edu writes:
>P.S.  I typed in the HELLOWIN example out of Petzold (using BC++) and got
>it to work with minor mods.  However, I get a warning that I'm trying to
>export a non-public function when I include my window proc in the EXPORT
>line of the DEF file.  Any suggestions?

Did you use the "_export" keyword when defining your functions like:

long FAR PASCAL _export WndProc...

Also, Borland C++ does not need an export section in the .def file.
From: jonmac@cs.uq.oz.au (John McCormack)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: BORDLG class dialog boxes
Summary: problems with bordlg style dialog boxes
Keywords: borland mswindows dialog
Date: 9 Nov 92 04:38:14 GMT
Reply-To: jonmac@cs.uq.oz.au

I've created a number of dialog boxes using Borlands BORDLG style
in the resource workbench. They work fine on my system ( which has
all of the borland stuff included ) but when I move the application
to a machine which doesnt have Borland C++ installed, the dialog boxes 
won't come up. I assume the problem has something to do with windows
being unable to find the BORDLG style ( ?? missing DLL ?? ). I've included
the BWCC.DLL with the app and it still doesnt work. Any ideas would be
appreciated!

Thanks,


Jon.

jonmac@cs.uq.oz.au

--
  _-_|\      jonmac@cs.uq.oz.au           / If anyone can think of anything 
 /     * <-- Computer Science Department,/
 \_.-._/     University of Queensland,  /witty to say here, please mail me! 
      v      Brisbane, Australia.      /
Newsgroups: comp.os.ms-windows.programmer.misc
From: lcsmith@nyx.cs.du.edu (Lindsey Smith)
Subject: Re: Borland Resource Workshop - Problem with bitmapped resources
X-Disclaimer: Nyx is a public access Unix system run by the University
	of Denver for the Denver community.  The University has neither
	control over nor responsibility for the opinions of users.
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
Date: Sun, 8 Nov 92 11:58:53 GMT

>    I have also had the same thing happen to me.  I have found a
>of getting the screen to redraw is by resizing the bitmap.  My c
>a 486/33,340M HD, 8M RAM, ATI Ultra with drivers dated 4/22/92,W
>4DOS 4.0 running on DOS 5.0, Award BIOS.
>
>   Any other ATI Ultra users seen this?  Maybe it is a driver pr

I have an ATI Ultra and the same problem.  Does anyone _not_ have an Ultra
but have the (really annoying) window-goes-bonkers problem?

Lindsey
lindsey@max.ee.lsu.edu
From: dpn2@po.CWRU.Edu (Damien P. Neil)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Linker cannot find functions in <process.h> - help!
Date: Thu, 12 Nov 1992 16:20:02 GMT
Organization: Case Western Reserve University
NNTP-Posting-Host: b63519.student.cwru.edu

In article <15908@goanna.cs.rmit.oz.au> s892031@yallara.cs.rmit.OZ.AU (Pumpkin Power) writes:
>I am currently writing a windows program using Borland C++, 3.1.
>I am trying to use the functions system(), execl() or similar, but during
>linking I keep getting the error "undefined symbol _system() in module ..."

The system() function does not exist in Windows.

>On a similar note, WinExec() fails to find what I am trying to execute if
>I include a full path name such as "C:\stuff\test.exe", but if I simply
>provide it with "test.exe", and c:\stuff is in the path it finds and
>executes it no problems (the full pathname returns error 2, file not found).

Try "C:\\stuff\\test.exe" or "C:/stuff/test.exe". (I don't know if the 
latter works in Windows, but I think Borland's functions will accept the 
forward slash.)

Hope this helps!
+-------------+------------------+---------------------------------+
| Damien Neil | dpn2@po.cwru.edu | Case Western Reserve University |
+-------------+------------------+---------------------------------+
Newsgroups: comp.os.ms-windows.programmer.misc
From: gthkoh@ntuix.ntu.ac.sg (Koh Thong Hwee)
Subject: BC++ Container Class Problem
Organization: Nanyang Technological University - Singapore
X-Newsreader: TIN [version 1.1 PL6]
Date: Thu, 12 Nov 1992 06:36:52 GMT


Hi C++ gurus,

Does anyone know of a good book that teaches how to use the Borland Container
Class, especially on the new BIDS template class.  The documentation that
comes with the BC++ 3.0 package is very poor on this for a beginner like
me.  I would like to see more examples on how to use it...

In particular, I would like to know how to use the link list to store
disparate objects.  I can use the indirect storage method of storing their
pointers instead.  However I need to declare the type T for the link list
template class and how do I declare it for storing the different pointer types
to the many different kinds of objects? 

Any help is most welcomed...


TH Koh
gthkoh@ntuix.ntu.ac.sg

Newsgroups: comp.os.ms-windows.programmer.misc
From: arshad@cs.uwa.oz.au (Arshad OMARI)
Subject: KILLING tasks from VB ?
Summary: How do i kill a DOS shell from VB
Organization: Dept. Computer Science, University of Western Australia.
Date: Fri, 6 Nov 1992 04:09:37 GMT

I have written a VB program which executes a DOS program in a window. 

How can I kill the task from VB ?


Arshad
Newsgroups: comp.os.ms-windows.programmer.misc
From: scott@unixland.natick.ma.us (Scott Evernden)
Subject: Re: Borland Resource Workshop - Problem with bitmapped resources
Organization: Unixland Public Access Unix & Think_Tank BBS
Date: Sun, 8 Nov 1992 19:18:20 GMT

In article <1992Nov7.215935.28946@porthos.cc.bellcore.com> andys@rruxc.uucp (25651-say) writes:
>In article <4109@bcstec.ca.boeing.com> sjm2458@bcstec.ca.boeing.com (Steve McCarthy) writes:
>>
>>  Whenever I click the mouse in the color pallate window to change the
>>foreground or background color, the entire window gets painted over with
>>a red color
>    I have also had the same thing happen to me.  I have found another way
>
>   Any other ATI Ultra users seen this?  Maybe it is a driver problem??

Yep.  Exact same problem with my Ultra and Sep92 drivers.

-scott

----
GrayMatter Software Co.              Holliston, MA   508 429-7867
scott@unixland.natick.ma.us    scott@opl.com    spe@world.std.com
user interface and application development technologies and tools
From: ae302@cleveland.Freenet.Edu (Peter Haller)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Borland Resource Workshop - Problem with bitmapped resources
Date: 9 Nov 1992 04:47:54 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: ae302@cleveland.Freenet.Edu (Peter Haller)
NNTP-Posting-Host: slc10.ins.cwru.edu


In a previous article, lcsmith@nyx.cs.du.edu (Lindsey Smith) says:

>>    I have also had the same thing happen to me.  I have found a
>>of getting the screen to redraw is by resizing the bitmap.  My c
>>a 486/33,340M HD, 8M RAM, ATI Ultra with drivers dated 4/22/92,W
>>4DOS 4.0 running on DOS 5.0, Award BIOS.
>>
>>   Any other ATI Ultra users seen this?  Maybe it is a driver pr
>
>I have an ATI Ultra and the same problem.  Does anyone _not_ have an Ultra
>but have the (really annoying) window-goes-bonkers problem?
>
>Lindsey
>lindsey@max.ee.lsu.edu
>
>
Borland has released a fix for this problem with the ATI card. It
is available on Compuserve and Borland's BBS.

PCH
-- 
Peter C. Haller                         |       'If you do what you
Lorain Products                         |       have always done,
ae302@cleveland.Freenet.Edu             |       expect what you have
"Are we having fun yet?"                |       always received.'
Newsgroups: comp.os.ms-windows.programmer.misc
From: yfwu@Uz.nthu.edu.tw (EE U780935)
Subject: Re: Commandline in VB?
Organization: National Tsing Hua University (HsinChu)
Date: Thu, 5 Nov 1992 07:02:38 GMT

: Is there a way to find out from what path
: my program is starting and what's the path
: windows is installed.
After your program starts, the statement CurDir$ spicfies the directory of
your program.
Use API function GetWindowsDirectory to get the directory of MS-Windows.

: And another question is how to pass parameters
: to a VB program (or better how to read them in
: the program)?
You can add parameters after the VB file name. For example:
VB_Prog /L:10 /B:25

In the program VB_Prog.EXE, you can get the parameters by using the statement
Command$. In this example, Command$ = "/L:10 /B:25"
--
===============================================================================
 Yuh-Fuu Wu                                      National Tsing-Hua University
 e-mail: yfwu@uz.nthu.edu.tw                     Dept. of Electric Engineering
         yfwu@well.ee.nthu.edu.tw                Hsin-Chu City, 300
 Like MS Visual Basic most!                      Taiwan, ROC
===============================================================================
From: kelfink@ecst.csuchico.edu (Kevin Fries)
Newsgroups: comp.os.ms-windows.programmer.misc,
Subject: VB and other tools with large DB
Date: 11 Nov 1992 19:00:43 GMT
Organization: California State University, Chico
Distribution: world
NNTP-Posting-Host: cscihp.ecst.csuchico.edu
Keywords: VB, ORACLE, SYBASE


I recently bought Visual Basic 1.0, and I will most likely upgrade to 
v 2.0.   But I am more interested in VB's behavior with large projects.
We're developing a largew database system with Oracle (and soon,
Sybase),  which has approximately 180 windows!  Each is a dialog with
significant validation and tools.  Our current version is developed
using PowerBuilder 2.0, by Powersoft.  Although we aren't pleased with
the speed it operates at, it does at least have the expandability to let
us have all the windows we want.

	So my question is:  How 'interpreted' is VB, how large can
applications be, and how well does it operate using databases like
Oracle and Sybase?   Can anyone recommend better tools?  

	Someone previously recommended a CASE tool provided with Quick C,
 but I have lost the reference.  Perhaps someone is familiar with it?

	Thanks all,

	Kevin Fries
	(kelfink@cscihp.ecst.csuchico.edu)
Organization: SAS Institute Inc.
Date: Thursday, 5 Nov 1992 09:08:42 EDT
From: <SASTPH@vm.sas.com>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Boldface Stock Fonts?

In article <1992Nov4.222139.19762@ods.com>, scott@ods.com (Scott Harper) says:
>
>Is there a way to make one of the stock fonts take on
>a BOLD attribute (ala the LOGFONT structure, lfWeight = FW_BOLD)?
>
Windows can deliver BOLD versions of the standard fonts.  Just ask for
a bold weight (FW_BOLD) when you call CreateFont.  Note that the default
font for dialog boxes is Helv 8 Bold.
From: FR5641A@auvm.american.edu (Fadi A. Rabie)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: where can i get information about BICs operating systsm
Date: 12 Nov 92 22:42:16 GMT
Organization: The American University - University Computing Center


 I would appreciate if anyone could tell me if I could get any information
  about this operating system.  I live in Washington D C.  I woul be gratefull
  for any information



please reply
thank you
Newsgroups: comp.os.ms-windows.programmer.misc
From: hpv@kelvin.uio.no (Hans Peter Verne)
Subject: Detecting Windows ?
Organization: University of Oslo, Norway
Date: Tue, 10 Nov 1992 15:24:26 GMT


I'm writing this for a friend who doesn't have access to the net, poor soul.
Please reply by mail, I'll post a follow-up (if I get any replies...).

Does anyone know a reliable way to determine if windows (tm) is running,
and under which mode, from a standard dos program ?

I've tried the int2F,1600 function, but to no awail.

Greetings,
Hans Peter ( hpv@ulrik.uio.no )
From: heathh@cco.caltech.edu (Heath Ian Hunnicutt)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: CTRL-Z Illegal accelerator key in Borland RW 3.1?
Date: 6 Nov 1992 15:13:50 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu
Keywords: resource workshop

trepe00@DMI.USherb.CA (ERIC TREPANIER) writes:

>>[Someone else can't get Ctrl-Z to work as an accelerator when using
>>	Borland Resource Workshop 3.1]

>Possibly, this is because Windows 3.1 now uses some CTRL key combinations
>for Cut & Pasting (ala Mac).  Have a look at the Edit menu in notepad v3.1,
>I think the CTRL-V / X / Z are used for Cut / Copy / Paste operations.

>I suppose Resource Workshop knows about this, so it won't allow you to
>use these key combinations.

	I think Eric's right, the Workshop won't let you override
Windows standard keystrokes.  As a sidenote, the new Ctrl combinations
with 3.1 are:
	Ctrl+Z	Undo
	Ctrl+X	Cut
	Ctrl+C	Copy
	Ctrl+V	Paste

	Ctrl-N	New
	Ctrl-O	Open
	Ctrl-P	Print
	Ctrl-S	Save
	
	Ctrl-B	Bold
	Ctrl-I	Italic
	Ctrl-U	Underline

There ya go,
Heath

-- 
--
From the Home for Amnesiac Computer Scientists....
  heathh@cco.caltech.edu

Newsgroups: comp.os.ms-windows.programmer.misc,alt.lang.basic