HDTenEightyP/NetNews huggingface dataset:
Subject: Re: MS C++ ver. 7 Piece of Shit 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Tue, 15 Dec 1992 14:48:24 +0000

In article <BzA2sp.199@newsserver.technet.sg> ipser@solomon.technet.sg writes:

>So how come I don't encounter this problem under Borland C++? I use the
>ID and I've developed an application and two DLLs on which it depends.
>I can make changes to the DLLs or the the application and then run the
>application and test the results all within the same windows session.
>
>Is the above perhaps a "feature" of MSC++?
>

I develop DLL's using Microsoft C++ v7 in a Windows 3.1 DOS box, and have
no problems at all.  I find it to be a very productive environment.
When an application terminates, all the DLL's it uses should be unloaded
(unless they're being used by another program).
-- 
--------------------------------------------------------------------------
| 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: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Windows NT (again) 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Mon, 14 Dec 1992 19:04:12 +0000

In article <1992Dec14.162939.15024@ncar.ucar.edu> murf@spike.comet.ucar.edu writes:

>I really aprreciate the responses to my prevois question, however the
>answers have spawned two more:
>
>1) How do I get NT to recognize a non SCSI cd-rom once NT is installed
>and running?
>

You don't.  NT at the moment can be *installed* from non-SCSI CD-ROM drives,
but you can't access the CD-ROM from NT.  Apparently, CD-ROM drivers for
the SoundBlaster Pro CD should be along fairly soon, though.

>2) I have installed TCP/IP and it is working (at least telnet is).  Is
>it possible to configure NT so that it will allow telnet or ftp connections
>from other computers on our ethernet?
>

No.  NT comes with TCP/IP *client* software, but not the corresponding
servers.  Typically, on a UNIX system you run "daemon" programs called
"telnetd" and "ftpd" to allow other systems telnet and ftp access to your
machine.  No such programs are included with NT at the moment.

>Thanks!
>
>--
>John Murphy                     murf@comet.ucar.edu
>UCAR/COMET                      (303) 497-8494
>PO Box 3000
>Boulder CO 80307-3000
>

Hope this helps!
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
From: c188-cr@po.berkeley.edu (Chua Hak Lien)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: FAQ in text?
Date: 14 Dec 1992 23:41:04 GMT
Organization: University of California, at Berkeley
NNTP-Posting-Host: po.berkeley.edu

Could the keeper of the FAQ release in ASCII text format as well as in
Winhelp format? I think it'd be more convenient for a lot of people
who just want to print it out...

Thanks.

Chua
+==+

Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Subject: Re: Borland Custom Controls 
Distribution: world
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Mon, 14 Dec 1992 19:00:37 +0000

In article <3315@nlsun1.oracle.nl> gdsmith@nl.oracle.com writes:

>The bottom line is: where in the manuals is the use of BWCC.DLL
>mentioned or even the Borland Custom Controls. I seem to have looked
>everywhere, but can't find anything on the Borland Custom Controls.
>

It isn't in the manual at all, it's in "readme" files in the
\BORLANDC\WORKSHOP directory on your disk.  You should find three or
four files there with names like "bwccapi.doc", etc.

>Also, am I allowed to distribute BWCC.DLL with any applicatoins I write?
>

Yes.

>Thanks in advance,
>
>Geoff.
>

Hope this helps!

-- 
--------------------------------------------------------------------------
| 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: srao@quads.uchicago.edu (Shanta Rao)
Subject: controls in dialog boxes
Reply-To: srao@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Date: Wed, 16 Dec 1992 16:10:57 GMT

 Question: In a dialog box with several different type of controls like -
	   edit controls, radio buttons, list boxes, how does one find 
           out what the user might have choosen?

 As in other standard dialog(s), the only way to exit is by choosing "OK" or
 "CANCEL" buttons, at the beginning i was taking care of updating all the 
 fields in the dialog as soon as the user hits OK, but then i realised that
 (s)/he might not want to use all the fields in the dialog -- right? 

 I have tried the following: for a edit control type when the one tries to
 change the value (EN_CHANGE message) i set the flag, but apparently this flag 
 being set every time i enter the dialog -- why is this happening? 'm i missing
 something ? What should i do if user clicks in that region?
 
 Hope the problem is clear. If anybody have any ideas/ suggestions for this,
 please send me an e-mail

 Thanks 

bs/- 
-- 
-----------------------------------------------------------------------
srao@quads.uchicago.edu                                 _ . /|
                                                        \'o.O'
From: Kevin McIsaac <playboy@earwax.pd.uwa.edu.au>
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: TIFF reader src code?
Date: 16 Dec 1992 00:55:19 GMT
Organization: SysAdm
Distribution: world
NNTP-Posting-Host: u5.dialup.uwa.edu.au
X-UserAgent: Nuntius v1.1a2

Opps... My article was supposed to say that I've just downloaded a bunch
of files that claim to support reading a writing TIFF.  The files were on
Archie:Oak/pc/tiff.

Archie is an Australia mirror for other sites in the world.  These files
were taken from a site called oak.  

I started to look at the contents of the files and there is a library
called tiff.lib and tiffw.lib however  I did not find any documentation
for using these librarys.  I guess I have to read the code.   BTW, the
system is called TACS.  If anybody has documentation I'd really
appreciate recieving a copy
From: karlth@rhi.hi.is (Karl Thoroddsen)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Create buttons dynamically, how?
Date: 15 Dec 92 09:30:05 GMT
Distribution: comp

In <PS.92Dec14233706@kielo.uta.fi> ps@uta.fi (Pertti Suomela) writes:

>How can you create buttons dynamically? That is, how the application
>can decide during run-time the number and the positions of the buttons
>it wants to create? All the demonstration programs (BC++/AF/OWL) seem
>to have a fixed number of buttons. Some other button-like control
>could serve as well, as long I can create and destroy them
>dynamically.

Buy Charles Petzold's Programming Windows 2nd or 3rd edition and read chapter 6.
-- 

\ Internet: karlth@rhi.hi.is             \ Karl Thoroddsen University Of Iceland
 \ Respect...            , Peter Ustinov  \ Department Of Computer Science
From: kaneli@phantom.cs.hut.fi (Janne Saarela)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Problems calling a DLL function from a VB app. PLEASE HELP!
Date: 15 Dec 1992 15:55:59 GMT
Organization: Helsinki University of Technology, CS lab
Distribution: inet
Reply-To: Janne.Saarela@hut.fi
NNTP-Posting-Host: phantom.cs.hut.fi

In <1992Dec15.135809.5339@u.washington.edu> tvp@gibdo.engr.washington.edu writes:


>I rewrote the inside of my C source to compile it into a .dll file.
>Then I followed the instructions in the VB manuals to declare and call
>the function inside the DLL that was replacing the standalone C app I
>used to use under DOS. But when I hit F5 to test the VB app, and get
>to the part where I push the command button that will cause the DLL
>function to be called, it fails and tells me:

>          "Function or sub undefined"

>Does anyone know what's up and how I can fix it? I'M STUCK!

I had similar problems last summer. Here are possible solutions:

o make sure all the functions are defined with PASCAL -keyword
  and are exported with _export -keyword.
  (eg. int PASCAL _export function_to_be_called () )

o in case you are trying to call functions which are compiled in
  c++ -mode, you should include a header file which defines
  these functions with extern "C" -clause. (Borland C++ mungles the
  function names otherwise and therefore cannot be called from VB)
  (eg. extern "C" { int PASCAL function_to_be_called () })

Hope this helps.

--
Janne 'Kaneli' Saarela I Rytmih{iri|it{ jo I Dept. of Computer Science
Janne.Saarela@hut.fi   I vuodesta 1992     I Helsinki University of Tech.
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
From: rryan@panix.com (Rob Ryan)
Subject: Re: MFC and Borland IDE
Date: Fri, 18 Dec 1992 05:09:25 GMT
Organization: Panix, NYC

In <1992Dec16.194955.19597@kth.se> d88-jwa@dront.nada.kth.se (Jon Waette) writes:

>In <61589@aurs01.UUCP> lynch@aurs01.uucp (David Lynch) writes:
>
>I heard Borland was a better (easier?) framework than MFC.
>MFC is not an application framework worth the name, it's
>just a collection of loosely related classes and you need
>a LOT of extra work to do anything non-trivial in MFC.

I've heard this claim before, but having only used MFC I can't speak
authoritatively on OWL.  I know that developing non-trivial MFC apps
is not hard, but if OWL makes it a lot easier, I'd like to know.  Can
someone give examples of non-trivial things that are easy to do in 
OWL, but not easy to do in MFC?  I sort of like MFC's minimalist
approach and am not likely to abandon it for the overhead (and DDVTs)
of OWL unless it offers significant advantages.

-- 
 Rob Ryan
    rryan@panix.com
Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
From: wolf@web.b15.ingr.com (Wayne Wolf)
Subject: Query: Listbox, how to have horiz scroll but suppress vert scroll.
Keywords: Listbox, Scrollbars
Organization: Intergraph Corporation
Date: Wed, 16 Dec 1992 18:39:40 GMT



Fellow Windows controls hackers...  I needa somea guidance

I am trying to create a poor-man's multicolumn gadget in windows without 
having to resort to too much custom control business.  To do this, I
am sticking listboxes side by side, making the rightmost listbox vertscroll.
This works great and everything plays in tandem.  However, the problem
is that I need also horizontal scrolling in each field of the multi-column
gadget.  This works like a charm also, except that when a listbox is declared
horizontal scroll, it by default becomes vertical scroll as well.  The
bugger with this is that those darned vertical scrollbars now pop-up on the
other listboxes instead of just the rightmost one.  VERY UGLY.  

My question here is, does anyone have any thoughts on how to solve this,
still using listboxes instead of custom controls?  Ideally, I would
like a way to just tell the listbox not to display its vertical scrollbar
at any time, but as far as I can tell, there is no support for this 
functionality (anytime the box overfills, a scrollbar automagically pops
up, no ifs-ands-buts).  I realize the listbox's capability for multiple 
columns, but the functionality of this is much too limiting.

Of course, if anyone is willing to share code/design for a custom control
for a multicolumn gadget, this would be even better. :-)

..

Wayne Wolf
wolf@web.b15.ingr.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: cskerr@essex.ecn.uoknor.edu (Charles S Kerr)
Subject: Make a screen saver using BC++ 3.1?
Date: Thu, 17 Dec 1992 00:44:08 GMT
Organization: Engineering Computer Network, University of Oklahoma, Norman, OK, USA

I'm trying to find out if there is a way to custom-build a screen saver using
Borland C++ 3.1.  I know there is a library to facilitate this in MS-SDK, but
I don't own SDK and was wondering if there's a way to do it using Borland's
package.

Thanks,
Charles
Newsgroups: comp.os.ms-windows.programmer.misc
From: rioj7@fel.tno.nl (M.L.M.Veraart)
Subject: Re: Dialog boxes and Icons.
Organization: TNO Physics and Electronics Laboratory
Date: Thu, 17 Dec 92 16:14:35 GMT

stephan@idt.unit.no (Eirik Morten Stephansen) writes:


>I'm developing a Windows program with a dialog box as a main window.
>Further I have 2 additional dialog boxes which I want to be icons at
>startup. 

>    My problem is how to get different icon for these to dialog boxes.

>I have tried to redefine the GetWindowClass() (Borland C++ 3.1) and
>then GetClassName(). I have also tried to use the SetClassWord, but 
>whatever I do every dialog window get the same ICON.

>Does anyone have a solution ?

A possibility to try is to use the dynamic ICON method.
For this you must process the WM_ERASEICONBACKGROUND and
WM_DRAWICON messages. (the names may not exact). 
I think an example can be found in Petzold's or in the Microsoft
System Journal issue with the 10 best tips from ?.?... (2/3 months ago).

Mario 
-- 
Mario Veraart                  TNO Physics and Electronics Laboratory
email: rioj7@fel.tno.nl        The Hague       The Netherlands
"If all else fails, show pretty pictures and animated videos, 
 and don't talk about performance",  David Bailey
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
From: pbh@pandora.cs.wayne.edu (Patrick B. Haggood)
Subject: Re: How to distinguish between Click and Double-Click?
Organization: Wayne State University, Detroit
Date: Fri, 18 Dec 1992 13:12:16 GMT

Borland's OWL includes two Windows messages; WM_LBUTTONDBLCLK AND
WM_RBUTTONDBLCLK.  See the OWL manual p.42 or any of a bunch of 
third party books on OWL.

-- 
Patrick B. Haggood				Wayne State University
"Again, the kingdom of heaven is like unto a net," | DoD #1966	
	Matthew 13:47                              | pbh@prjup.uucp
From: cschang@hamlet.umd.edu (C. S. Chang)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: comp.os.ms-windows.misc How to turn PC speaker off
Date: 20 Dec 92 09:32:30 GMT
Organization: University of Maryland, College Park

Is there any way to turn the PC speaker off so that there will be no
beeps if a certain function call failed.  I do not have access to this
particular function call which beeps at failure.  So I am looking for
a way to prevent the PC from generating some beeping noise.

Thanks in advance.


Truly Yours, C.S.Chang 


===================================================================
Programmer/Designer		Vice President	
AT&T Teaching Theater		Asian Engineering Association
Computer Science Center		University of Maryland
Room: ENGR 3140			Mailbox: ENGR 1131

Chairman			President
EE/SAC Computer Committee	Literature and Narrative Critiquing Society
University of Maryland		University of Maryland
Mailbox: AVW 2466		PO Box 405, College Park 20741

Phone:  (O) 301-403-1064; 301-680-1968; 
E-mail: cschang@umd5.umd.edu; cschang@wam.umd.edu; cschang@eng.umd.edu
From: adykes@jpradley.jpr.com (Al Dykes)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
Subject: Full text search in MS-Windows HELP ?
Date: 20 Dec 92 15:00:23 GMT
Organization: Unix in NYC

Am I the only person that wishes that I could look for occurances of a
keyword via full text search of a windows .HLP file? The search
function in MS-Windows HELP is very weak.


Has anyone by chance written such an utility? Even if it's not a
complete replacement for the help engine it would be a nice accessory.

How does not make a suggestion like this to Microsoft ?

Al Dykes
---------
adykes@jpr.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: R2NVK@VM1.CC.UAKRON.EDU
Subject: dispalying the cursor or caret position
Organization: The University of Akron
Date: Fri, 18 Dec 1992 00:00:41 GMT

I have a multiline edit control. I need to display the caret position in the st
atus window which I have created at the bottom of the multiline edit control.
i.e when I type something the position of the caret(cursor) should be displayed
in the status window. I also will be using the mouse to move the caret to a des
ured location. Any pointers or any kind of help of how I can do that will be gr
eatly appreciated. Thanking in advance.
                                        nagesh
From: torstein@itekiris.kjemi.unit.no (torstein hansen)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Menu Updating
Date: 16 Dec 92 08:46:25 GMT
Organization: Dept. of Chem.Eng, Norwegian Inst. of Tech

In article <2B2E491D.87D9@tct.com> jeff@tct.com (Jeff Witzer) writes:
   You know, it seemed like a simple thing to do in theory...

   (Famous last words, I know)  All I wanted to do was to display the time in
   the rightmost section of the menu bar.  I already had a 1 second timer to
   keep time for other reasons (with an occasional check of the system clock 
   to keep it reasonably in line) so I thought I'd use ctime to format the
   current time and ModifyMenu () to display it.

   The menu item was defined:

   .
   .
   .
       MENUITEM "Mon Jan 11 12:00:00", IDM_DATE_TIME, HELP
   .
   .
   .

   and the ModifyMenu call went like this:

       char szDateTime [30];

       sprintf (szDateTime, "%.19s", ctime (&lCurrentTime));
       ModifyMenu (hMainMenu, IDM_DATE_TIME, MF_BYCOMMAND | MF_STRING, 
		  IDM_DATE_TIME, szDateTime);

   The result?  The initial, dummy date/time (jan 11 12:00:00) is displayed 
   on the very right and stays there.  If I click on it, nothing happens.  If
   I click just to the right of the last real main menu item, the current date/
   time is displayed and doesn't change.  If I keep clicking, I get a "working"
   clock.

       1 - Why doesn't the ModifyMenu () place the date/time all the way to the
	   right like the initial, dummy date/time?

       2 - What do I have to do to actually force display the date/time after
	   each ModifyMenu ()?

       3 - Is there a better way?

   Thanks,

   jeff


Whenever you modify a menu bar, you have to call DrawMenuBar(hWnd) to
make the modifications take effect.

Good luck

Torstein
--
Torstein Hansen
torstein@itekiris.kjemi.unit.no
Newsgroups: comp.os.ms-windows.programmer.misc
From: dj@ekcolor.ssd.kodak.com (Dave Jones)
Subject: Re: Problem: System Error !
Organization: Vonnegut Tent Rentals, Inc.
X-Newsreader: TIN [version 1.1 PL7]
Date: Wed, 16 Dec 92 19:39:48 GMT

Vince Mammoliti (vince_m@wacss.anixter.com) wrote:
> I am currently getting a 
> 
> System Error
> 
> Divide By Zero or Overflow Error
> 
> When I run a custom application in our company.
> It works fine on other machines, but not one mine.
> 
> Any suggestions would be greatly appreciated.
> 

I suggest you provide more detail.....

Like: What your machine is, what peripherals it uses, what
adaptor cards it has, what software it uses etc. etc.  Do
the same for a few of the machines on which the software
does work. (Pay particular attention to floating-point coprocessors).

Like: what the software is, what is the series of events leading
up to the error.

In the meantime: think about what makes your machine different from
the others.  Could you make it more similar?  If you do, does the problem
persist?  Are you absolutely positively sure that this is the *only* machine
that gives a problem?  What versions of software is your machine running. ?
What are the others running?  Are you (or they) running special debug 
versions of anything.  How about beta versions?

(My least favorite bug report:"_______ doesn't work".)

(I once watched an engineer talking to a user over the phone.  It lasted 
about 20 mins.  After hanging up, he took out a Bugrep form and wrote.....
well, I'll leave you to guess that part)

--
||------------------------------------------------------------------------
||Dave Jones (dj@ekcolor.ssd.kodak.com)|Eastman Kodak Co. Rochester, NY  |
From: rozum@hplvec.LVLD.HP.COM (Stephen Rozum)
Date: Thu, 10 Dec 1992 20:25:04 GMT
Subject: Windows' Serial Port
Organization: Hewlett-Packard Co., Loveland, CO
Newsgroups: comp.os.ms-windows.programmer.misc

I have just resently started programing in the Windows 3.1 environment.

I have been trying to figure out the serial capability using windows.

My questions are as follows:

1) How do I read and write to a serial port?

2) How fast can Windows received data without data being over-
   written in the serial's data register?  In other words,
   does Windows have a serial buffer, if so how fast can the serial
   data be retrieved?

3) When working with the serial port is there any special
   consideration that needs to be taken into account?

Thanks for the help,

Stephen
From: ehammers@stein.u.washington.edu (Erick Hammersmark)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Drag and Drop with VB 1.0
Date: 21 Dec 92 01:32:18 GMT
Article-I.D.: u.1992Dec21.013218.21978
Organization: University of Washington, Seattle


I'm pretty new to Window programming (or any other programming, for that
matter!).  I would like to implement some simple drag-and-drop stuff in
one of my Visual Basic (1.0) apps.  I've seen lots of stuff on using Visual
Basic as a DND *server*, but I want to be able to drop stuff on an icon.
Is this possible with VB 1.0?

Thanks,
Erick.
Newsgroups: comp.os.ms-windows.programmer.misc
From: rkenning@cc.curtin.edu.au
Subject: Problem #78253 in Visual Basic
Organization: Curtin University of Technology
Date: Thu, 17 Dec 1992 03:52:43 GMT
From: rkenning@cc.curtin.edu.au
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Problem with VB and Fonts
Date: 16 Dec 92 18:41:21 +0900
Organization: Curtin University of Technology

Does anyone out there know how to change the font of a object in VB to the font
that you see on the Windows 3.1 Program Manager?

I have tried things like:
			Graphic1.FontName = "MS Sans Serif"
			Graphic1.FontSize = 8
but all this gives me is a medium size ugly font! It may be "MS Sans Serif" but
it certanly isn't size 8.
Any help on this would be appreciated.

Myles.
rkenning@cc.curtin.edu.au
Newsgroups: comp.os.ms-windows.programmer.misc
From: dgarr@nntp.telxon.com (David Garrison)
Subject: Tab Stops in combo boxes
Organization: TELXON Corporation
Date: Wed, 9 Dec 1992 16:44:50 GMT



HELP!!

I'm trying to use the tab stops bit in a drop down combo box
just like a list box.

What I'm doing is setting the tab stop bit for my combo box on and
adding strings to the box with '\t' characters.  I'm expecting to see
the drop down box with aligned column string entries but all I get are 
funny characters in place of the '\t' characters.

This same procedure works fine with a list box.

Does anyone know how to overcome this problem?  Thanx, in advance.