HDTenEightyP/NetNews huggingface dataset:
From: whedon@netcom.com (Bill Whedon)
Subject: PD Business Graphics Lib Wanted
Followup-To: poster
Keywords: graphics lib business
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Fri, 2 Oct 1992 18:11:47 GMT

Well, no one has responded except to ask me to forward any responses I got, so
how about a cooperative effort?

COOPERATIVE EFFORT TO PRODUCE A PD BUSINESS GRAPHICS LIB IN DLL AND SOURCE

Here's a real simple front-end:
   int bizgraph(HWND hWnd, DATASTRUC *dData);

typedef struct _datastruc {
   int bGraphType;       /* LINE, BAR, PIE, SCATTER */  
   char szTitle1[65];    /* Top title (may be blank) */
   char szTitle2[65];    /* Second title (may be blank) */
   char szXlabel[65];    /* X-axis label (may be blank) */
   char szYlabel[65];    /* Y-axis label (may be blank) */
   FONTINFO fiT1;        /* Main title font info */ 
   FONTINFO fiT2;        /* Second title font info */
   FONTINFO fiXY;        /* Axis label font info */
   LOGFONT lfT1;         /* Specifics for main title font */
   LOGFONT lfT2;         /* Specifics for second title font */
   LOGFONT lfX;          /* Specifics for X-axis font */
   LOGFONT lfY;          /* Specifics for Y-axis font */
   int nGraphs;          /* Number of graphs this page */
   int nElements;        /* Number of elements per graph */
   COLORREF **crColors;  /* List of colors (1 each title, axis, and graph) /*
   double **dDatalist;   /* Actual graph data list */
}DATASTRUC;

I have already started on the bar graph.  It will be simple, boxed bars with
black outlines, actual number atop each bar.  Scale to fit the window, use a
drawing method which will allow straightforward printing.   You do not have to
work out the print proc.

Please let me know via email if you will work on a graph type.  Remember, no
static data to be used inside your procs.  Calculate and present, and get out
when you receive a WM_CLOSE message.  If enough people get involved, we should
have something useful in a couple weeks.

PLEASE PARTICIPATE IN THE EFFORT!  You will be credited in the source and via
an "About" box shipped with the DLL.
-- 
---------------------------------------------------------------------
--           the net, working,                                     --
--           sends mail afar                                       --
--           and we, in cybernetic dream                           --
--           reply                                                 --
--                                                                 --
-------Bill-Whedon------whedon@netcom.com----------------------------
From: eli@Metaphor.COM (Eli Lauris)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Looking for 32-bit, multithreading environment
Date: 28 Sep 92 23:25:01 GMT
Reply-To: eli@Metaphor.COM (Eli Lauris)
Organization: m4

Hi,

I am working on porting a complex OS/2 application to Windows 3.1 (Yah, you heard it right: OS2 to Windows, not the other way). The application consists of multiple processes and multiple DLL running on top of OS/2 2.0.  

What I am looking for is a nice development environment for Windows 3.1 that will provide the following:

1. 32-bit protected mode environment
2. Multi-threading support
3. Pre-emptive scheduling of processes/threads
4. DLLs that have both instance and shared data
5. Inter-process semaphores

I know its a little bit too much to ask for. After all, when you are done providing it, you pretty much have your OS/2 or NT.

But, perhaps, there is something that is close to that and runs on Windows 3.1 ! If you have had experience with this type of product, I'd appreciate hearing from you.

Eli Lauris
eli@metaphor.com

Newsgroups: comp.os.ms-windows.programmer.tools
From: jml@phoenix (Jouni Leppajarvi)
Subject: .hlp files with bc 2.0 ?
Organization: University of Oulu
Date: Sun, 27 Sep 1992 21:28:34 GMT

How do I create .HLP files for a windows application created with
bc++ 2.0 ? I don't seem to find any utlilites needed for this in the
package (probably because they aren't there ?) I know it is an old
version, but I can't upgrade at this point. So, am I correct in assuming
that 2.0 does not have the utlities for this ? If so, is there some other
way ?

Please answer with email, I'll summarize if there is sufficent input.

Newsgroups: comp.os.ms-windows.programmer.tools
From: saj@chinet.chi.il.us (Stephen Jacobs)
Subject: Checking a compiled (linked?) resource
Summary: Examining compiled resource to debug??
Keywords: .RC .RES debug windows
Organization: Chinet - Public Access UNIX
Date: Tue, 29 Sep 1992 13:38:22 GMT

I'm a beginner at Windows programming (old GEM hand, though) and one thing
I'd like to have is the ability to examine a compiled resource (possibly even
the resource data linked into an executable) to be sure it really wound up
the way I meant it to be.  I think I can do that with dialogs using the
dialog editor (Whoops: I have Microsoft C/C++ 7.0, one patch kit applied).
I'd like to be able to do it with bitmaps, in particular.  And, paraphrasing
the Midas commercial "I'm not going to pay a lot for this utility!"

Any hope?

While we're at it, is there a good way to test a dialog with some default
text in the editable text controls (what we GEM types call TEDINFOs)?

                                   Steve     saj@chinet.chi.il.us
Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.os.ms-windows.programmer.tools
Date: Thu,  1 Oct 1992 16:28:57 -0400 
From: David A Hanekamp <dh4h+@andrew.cmu.edu>
Subject: Borland C++ 3.1 Debugger

When starting up the Turbo Debugger for Windows I get the message
        
     "PHAPI.DLL can not be found."
  
What is PHAPI.DLL?  I don't have it on my machine. Has anyone ever seen
this before.

  Dave
Newsgroups: comp.os.ms-windows.programmer.tools
From: ted@allegra.att.com (Ted Roycraft)
Subject: Buying MS C++7.0 if you already have Borland C++ 3.1
Organization: AT&T Bell Laboratories, Murray Hill, NJ
Distribution: usa
Date: Mon, 28 Sep 1992 01:21:26 GMT

This question is directed mainly to people who own both.
The Microsoft C++ 7.0 competitive upgrade offer for $140
ends September 30.  If you already have Borland C++ 3.1
and are happy with its implementation of C++, are there
any utilities or tools (besides the debugging kernel) that
are not supplied with Borland C++ 3.1, that make buying
Microsoft C++ 7.0 worthwhile?
-- 
-------------------------------------------------
Ted Roycraft, AT&T Bell Labs, ted@allegra.att.com
From: mills@athena.lkg.dec.com (George Mills)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Resizing a list box within a resource
Keywords: listbox resource
Date: 6 Oct 92 22:52:38 GMT
Distribution: usa

I have an application in which there is a "resourced" dialogbox.
I would like to resize a listbox within the dialbox according
to how the user resizes the dialogbox window. I know how to catch
the resize events and what the new window size is but I know how
to resize a lisbox within a resourced dialbox.

In other words what message do I send to the listbox to resize it.

Is it possible? Am I missing something? Are resources always fixed?

I'm using Turbo C++, if that matters.

Thanks for any help.
From: rjc@crosfield.co.uk (roger clark)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Duff disk in DDK
Keywords: DDK
Date: 30 Sep 92 10:07:17 GMT
Organization: Crosfield Electronics, Hemel Hempstead, United Kingdom.

Hi,
   Some time ago we bought the Windows Device Development Kit (V3), but did
not use it immediatly.

When we tried to install it, we found that one of the disks was knackered.

We telephoned Microsoft to get a replacement disk, only to be told that they
could not send us a replacement disk as they only had V3.1 of the DDK, and that
we would have to pay 90 pounds to upgrade to V3.1 ! Apparently there is 
virtually no difference between the 3.0 and 3.1 kits, so this seems like a 
complete waste of cash.     

Hence does anyone know where I can get hold of

Device Driver Samples & Tools Disk 3 disk, or the files contained on
this disk.


Thanks in advance.


			Roger Clark

			Senior Software Engineer
			Crosfield Electronics
			Three Cherry Trees Lane
			Hemel Hempstead
			Herts
			HP2 7RH
Newsgroups: comp.os.ms-windows.programmer.tools
From: wcalderw@nmsu.EDU (CALDERWOOD)
Subject: Re: Making demos. Powerpoint?
Organization: New Mexico State University, Las Cruces, NM
Date: Mon, 5 Oct 1992 01:31:55 GMT

Demoing software:

  Try Protogen by borland.

Bill,
wcalderw@nmsu.edu
Newsgroups: comp.os.ms-windows.programmer.tools
From: sjsobol@wariat.org (Steven J. Sobol)
Subject: Re: Status Bar with TP for windows
Organization: The Tiny Software Co., via APK Public Access Unix, Cleveland
Date: Sun, 4 Oct 1992 00:25:18 GMT

phshl@wombat.newcastle.edu.au (S.H. LEE (61) 49 21 5566) writes:
>Hi,
>  Does anyone know how to program  a "status bar" with TPW ?
>
>Lee

I downloaded a demo program to create a status bar in an MDI app for TPW,
from the Borland Support BBS.

I can mail it (status.zip, 1973 bytes before uuencoding) to you or you may
call the Borland BBS directly at +1 408 439-9096.

Let me know what you want...

regards, Steve

(Caveat: I haven't tried it yet.)

-- 
***  **  ** | The Tiny Software Co. ! Steve Sobol, President   sjsobol@tiny.com
 *  *   *   | 23707 Glenhill Drive, ! or sjsobol@wariat.org or tiny!sjsobol
 *   *  *   | Cleveland, OH   44122 ! IRC nickname: RockNRoll
 *    * *   | Ask me about KNOWLEDGE IS POWER Computer Training Seminars.
 *  **   ** | **Welcome to Ohio, the Land of the Orange Construction Barrel**
From: axs9017@hertz.njit.edu (Alexander Shinkar)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Getting selected strings from multiple select list box
Summary: Use GetSelStrings with multiple select listboxes
Date: 6 Oct 92 03:03:37 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

Hello out there in NetLand...
I am using BC++ & AF...
And here is what I am trying to do.
I have a Multiple Select ListBox, and I am trying to use
GetSelStrings, to retrieve the selected strings, and
place them in to a string array.

The manual shows..

int GetSelStrings(LPSTR *Strings, int MaxCount, int MaxChars);

What should Strings be???
to be on the safe side, i said

LPSTR MyStrings[20][20];

and then, to use it, i said...

GetSelStrings( MyStrings , 10 , 10 );

This did not work...
Can somebody please help me???

Thanks in advance
Alex
axs9017@hertz.njit.edu
Newsgroups: comp.os.ms-windows.programmer.tools
From: "boon chew" <boon.chew@canrem.com>
Subject: writing c dll for visual
Reply-To: "boon chew" <boon.chew@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 29 Sep 92 18:54:55 EST

Without more information :-

Is your DLL in a place that is accessible ?
The DLL should be in the \WINDOWS directory or the same directory
as the program that calls it.


Prototyping your function in C should be something like:-

void FAR PASCAL function_name (LPSTR lpstring);

The key here is the FAR and PASCAL keyword.


The corresponding VB declaration should be :-

Declare Sub function_name Lib "FUNCTION.DLL" (ByVal lpstring As String)

I do not know about passing by reference, my example show passing by
value.

I am also assuming you know how to create a DLL for VB. Like the
section of header code that identifies the DLL entry point.
The definition file that indicate the function for "EXPORT" among
other things.



B.L.Chew
Toronto

P.S. Did this message really came all the way from Singapore.
---
  DeLuxeb #2714  Now using Qmail DeLuxe...and loving it!
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.os.ms-windows.programmer.tools
From: scott@cc.gatech.edu (Scott Coulter)
Subject: OGL with Borland C++ 3.1???
Reply-To: scott@cc.gatech.edu (Scott Coulter)
Organization: College of Computing, Georgia Institute of Technology
Date: Tue, 29 Sep 1992 16:02:39 GMT

Is anyone using Whitewater's OGL with Borland C++ 3.1?
Is there some trick to getting stuff to compile?
Any word on a updates/new versions from Whitewater?

Any info appreciated.


Newsgroups: comp.os.ms-windows.programmer.tools
From: mpd48941@uxa.cso.uiuc.edu (Mike Duff)
Subject: jksfdhakl
Reply-To: duff@cs.uiuc.edu
Organization: University of Illinois at Urbana
Date: Mon, 28 Sep 1992 19:39:32 GMT


Newsgroups: comp.os.ms-windows.programmer.tools
From: anderson@mayo.edu (Alfred I. Anderson)
Subject: VB - Multimedia Device Control - HELP!
Organization: Mayo Foundation
Date: Tue, 29 Sep 1992 21:55:01 GMT

Has anyone been able to get the Visual Basic Multimedia Device Control (part 
of the VB Professional Toolkit) to correctly record and playback .WAV files? 
If so, could you let me know that you got it to work?

I'm using a MediaVision AudioPort.  It works fine with the Sound Recorder. I 
press record, speak for 2 seconds, press stop.  Press play and I hear the 
2 second voice message.

If I try to do the exact same thing using the Visual Basic Multimedia Device 
Control, I press record, speak for 2 seconds, press stop.  Press play, hear 
the 2 second voice message and followed by several seconds of garbage! 

I've tried to use the Position property to alter how much is played back but 
have not been able to get this to be properly detected during the recording 
session.

I must be missing something simple......can anyone give me a lead?

Alfred
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alfred Anderson                Internet:    anderson@Mayo.edu
Mayo Foundation - Rochester MN 55905
-----------------------------------------------------------------
From: david@csource.oz.au (david nugent)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Use of const keyword - Borland container classes
Date: Sun, 04 Oct 92 05:19:32 +1000
Reply-To: david@csource.oz.au
Organization: Unique Computing Pty Ltd, Melbourne, Australia

bartels@sweetpea.jsc.nasa.gov (Jeff Bartels 283-4167) writes:

> The Object class contains member functions which look like this:
> 
> virtual int isSortable( const _FAR & Object ) const;
> 
> My questions are: 
> 
> 1) What meaning does the use of the const modifier have for the
> definition of the member function? I have found no references to this either 
> the Borland manuals, or other C++ books.

I understand from MicroSoft's documentation that it means that within
the routine isSortable the object is not modified.  In other words,
"*this" is const.


> 2) Is this notation a Borland extension to the language? Has it gone before
> the committee that is building the C++ standard?

It is used in one generic C++ book I have read (although the author
mentioned BC++, so that may have had some influence), and it is certainly
a construct used by MSC7.  With MSC, you can also add the __near and __far
qualifiers to cast *this accordingly.



..............................................................................
david nugent          Public Access Usenet      "Only Nixon could go to China"
david@csource.oz.au     +61-3-792-3507                    - old Vulcan proverb
3:632/400@fidonet, 58:4100/1@intlnet, 199:4242/5@rainbownet, 33:300/6@admin
PO Box 260, Endeavour Hills, Victoria, Australia, 3802.
Xref: sparky comp.os.ms-windows.programmer.tools:1038 comp.os.ms-windows.programmer.misc:2181 comp.os.ms-windows.programmer.win32:1190
From: labraham@gradient.cis.upenn.edu (Lisbi Abraham)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32
Subject: MS C/C++ vs. Borland C/C++ with regard to Windows Development
Date: 28 Sep 92 15:38:15 GMT
Followup-To: comp.os-ms-windows.programmer.tools
Organization: University of Pennsylvania


My company is in the process of switching development platforms to the
Windows environment.  We would be coding for both Windows NT and the
regular Windows 3.* operating systems.  With that in mind, could everybody
give me their views on the pros and cons of using the Microsoft development
kit versus the Borland development kit.  If there is enough interest, 
I will post a summary of the answers to the net.

Thanks,
Lisbi

Newsgroups: comp.os.ms-windows.programmer.tools
From: cdb@codex.oz.au (Cameron Bromley)
Subject: Re: Looking for 32-bit, multithreading environment
Organization: Codex Software Development Pty Ltd
Date: Wed, 30 Sep 92 10:38:39 GMT

In article <2573@cronos.metaphor.com> eli@Metaphor.COM (Eli Lauris) writes:
> Hi,
> 
> I am working on porting a complex OS/2 application to Windows 3.1 (Yah, you 
> heard it right: OS2 to Windows, not the other way). The application consists
> of multiple processes and multiple DLL running on top of OS/2 2.0.  
> 
> What I am looking for is a nice development environment for Windows 3.1 that  
> will provide the following:
> 
> 1. 32-bit protected mode environment

There are a number of compilers on the market to do this (Watcom, Zortech,  
etc).  Best read the FAQ (or even flick through a Windows techno-jock  
magazine).

> 2. Multi-threading support

I have seen at least one third-party thread library advertised (in Windows Tech  
Journal, I think).  PCThreads, The TriTechnologies Company, (206)957-1579,  
Compuserve 70272,3671  also had a demo app/library which ran OK under 3.0, but  
does not work with 3.1.  They may have finished the 3.1 product by now; I've  
not had any experience with it.

It's also feasible (and very educational :-) ) to write your own thread  
library. I managed to port the unix c-threads library to Windows, and it has  
stuff like conditional variables, semaphores, etc.  However, if you *really*  
need pre-emptive scheduling (as opposed to sprinkling calls to ThreadYield() in  
your code)......

> 3. Pre-emptive scheduling of processes/threads

I'm not sure this is *possible* under Windows. You really need kernel support  
to do this in a way which is not so ugly as to make you weep.  It may be  
possible to hook the timer interrupt, but the only re-entrant Windows function  
is PostMessage, which does not actually swap the process (let alone the thread)  
in.  At least that's what the docs say.  It may be possible to hook the timer  
and do a DirectedYield().  Has anybody tried this?  The library mentioned above  
claims pre-emption, but I can't vouch for it.

> 4. DLLs that have both instance and shared data

Quite easy, although you need to pass the task id as a parameter to any  
function within the DLL that returns data.

> 5. Inter-process semaphores

Inter-process semaphores can be implemented with shared global memory and a DLL  
to manipulate the data structures. 

> I know its a little bit too much to ask for. After all, when you are done  
providing it, you pretty much have your OS/2 or NT.

Yep.  But don't forget about *real* memory protection, network support,  
security, *real* threads, no 640K crud, no interfering TSR's, long filenames,  
virtual addressing, etc, etc, etc.


Cameron.

-- 
---------------------------------------------------------------
Cameron Bromley                       Internet: cdb@codex.oz.au
Codex Software Development Pty. Ltd.  NextMail encouraged
Phone +61-3-696-2490                  Fax +61-3-696-6757
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: MS-C 7.00 + Windows problem
Date: 28 Sep 92 21:10:31 GMT
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada

In article <1992Sep22.172807.16576@microsoft.com> jonka@microsoft.com (Jonathan Kagle) writes:
>In article <BuqH7u.8I3@ireq.hydro.qc.ca> beaurega@ireq.hydro.qc.ca (Denis 
>Beauregard) writes: 
>
>>MS-C claims 6000 pages of "comprehensive" documentation.  They don't
>>give any summary table of switches/options, nor the meaning of some
>>compiler generated labels.  
>
>The "Environment and Tools" guide describes the compiler and its utilities
>in detail. The "Quick Reference Guide" is an eight-page foldout card that
>gives the command-line options and syntax for CL, NMAKE, PWB, CV/CVW, LINK,
>and LIB.

What against a summary of switches in the same chapter describing them in
details or a topical list of switches or some program you cuold run to
generate switches according to user needs (I tried with PWB, but with the
number of not-human readable lines it has generated, I couldn't find 
the switches I needed). 
>
>> In this aspect, I get this label multi-defined:
>>PLOCALHEAP as in:
>>
>>domouvr.obj(domouvr.cxx) : error L2025: PLOCALHEAP : symbol defined more than|
>>lireparm.obj(lireparm.cxx) : error L2025: PLOCALHEAP : symbol defined more th|
>>lirecfg.obj(lirecfg.cxx) : error L2025: PLOCALHEAP : symbol defined more than|
>>erreur.obj(erreur.cxx) : error L2025: PLOCALHEAP : symbol defined more than o|
>>dbwin.lib(sysfct.cxx) : error L2025: PLOCALHEAP : symbol defined more than on|
>>c:\c700\lib\slibcaw.lib(windows\wnull.asm) : error L2025: pLocalHeap : symbol|
>
>I think that the "compiler-generated labels" that you refer to are labels in 
>the library that you are using. The reason that they're not listed in the 
>printed documentation is that the listings would take several hundred pages for
>all of the possible libraries that you can build with Microsoft C/C++ 7.0.
>
>To display all of the symbols in a library file, use the following LIB
>syntax:
>
>     LIB <libraryname>, <listingfile>
>
>The resulting listingfile will show you if a symbol is already used. In this
>case, pLocalHeap is used by slibcaw.lib (it seems to be in all of the Windows
>libraries). You should rename this label in your code to avoid the conflict.
>
>       -Jonathan

But, I never declared that label in any of my modules.  It was generated
by some switch of the compiler...

-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Un Quebec renouvele dans une Amerique renovee
\_.-===                                                  Opinions ? Et pis non !
Newsgroups: comp.os.ms-windows.programmer.tools
From: sze@enel.ucalgary.ca (Peter Sze)
Subject: Mr Tom Haapanen e-mail address wanted.
Date: Tue, 29 Sep 92 20:21:47 GMT
Organization: ECE Department, U. of Calgary, Calgary, Alberta, Canada


The address for Mr. Tom Haapanen via tomh@wes.on.ca has
failed. 

I have some questions regarding your ms-windows-FAQs.

Thanks
Peter

sze@vlsi.enel.ucalgary.ca
or 
sze@enel.ucalgary.ca
Xref: sparky comp.os.ms-windows.programmer.tools:1053 comp.os.ms-windows.apps:3231 comp.lang.c++:14296