HDTenEightyP/NetNews huggingface dataset:
From: kim@Software.Mitel.COM (Kim Letkeman)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Ouch!  Turbo C++ for Windows and my SVGA card don't mix.
Date: 7 Oct 92 15:54:32 GMT
Organization: MITEL Public Switching, Kanata, Ontario, Canada
In-reply-to: bmartin@maemaster.eng.uci.edu's message of 7 Oct 92 07:13:21 GMT

In article <2AD28E11.22848@news.service.uci.edu> bmartin@maemaster.eng.uci.edu (Bryan Martin) writes:

| I have installed the SVGA drivers for my Trident board, and now whenever
| I run Turbo C++ for Windows the fonts in the .c and .h windows is so
| small it can't be read!  The font selection box in the Preferences
| dialog is empty, and nothing I do seems to fill it.  I even tried
| reinstalling windows to make sure that courier was available for my
| selected driver (SVGA, 256 colors, large font) but to no avail.
| 
| Please help me before I get myopia!

I think this is a slight incompatibility between older versions of
Borland stuff and Windows 3.1. I've had it happen with TPW 1.0, but
not with Borland C++ 3.1. I'm still waiting for TPW 1.5 to arrive, at
which point I'll know whether only older products have the problem.

Anyway, I find that whenever I save preferences of any sort, the font
gets default to a micro-font. To clear it up, I have to delete the
tpw.cfg file and open a new instance of TPW. All is then well, until
the next time I forget and save preferences again.

Kim
--
Kim Letkeman	kim@Software.Mitel.COM
From: marcusj@apricot.co.uk (Marcus Jenkins)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Borland C++ 3.1 DLL example - Import Librarian
Date: 14 Oct 92 09:37:18 GMT
Organization: Apricot Computers Limited

I am having a certain amount of hassle building the DLL examples
supplied with Borland C++.  The projects build fine in the IDE
*except* the import library does not automatically get created 
by the DLL project, therefore the project that uses the DLL 
barfs during the link phase.  I have played with IMPLIB (with
reference to the manuals) and I haven't successfully managed
to create an import library for the DLL yet.  Any clues?


 _ _ _
' ) ) )                         Internet: marcusj@apricot.co.uk
 / / / __.  __  _. . . _        UUCP: marcusj@apricot.uucp
/ ' (_(_/|_/ (_(__(_/_/_)_      If all else fails from US, try:  
Marcus Jenkins                  apricot!marcusj@relay.EU.net
Tel: +44 21 472 3002  Fax: +44 21 471 2935
Disclaimer:  Anything I wrote above is, of course, my own view and
             does not in any way represent my employer.
From: pugliese@ghost.dsi.unimi.it (marco pugliese levi)
Subject: Inter process comunication
Organization: Computer Science Dep. - Milan University
Date: Wed, 7 Oct 1992 12:36:20 GMT


Please, can anybody tell me how can I make two process comunicate under 
windows 3.1 environment  using Turbo C++ for Windows?
I mean : I want to make a task, running a sorting  algorithm, to pass every cycle, data
to another running task that will  use them (i.e. a producer/consumer model).

					Thanks in advance
-- 
                                               CIAO.

===============================================================================
  Marco Pugliese   *| Dipartimento di Scienze |*         ADDRESSES:
Newsgroups: comp.os.ms-windows.programmer.misc
From: devanath@tiger.vill.edu (Kiran devanath)
Subject: Passing values to a DLL and back
Originator: devanath@tiger.vill.edu
Organization: Villanova University
Distribution: USA
Date: Sat, 3 Oct 1992 00:15:23 GMT


   I have a request. 
I am beginner in Micro soft WIndows Programming.
The scenario is this:
	I have DLL which accepts double values.
I call the DLL by
	 OptionsA(int,int,int,double,double,double....)
It takes totally 9 values including integer value. 
It is supposed to return a double value.
My questions are:
	1. How do I convert this into a string, I tried using 
	   wsprintf and all combinations it seems to separate 
	   me from the answer by a couple/lot of zeros.
	2. The values are passed to the DLL correctly. Is sending a 
	   double value to the DLL make a difference. I am unable to
	   find a solution.
	I hope someone will be able to help me.
Thanks in advance
	My e-mail address devanath@tiger.vill.edu.
Kiran
Newsgroups: comp.os.ms-windows.programmer.misc
From: flink@mits.mdata.fi (Ari Flinkman)
Subject: How can I get diskfree with Visual Basic ?
Organization: Microdata Oy, Helsinki, Finland
Date: Sun, 11 Oct 1992 16:19:58 GMT
Summary: diskfree for VB
Keywords: diskfree vb 

	How can I read with Visual Basic + Prof. Toolkit how much
	disk is free ?  I'll be very pleased for any help. Replies
	only via E-Mail, because i don't read all postings to this
	newsgroup.

	Thanks in advance.
--
<<-=-=-=-=-=-=-=-=-=-=<<  <<=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<<
 >>   Ari Flinkman     >>  >>   E-Mail: Flink@Mits.Mdata.Fi      >>
<<    Suomi/Finland   <<  <<            -ArrowSoft->            <<
 >>=-=-=-=-=-=-=-=-=-=->>  >>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=>>
Newsgroups: comp.os.ms-windows.programmer.misc
From: jagrant@emr1.emr.ca (John Grant)
Subject: CS_SAVEBITS doesn't work?
Organization: Geological Survey of Canada
Date: Fri, 16 Oct 1992 02:46:04 GMT

Sorry if I have already asked this question, but I can't remember if I posted
it yet or not - too many late nights, I guess.

I have implemented a floating window that hangs around and shows the (x,y)
of the cursor as it moves around the screen. I create it as a child window 
with a height equal to the height of the caption area, so all you get is the
system menu handle and a caption area.  Each time I get WM_MOUSEMOVE, I
SetWindowText(hwndxy,"...").  It works great and is really tiny (1 line).

However, I am not getting the expected results using window class style 
CS_SAVEBITS.  I don't want movement of the floating (x,y) window to 
generate WM_PAINT for the client area underneath if I don't have to.  The
help says that if style is CS_SAVEBITS, then it will try to save the bitmap 
behind the window so it can restore it.  Presumably then it won't have to
send WM_PAINT to the client beneath it.  No such luck.  There is tons of
memory available and it sure enough saves bitmaps for popup dialog boxes
to restore quickly.  Why won't it do it for my tiny little window?

I register the class with:
	wc.style=CS_SAVEBITS;         

and then I create the window with:        
	hwndxy=CreateWindow("xy",NULL,
	     WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_BORDER | WS_SYSMENU,
	     0,0,                    
	     200,GetSystemMetrics(SM_CYCAPTION),
	     hwnd,                   
	     (HMENU)1,  //child id=1
	     hinstance,
	     NULL);
Newsgroups: comp.os.ms-windows.programmer.misc
From: akc@atlanta.dg.com (Keith Chandler)
Subject: What word did I just click on?
Date: Wed, 14 Oct 92 20:01:50 GMT
Organization: Data General Corp. SID, Atlanta, GA

Help me, somebody.
This is probably simple, but then again, so am I.
I want to display text on a window, then allow the user to select a word
within the text by double-clicking. Then I want to know what word
was selected.  Is there a method that's easier than keeping track of the coordinates of each word as I write it, or doing a GetLine and counting characters across the line?

Thanks in advance for your help.
-- 
===============================================================================
Keith Chandler                                               akc@atlanta.dg.com
Data General Corporation
3617 Parkway Lane                                        Phone:  (404) 448-6072
Norcross, GA  30092                                        FAX:  (404) 446-5635
===============================================================================
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.apps
From: mguyott@eriador.prime.com (M. Guyott)
Subject: ODBC related questions!
Followup-To: comp.os.ms-windows.programmer.misc
Organization: Prime Computer R&D
Date: Fri, 9 Oct 1992 13:49:09 GMT


I am in need of information about Microsoft's ODBC database API.

I already know a little about some aspects of ODBC:

    ODBC is a C programming interface offered by Microsoft under Windows
    (rumored to be bundled in the future) to provide Windows applications
    with a database independent interface to multiple (SQL) databases.

    ODBC consists of a Driver Manager (a DLL) which provides a single API
    to the client application, and one or more Drivers (also DLLs) for
    individual database types.  The interface to individual drivers is the
    same as the API seen by clients.  Drivers implement all the database
    specific functionality of ODBC.  Drivers are largely invisible to
    applications: the application dynamically links to the Driver Manager,
    which steers individual requests based on a connection handle.

I would like to implement an ODBC Driver for a database that we are
developing a custom application for.  My questions are:

1)  Does Microsoft provide an ODBC Driver developers kit?

2)  Does Microsoft provide the ODBC Driver Manager (DLL)?

3)  Is the ODBC Driver Manager a real product at this point or is it still
    in beta test?

4)  Is the ODBC Driver Manager bundled with any versions of Windows?

5)  How can I get information for developing ODBC Drivers?

6)  How can I get a version of the ODBC Driver Manager?

7)  How much will any/all of the above cost me?

8)  Are there any other products in beta test or available in the market
    place today that support ODBC?

Any and all help will be greatly appreciated!

Marc
----
Two of the worst things we teach our children are that a knowledge of science
is nice but not necessary, and a knowledge of sex is necessary but not nice.

Marc Guyott              Constellation Software, Inc.          (508) 620-2800
                         Framingham, Mass. 01701 USA                Ext. 3135
mguyott@primerd.prime.com       ...!{uunet, decwrl}!primerd.prime.com!mguyott
mguyott@eriador.prime.com       ...!{uunet, decwrl}!eriador.prime.com!mguyott
Newsgroups: comp.os.ms-windows.programmer.misc
From: saj@chinet.chi.il.us (Stephen Jacobs)
Subject: Re: HELP! - Windows speed issues!
Summary: Cheat
Organization: Chinet - Public Access UNIX
Date: Wed, 7 Oct 1992 16:36:07 GMT

One way to get fast redraws is to save an image of your nice clean form and
blit back any of it you need.  This can be refined a little (like if some
regions change a lot, maybe only the constant region can be handled this 
way.  Or if a region gets over-written a lot, maybe only the image of that
region is worth saving).
                                           Steve     saj@chinet.chi.il.us
Newsgroups: comp.os.ms-windows.programmer.misc
From: tgwhite@cbnewsf.cb.att.com (todd.g.white)
Subject: Quattro for Windows DLLs
Organization: AT&T
Date: Tue, 13 Oct 1992 20:54:05 GMT


I bought Quattro Pro for Windows a week or two ago and now
would like to add my own programmed (preferably in C)
functions to its function arsenal.

The book refers to add-on functions accessable in DLLs, but
gives no information on how to program them and interface
them with QPro.  When I called Borland's techs, they
referred me to the Borland forum on Compuserve.

I do not have access to Compuserve and would greatly
appreciate any help on how to deal with these DLLs.  Maybe
if somebody is on Compuserve and has a couple seconds,
they could GO BORLAND and scrounge up some info?  Better
yet, maybe somebody already knows how to do this.

Thanks in advance,

Todd White
AT&T Bell Laboratories
tgw@cblpo.att.com
(614) 860-7262
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Inter process comunication
Date: 7 Oct 92 22:38:43 GMT
Organization: PE-Nelson

In article <1992Oct7.123620.848@ghost.dsi.unimi.it>, pugliese@ghost.dsi.unimi.it (marco pugliese levi) writes:
|> 
|> Please, can anybody tell me how can I make two process comunicate under 
|> windows 3.1 environment  using Turbo C++ for Windows?
|> I mean : I want to make a task, running a sorting  algorithm, to pass every cycle, data
|> to another running task that will  use them (i.e. a producer/consumer model).
|> 

Look into DDE (and DDEML supplied with Windows 3.1) for an established
client/server messaging protocol that allows data transfer.

Short of that you may establish your own messaging scheme and pass handles
to shared memory in the messages (or use a DLL to manage shared data).


----------------------------------------------------------------------------
Tom Brown               |  "Strange women, lying in ponds, distributing
PE Nelson Systems       |   swords is no basis for a system of government."
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
From: lou@pacvax.pacersoft.com (Lou Iannucci)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: HELP!  Custom Edit Control
Date: 14 Oct 92 11:48:16 GMT
Organization: Pacer Software Inc.
X-UserAgent: Nuntius v1.1.1d7
X-XXDate: Wed, 14 Oct 92 07:58:58 GMT

HELP!

I am looking for a custom edit control that I can incorporate into a
Windows 3.1 C program.  If anyone has any ideas please notify me.  (I am
looking for something similar to TextEdit on the Macintosh).


Thanks in Advance
Lou Iannucci
Xref: sparky comp.os.ms-windows.programmer.misc:2637 comp.os.ms-windows.programmer.win32:1478
From: donato@applix.com (Donato Miranda [ext 241])
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32
Subject: CommonDialog question
Date: 14 Oct 92 13:20:40 GMT
Followup-To: comp.os.ms-windows.programmer.misc
Organization: Applix, Inc., Westboro, MA



ok, i'm using Microsoft SDK, C7.0 under NT.
my question is, can i customize a COmmonDialog (e.g. make it modeless)
without using a resource file.
i'm assuming the OFN_ENABLETEMPLATE flag corresponds to 
a dialog template defined in a resource file.
is there a way to do this in memory?
thanks!

donato miranda
donato@applix.com
From: delz3530@csd4.csd.uwm.edu (Andrew J.G. Delzer)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: BC++ w/AF  programming question
Date: 8 Oct 1992 03:03:53 GMT
Organization: University of Wisconsin - Milwaukee
Distribution: na
NNTP-Posting-Host: 129.89.7.4
Originator: delz3530@csd4.csd.uwm.edu


     I am a beginner Win 3.1 programmer and have the following
  question.  I have just coded in the program "about1" found in 
  ch 10 of Charles Petzold "Programming Windows" book.  I am using
  BC++ w/AF.  The problem is when I choose "Build All" from the
  Compile menu, I get the following error;

    ERROR ...\ABOUT1.C Undefined symbol 'IDM_ABOUT'

  I have coded in the about1.c, about1.rc and about1.h files.  I would
be very greatfull if someone knows what I need to do.


	Thanks
	Andrew J.G. Delzer
	delz3530@CSD4.CSD.UWM.EDU


Newsgroups: comp.os.ms-windows.programmer.misc
From: john@utafll.uta.edu (John Baima)
Subject: How to get correct width of TT strings??
Organization: Silver Mountain Software
Distribution: comp
Date: Tue, 13 Oct 1992 13:58:22 GMT

The Windows function GetTextExtent does not return the correct length
of a display string when using TT fonts. It is often close, but not
always. Typically, the length returned by GetTextExtent is too small.
Is there any other way to really find out what the display width of a
string really is?? It's kind of nice to know once and awhile :-)

Thanks for any help.
--
John Baima
Silver Mountain Software   1029 Tanglewood, Cedar Hill, TX 75104
john@ling.uta.edu          Voice/Fax (214) 293-2920




Newsgroups: comp.os.ms-windows.programmer.misc
From: thayne@unislc.uucp (Thayne Forbes)
Subject: Re: install.exe source for windows
X-Newsreader: TIN [version 1.1 PL6]
Organization: HomeVax
Date: Mon, 12 Oct 1992 21:46:13 GMT

Bill Whedon (whedon@netcom.com) wrote:
: In article <ld1b94INNhcs@jethro.Corp.Sun.COM> alby@goldbelt.Corp.Sun.COM writes:
: >Does anyone have C source code as an example install.exe
: >program to install an application into a MS windows environment.
: >
: Run, don't walk, down to your local computer bookshop (in your case, it
: would be Computer Literacy on First and Trimble in San Jose), and grab a
: copy of "Windows 3:  A Developer's Guide" by Jeffrey M. Richter, published
: by M&T Books, ISBN 1-55851-164-4, price $39.95US, including diskette.  This
: fantastic book has a VERY NICE install program, which its author invites you
: to use as your very own.  
: Bill Whedon   whedon@netcom.com

I will second what Bill said, but you may also want to check out the 
Microsloth oeminstall.  I think it is on the OAK disk set, but it may be
hidden in the SDK. (Sorry, I can't look just now.)  This one uses the same
install as windows, and would only require that you write an .INF file. 
-- 
           "If we don't succeed, we run the risk of failure."
                            -U.S. Vice President J. Danforth Quayl[e]
Thayne Forbes
thayne@unislc.slc.unisys.com
Newsgroups: comp.os.ms-windows.programmer.misc
From: vcurley@zeus.calpoly.edu (Vince Curley)
Subject: Re: Where is the Win Doc CDROM?
Keywords: CDROM WINDOWS
Organization: California Polytechnic State University, San Luis Obispo
Date: Thu, 08 Oct 1992 08:13:05 GMT

In article <1992Oct2.171253.10439@netcom.com> mbk@netcom.com (Miles Kehoe) writes:
>A few months back I signed up (and was billed) for a product
>due out in September - described as 'all the windows docs and
>many application notes and books written by Microsoft press
>(including Charles Petzold's book) on CD-ROM with a search
>engine front end.
>
>Well, it's October. Anyone seen one of these puppies? Any
>idea when it's coming? I know it's only $39 plus shipping,
>but it IS due.
>
I got mine two days ago (Monday) and it is worth the wait.  With
the exception of a few quirks (which are noted as known bugs in a
readme file) it is a nice CD.  It will replace my Programmer's
Library Disc quite nicely.

>Miles
Vince>


-- 
   Vince  "Windows, Windows, Windows"  Curley
   vcurley@demeter.calpoly.edu CIS:71055,3423
From: dj@ekcolor.ssd.kodak.com (Dave Jones)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: C++ question
Date: 9 Oct 92 14:13:25 GMT
Article-I.D.: pixel.1992Oct9.141325.13223
Organization: :noitazinagrO
X-Newsreader: TIN [version 1.1 PL6]

Joseph Geniec (jgeniec@murex.cis.ohio-state.edu) wrote:
: 	Okay, I've got a simple question and darn it-- I want a simple answer.
: What in the hell does the following do in a C++ program?
: 1) FAR
Forces a pointer to be 32 bits regardless of compiler options.
Compulsory for all functions exported to Windows. All data objects
passed to Windows functions are FAR.  This doesn't mean you have to *declare*
everything FAR, since the compiler can always create a FAR pointer out
of a NEAR one.

: 2) PASCAL
Causes the function to which it is applied to be called with the Pascal
calling convention: Arguments are stacked in left-to-right order and the
called routine cleans up the stack itself.  Opposite is "cdecl" which
mandates right-to-left stacking and stack cleanup by the caller.  All
functions exported to Windows must use PASCAL.  Internally an
application's functions may be specified without the keyword.
You can export "cdecl" functions to another program module, providign
it expects that and not PASCAL, but you may have to deal with name
mangling, e.g. int FAR PASCAL foo() exports as "FOO" but int FAR bar()
may export as "_bar" depending on the compiler.  I think Borland C++
has an option to make all functions exportable (thought that doesn't
mean they are automagically exported.....)

: 3) NEAR
Forces a pointer to be 16 bits regardless of compiler options.  Used
only for pointers to data in local memory (the program's own data
segment).

General rule: avoid NEAR, use FAR when handling objects in global
memory.  Let the compiler set the pointer size otherwise.

: 
: And why can't I find a book, *one* book, that says what these are for?
: 
You're not looking hard enough.  Try Petzold's "Programming Windows" 2nd
ed. ISBN 1-55615-264-7, $29.95 (New version for Windows 3.1 real soon
now).  Of course, this book doesn't use C++.

Howzat, Ed?

--
||)) There is no truth to the rumor that:)))))))))))))))))))))))))))))))))))|
||)) Lotus are suing Apple for copying the look and feel of their lawsuits )|
||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
||Dave Jones (dj@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY   |
Newsgroups: comp.os.ms-windows.programmer.misc
From: 890560p@dragon.acadiau.ca (Trevor Porter)
Subject: Re: Bypassing the Windows title screen
Organization: Acadia University
Distribution: comp.os.ms-windows.programmer.misc
Date: Wed, 14 Oct 1992 16:13:24 GMT

troyb@stat.ufl.edu (Troy Bleeker) writes:

>I would like to bypass the opening title screen of windows when I start
>the program. How can I do this.

>post or e-mail me at

>troyb@stat.ufl.edu

>Troy

Using : as a parameter to win, will start Windows without the title screen:

c:\>win :

-- 
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_                               Trevor Porter    	890560p@dragon.acadiau.ca                               Acadia University                                                               Wolfville, NS, Canada                                                           -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@extro.ucc.su.OZ.AU (Jeffrey Smartt)
Subject: What memory model for windows?
Organization: Sydney University Computing Service, Sydney, NSW, Australia
Date: Fri, 16 Oct 1992 05:41:39 GMT

G'day,

I am using the medium memory model for my windows applications, but am finding
that I am running out of data space - is there any problem with using the
large memory model with windows? (I am using Borland C++).

Jeff.
-- 
--------------------------------------------------------------------------------
Jeffrey Smartt, Smartt Designs Pty. Ltd.      Internet: jeff@extro.ucc.su.oz.au
P.O. Box 7313, Cloisters Square, WA, Australia, 6850.
Ph: +61-18-219955.   [(018)219955]            Fax: +61-9-474-1129  [(09)4741129]
Newsgroups: comp.os.ms-windows.programmer.misc
From: pdavies@alchemy.chem.utoronto.ca (Paul Davies)
Subject: HELP: .wav or .voc file formats
Organization: University of Toronto Chemistry Department
Date: Wed, 14 Oct 1992 03:49:08 GMT

I have been looking for a document that details the .voc or .wav file
formats and I can't find one.  If someone could tell me or at least
point me to a source I'd really appreciate it.

thanks,


-----------------------------------------------------------------------------
                                 | "The effects of technology do not occur
Paul Davies / Synthetic Man      | at the level of opinions or concepts, but
pdavies@alchemy.chem.utoronto.ca | alter sense ratios or patterns of per-
rec.arts.bodyart FAQ Keeper      | ception steadily and without resistance."
                                 |  - Marshall McLuhan
-----------------------------------------------------------------------------
From: ern+@pitt.edu (Ernest J Obusek)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Hungarian Notation - Should I use it?
Date: 7 Oct 92 16:44:04 GMT
Distribution: usa
Organization: University of Pittsburgh
Originator: ern@unixd1.cis.pitt.edu

Is Hungarian notation being widely used outside of Microsoft?  Will I be
spurned and rejected if I write Windows code without it?

I have nothing against it, but it's not yet natural for me, and so it slows
me down quite a bit.  But if it's widely used and considered a GOOD THING
then I will continue with it.

Thanks.

Ernest Obusek

ern@unix.cis.pitt.edu