HDTenEightyP/NetNews huggingface dataset:
From: francis@vnet.ibm.com (Tim Francis)
Date: Sun, 3 Jan 93 12:01:01 EST
Subject: IBM C++ Pricing and Availability?
Newsgroups: comp.os.os2.programmer
Reply-To: francis@vnet.ibm.com
Organization: IBM Canada Lab, WorkFrame/2 development
Disclaimer: This posting represents the poster's views, not those of IBM

In article <BAB.93Jan2115232@se39.wg2.waii.com>,
bab@se39.wg2.waii.com (Brian Button) writes:
>
>I'm contemplating buying WorkSet/2 before the discount pricing goes
>away, but I'm curious about where C++ is going to fit into this product?
>
>Has anyone heard any rumors about whether CSet/2 will be replaced by
>this C++ package once it becomes available, and whether an upgrade
>path from one to the other will be provided?
>
>I know it's WAY to much to ask, but maybe IBM already has a position
>on this and is ready to release it to the net???
>
>Thanks in advance for any info,
>
>bab

As owners of the current PDK will tell you, the C & C++ compilers will
be rolled into one -- a command line switch will specify whether the
code is C or C++.  I don't believe anything has been announced yet about
pricing, or upgrades.  As soon as it is announced, I'll post here.  -tim
From: Michael.Nelson@f20.n125.z1.FIDONET.ORG (Michael Nelson)
Newsgroups: comp.os.os2.programmer
Subject: Re: Back from the Dead: status, and questions
Date: Sun, 03 Jan 93 09:20:30 PST
Organization: FidoNet node 1:125/20 - SeaHunt BBS, San Francisco CA

Saturday January 02 1993 23:11, Timothy F. Sipples wrote to All:

>> o What are the current CSD levels for: OS/2 base system, C
>> Set/2+Developer's Toolkit+Workframe/2, TCP/IP 1.2.1?  Where can I get
>> them? (ftp-os2?)

TS-> XR06055 base, not sure about C Set/2, not sure about Toolkit, not sure
TS-> about Workframe/2, TCP/IP depends on the modules.

    I installed CSet/2, WorkFrame/2, and the Developer's ToolKit from the Nov. PDK.  When trying to apply either the 0022 or 0028 CSD's for CSet/2, it complains that there are no files to update.  If I run SYSLEVEL, no syslevel is found for the CSet/2 stuff.  I assume this is why the SERVICE.EXE program can't do the update.

    I tried blowing away the installation and re-installing... same results. Any ideas on how to get either of the CSD's to update my system?

 *----------------------------------------------------------------*
 |                            |                                   |
 | Michael Nelson             | "A billion here, a billion there, |
 | Internet:                  |  sooner or later it adds up to    |
 |   nelson@seahunt.imat.com  |  some real money!"                |
 | FidoNet:                   |                                   |
 |   1:125/20@fidonet.org     |           EVERETT DIRKSEN         |
 |                            |                                   |
 *----------------------------------------------------------------*


--  
Michael Nelson
UUCP: amdahl.com!kennel!125!20!Michael.Nelson
INTERNET: Michael.Nelson@f20.n125.z1.FIDONET.ORG
"The views expressed above are those of Michael Nelson only."
Newsgroups: comp.os.os2.programmer
From: os2man@panix.com (Larry Salomon Jr.)
Subject: Re: Limiting behavior of sizing border
Date: Wed, 23 Dec 1992 20:40:11 GMT
Organization: PANIX Public Access Unix, NYC

In <ofBpSPK00WBL01sKsg@andrew.cmu.edu> sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:


>I've noticed some applications that make restrictions on the size of a
>window while you resize it.  For example, when you have an OS/2 CMD.EXE
>window open, and you go to resize it, during the resize, the resize
>border will only go to multiples of the character size, if you know what
>I mean.  I want to be able to do this in one of my programs, how is it
>done?

Subclass the frame and intercept the WM_QUERYTRACKINFO message.

First call the old frame proc, then initialize the appropriate fields to the
limiting sizes.

Cheers,
Q
-- 
"If you choose not to decide, you  | "My other body is in the shop" - seen
 still have made a choice" - Rush  |  on a T-shirt
------------------------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: Ian_Upright@mindlink.bc.ca (Ian Upright)
Subject: C++ beta CD-ROM ??
Organization: MIND LINK! - British Columbia, Canada
Date: Sun, 3 Jan 1993 21:20:37 GMT

At the OS/2 "technical interchange" coming up, if you attend, you are
supposed
to recieve a developers CD-ROM with a beta of IBM C++ Set/2, IBM Lan
Server, IBM Comm. Manager, Lotus Freelance Graphics, CA Realizer, and other
stuff.  (Not to mention the lastest beta of OS/2)  Is this CD-Rom going to be
available through Developers Assistance, or what?  Is it going to be
exclusive only to the people who attend??  If it is available, will it
be just like another PDK, or will it be a spcieal price?  Could someone from
IBM fill us in here please?  Even if the information isn't for sure, could
someone from IBM tell us what is likely to happen?  Thanks..

--
-----------------------------------------------------------------------------
 Origin:  Astaria Digital Enterprises             Ian_Upright@mindlink.bc.ca
 BBS: (604) 852-1866, or FidoNet  :-)  1:153/513                  CANADA eh?
-----------------------------------------------------------------------------

Newsgroups: comp.os.os2.programmer
From: os2man@panix.com (Larry Salomon Jr.)
Subject: Re: Xwindows for OS/2
Date: Wed, 23 Dec 1992 20:41:43 GMT
Distribution: comp
Organization: PANIX Public Access Unix, NYC
Keywords: Xwindows

In <1992Dec22.194906.27572@tms390.micro.ti.com> ccore@tms390.micro.ti.com (Development Systems) writes:

>I have IBM's TCP/IP package which includes an X server, but in order to
>build an X client program I need to link with the Xlib library.  I
>also have the TCP/IP programmers kit, which does not contain Xlib, but
>does contain the libraries for TCP/IP.  I also have the latest distribution
>of mit X source.

>It seems like I have all the ingredients to build the Xlib library myself.
>Has anyone done this before, or is there an easier way, is this even
>possible?

Send a note to Jerry Waldbaum, manager of the Watson Applications and Tools
group asking him if they have a beta program established for the work they
have done in this area.  His userid is waldbaum@watson.ibm.com, I believe.

Cheers,
Q
-- 
"If you choose not to decide, you  | "My other body is in the shop" - seen
 still have made a choice" - Rush  |  on a T-shirt
------------------------------------------------------------------------
From: francis@vnet.ibm.com (Tim Francis)
Date: Wed, 30 Dec 92 14:39:31 EST
Subject: Strange problem with C Set/2 Editor
Newsgroups: comp.os.os2.programmer
Reply-To: francis@vnet.ibm.com
Organization: IBM Canada Lab, WorkFrame/2 development
Disclaimer: This posting represents the poster's views, not those of IBM

In article <1hqf91INN6kt@CS.UTK.EDU>,
battle@cs.utk.edu (David Battle) writes:
>
>The editor which is run by default from the Workframe/2 environment when
>editing source files has developed a strange problem.  It saves the file every
>time a key is pressed!  On the first keystroke, it pops up a window telling me
>I don't need to save because nothing has changed.  On the second keystroke
>it pops up a window telling me the file doesn't have an file type attribute
>and forces me to select one.  Then, as I type the disk chatters away every
>time I press a key.  Makes things really slugish, and it can't be good for
>the disk.  Has anyone seen this symptom before?  Is there a way to fix it?
>
>-David L. Battle
>battle@cs.utk.edu

As a previous poster suggested, it sounds as though the autosave option
has been set.  May I suggest however that instead of using the default
system editor, you try the enhanced editor?  Set the editor as "EPM.EXE",
the parameters as "/w %a %z", and check the "Send compile errors" box.
The editor is a lot more powerful, and is WorkFrame enabled (meaning it
can communicate with WorkFrame, and highlight any compiler errors).  -tim
Newsgroups: comp.os.os2.programmer
From: simon@hpuerca.atl.hp.com (Simon Fowler)
Subject: Re: Strange problem with C Set/2 Editor
Date: Wed, 30 Dec 1992 13:42:39 GMT
Organization: Hewlett-Packard NARC Atlanta
X-Newsreader: Tin 1.1.3 PL5

David Battle (battle@cs.utk.edu) wrote:
: 
: The editor which is run by default from the Workframe/2 environment when
: editing source files has developed a strange problem.  It saves the file every
: time a key is pressed!  On the first keystroke, it pops up a window telling me
: I don't need to save because nothing has changed.  On the second keystroke
: it pops up a window telling me the file doesn't have an file type attribute
: and forces me to select one.  Then, as I type the disk chatters away every
: time I press a key.  Makes things really slugish, and it can't be good for
: the disk.  Has anyone seen this symptom before?  Is there a way to fix it?
: 

Both E.EXE and EPM.EXE have an autosave option. It sounds like this has been 
set to 1 (keystroke before autosave). Check the settings.

simonn
Newsgroups: comp.os.os2.programmer
From: simon@hpuerca.atl.hp.com (Simon Fowler)
Subject: Re: C Set/2 compiler linkage question
Date: Wed, 30 Dec 1992 13:38:41 GMT
Distribution: na
Organization: Hewlett-Packard NARC Atlanta
X-Newsreader: Tin 1.1.3 PL5

Les Hartzman (hartzman@kilroy.Jpl.Nasa.Gov) wrote:
: I know that the default linkage is "optlink", but if I want to use the
: "system" linkage and still call OS/2 APIs and functions in the C Set/2
: library, what do I have to do?
: 
: The "/Ms" option is specified, but things just go crazy because the libraries
: are "optlink" and not "system" linkages.  Do the OS/2 libraries come in
: different flavors or ???

If you are including the C Set/2 (and Toolkit) Header files, there should be
no problem. I have done this with the XVT examples which require system
linkage.

simon
Organization: University of Illinois at Chicago
Date: Thursday, 31 Dec 1992 11:00:46 CST
From: <U37127@uicvm.uic.edu>
Newsgroups: comp.os.os2.programmer
Subject: Re: Dialogs + Threads = Problems. Help!
 <1992Dec31.151448.17833@panix.com>

In article <1992Dec31.151448.17833@panix.com>, os2man@panix.com (Larry Salomon
Jr.) says:
>
>In <92365.153701U37127@uicvm.uic.edu> <U37127@uicvm.uic.edu> writes:
>
>>Hello all,
>
>>  I have been having some weird PM problems that I was hoping someone could
>>  shed some light on.  Basically the problem is that if I start a thread
>>  from a dialog, and then from within the thread try to send messages to
>>  the dialog items, or set DlgItemText, the calls fail.  I have not omitted
>>  the all important step of getting a PM anchor block handle for each thread.
>
>But you did omit the creation of a message queue for the other thread.  Also,

By the other thread, do you mean the thread issuing the WinSendMsg?
The thread owning the dialog is thread 1, so it does have a msg queue.
I have received E-mail (rob@cc.gatech.edu) saying that the thread
issuing the WinSendMsg must have a msg Q as well; I also received
another answer saying that a thread *cannot* use WinSendMsg
to a window belonging to another thread (lhoang@orion.uci.edu) and
that this behaviour is documented.  Apparently IBM recommends
WinPostMsg.  Perhaps to maintain serialization via the msg Q
as opposed to WinSendMsg which is a direct call to the function?

Is there a definitve doc anywhere on this subject?  My interim kludge has been
to use WinPostMsg, with an app defined msg, and block until the receiver
processes the msg and shoves the result into a shared data structure.

If you can let me know where this behavior is documented, I wont bug the net
in the future!!!

>it is highly recommended that all threads but the one with the message loop
>call WinCancelShutdown(); if anyone wants to know the specifics of why, send
>me email.

I would like to know why...  Thank you all for your help!

Satish

>
>Cheers,
>Q
>--
>"If you choose not to decide, you  | "My other body is in the shop" - seen
> still have made a choice" - Rush  |  on a T-shirt
>------------------------------------------------------------------------
Newsgroups: comp.os.os2.programmer
From: hartzman@kilroy.Jpl.Nasa.Gov (Les Hartzman)
Subject: C Set/2 compiler linkage question
Keywords: C Set/2, linkage
Organization: Jet Propulsion Laboratory, Pasadena, CA
Distribution: na
Date: Tue, 29 Dec 1992 17:36:28 GMT

I know that the default linkage is "optlink", but if I want to use the
"system" linkage and still call OS/2 APIs and functions in the C Set/2
library, what do I have to do?

The "/Ms" option is specified, but things just go crazy because the libraries
are "optlink" and not "system" linkages.  Do the OS/2 libraries come in
different flavors or ???

Thanks in advance for any help.

Les



-- 
Les Hartzman                hartzman@kilroy.jpl.nasa.gov
Jet Propulsion Laboratory   M/S 238-528    (818) 354-5964
4800 Oak Grove Dr., Pasadena,  CA.  91109
Newsgroups: comp.os.os2.programmer
From: cnadler@vnet.ibm.com (Cliff Nadler)
Subject: Re: Disk for VNR _Client/Server Programming With OS/2_
Date: Tue, 29 Dec 92 14:16:56 GMT
News-Software: IBM OS/2 PM RN (NR/2) v0.15 by O. Vishnepolsky and R. Rogers
Reply-To: cnadler@vnet.ibm.com (Cliff Nadler)
Organization: IBM T. J. Watson Research

In <Bzzxx2.4JD@well.sf.ca.us> shiva@well.sf.ca.us (Kenneth Porter) writes:
>I've just finished the above-named book and want to find the code disk
>advertised in the back. Is it available online? Either on hobbes or CIS?
>It's supposed to have source for a Workplace client and DBM server for
>a toy "Club Med" reservation system. The client is a set of Workplace
>classes that keep their persistent data in a remote database. 

The disks should not be on-line anywhere as they are copyrighted by VNR (and
they want the money for them). You'll have to ante up to get them, or type
them in yourself.

Cliff Nadler
IBM Federal Systems Company

Note: This post represents the views of the poster, not those of IBM or the
      IBM Federal Systems Company
Newsgroups: comp.os.os2.programmer
From: daveb@netcom.com (Dave Briccetti)
Subject: Re: Putting Icons onto pushbuttons ?
Organization: Dave Briccetti & Assoc., OS/2 Consulting
Date: Sun, 3 Jan 1993 05:39:07 GMT

benji@Lise.Unit.NO (Jrn Norheim) writes:
: I am trying to  make a PM application that use pushbuttons quite heavily. I would
: like to put Icons or Bitmaps onto these buttons, but I have not figgured out
: quite how to do this. I would prefer to attach the Icons or Bitmaps to the button
: without having to make a userbutton and catching the BN_PAINT message.
: 
: If anyone could help me with this problem, I would appreciate it very much.
: 

Sure.  Just use the BS_ICON style.  

I don't remember the exact details of how to specify which icon to 
use for the button, but I believe the icon id is encoded in the button's
text, such as "#101".

-- 

Dave Briccetti, Owner, Dave Briccetti & Associates
OS/2 Developer/Consultant
P.O. Box 1713
Lafayette, CA  94549-7013
Newsgroups: comp.os.os2.programmer
From: dpoole@hydrogen.oscs.montana.edu (David Poole)
Subject: Re: DOS Box Programming
Organization: Montana State University
Date: Mon, 21 Dec 1992 16:24:25 GMT


A book I read a while back (pre-2.0) said that in a dos compatability box,
querying the dos version will return 10*the os2 version.  OS 1.2 returned
dos version 12, os2 2.0 returns dos 20, and so on.

A few programs I have (including Quarterdeck's Manifest) return Dos v20.0
in a dos window, so I believe it still works.

Dav[e|id]
From: ralpht@meaddata.com (Ralph W. Trickey)
Newsgroups: comp.os.os2.programmer
Subject: November OS/2 DAP CD-ROM Windows Problem
Date: 30 Dec 1992 13:07:44 GMT
Organization: Mead Data Central, Dayton OH
Distribution: world
NNTP-Posting-Host: retina.meaddata.com

I noticed a problem with the Windows 3.1 emulation on the DAP CD-ROM.
When running Quicken 2.0, the right mouse button does not show the
detailed numbers on a graph. This works with MS Windows 3.1. I am
running a 80386sx w/ 10 Meg memory, 8 meg swap, VGA, 2 button MS
compatible mouse. The mouse appears to function fine with all other
applications. The windows mouse test program shoows the right mouse button as
being functional.

-- 
Ralph Trickey       | (513) 865-6800                  |    	
Mead Data Central   | x4870                           |  Disclaimer
P.O. Box 933        | ralpht@meaddata.com             |  My opinions are my own
Dayton, Ohio  45401 | ...!uunet!meaddata!ralpht       |
From: "richard hajinlian" <richard.hajinlian@channel1.com>
Newsgroups: comp.os.os2.programmer
Subject: pragma info not fnd
Date: 2 Jan 93 19:37:40 EST
Reply-To: "richard hajinlian" <richard.hajinlian@channel1.com>
Distribution: comp
Organization: Channel 1 Communications

I'm getting the EDC0441 message and the Nov PDK is chocking on the
pragma info directive.  These are sample programs that came with OS/2
books.  But (come to think of it) the directive are in standard IBM
include files like process.h.

Any help would be appreciated.

Thanks ................   Rich.
--
Channel 1 (R)   Cambridge, MA
From: josephc@cco.caltech.edu (Joseph Chiu)
Newsgroups: comp.os.os2.programmer
Subject: Wow! How convenient (Printer Spool Viewer)
Date: 3 Jan 93 17:41:28 GMT
Article-I.D.: gap.1i78g8INN3l6
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu

I'm currently writing a little DOS-based program that uses the printer
on OS/2...  The ability to "test print" stuff without actually sending
it to the printer (by HOLD-ing the printer) is GREAT!!!   Now, I can 
make lots of "fine" changes to my output routines, and not waste a 
single sheet of paper!

Thanks OS/2!!!

(Shameless plug... :-)   )
-- 
Joseph Chiu, Dept. of Computer Science, Caltech.    josephc@coil.caltech.edu
1-57 California Institute of Technology, Pasadena, CA 91126. +1 818 449 5457 
*    Now running OS/2, Windows, DOS, and UNIX (okay, well, maybe not...)   *
Newsgroups: comp.os.os2.programmer
From: kumarad@ecf.toronto.edu (KUMARADAS JOSEPH CARL)
Subject: Re: CSET/2
Organization: University of Toronto, Engineering Computing Facility
Date: Mon, 4 Jan 1993 02:25:56 GMT

In article <1993Jan3.235006.26333@ultb.isc.rit.edu> pee9901@ultb.rit.edu () writes:
>
>   Is there any special command line switch or option I must use in
>order to get The compiler to use the Macros _LINE_, And _FILE_?
>
>I tried compileing a program using them and It says I must declare them
>before I use them.. very odd
>

The macro's are called __LINE__, and __FILE__.

Carl.
Xref: sparky comp.os.os2.programmer:7166 comp.databases:8626 comp.databases.sybase:529 comp.os.os2.networking:2529
From: lowey@jester.usask.ca (CrazyMan)
Newsgroups: comp.os.os2.programmer,comp.databases,comp.databases.sybase,comp.os.os2.networking
Subject: Re: WINOS2/DOS <-> OS/2 Named Pipe Bug?
Followup-To: comp.os.os2.programmer,comp.databases,comp.databases.sybase,comp.os.os2.networking
Date: 21 Dec 1992 20:35:40 GMT
Organization: University of Saskatchewan
NNTP-Posting-Host: jester.usask.ca
X-Newsreader: TIN [version 1.1 PL7]

Steve Brown (brown@dlogics.com) wrote:
: 
: I just got a bulletin from Microsoft claiming (justifiably) that their 
: SQLServer won't talk to WINOS2/DOS sessions on the same machine (local 
: named pipes). 
: They claim:
: 	Due to a bug in the OS/2 2.0 named pipes implementation, no
: 	support is available for client applications running in the virtual
: 	MS-DOS and Windows sessions running on OS/2 2.0.  This bug also
: 	prevents SQL Administrator from running on OS/2 2.0.
: 
: I am aware that network named pipes are not supported from the WINOS2/DOS,
: but find nothing about local named pipes being busted.  Does anybody have any
: background on this, like, Is it true?  If so, will it be fixed?  

I know that local named pipes (\pipe\pipename) work fine under OS/2
2.0, and if Microsoft wants I can send them some source code and the
GNU C++ compiler.

However, my guess is that Microsoft is implementing client
applications running locally just like client applications running
remotely, through a network server named pipe (\\SERVER\PIPE\pipename).  
That would make the programming a lot simpler, because you wouldn't
have to distinguish between "local" and "remote" clients.  However,
since the local DOS boxes don't know about the server pipes (yet), the
applications cannot be run locally.  This is supposed to be fixed in a
future version of OS/2.

- Kevin Lowey (Lowey@Sask.USask.CA)
>>>>> Anonymous FTP to FTP.USASK.CA for DOS, OS/2, and Windows programs <<<<<

Newsgroups: comp.os.os2.programmer
From: Brandon.Vanevery@launchpad.unc.edu (Brandon Vanevery)
Subject: CSet/2 vs. Watcom C?
Organization: University of North Carolina Extended Bulletin Board Service
Distribution: na
Date: Wed, 30 Dec 1992 22:27:21 GMT


Which compiler is "better" for OS/2 programming?  Why?  Is there even any
contest?

--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  laUNChpad.unc.edu or 152.2.22.80
Newsgroups: comp.os.os2.programmer
From: schuster@isa.de (Thilo Schuster)
Subject: S: Information about IFS driver
Organization: ISA Gmbh, Stuttgart, FRG
Date: Wed, 23 Dec 1992 08:46:51 GMT


Hello Netlanders,

I would like to write a IFS driver for reading (and writing) *NIX disks (with
Filesystems, no tar-Disks) under OS/2. I think it would be nice to
have a IFS-driver. But: I can't find any information about them.

Is there some information available (yes, I lokked already into the Redbooks)?

greets,

    	    	Thilo
-- 
Thilo Schuster, ISA GmbH
E-Mail: schuster@isa.de
UUCP:   ...!{uunet!unido,pyramid}!isaak!schuster
Newsgroups: comp.os.os2.programmer
From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
Subject: How do you trap MINIMIZE
Originator: parry@yoyo.cc.monash.edu.au
Organization: Monash University, Melb., Australia.
Date: Mon, 21 Dec 1992 13:15:05 GMT

I am trying to mimick some of the behaviour of PMSTICKY in one of my
programs. The particular behaviour is its ability to lock onto the corner
of a window when it is minimized.

Using PMTREE I have worked out that PMSTICKY uses one window but I am using
two to make things easier. I reparent the invisible window the the object
window when it's not in use.

Everything works great. When the minimize button of the window is hit - ie.
when I get a WM_MINMAXFRAME message, I hide and reparent the window,
put the little icon window on the desktop in the right place and everything
seems great. The problem is that the window Ihave tried to hide and
reparented to the object window is in the minimized window viewer.

According to the PM reference and the PDK PM programming volume, if you
cast mparam1 to a PSWP and then change it's members then the changed SWP
instructions will be used to perform the action. I have changed the
(PSWP)mparam1->fl in every possible way I can think of and no matter what I
do (including obviously removing the SWP_MINIMIZE flag) I can not get the
original window out of the viewer.

This is quite a problem because the window, although represented in the
minimized window viewer is a child of the object window and so doing
anything to it in the viewer stuffs things up quite nicely.

Anybody know the correct way to _STOP_ a minimization and do what you want
instead?

-- 
Tom J Parry.
Your reality is a figment of my imagination.
Newsgroups: comp.os.os2.programmer
From: assela@aix.rpi.edu (A. Andre Asselin)
Subject: Re: S: Information about IFS driver
Date: Thu, 24 Dec 1992 05:26:17 GMT

Thilo,
   There is a document from IBM that describes how to write an IFS.  Talk to
Irv or Frank on Compuserve, and they'll be able to get it for you.  You
should also be able to get it through the DAP.  Best of luck...
        - Andre Asselin  (assela@rpi.edu)