Article View: comp.windows.ms.programmer
Article #1177Weird WINOLDAP problems
From: Andrew Rossmann
Date: Wed, 30 Jan 1991 00:08
Date: Wed, 30 Jan 1991 00:08
18 lines
1487 bytes
1487 bytes
I was working on my INFOPLUS program the other day, adding in the information you can get from the WINOLDAP functions available in Enhanced mode. I was using the 'Get Device Capabilities' call (INT 2FH w/ AX=170Ah, and DX=info index.) What was strange is that I often ended up with 0 being returned instead of the data. It wasn't a programming problem, as it sometimes worked, and sometimes didn't. Through trial and error, I found that if I do a call to 'End Critical Section' immediately before making the 'Get ..Capab..' call, things worked fine. I make no 'Set Critical Section' calls, and had tried placing the code within a 'critical' block, with no effect. Does anyone know what's going on? Is there another way to get this information? My programming is in Turbo Pascal, so using the SDK is out. Assembly is OK. --------------- Andrew Rossmann | Sysop of Infoplus BBS, +1 708 537 0247 andyross@infopls.chi.il.us | Infoplus Support, latest version available uunet!ddsw1!infopls!andyross | by logging in as infoplus.
Technical Details
Message-ID:
<ew9Jw2w163w@infopls.chi.il.us>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!midway!gargoyle!igloo!infopls!andyrossShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!midway!gargoyle!igloo!infopls!andyross From: andyross@infopls.chi.il.us (Andrew Rossmann) Newsgroups: comp.windows.ms.programmer Subject: Weird WINOLDAP problems Message-ID: <ew9Jw2w163w@infopls.chi.il.us> Date: 30 Jan 91 00:08:13 GMT Organization: INFOPLUS support, Wheeling, IL Lines: 18