Path: utzoo!attcan!uunet!cs.utexas.edu!yale!mintaka!mintaka!weiss From: weiss@theory.lcs.mit.edu (Paul G. Weiss) Newsgroups: comp.os.os2 Subject: IBM v Microsoft Incompatibility Message-ID: Date: 2 Jul 90 16:44:52 GMT Sender: news@mintaka.lcs.mit.edu Distribution: comp Organization: MIT Lab for Computer Science Lines: 11 I have noticed an incompatibility between the version of OS/2 V1.20 that I received from Microsoft with the SDK and the version that my customers have received from IBM. The affected call is DosQCurDir. The third argument is a pointer to a variable that has the size of the buffer. It is documented as a PUSHORT. I had set the value of this variable equal to 0xffff to effectively disable the length check. This worked in the Microsoft version. It did not in the IBM version. If I set the variable to 0x7fff it worked in the IBM version, leading me to believe that IBM treats the parameter as a PSHORT instead of a PUSHORT.