HDTenEightyP/NetNews huggingface dataset:
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer
Subject: Re: ACCESS VIOLATION in IBMDEV32.DLL
Date: 11 Jan 93 23:29:08 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <weinkam.726789764@sfu.ca> weinkam@fraser.sfu.ca (James Lawrence Weinkam) writes:
>I wrote a program to display each character of the selected font in
>sequence.  The font is selected by means of the WinFontDlg procedure.
>Once the font is selected, I do a GpiCreateLogFont using the fAttrs 
>returned from WinFontDlg.  Then I do a GpiSetCharSet, GpiSetCharBox,
>GpiQueryFontMetrics, GpiQueryCharStringPos to set the current font set,
>size and to determine the height and width of the String to be displayed.
>All these functions work perfectly.  I then do a GpiCharString using the
>same string as was used in the GpiQueryCharStringPos.  
>
>If the selected font is the Symbol Set font, and the size is greater 
>than 100 points I get an ACCESS VIOLATION AT LOCATION 1ADC791D in
>IBMDEV32.DLL 

What display driver are you using?  IBMDEV32.DLL is your display
driver, much like DISPLAY.DLL was under the 16-bit graphics engine.
If it's not an IBM driver, you must contact the vendor that supplied
the driver.
-- 
  |)  David Charlap          | .signature confiscated by FBI due to
 /|_  dic5340@hertz.njit.edu | an ongoing investigation into the
((|,)                        | source of these .signature virusses
 ~|~
From: bigbill@vnet.ibm.com (Bill Sarantakos)
Date: Tue, 5 Jan 93 22:41:51 EST
Newsgroups: comp.os.os2.programmer
Subject: Re: makedepend and gmake for OS/2 ?
Organization: IBM Canada Laboratory
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
            <1id4v9INNsd5@darkstar.UCSC.EDU>

In <1id4v9INNsd5@darkstar.UCSC.EDU> Louis Goldstein writes:
>Don't know about makedepend, but GNU make is available for OS/2 from
>ftp-os2.nmsu.edu.  Check out /pub/os2/00Index for location.

I tried to access ftp-os2.nmsu.edu but couldn't connect.  Does anyone
know the (number form of the) address?

Bill Sarantakos    OS/2 C++ Compiler Development     Toronto, Ontario
From: Andrew.Lighten@f383.n634.z3.fidonet.org (Andrew Lighten)
Newsgroups: comp.os.os2.programmer
Subject: # of File Handles?
Date: Thu, 31 Dec 1992 10:32:06

HXC6@psuv>From: H. Choe <HXC6@psuvm.psu.edu>
HXC6@psuv>Organization: Penn State University
HXC6@psuv>
HXC6@psuv>Hi.  I want to open a bunch of files simultaneously in my fortran
HXC6@psuv>(Watcom F77/386) program.  Here are questions:
HXC6@psuv>(1)  What is the default number of files handles?
HXC6@psuv>(2)  How to set the number of file handles?  (Is there something
HXC6@psuv>     similar to FILES=xx [in config.sys for dos] for OS/2?)  Or,
HXC6@psuv>     do I misunderstand something?
HXC6@psuv>Thanks.

(1) No idea at all. Never bumped into it.

(2) You can do it dynamically. Look at the DosSetMaxFH() function. The
    FILES=n statement in your OS/2 config.sys file is for DOS apps.

Andrew.
___
 * MR/2 1.1 NR * Bugs come in through open Windows.
            
 * Origin: The Lightning BBS - Don't Worry... Be Happy... (3:634/383)
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
From: dic5340@hertz.njit.edu (David Charlap)
Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
Subject: Re: YES! VIO/MOU/KBD documentation is here??
Date: 8 Jan 93 17:02:12 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.

In article <1993Jan07.192226.20809@kvamdata.no> ekl@kvamdata.no (Eirik Lygre) writes:
>The below quote is from an IBM CFORUM called os2tlkit,
>
>----------------------------------------------------------------------
>PRCP - OS/2 Online Programming Reference, Missing Sections
>
>The PRCP package is now available for download from the OS/2 BBS
>Software Library, Documentation Section.
>
>The PRCP package provides the sections to the online OS/2 Programming
>Reference that were "missing" in what came with the OS/2 2.0 ToolKit.
>The ZIP file unpacks to a single ".INF" file that can be incorporated
>with the other INF files that came with the OS/2 2.0 ToolKit. The
>"missing" sections it provides are:
>
>Control Programming Function Calls
>Keyboard Function Calls                                     <- KBD-calls?
>Mouse Function Calls                                        <- MOU-calls?
>Video Function Calls                                        <- VIO-calls?
>Errors Returned from Base OS/2 Calls (Numeric Order)
>----------------------------------------------------------------------

Although, I don't think it will document ALL of them.  The only VIO
calls that work with 32-bit code are the AVIO calls, because they are
device independant.  It says (in the redbooks) that the non-portable
calls have no "thunk" layer, and that they only exist for
compatibility with 16-bit code.


-- 
  |)  David Charlap          | .signature confiscated by FBI due to
 /|_  dic5340@hertz.njit.edu | an ongoing investigation into the
((|,)                        | source of these .signature virusses
 ~|~
Xref: sparky comp.os.os2.programmer:7417 comp.os.os2.advocacy:11891
From: ekl@kvamdata.no (Eirik Lygre)
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
Subject: Re: Why you should get everything in writing (long)
Date: 8 Jan 93 10:20:11 GMT
Organization: Kvam data as

In article <1993Jan7.220154.446@fcom.cc.utah.edu> brian@jaguar.cs.utah.edu (Brian Sturgill) writes:
>In article <1ii7alINNon4@controversy.math.lsa.umich.edu> spexet@math.lsa.umich.edu (D. Robert Spexet II) writes:
>>In article <1993Jan7.192103.16828@netcom.com> rcain@netcom.com (Robert Cain) writes:
>>>I joined the Developers Assistance Program and through that arm
>>>obtained a verbal assurance that there would be "no problem" obtaining
>>>said source code since there was nothing proprietary.  Based on this
>>>assurance and the license I had negotiated for using the interpreter I
>>>quit my day job to live off my savings and develop this product which I
>>>was going to call SimpleScript.
>>
>>Not to question your judgement in this case, but do you think that it was
>>really a wise move to do what you did on the basis of a verbal promise,
>>with nothing backing it up in writing?
>
>
>I think you misunderstand Bob's problem.  All he wanted was a sample printer
>driver.  IBM should have had this available well before OS/2 2.0 GA shipped.
>The point is that they didn't, and they still don't.
>I would agree with you comment if Bob had wanted something unusual from
>IBM, but this is standard stuff.
>
>Brian

I realize that Bob is pissed off -- I would, too. One thing, though, is that
the driver he needs is owned and copyrighted by Microsoft. Perhaps he could
talk to them, and have them release it. That way, he could (perhaps) get
his investment back. Given that Microsoft has a much better track record
with developer support, they would probably help him.

It's very hard to know what has taken place behind the curtains here. For
all I know, IBM may have been pushing very hard on Microsoft to get that 
source code released, maybe even arguing "There is a little guy with all 
his savings on the line", with Microsoft saying "We won't help OS/2 for
all the rice in china". Then again, maybe not.

And yeah, I agree with Bob that IBM has much to learn about developer
support. That will not prompt me to abandon os/2 and ibm, as he suggests.
While Windows NT is a very advanced operating system in its ways, I
believe the workplace shell makes it possible to create more user friendly
and intuitive applications than does the Windows user interface. There-
fore, the hassle may be worthwhile.

Eirik

----------------------------------------------------------------------
Eirik Lygre                                     Phone:    +47 4 623766
Kvam data as                                    Fax  :    +47 4 623985
PO Box 1101 Lura                                Email: ekl@kvamdata.no
N-4301  SANDNES, NORWAY
======================================================================
From: keating@casemo.UUCP (John Keating )
Newsgroups: comp.os.os2.programmer
Subject: COMx can't be deleted...
Date: 5 Jan 93 17:10:16 GMT
Organization: Cray Communications, Inc.

'lo all!

I'm doing some maintenance work on a project, and have noticed that the
program occasionally leaves COMx files in the directory in which it the
program was run.  Most of the time, these files can be deleted, but
sometimes, I get an error message like:

[C:\Bin]del com2
\DEV\COM2
SYS0003: The system cannot find the path specified.

I suspect that the files are left when the com ports aren't closed
properly.  Am I correct?  Is there a way to delete these files from
the keyboard without trying to delete my com driver?

John Keating
-- 
      John William Keating, III      /-----------------------------------------
 -+=< Cray Communications, Inc. >=+- | If you do something stupid after reading
 formerly: Dowty Communications Inc. | this message, it is your own fault, not
   keating%casemo@mimsy.cs.umd.edu   | mine nor the company I work for.  -me-
Newsgroups: comp.os.os2.programmer
From: rcain@netcom.com (Robert Cain)
Subject: If you have a PS/2 P75...
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Tue, 12 Jan 1993 23:03:41 GMT

This is probably not the right place to ask but...

I am using a P75 and I have an external 8515 display.  The book says
that the system has an XGA controller in it and one can use an external
display instead of the builtin plasma.  Yep, by golly you can but I
can't find a way to get it to operate at higher than the 640 by 480
resolution of the plasma device.  Is this a limitation of the system
or am I not doing something right?  (As usual. :-)

Thanks,

Bob

-- 
Bob Cain    rcain@netcom.com   408-358-2007

    'The meek shall inherit the earth--the rest of us will move on..'
                                                    Sameer Parekh


               PGP 1.0 or 2.0 public key available on request.
From: rariedel@beckman.com (Bob Riedel)
Newsgroups: comp.os.os2.programmer
Subject: **SEGMENT VIOLATIONS and DLLs**
Date: 8 Jan 93 17:11:24 PDT
Organization: BECKMAN

I am having difficulty getting an application object library to work
without generating segment violation errors under OS/2 V1.3 using the
Microsoft C6 compiler.

The modules which make up the library are being compiled using the
/MT /AL /Aw /G2 /Gc switches because they are ultimately destined to be
part of a DLL (they are not currently).

I am having some difficulty deciding when to use the _loadds attribute
on the individual functions, and the absence of this attribute on some
of the components of the library seems to be the primary cause of the
problem.

All of the problems (so far) appear when one module passes stack variables
by reference to another module. For some reason the receiving module cannot
reference the caller's data. It even happens when private modules (those not
referenced outside the DLL) in a separate thread wake up on a timer and pass
stack variables by reference to another function (which then blows up). The
offending private modules have static data.

These are my questions:

	1 - When do you use the _loadds attribute, and when do you not
	    have to?

	2 - Can the private parts of the library, that is those functions
	    which cannot be called outside the library, be compiled using
	    a standard model (ie: /MT /AL), while only the exported sections
	    are compiled using /ALw?

	3 - If the answer to (2) is no, then does that mean that even some
 	    private modules must have the _loadds attribute?

	4 - Does the main() need any special attributes if it is compiled
	    using /ALw?

	5 - Why can't the Microsoft C "Advanced" Programming Techniques
	    manual answer some of these stupid questions?
From: merlin@neuro.usc.edu (merlin)
Newsgroups: comp.os.os2.programmer
Subject: Re: Are there any good programming books for os/2 2.0?
Date: 10 Jan 1993 17:19:52 -0800
Organization: University of Southern California, Los Angeles, CA
NNTP-Posting-Host: neuro.usc.edu

>If you don't know any programming for OS/2, there are a couple of books
>which deal with OS/2 1.x (both kernal and PM).  I can't remember the name
>of the kernal book, but the PM book is "Programming the OS/2 Presentation
>Manager" by Charles Petzold.  I *highly* recommend getting it if you're
>doing any PM programming.  

Perhaps this is the kernel book you have in mind?

    Nguyen-T, Moskal-R.  Advanced Programmer's Guide to OS/2.
    Brady Books 1989.  ISBN 0-13-642935-1.  

>Under OS/2" (or something like that) which has been updated for 2.0 (is
>it on the shelves yet?  I haven't looked...).

    Orfali-R, Harkey-D.  Client/Server Programming with OS/2 2.0.
    Van Norstrand Reinhold 1992.  ISBN 0-442-01219-5.


Merlin                        Never let it be forgot
The Magician                  That there once was a spot
King Arthur's Court           For one brief shining moment
Camelot                       That was known as Camelot
From: hacker@cco.caltech.edu (Jonathan Bruce Hacker)
Newsgroups: comp.os.os2.programmer
Subject: EPM SetMenuAttribute() query
Date: 12 Jan 1993 05:49:17 GMT
Organization: California Institute of Technology, Pasadena
NNTP-Posting-Host: punisher.caltech.edu

I have been experimenting with adding a new submenu to the EPM 5.51
menu bar from a mystuff.e file.

I am wondering how I change the menu attributes without editing the
PROCESSMENUINIT command definition in the stdctrl.e file.

Right now, in order to add checkmarks beside some menu entries, I
added the following to stdctrl.e:

defc PROCESSMENUINIT 
...

if menuid='mymenuid' then
   SetMenuAttribute('mymenuitem',8192,myflag)
endif

...


For portability reasons, I would like to move this out of stdctrl.e to
mystuff.e, but how do I do it?
-- 
Jon Hacker
Caltech, Pasadena CA
hacker@tumbler-ridge.caltech.edu
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
From: rcain@netcom.com (Robert Cain)
Subject: Re: How to bet $100,000 on OS/2 and lose it.
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Tue, 12 Jan 1993 23:15:05 GMT

shurr@cbnews.cb.att.com (larry.a.shurr) writes:
: In article <1993Jan12.175549.15638@netcom.com> rcain@netcom.com (Robert Cain) writes:
: }I wish to report that IBM is doing a great deal to assist me in
: }response to my early morning bitch.  Thanks to some unsolicited and
: }excellent technical advice from an IBM developer in Boca I now see a
: }very elegant and simple way to accomplish my goal without need for the
: }driver at all.  A much better solution than the one I envisioned.
: 
: Would you be willing to share this insight even though I am such an
: OS/2 neophyte, I might not know what to do with it?
: 

It's so simple I am almost ashamed to tell.  A device monitor hung at
the tail end, fielding output to LPT1.  It has many advantages over
hacking the driver.  I have sample code.  The fun starts with:

	if (RC = DosMonOpen((PSZ)"LPT1", (PHMONITOR)&MonHandle))

Peace,

Bob
-- 
Bob Cain    rcain@netcom.com   408-358-2007

    'The meek shall inherit the earth--the rest of us will move on..'
                                                    Sameer Parekh


               PGP 1.0 or 2.0 public key available on request.
Xref: sparky comp.os.os2.programmer:7391 comp.os.os2.advocacy:11843
Organization: University of Illinois at Chicago
Date: Fri, 8 Jan 1993 02:42:58 CST
From: David James Alexander Hanley <U16244@uicvm.uic.edu>
Newsgroups: comp.os.os2.programmer
Subject: Re: FORTRAN for OS/2?

  Well, I think I saw a ( free ) program that translates FORTRAN into C.
You could then use GNU C ( also free ) to compile this code into an
executable file.  You could automate the process with  a snall REXX
program.  Hey, try it, it's free!

  --DAVE!!!
-------------------------------------------------------------------------------
"In every country and in every age, the priest has been hostile to liberty.
He is always in alliance with the despot, abetting his abuses in return for
protection to his own" - Thomas Jefferson, 1814

SEND E-MAIL TO : hanley1@earth.eecs.uic.edu
From: tcscs!zeta@src.honeywell.com (Gregory Youngblood)
Newsgroups: comp.os.os2.programmer
Subject: Are there any good programming books for os/2 2.0?
Date: Sat, 09 Jan 93 18:33:50 CST
Reply-To: zeta%tcscs@src.honeywell.com
Organization: TCS Consulting Services

I've been looking for some programming books for OS/2 but have not had any
luck at all.

I found out also that Microsoft Basic PDS 7.1 will also produce OS/2 real
and protected mode programs as well.  

I'd like any programming books for OS/2 either for Basic or C.  Thanks

Greg

.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
.   TCS Consulting Services   P.O. Box 600008   St. Paul, MN  55106-0008    .
.   ..!srcsip!tcscs!zeta                 ..!src.honeywell.com!tcscs!zeta    .
.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
Newsgroups: comp.os.os2.programmer
From: stewarta@netcom.com (Alex Stewart)
Subject: Re: Why you should get everything in writing (long)
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
X-Newsreader: Tin 1.1 PL5
Date: Sun, 10 Jan 1993 06:53:18 GMT

Sorry, I guess I missed that bit of your followup posting.  And "contract" is,
admittedly, not the right word.

There are, however, still some people that don't get my point:

aki@cruzio.santa-cruz.ca.us wrote:
: go that far.  Don't the guys at IBM KNOW how IMPORTANT invidual
: software developers are??  Out of Windows software over HALF was
: made by startups of less than 5 persons. If OS/2 is ever to become
: anything more than a shadow of Windows,  it better stack every card
: it can find in its favor.  Right now IBM just sent a clear message
: to every code cruncher on this planet:  "Don't trust us."
: 
: It can be argued that this whole affair is the result of an individual
: at IBM.  However,  I would like to point out that no matter what the
: company,  the employer is, if not legally,  then morally responsible
: for promises made by employees.  Besides,  none of the bad-IBM-PR
: hunting journalists I talked to gave the notion of "just an
: employees fault" more than a split-second of their time.  When will
: IBM learn:  if you are big, everyone will be looking for reasons to
: pick on you.  Of course this does give IBM an excellent opportunity
: to fix the damage,  if it can do so quickly enough. (any VP's reading
: this looking for brownie points??).

Exactly what do you expect IBM to do?  As I see it, there are two ways that
IBM could have handled this differently:

1)  They could have been prescient and known that this guy was going to give
    out wrong information before he did.
2)  They could have broken copyright law and given out the source code and been
    sued by Microsoft.

If you can manage to make either of these options reasonable alternatives, then
I'll start listening.
-- 
-----------------------------------------------------------------------------
Alex Stewart:         Sysop of YBBS (510) 689-8952 |   This space for rent.
stewarta@netcom.com   .----------------------------'-------------------------
stewarta@carleton.edu | Somebody, somewhere, is offended by what I am saying.
-----------------------------------------------------------------------------
Newsgroups: comp.os.os2.programmer,comp.os.os2.advocacy
From: shurr@cbnews.cb.att.com (larry.a.shurr)
Subject: Re: How to bet $100,000 on OS/2 and lose it.
Organization: AT&T Bell Laboratories, Columbus, OH
Date: Tue, 12 Jan 1993 19:19:09 GMT

In article <1993Jan12.175549.15638@netcom.com> rcain@netcom.com (Robert Cain) writes:
}I wish to report that IBM is doing a great deal to assist me in
}response to my early morning bitch.  Thanks to some unsolicited and
}excellent technical advice from an IBM developer in Boca I now see a
}very elegant and simple way to accomplish my goal without need for the
}driver at all.  A much better solution than the one I envisioned.

Would you be willing to share this insight even though I am such an
OS/2 neophyte, I might not know what to do with it?

}I probably should have seen this method myself but OS/2 is so rich
}functionally that it escaped my notice.  There is a lesson here.
}Had I known of this long ago, my product would be out there now.
}[The need for an expert consultation service as part of the DAP].

}As I was typing that I received a call from John Soyring's office
}[suggesting that very idea and stating that it "is being addressed"].
>[Unlike MS, the "new IBM" can acknowledge and ameliorate mistakes.]

I am pleased and gratified that your situation is taking a turn for
the better.  It's a pity that you had to throw a tantrum to get the
attention you needed.  You were dealing with a company on "automatic
pilot" -- i.e., no thinking, just blindly doing things the "way we've
always done them."  Often times, the people will behave this way even
when they have the authority to act differently.  Big companies are
prone to this, but even a company like Microsoft can suffer from it
(though right now, it's difficult to tell if MS is being stupidly
malicious or if they're just being stupid when they hinder the
progress of OS/2).  Stretching my pilot allegory to the breaking
point, you seem to have made enough noise to get the attention of the
Captain who took the company off of automatic pilot -- felicitations.

I wonder if IBM also needs a "Problem Resolution Officer" to help
facilitate the process of finding solutions to such problems?

Larry
-- 
Larry A. Shurr (las@cbnmva.att.com) speaking only for myself.
Norman, listen carefully.  I am lying.  Are you sure your circuits are
registering?  Your ears are green.  Logic is a little bird singing in a
meadow.  Logic is a wreath of pretty flowers which smell bad! - Mr. Spock
From: ole@dc.dk
Newsgroups: comp.os.os2.programmer
Subject: Printer Drivers
Keywords: This field is intentionally left blank       device, driver
Date: 11 Jan 93 09:52:16 GMT
Organization: Datacentralen A/S

Coming from the unixworld I am not aware of any good ftp-sites for OS/2.
I am looking for a printerdriver for Nec Pin P2+ and for
OKI Microline 293 Elite.

Remember real programmers does not die they just branch to another address.
From: francis@vnet.ibm.com (Tim Francis)
Date: Mon, 4 Jan 93 11:07:42 EST
Subject: Re: Back from the Dead: status, and questions
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 <610.2B47B2C3@kennel.FIDONET.ORG>,
Michael.Nelson@f20.n125.z1.FIDONET.ORG (Michael Nelson) writes:
>
>    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
>
>    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?

The PDK contains beta copies of the next release.  The CSDs provide fixes
for the current release.  Do not try to combine the two -- they're not
in the least bit compatible.   -tim