home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 August / CICA.cdr / unzipped / nt / msg2 / mswin32.msg
Encoding:
Text File  |  1992-10-31  |  364.7 KB  |  11,079 lines

  1. #: 15731 S1/NonTech Cust. Serv.   
  2.     24-Oct-92  01:13:52
  3. Sb: Message Archive Avail!
  4. Fm: Otto Fung 76260,631
  5. To: All
  6.  
  7. Hello All,
  8.  
  9.         Messages Archive for MSWIN32 forum is now available. I will post the
  10. archive weekly on every (roughly) Friday. It's name is MSG*.ZIP while * is the
  11. week number since the archives started. The first one is MSG1.ZIP on library 1
  12. - New Uploads.
  13.  
  14.         I would like to thank Steve, sysop of the WINNT forum on CompuServe,
  15. by providing a good package to help me to process the archive. I hope that the
  16. format of the archive file is good and acceptable. And welcome for feedback.
  17.  
  18.         Otto Fung
  19.  
  20.  
  21. #: 15734 S1/NonTech Cust. Serv.   
  22.     24-Oct-92  06:49:30
  23. Sb: #15348-compuserve support
  24. Fm: Scott Wheeler 100022,2005
  25. To: John Oellrich 72611,1452 (X)
  26.  
  27. Thanks for the advice. Trouble is now nothing on the PC displays *anything*
  28. coming from the modem, despite that I can see and hear that the manual
  29. commands let it log on. Works as normal on the Sun, and I can't think of
  30. anything that I've changed that would survive a reset I suspect this is God's
  31. way of telling me that Real Micros are standalone and run CP/M. I think I try
  32. swapping a few PCs to try to find out more, though I did that earlier with no
  33. more success.
  34.  
  35. Scott
  36.  
  37. #: 15735 S1/NonTech Cust. Serv.   
  38.     24-Oct-92  06:53:27
  39. Sb: #15447-compuserve support
  40. Fm: Scott Wheeler 100022,2005
  41. To: John Mueller [DBA] 75300,576
  42.  
  43. No, it's supposedly a standard Hayes modem, although Unix machines are very
  44. flexible in the modems they support (the obfuscation department was on holiday
  45. when this part of the OS was designed). Sorry, meant Hayes compat.
  46.  
  47. I'd probably better stop talking on this thread before the sysop (editor?
  48. forget word) give the heavy look. Thanks to all for your advice.
  49.  
  50. Scott
  51.  
  52. #: 15779 S1/NonTech Cust. Serv.   
  53.     26-Oct-92  09:51:17
  54. Sb: #15728-Oct Win32SDK Docs
  55. Fm: Stu Wiley 70473,1351
  56. To: John Reece 70153,2077
  57.  
  58. John,  I sent you a copy.  You should get a replacement wqithin a few days.
  59.  Stu Wiley Developer Service Team
  60.  
  61. #: 15766 S1/NonTech Cust. Serv.   
  62.     26-Oct-92  06:21:22
  63. Sb: NT Mailslot Read
  64. Fm: Mark A Skerencak 71214,262
  65. To: Microsoft
  66.  
  67. I am having problems porting a unix inter process communication (IPC)
  68. application. The unix application uses mailslots as I am attempting to do. The
  69. test bed I am using is a single process that spawns two threads. Each thread
  70. connects to a mailslot and continuously reads the mailslot to see if a message
  71. have arrived.   I have set the timeout to MAILSLOT_WAIT_FOREVER. I do not want
  72. the function ipc_msg_receive() to return until it has read a message. The code
  73. below attempts to do that but it returns if the mailslot is empty.  Does the
  74. call
  75. SetMailslotInfo with a timeout of MAILSLOT_WAIT_FOREVER have any affect on the
  76. ReadFile() call? Will the ReadFile() call return an error (fResult == 0) if
  77. the
  78. mailslot is empty (that is what it is doing now) even if the timeout was set
  79. to
  80. wait forever? Should I be using Named Pipes instead? Any help or sample
  81. applications you could provide would be greatly appreciated.
  82.  
  83. #: 15783 S1/NonTech Cust. Serv.   
  84.     26-Oct-92  11:49:20
  85. Sb: #15766-NT Mailslot Read
  86. Fm: Jerry Drain [Microsoft] 72350,2056
  87. To: Mark A Skerencak 71214,262
  88.  
  89. Hi Mark,
  90.  
  91. We've devided up the forums into sections where we can group like questions,
  92. and so you can ask your question in a specific location where our different
  93. expertise are assigned to monitor CIS traffic.  Your question is very
  94. technical, and this specific section is the non-technical customer service
  95. section.  I see that you've already posted this question in section 6
  96. (Base/Security), which was appropriate.  You might also find information
  97. helpful to you in the section for porting Unix (section 11), and the section
  98. for RPC (section 12).
  99.  
  100. Thanks,
  101.   -- Jerry [@Microsoft]
  102.  
  103. #: 15736 S1/NonTech Cust. Serv.   
  104.     24-Oct-92  06:58:23
  105. Sb: Testing Win 3.1 Products
  106. Fm: Leon G Rollison 70421,1702
  107. To: David Taniguchi 72350,2054 (X)
  108.  
  109. David,
  110.  
  111. I finally got Win32 running on my system after biting the bullet and
  112. purchasing an Adaptec 1542B SCSI Controller.
  113.  
  114. I am impressed with the stability of the product as it stands now.
  115.  
  116. I have two questions.
  117.  
  118. 1)  I tried to install my Win 3.1 Trutype fonts and wound up with     huge
  119. dialog boxes and fonts.  Why?
  120.  
  121. 2)  I have a fairly large number of Win 3.1 applications.  Would     anyone as
  122. Microsoft be interested in those product's ability
  123.     to run under Win32?  I have already played around with Borland
  124.     C++ 3.1.  It seems to run O.K. if I place WINSTUB.EXE in the
  125.     MSTOOLS directory where Win32 can find it.  My applications are
  126.     as follows:
  127.  
  128.         Microsoft Word for Windows 2.0
  129.         Microsoft Excel 4.0
  130.         Microsoft Project 3.0
  131.         Microsoft SDK & C/C++ 7.0
  132.         Borland C++ & Application Frameworks 3.1
  133.         Borland Turbo Pascal 1.5
  134.         Borland Objectvision 2.1
  135.         PC Tools Backup for Windows 7.2
  136.         Perform PRO Plus
  137.         On Time 1.0
  138.         Winfax Pro 2.0
  139.         Quicken
  140.  
  141. I don't know if compatibility issues whoul be of any help to your development
  142. team, but I would be willing to do some compatibility testing if I could be of
  143. any help.  Please let me know.
  144.  
  145. Thanks,
  146. Leon 
  147.  
  148. There is 1 Reply.
  149.  
  150. #: 15796 S1/NonTech Cust. Serv.   
  151.     26-Oct-92  13:38:26
  152. Sb: #15736-Testing Win 3.1 Products
  153. Fm: Stu Wiley 70473,1351
  154. To: Leon G Rollison 70421,1702
  155.  
  156. Leon,
  157.  
  158. Sounds like you have some good things to work with.  And thanks for the
  159. offers. You will probably want to post your first question (size of dlgs,
  160. fonts in WinNT) in section 5 of this forum.  The second you will probably want
  161. to put in the WINNT section 4. I may not be totally accurate here, but they
  162. are the best thoughts I have.
  163.  
  164. As far as compatability testing, we try to get total involvement by the
  165. companies responsible for each respective product.  Ask the folks in the WINNT
  166. forum section 4 for ideas and options.
  167.  Stu Wiley Developer Service Team
  168.  
  169. #: 15870 S1/NonTech Cust. Serv.   
  170.     27-Oct-92  10:35:08
  171. Sb: Your MSG
  172. Fm: Robert Eidson 70214,2115
  173. To:  70744,24 (X)
  174.  
  175. Paul:
  176.    Your message this morning helped.  I will start to work with these tools. I
  177. need a few pointers on some basic fundementals.  For the time being I'm going
  178. to continue to use (when I can get it working again (g)) C 6.0 for the daily
  179. bread'n'butter stuff.  Meantime I want to quickly move development into the NT
  180. arena.  My questions: (1)What are the steps I need to follow to do a
  181. compile/link in NT? (2) Is WinDbg the place I go for codeview support in the
  182. debugging stage? (3) Is the C 7.0 I have with NT suitable for creating DOS
  183. programs? If yes can I still use WinDbg to debug them or should I switch to
  184. the CV supplied with C 6.0?
  185.    Besides the foot and a half of technical manuals I received with the July
  186. release of NT I have nothing else. I know I know, whats new (right (g)). Where
  187. do I get helpful lit. on these basic operating procedures and practices?  I
  188. sure don't want to pester you for all of the details.
  189.    Thanks for everything.        Bob Eidson
  190.  
  191. #: 15863 S1/NonTech Cust. Serv.   
  192.     27-Oct-92  10:15:19
  193. Sb: Tools et al
  194. Fm: Robert Eidson 70214,2115
  195. To:  70744,24 (X)
  196.  
  197. Paul: I'm having trouble getting a msg back to you. Did you receive this one?
  198. I'm having problems with my system configuration. I have C 6.0, Windows for
  199. Workgroup and NT.  When I now use NMAKE (and NMK) it fails.I have the
  200. following MAKEFILE:
  201.  
  202. styedit.obj : styedit.c
  203.     cl  /c /AS /Od /Zi styedit.c
  204.  
  205. styedit.exe : styedit.obj
  206.    /LINK /CO styedit.obj
  207.  
  208. When I type NMAKE I get the following failure:
  209.  
  210.         cl  /c /AS /Od /Zi styedit.c styedit.c fatal error C1002: compiler is
  211. out of heap space in Pass 2 NMAKE : fatal error U1077 : 'cl' : return code '2'
  212. Do you have any clue as to what I've mucked up?     Bob Eidson
  213.  
  214.  
  215.  
  216. There is 1 Reply.
  217.  
  218. #: 15897 S1/NonTech Cust. Serv.   
  219.     27-Oct-92  15:21:41
  220. Sb: #15863-Tools et al
  221. Fm: Jerry Drain [Microsoft] 72350,2056
  222. To: Robert Eidson 70214,2115 (X)
  223.  
  224. Hi Bob,
  225.  
  226. PMJI, but if you have many questions on these subjects, you can answer them in
  227. the tools section (MSWIN32/Section 7).  A good starting point is to look at
  228. the SDK samples provided in \mstools\samples\ .  There is also a Q_A\samples
  229. directory included with the SDK that has additional samples, and a collection
  230. of KB articles.
  231.  
  232. Thanks,
  233.   -- Jerry [@Microsoft]
  234.  
  235. #: 15946 S1/NonTech Cust. Serv.   
  236.     28-Oct-92  04:58:13
  237. Sb: HAPPY BIRTHDAY BILL
  238. Fm: Paul Pignatelli 76367,2721
  239. To: All
  240.  
  241. Today is Bill Gates's birthday, and even though we are an OS/2 only store, we
  242. do recognise the extreme importance that Mr. Gates has played in the PC
  243. revolution.  Bill Gates, through Microsoft, has made our lives more
  244. productive, interesting, and exciting.  Could everyone reading this posting
  245. please put their names below, and then perhaps someone could deliver this
  246. message to The Chairman himself.
  247.  
  248.                                       HAPPY BIRTHDAY
  249.  
  250.                                           BILL GATES
  251.  
  252.                      FROM THE COMPUTING COMMUNITY
  253.  
  254. Signed, Paolo Pignatelli [The Corner Store]
  255. ...
  256. ...
  257.  
  258. There is 1 Reply.
  259.  
  260. #: 15960 S1/NonTech Cust. Serv.   
  261.     28-Oct-92  08:06:50
  262. Sb: #15946-HAPPY BIRTHDAY BILL
  263. Fm: Len Gray 71630,1703
  264. To: Paul Pignatelli 76367,2721 (X)
  265.  
  266. ..And many more happy ones to come, Bill!  -  Len Gray [Impact Software]
  267.  
  268. #: 15854 S1/NonTech Cust. Serv.   
  269.     27-Oct-92  07:34:01
  270. Sb: WIN32/NT SDK Release 2
  271. Fm: Don Perry 76676,1127
  272. To: Non-Tech Support
  273.  
  274.  
  275.  
  276. I have ordered and received the complete July developers pre-release
  277. (including all documentation) of the WIN32/NT SDK. I ordered it from Microsoft
  278. over the phone and assumed that I was registered.
  279.  
  280. There is a new beta release supposedly being released this week but I'm
  281. wondering if I am indeed registered for it as others who have bought the
  282. pre-release SDK have gotten letters I haven't and Microsoft still continues to
  283. send me "advertising" to get in to the WIN32/NT program which I already have.
  284.  
  285. Please check to see if I am indeed registered and if I will receive the
  286. October release without any action on my part.
  287.  
  288. Information on my packing list from the SDK is:
  289.  
  290.      PERRY, DONALD
  291.      3930 CRAL PLACE   <-----------(Should be "KRAL PLACE")
  292.      PLEASANTON, CA 94588
  293.  
  294.   Ship date: 16-Sep-92
  295.  
  296.   Product:   ASSY WIN32 SDK (CDROM) DOC REL 1
  297.  
  298.  
  299. Thanks, Don Perry
  300.  
  301.  
  302.  
  303. There is 1 Reply.
  304.  
  305. #: 15968 S1/NonTech Cust. Serv.   
  306.     28-Oct-92  11:20:44
  307. Sb: #15854-WIN32/NT SDK Release 2
  308. Fm: Stu Wiley 70473,1351
  309. To: Don Perry 76676,1127
  310.  
  311. Don,  you're set.  It was sent out on the 26th.  You will want to hang onto
  312. the following ID number adn reference it inthe future.  501124509.
  313.  Stu Wiley
  314.  Developer Service Team
  315.  
  316. #: 15948 S1/NonTech Cust. Serv.   
  317.     28-Oct-92  05:36:34
  318. Sb: Microsoft Press
  319. Fm: John B (Johannesburg) 73747,2703
  320. To: sysop (X)
  321.  
  322. Could someone at Microsoft provide me a FAX no. for Microsoft Press. I'd like
  323. to order the Windows Interface Application Design Guide and the easiest way to
  324. do so is to send a credit card no. by FAX.
  325.  
  326. Thanks
  327.  
  328. John Ballinger (Johannesburg - South Africa)
  329.  
  330. There is 1 Reply.
  331.  
  332. #: 15970 S1/NonTech Cust. Serv.   
  333.     28-Oct-92  11:20:56
  334. Sb: #15948-Microsoft Press
  335. Fm: Stu Wiley 70473,1351
  336. To: John B (Johannesburg) 73747,2703
  337.  
  338. John, 206/936-7329 and designate MSPRESS on the Cover sheet.  It should get
  339. rerouted correctly.  Stu Wiley Developer Service Team
  340.  
  341. #: 16008 S1/NonTech Cust. Serv.   
  342.     28-Oct-92  16:44:44
  343. Sb: #15617-MS: Oct SDK ships!!
  344. Fm: John Mueller [DBA] 75300,576
  345. To: Dwight Matheny/Microsoft 70750,2340 (X)
  346.  
  347. Well, I got my update today.  I haven't loaded it yet, but plan to this
  348. evening sometime.
  349.  
  350. It's good to hear that Windows performance has improved.  It's likely that DOS
  351. performance has as well based on what I've read in the beta package.
  352.  
  353. John Mueller
  354.  
  355. #: 15958 S1/NonTech Cust. Serv.   
  356.     28-Oct-92  08:02:30
  357. Sb: Missing Manual for NT
  358. Fm: Robert Eidson 70214,2115
  359. To: sysop (X)
  360.  
  361. Sysop:
  362.        I have discovered that I did not receive the Microsoft Windows 32-bit
  363. Development Kit Guide to Programming.  What I did receive was:
  364.   (1) Tools, (2) Programmer's Reference: Overviews, (3) Programmer's
  365. Reference: Application Programming Intervace Part 1 & 2, (4) RPC Programmer's
  366. Guide and Reverence, (5) Class Libraries Reference, (6) Class Libraries User's
  367. Guide and (7) Run-Time Library Reference.
  368.  
  369.        Besides not having the Guide to Programming what else might I be
  370. missing based on this list?  Would you have them sent to me as soon as
  371. possible please.  They can be sent to:
  372.        Robert Eidson
  373.        Graphic Systems Applications, Inc.
  374.        14825 S. W. Rainbow Drive
  375.        Lake Oswego, Oregon 97035-2662 Thank you very much.
  376.  
  377. Bob
  378.  
  379.  
  380.  
  381. There is 1 Reply.
  382.  
  383. #: 16081 S1/NonTech Cust. Serv.   
  384.     29-Oct-92  10:50:35
  385. Sb: #15958-Missing Manual for NT
  386. Fm: Stu Wiley 70473,1351
  387. To: Robert Eidson 70214,2115 (X)
  388.  
  389. Bob, Appreciate the conversation yesterday.  I'll check into a replacement
  390. manual for you.
  391.  Stu Wiley
  392.  Developer Service Team
  393.  
  394. #: 16040 S1/NonTech Cust. Serv.   
  395.     28-Oct-92  23:28:49
  396. Sb: MFC NT compile error
  397. Fm: Nigel Chorley 100013,1717
  398. To: sysop (X)
  399.  
  400. I am using the July 92 version.
  401. I tried to compile the MFC library  (nmake model=N in dir mstools/mfc/src)
  402. and got an error...
  403.  
  404. window.cpp (359):error C2446:'=' no conversion
  405.       between 'int (__near__cdecl*)(void)' and 'void__near*'
  406.  
  407. All previous MFC lib files had compiled.
  408. All MFC sample programs also compile and link OK (so far)
  409.  
  410. Can you help
  411. Thanks, Nigel Chorley
  412.  
  413.  
  414. There is 1 Reply.
  415.  
  416. #: 16089 S1/NonTech Cust. Serv.   
  417.     29-Oct-92  11:56:21
  418. Sb: #16040-MFC NT compile error
  419. Fm: Jerry Drain [Microsoft] 72350,2056
  420. To: Nigel Chorley 100013,1717 (X)
  421.  
  422. Hi Nigel,
  423.  
  424. Please ask this question in Section 7 (Microsoft Tools).  They should be able
  425. to help you.
  426.  
  427. Thanks,
  428.   -- Jerry [@Microsoft]
  429.  
  430. #: 15959 S1/NonTech Cust. Serv.   
  431.     28-Oct-92  08:02:45
  432. Sb: More DRIVERS congestion
  433. Fm: Robert Eidson 70214,2115
  434. To: sysop (X)
  435.  
  436. Sysop:
  437.        I have the following drivers in my config.sys:
  438.  
  439. Device Name                                    Driver Size   For Application
  440.  
  441. DEVICE=C:\WINDOWS\HIMEM.SYS                    11552           DOS DEVICE =
  442. C:\DOS\ANSI.SYS                        9029           DOS
  443. DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER   8335           DOS
  444. DEVICE=C:\WINDOWS\PROTMAN.DOS /I:C:\WINDOWS    21664           Windows
  445. DEVICE=C:\WINDOWS\WORKGRP.SYS                   7272           Windows
  446. DEVICE=C:\WINDOWS\SMCMAC.DOS                   17344           Windows
  447. DEVICE=C:\ASW410\ASPI4DOS.SYS                  10712           CDROM
  448. DEVICE=C:\ASW410\ASWCDNEC.SYS /D:ASPICD0       13748           CDROM
  449.  
  450. In other words I have over 100K of device drivers needed for an environment
  451. the consists of DOS, Windows for Workgroups.  I have NT but it has its own
  452. configuration systems which should not impinge on any of this.  After getting
  453. this development environment set up I went back to work and found that NMAKE
  454. and NMK and CodeView would not even run.  Not enough room. Now I see why but
  455. my question is what can I do so that I can do normal DOS and Windows
  456. development without haveing multiple config.sys files and rebooting for each
  457. situation?
  458.  
  459. Thanks for any help you can provide.
  460.  
  461. Bob Eidson
  462.  
  463.  
  464.  
  465.  
  466. There are 2 Replies.
  467.  
  468. #: 16015 S1/NonTech Cust. Serv.   
  469.     28-Oct-92  18:22:23
  470. Sb: #15959-More DRIVERS congestion
  471. Fm: Steve Dirickson 70313,3252
  472. To: Robert Eidson 70214,2115 (X)
  473.  
  474. >Device Name                                    Driver Size   For Application
  475. >
  476. >DEVICE=C:\WINDOWS\HIMEM.SYS                    11552           DOS DEVICE =
  477. >C:\DOS\ANSI.SYS                        9029           DOS
  478. >DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER   8335           DOS
  479. >DEVICE=C:\WINDOWS\PROTMAN.DOS /I:C:\WINDOWS    21664           Windows
  480. >DEVICE=C:\WINDOWS\WORKGRP.SYS                   7272           Windows
  481. >DEVICE=C:\WINDOWS\SMCMAC.DOS                   17344           Windows
  482. >DEVICE=C:\ASW410\ASPI4DOS.SYS                  10712           CDROM
  483. >DEVICE=C:\ASW410\ASWCDNEC.SYS /D:ASPICD0       13748           CDROM
  484. >
  485. >In other words I have over 100K of device drivers needed for an environment
  486. >the consists of DOS, Windows for Workgroups.  I have NT but it has its own
  487. >configuration systems which should not impinge on any of this.  After getting
  488. >this development environment set up I went back to work and found that NMAKE
  489. >and NMK and CodeView would not even run.  Not enough room. Now I see why but
  490. >my question is what can I do so that I can do normal DOS and Windows
  491. >development without haveing multiple config.sys files and rebooting for each
  492. >situation?
  493.  
  494. PMFJI:
  495.  
  496. 1) Add "device=C:\WINDOWS\EMM386.EXE NOEMS X=EC00-EFFF" (modify the 'X='
  497. block to wherever your Etherlink card's buffer is, or (better yet) move the
  498. buffer to EC00 in C:\WINDOWS\PROTOCOL.INI).
  499. 2) Add "DOS=HIGH,UMB"
  500. 3) Load SMCMAC.DOS high with 'devicehigh='
  501. 4) When it finds UMB space available, SmartDrive will automatically load as
  502. much of itself high as it can (the AUTOEXEC.BAT part).
  503. 5) I'm pretty sure that the current version of ASPI4DOS is VDS (Virtual DMA
  504. Spec) compliant, so you shouldn't need SmartDrive's double-buffer driver.
  505. Check your Adaptec documentation (or call them and ask).
  506. 6) You might be able to load ASWCDNEC high--give it a shot or check the
  507. docs/help line.
  508. 7) DON'T try to load PROTMAN.DOS high!
  509.  
  510.  
  511.  
  512. There is 1 Reply.
  513.  
  514. #: 16056 S1/NonTech Cust. Serv.   
  515.     29-Oct-92  07:04:19
  516. Sb: #16015-More DRIVERS congestion
  517. Fm: Jeff Thomson 71460,3222
  518. To: Steve Dirickson 70313,3252 (X)
  519.  
  520. Steve,
  521.  
  522. > 5) I'm pretty sure that the current version of ASPI4DOS is VDS (Virtual
  523. > DMA Spec) compliant, so you shouldn't need SmartDrive's double-buffer
  524. > driver.
  525.  
  526. You're correct. SETUP always installs SMARTDRV w/ /DOUBLE_BUFFER, and I
  527. always remove it ;-).
  528.  
  529. > 6) You might be able to load ASWCDNEC high--give it a shot or check the
  530. > docs/help line.
  531.  
  532. My CD-ROM is a Toshiba, but I run its driver high w/ no problems.
  533.  
  534. #: 16091 S1/NonTech Cust. Serv.   
  535.     29-Oct-92  11:56:33
  536. Sb: #15959-More DRIVERS congestion
  537. Fm: Jerry Drain [Microsoft] 72350,2056
  538. To: Robert Eidson 70214,2115 (X)
  539.  
  540. Hi Robert,
  541.  
  542. I see others have been able to jump in on this thread and help you.  I just
  543. wanted to let you know there are two "setup" sections that you may be able to
  544. get additional information from.  WinNT, Section 3: for system setup; and
  545. MSWIN32, Section 2, for the SDK (development environment) Setup.
  546.  
  547. Thanks,
  548.   -- Jerry [@Microsoft]
  549.  
  550. #: 16130 S1/NonTech Cust. Serv.   
  551.     29-Oct-92  15:38:18
  552. Sb: 2nd SDK Ship Date
  553. Fm: William H. Beebe, Jr. 70720,375
  554. To: Dwight Matheny/Microsoft 70750,2340 (X)
  555.  
  556. I have mine, got it installed. The question I have is when we can expect SBPro
  557. support with the attached CD-ROM player.
  558.  
  559. #: 16132 S1/NonTech Cust. Serv.   
  560.     29-Oct-92  16:19:22
  561. Sb: WINDOWS NT BETA
  562. Fm: Sung Y. Kim 70353,2743
  563. To: all
  564.  
  565. How does one join Windows NT beta program. I have a capable machine with Sony
  566. CD-ROM player. Thanks in advance.
  567.  
  568. #: 16095 S1/NonTech Cust. Serv.   
  569.     29-Oct-92  13:23:20
  570. Sb: HELP!!!!!!
  571. Fm: Ronald R. Martinsen 71202,1750
  572. To: sysop (X)
  573.  
  574. Is the WINNT forum dead?  I left a message a couple of days ago and it still
  575. has not been read.  I CAN NOT get Win32 working, but NT (October) is doing
  576. GREAT!  I am using Procomm Plus for Windows to access compuserve within NT.  I
  577. have only had Visual Basic 1 & 2.0 crash.
  578.  
  579. My problem with Win32 is that when you run setup it konks out after it tries
  580. to copy WINSPOOL.DRV (according to what I can tell from reading the MST script
  581. & INF file).
  582.  
  583. Ask the NT group to read my message!
  584.  
  585. Thanks, Ron
  586.  
  587. There are 2 Replies.
  588.  
  589. #: 16125 S1/NonTech Cust. Serv.   
  590.     29-Oct-92  14:38:37
  591. Sb: #16095-HELP!!!!!!
  592. Fm: Stu Wiley 70473,1351
  593. To: Ronald R. Martinsen 71202,1750 (X)
  594.  
  595. Ron, You will probably want to put this in section 4 of the WINNT forum.  Some
  596. of the folks are at the DDK conference, but the engineers are still live. Stu
  597. WIley Developer Service Team
  598.  
  599. #: 16138 S1/NonTech Cust. Serv.   
  600.     29-Oct-92  16:44:37
  601. Sb: #16095-HELP!!!!!!
  602. Fm: Jerry Drain [Microsoft] 72350,2056
  603. To: Ronald R. Martinsen 71202,1750 (X)
  604.  
  605. Hi Ron, and all,
  606.  
  607. If you notice service seems a little slower on the WINNT forum, please
  608. exercise patience.  They are alive and well over there, but they are receiving
  609. tons of questions regarding the new October release.  We expect that activity
  610. to slowly shift into this forum once everyone has had a chance to get their
  611. installations completed and many of their "new feature" questions answered. 
  612. This is just to let you know that they are answering questions as fast as they
  613. can, and they haven't forgotten you.
  614.  
  615. Thanks,
  616.   -- Jerry [@Microsoft]
  617.  
  618. #: 16009 S1/NonTech Cust. Serv.   
  619.     28-Oct-92  16:49:23
  620. Sb: Memory Increase Advice
  621. Fm: John Mueller [DBA] 75300,576
  622. To: ALL
  623.  
  624. I just increased my system memory from 8 MB to 24 MB.  There were a few
  625. messages on problems with systems that have over 16 MB a few weeks ago, but as
  626. usual I failed to take notice.  Are there any caveats to using more than 16 MB
  627. on an EISA system with a 16-bit IDE controller?  (My video display is also
  628. 16-bit as is just about everything else in my machine.)  TIA for any help <g>.
  629.  
  630. John Mueller
  631.  
  632. There is 1 Reply.
  633.  
  634. #: 16090 S1/NonTech Cust. Serv.   
  635.     29-Oct-92  11:56:27
  636. Sb: #16009-Memory Increase Advice
  637. Fm: Jerry Drain [Microsoft] 72350,2056
  638. To: John Mueller [DBA] 75300,576 (X)
  639.  
  640. Hi John,
  641.  
  642. This question is better handled by the setup folks.  Please re-ask it in
  643. WinNT, Section 3, (WinNT Setup).
  644.  
  645. Thanks,
  646.   -- Jerry [@Microsoft]
  647.  
  648.  
  649.  
  650. There is 1 Reply.
  651.  
  652. #: 16189 S1/NonTech Cust. Serv.   
  653.     30-Oct-92  09:12:20
  654. Sb: #16090-Memory Increase Advice
  655. Fm: John Mueller [DBA] 75300,576
  656. To: Jerry Drain [Microsoft] 72350,2056 (X)
  657.  
  658. No sweat <g>.
  659.  
  660. John Mueller
  661.  
  662. #: 16172 S1/NonTech Cust. Serv.   
  663.     30-Oct-92  01:57:36
  664. Sb: WIN32 Shipment == WfW !
  665. Fm: Wayne C. Cannon 72330,177
  666. To: sysop (X)
  667.  
  668. I just received my WIN32 SDK update, or so the packing list said ("Assy Win32
  669. SDK CD only release #2").  Upon opening the box, I found instead of the
  670. expected CD-ROM, a set of 6 3.5-inch MS Word-for-Windows disks and a one-page
  671. installation note.
  672.  
  673. What a let-down!
  674.  
  675. The shipment was labelled as Part Number: 226-175-021.
  676.  
  677. Please send me the correct update.  If you need anything, please contact me.
  678.  
  679.  Wayne Cannon
  680.  EE Design Works
  681.  1823 Manor Drive
  682.  Santa Rosa, CA     95403-4141
  683.  (707) 526-0738
  684.  (707) 523-1915 fax
  685.  
  686.  
  687.  
  688. There are 2 Replies.
  689.  
  690. #: 16177 S1/NonTech Cust. Serv.   
  691.     30-Oct-92  06:02:56
  692. Sb: #16172-WIN32 Shipment == WfW !
  693. Fm: John Oellrich [AT&T] 72611,1452
  694. To: Wayne C. Cannon 72330,177
  695.  
  696. Wayne,
  697.  
  698. Hey keep the WFW 2.0 & order another WIN32 SDK. WFW 2.0 for 69 bucks is a real
  699. steal ;->
  700.  
  701. John
  702.  
  703. #: 16193 S1/NonTech Cust. Serv.   
  704.     30-Oct-92  09:52:22
  705. Sb: #16172-WIN32 Shipment == WfW !
  706. Fm: Dwight Matheny/Microsoft 70750,2340
  707. To: Wayne C. Cannon 72330,177
  708.  
  709. Sorry for the mistake. I've notified our manufacturing people and will take
  710. care of getting you your update ASAP.
  711.  
  712. -Dwight (MS)
  713.  
  714. #: 15981 S1/NonTech Cust. Serv.   
  715.     28-Oct-92  13:27:47
  716. Sb: Remote Login?
  717. Fm: Andrew Potter 71075,614
  718. To: all
  719.  
  720.  
  721. Is there any way to log into an NT machine remotely using a modem or other
  722. commmunication medium?
  723.  
  724. Thanks,
  725.  
  726.     Andrew
  727.  
  728. There is 1 Reply.
  729.  
  730. #: 16105 S1/NonTech Cust. Serv.   
  731.     29-Oct-92  13:32:13
  732. Sb: #15981-Remote Login?
  733. Fm: Bruce Ramsey/Microsoft 70324,2742
  734. To: Andrew Potter 71075,614 (X)
  735.  
  736. Hi Andrew -
  737.  
  738. >> Is there any way to log into an NT machine remotely using a
  739.   modem or other commmunication medium?
  740.  
  741. Today you can set up LAN Manager Remote Access Service 1.0 or 1.1
  742.  
  743. The way it works is:
  744.  
  745.   The RAS server code is installed on a LAN Manager OS/2 1.3
  746.     server
  747.  
  748.   The RAS client code is installed on a client machine running
  749.     MS-DOS or OS/2 1.x - RAS 1.1 has client code that integrates
  750.     better with Windows 3.1
  751.  
  752.   This combination allows the RAS client to call in over telephone
  753.     lines (modems) to access the RAS server code.  Once connected
  754.     the RAS client and server code set up a connection for the
  755.     client machine such that it appears to the client machine that
  756.     they are a full participant on the network the OS/2 1.3 RAS
  757.     server is on.  RAS 1.1 adds the option of connecting via X.25
  758.  
  759. So, if your machine running Windows NT is on the same network as a
  760.   RAS 1.0 or 1.1 server, you can using the RAS 1.0 or 1.1 client
  761.   code dial into that network, and access your machine running
  762.   Windows NT over the network just as though you were on a machine
  763.   attached to that network with a network adapter.  Well, of
  764.   course, things happen slower due to the speed of the telephone
  765.   line or modem
  766.  
  767.   As a full participant on the network, you can access any shared
  768.     printer or disk on your machine running Windows NT, or use
  769.     named pipe or RPC client apps to access any corresponding
  770.     server code running on it.  You will also be able to
  771.     administer that machine running Windows NT with the any remote
  772.     admin tools for Windows NT that you have on your client.  For
  773.     example, we will ship remotable admin tools with LAN Manager
  774.     for Windows NT.  This will permit powerful remote admin over
  775.     phone lines of machines running Windows NT
  776.  
  777. In other words (and in Windows NT terms), you can log onto the
  778.   machine running Windows NT as a remote, or network user
  779.  
  780. We will ship both server and client versions of RAS that run on
  781.   Windows NT, removing the present requirement that the RAS server
  782.  
  783. [More]
  784.  
  785. There are 2 Replies.
  786.  
  787. #: 16106 S1/NonTech Cust. Serv.   
  788.     29-Oct-92  13:32:20
  789. Sb: #16105-Remote Login?
  790. Fm: Bruce Ramsey/Microsoft 70324,2742
  791. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  792.  
  793. [Continued]
  794.  
  795.   be running OS/2 1.3, and the present limitation that the client
  796.   can't be running Windows NT
  797.  
  798. I'm not sure from your question if this sort of "dial into the
  799.   network over phone lines and access machines running Windows NT
  800.   as I would over a network" remote access is what you're after
  801.  
  802. If you're asking can you dial in over phone lines, and remote the
  803.   entire display of a machine running Windows NT to a client over
  804.   the phone lines (and also remote the keyboard input and mouse
  805.   input), then, no, this won't be in the first commercial release
  806.  
  807. Please let me know if this didn't address what you were asking
  808.   about.  There may be better sections of either WINNT or MSWIN32
  809.   to address follow-ups, but I'd rather better understand what
  810.   you're after before referring you on
  811.  
  812. Bruce
  813.  
  814. #: 16214 S1/NonTech Cust. Serv.   
  815.     30-Oct-92  13:16:58
  816. Sb: #16105-Remote Login?
  817. Fm: Andrew Potter 71075,614
  818. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  819.  
  820. Bruce,
  821.  
  822. Thanks.  This is very helpful info.  What we are specifically interested in is
  823. dialing in over a modem and getting to a command line (DOS prompt) for doing
  824. some compilation and testing of text-only utilities. We'd just like to e able
  825. to kick off a compile or run a utility or something like that without having
  826. to drive to work, basically.  Or walk to the other room, for that matter.  If
  827. I understand what you're saying, a remote login has access to tools and
  828. applications that are implemented for remote access.  Or can the remote user
  829. access any character-mode application?
  830.  
  831. Andrew
  832.  
  833. #: 16203 S1/NonTech Cust. Serv.   
  834.     30-Oct-92  11:51:13
  835. Sb: Win NT tradmark instruct
  836. Fm: Andrew Potter 71075,614
  837. To: all
  838.  
  839. Could you please provide me with instruction as to the proper trademark
  840. information to provide when referencing Windows NT in connection with
  841. products we've developed for NT?
  842.  
  843. Thanks,
  844.  
  845.         Andrew
  846.  
  847.  
  848. There is 1 Reply.
  849.  
  850. #: 16228 S1/NonTech Cust. Serv.   
  851.     30-Oct-92  15:39:04
  852. Sb: #16203-Win NT tradmark instruct
  853. Fm: Dwight Matheny/Microsoft 70750,2340
  854. To: Andrew Potter 71075,614
  855.  
  856. There's an appendix in the release notes for the Oct SDK that covers just this
  857. topic. Check out Appendix D "A short guide on how to use Windows NT
  858. trademarks."
  859.  
  860. -Dwight (MS)
  861.  
  862. #: 16162 S1/NonTech Cust. Serv.   
  863.     29-Oct-92  20:35:44
  864. Sb: Read Me
  865. Fm: Ronald R. Martinsen 71202,1750
  866. To:  72350,2056 (X)
  867.  
  868. Did you come up with any suggestions on how to get Win32 working on my machine
  869. after reading my HELP!!! message?
  870.  
  871. Sorry if I sounded pushy, but I am just excited about NT.  I have been having
  872. MUCH more sucess with the October release and I want to compare NT with Win32.
  873.  
  874. Thanks, Ron
  875.  
  876. There is 1 Reply.
  877.  
  878. #: 16244 S1/NonTech Cust. Serv.   
  879.     30-Oct-92  18:09:33
  880. Sb: #16162-Read Me
  881. Fm: Jerry Drain [Microsoft] 72350,2056
  882. To: Ronald R. Martinsen 71202,1750
  883.  
  884. Hi Ron,
  885.  
  886. Sorry, no, I did not research your question.  My other responsibilities keep
  887. me pretty tied up, and it's been quite a while since I've done anything with
  888. installation issues; thus I directed you to the section where the expertise
  889. is.  I would suggest re-posting your question in WinNT, Section 3; and
  890. flagging it with an urgent title or something.  Most likely though they are
  891. trying to address issues on a first come first server basis.  Be aware that
  892. they've been pretty busy over there.
  893.  
  894. When you re-post your question, you'll probably have to give them some more
  895. details on your hardware and software configuration.  With the little you've
  896. posted here, it's difficult to tell why the installation crashed (if it did
  897. crash) on that one file.  Was your harddisk full, do you have enough RAM, is
  898. your hardware supported, did you get an error message, did you delete the old
  899. Windows NT tree before installing; etc. etc.  Give them as much detail as
  900. possible.
  901.  
  902. Thanks,
  903.   -- Jerry [@Microsoft]
  904.  
  905. #: 15746 S1/NonTech Cust. Serv.   
  906.     25-Oct-92  07:06:57
  907. Sb: Developers Network CD
  908. Fm: Thomas Nielsen 100065,2167
  909. To: All
  910.  
  911. Does anybody know *anything* about the Developers Network CD ?
  912. When I call Microsoft Scandinavia, they keep telling me that they are waiting
  913. for Microsoft US to ship the masters for the CD.
  914. From what I have heard, the US developers has already got the CD
  915.  
  916. A clear answer would be nice..
  917.  
  918. Regards (from Denmark),
  919.            
  920.       Thomas
  921.   
  922.  
  923. There is 1 Reply.
  924.  
  925. #: 15780 S1/NonTech Cust. Serv.   
  926.     26-Oct-92  09:51:21
  927. Sb: #15746-Developers Network CD
  928. Fm: Stu Wiley 70473,1351
  929. To: Thomas Nielsen 100065,2167
  930.  
  931. Thomas,
  932.  
  933. The MSDN is a compilation of technical information for Windows developers. It
  934. is a very comprehensive CD-ROM package with a great boolean search engine and
  935. Windows Viewer.  You need to contact the subsidiary to purchase the product. 
  936. I suggest MSDenmark at 45.44.89.01.00
  937.  
  938. Stu Wiley Developer Service Team
  939.  
  940. #: 15838 S1/NonTech Cust. Serv.   
  941.     26-Oct-92  21:15:55
  942. Sb: #15780-Developers Network CD
  943. Fm: phil hystad 73260,114
  944. To: Stu Wiley 70473,1351 (X)
  945.  
  946. Stu...
  947.  
  948. Can you help in clarifying which cd,s are which...
  949.  
  950.        ...first, there is the cdrom made available for (about $35 I think)
  951.           that had the real nice (fancy) case.
  952.  
  953.                What is this CD called?
  954.  
  955.        ...Is this (above) CD different from the Developer Network CD?
  956.  
  957.        ...I assume that these CDs offer files that ARE NOT on the
  958.           Winnt32 SDK CD which I have on order.
  959.  
  960. How do I get ahold of these other (How many?) CDs.
  961.  
  962. Thank you if you can clear this up, if you can't clear it up, thank you
  963. anyway.
  964.  
  965.        phil
  966.  
  967.  
  968.  
  969. There is 1 Reply.
  970.  
  971. #: 15969 S1/NonTech Cust. Serv.   
  972.     28-Oct-92  11:20:52
  973. Sb: #15838-Developers Network CD
  974. Fm: Stu Wiley 70473,1351
  975. To: phil hystad 73260,114 (X)
  976.  
  977. Phil, Several things for you:  You may want to post these in the MSDR forum,
  978. but in the meantime- Yes, the "$30" CD-Rom is the Microsoft Developer Network
  979. CD.  I don't know aout a fancy case, but essentially it's the CD I referenced
  980. as the definitive compilation of Windows 16 bit development information.  The
  981. second CD-Rom program we have avcailable is the Developers Preliminary
  982. Win32SDK.  It sells for $399 US, or $69 without the hardcopy docs.  The docs
  983. are the CD-Rom in Postscript file format, Windows Write file format and
  984. Windows Help. This is specifically for 32bit WIndows NT development, and
  985. contains the preliminary WIN32SDK, the C/C++ 32 bit compiler and the Windows
  986. NT 3.1 operating system. There have been two releases, the July release and
  987. the recently dropped October release.  The October release is essentially the
  988. same OS as the Beta program, but contains all the needed development tools and
  989. information while the beta program focuses on the end user operating system
  990. only.
  991.  Stu Wiley
  992.  Developer Service Team
  993.  
  994.  
  995.  
  996.  
  997. There is 1 Reply.
  998.  
  999. #: 16116 S1/NonTech Cust. Serv.   
  1000.     29-Oct-92  13:37:32
  1001. Sb: #15969-Developers Network CD
  1002. Fm: Jerry Drain [Microsoft] 72350,2056
  1003. To: Stu Wiley 70473,1351 (X)
  1004.  
  1005. If I may add, the MSDN CD-ROM is not restricted to Windows 16 bit development.
  1006. It will cover other Windows development as well.
  1007.  
  1008. Thanks,
  1009.   -- Jerry [@Microsoft]
  1010.  
  1011.  
  1012.  
  1013. There is 1 Reply.
  1014.  
  1015. #: 16150 S1/NonTech Cust. Serv.   
  1016.     29-Oct-92  18:02:07
  1017. Sb: #16116-Developers Network CD
  1018. Fm: phil hystad 73260,114
  1019. To: Jerry Drain [Microsoft] 72350,2056 (X)
  1020.  
  1021. Jerry...
  1022.  
  1023. I have a cirtificate to get the Developer's Network CD for $30. Unfortunately
  1024. the date of the end of the program says September 30th, 1992. Is the CD still
  1025. available for $30?
  1026.  
  1027.        phil
  1028.  
  1029.  
  1030.  
  1031. There is 1 Reply.
  1032.  
  1033. #: 16245 S1/NonTech Cust. Serv.   
  1034.     30-Oct-92  18:09:38
  1035. Sb: #16150-Developers Network CD
  1036. Fm: Jerry Drain [Microsoft] 72350,2056
  1037. To: phil hystad 73260,114
  1038.  
  1039. Hi Phil,
  1040.  
  1041. I'm not sure where they are in the MSDN release right now.  You might call the
  1042. Developer Services Team and see what they can tell you (1-800-227-4679
  1043. x11771).  They can provide you with the most current release information.
  1044.  
  1045. Thanks,
  1046.   -- Jerry [@Microsoft]
  1047.  
  1048. #: 15857 S1/NonTech Cust. Serv.   
  1049.     27-Oct-92  08:02:19
  1050. Sb: #15780-Developers Network CD
  1051. Fm: Chuck Johnson 73750,3111
  1052. To: Stu Wiley 70473,1351 (X)
  1053.  
  1054. Stu:
  1055.  
  1056. We're having trouble talking to the MSDN CD.  Cryptic error message from
  1057. _MSTEST.  Who should we call for help?  We've tried:
  1058.  
  1059.        (800) 227-4679 x 11771 (back-of-the-CD-box number)
  1060.        (206) 637-7098
  1061.  
  1062. Shrugs or unsuccessful hipshot answers from those numbers.
  1063.  
  1064. Thanks for directing us.
  1065.  
  1066. Chuck Johnson
  1067.  
  1068.  
  1069.  
  1070.  
  1071. There are 2 Replies.
  1072.  
  1073. #: 15907 S1/NonTech Cust. Serv.   
  1074.     27-Oct-92  16:01:50
  1075. Sb: #15857-Developers Network CD
  1076. Fm: Kyle Marsh 70712,220
  1077. To: Chuck Johnson 73750,3111 (X)
  1078.  
  1079. Post your problems to the MSDNLIB forum. The people who can help are there
  1080.  
  1081. Kyle MS Developer Netwrok
  1082.  
  1083.  
  1084.  
  1085. There is 1 Reply.
  1086.  
  1087. #: 15951 S1/NonTech Cust. Serv.   
  1088.     28-Oct-92  07:14:03
  1089. Sb: #15907-Developers Network CD
  1090. Fm: Chuck Johnson 73750,3111
  1091. To: Kyle Marsh 70712,220 (X)
  1092.  
  1093. Kyle:
  1094.  
  1095. Much thanks.  Will do.
  1096.  
  1097. Chuck Johnson
  1098.  
  1099. #: 15967 S1/NonTech Cust. Serv.   
  1100.     28-Oct-92  11:20:40
  1101. Sb: #15857-Developers Network CD
  1102. Fm: Stu Wiley 70473,1351
  1103. To: Chuck Johnson 73750,3111
  1104.  
  1105. chuck, Try 206/635-7033, this has been established specifically for MSADN
  1106. install/tech
  1107.  questions. Stu Wiley Developer Service Team
  1108.  
  1109. #: 16264 S1/NonTech Cust. Serv.   
  1110.     30-Oct-92  20:51:57
  1111. Sb: MSDN CD Crash
  1112. Fm: Richard George 70640,2614
  1113. To: Sysop (X)
  1114.  
  1115.         I have been unable to get the MSDN CD to setup.  When I try to run
  1116. F:setup, I either get a not enough memory message (I have 16 meg plus a 20 meg
  1117. swap file) or it crashes the program loading it (either program manager or
  1118. file manager in win 3.1) causing an 'Exceed Segment Bounds (Read)' fault at
  1119. KERNEL UNDEFDYNLINK+00ef $tag$PROGMAN$Exceed Segment Bounds (Read)$KERNEL
  1120. UNDEFDYNLINK+00ef$mov     bx, es:[bx]$I have Dr. Watson logs for both crashes.
  1121.         Does anyone have any suggestions what is causing this to crash.  I
  1122. have the CD Technology drive and a DTC 3290 SCSI-2 EISA controller.
  1123.  
  1124. Thanks,
  1125.  
  1126. Richard
  1127.  
  1128.  
  1129.  
  1130.  
  1131. #: 15773 S3/SQL Server SDK   
  1132.     26-Oct-92  08:11:32
  1133. Sb: #15600-SQLServer/NT/WIN16
  1134. Fm: dave skiba 70404,3556
  1135. To: Joe Marler 71075,416
  1136.  
  1137. would it be possible for me to get a copy of the install document also.
  1138.  
  1139. thanks dave skiba
  1140.  
  1141.  
  1142. #: 15833 S3/SQL Server SDK   
  1143.     26-Oct-92  20:38:36
  1144. Sb: #15773-SQLServer/NT/WIN16
  1145. Fm: Joe Marler 71075,416
  1146. To: dave skiba 70404,3556
  1147.  
  1148. See the document 42INST.TXT, on Library 1 of the MSNETW forum.
  1149.  
  1150. Joe Marler
  1151.  
  1152. #: 15775 S3/SQL Server SDK   
  1153.     26-Oct-92  08:47:21
  1154. Sb: #15600-SQLServer/NT/WIN16
  1155. Fm: John Stoddard 72400,2551
  1156. To: Joe Marler 71075,416
  1157.  
  1158. Good! We will be testing this stuff as soon as we get SNA and ODS for the
  1159. October release.
  1160.  
  1161. I got your mail with the SQL Server manual pages, but the mail tells me that
  1162. the message is in binary.  Any idea how to deal with this?  I never use
  1163. Compuserve except for NT support, so I am not all that facile with it...
  1164.  
  1165. John
  1166.  
  1167. #: 15834 S3/SQL Server SDK   
  1168.     26-Oct-92  20:39:46
  1169. Sb: #15775-SQLServer/NT/WIN16
  1170. Fm: Joe Marler 71075,416
  1171. To: John Stoddard 72400,2551 (X)
  1172.  
  1173. I should have named it .ZIP, which means you must unzip it.  Note I have
  1174. uploaded an updated version of this document to Library 1 of the MSNETW forum.
  1175. It's called 42INST.TXT.
  1176.  
  1177. Joe Marler
  1178.  
  1179. There is 1 Reply.
  1180.  
  1181. #: 15877 S3/SQL Server SDK   
  1182.     27-Oct-92  11:56:59
  1183. Sb: #15834-SQLServer/NT/WIN16
  1184. Fm: John Stoddard 72400,2551
  1185. To: Joe Marler 71075,416 (X)
  1186.  
  1187. Yep, I figured out how to get it.  Thanks.
  1188.  
  1189. #: 16148 S3/SQL Server SDK   
  1190.     29-Oct-92  17:53:25
  1191. Sb: Installing SQL Server
  1192. Fm: James McDaniel [MS] 71075,415
  1193. To: Dan Sullivan 76327,1534 (X)
  1194.  
  1195. The file SQLOS2.TXT in section 3 (SQL Srv SDK) is a section from the SQL
  1196. Server SDK for Windows NT release notes.  It states that installing SQL Server
  1197. for OS/2 version 4.2 on the OS/2 subsystem of Windows NT often fails, and it
  1198. contains a "manual install" procedure for completing the install by hand.
  1199.  
  1200. Concerning the "cannot connect to OS/2 subsystem" error, you might want to
  1201. check with other sections here.  That sounds like a more global problem with
  1202. your OS/2 subsystem or setup.
  1203.  
  1204. Sincerely,
  1205. James McDaniel
  1206. Microsoft SQL Server Support
  1207.  
  1208. #: 16149 S3/SQL Server SDK   
  1209.     29-Oct-92  17:53:28
  1210. Sb: SQLServer 4.2 & NT
  1211. Fm: James McDaniel [MS] 71075,415
  1212. To: Christian Beaumont 100034,2326 (X)
  1213.  
  1214. The file SQLOS2.TXT in section 3 (SQL Srv SDK) is a section from the SQL
  1215. Server SDK for Windows NT release notes.  It states that installing SQL Server
  1216. for OS/2 version 4.2 on the OS/2 subsystem of Windows NT often fails, and it
  1217. contains a "manual install" procedure for completing the install by hand.
  1218.  
  1219. Sincerely,
  1220. James McDaniel
  1221. Microsoft SQL Server Support
  1222.  
  1223.  
  1224.  
  1225.  
  1226. #: 15852 S4/API-User Interface   
  1227.     27-Oct-92  06:25:50
  1228. Sb: How do I get user list?
  1229. Fm: Bob Byron 70107,1734
  1230. To: All
  1231.  
  1232.  
  1233.  
  1234. Regarding NT, I was wondering how, via the API, I would go about getting a
  1235. list of users that are logged in to a network.  I guess I would start with my
  1236. system, and want to get the name of the user logged in to it.  I guess I
  1237. would also need to know what other systems are on the network and get the name
  1238. of the user on each of those systems.  But, what are the calls involved? 
  1239. Also, is there a way to find out what systems are on the network?  Or, do I
  1240. have to know that ahead of time.  These are probably more general questions,
  1241. but I am just learning this stuff.   
  1242.  
  1243. Thanks, Bob
  1244.  
  1245. There is 1 Reply.
  1246.  
  1247.  
  1248. #: 15885 S4/API-User Interface   
  1249.     27-Oct-92  12:58:42
  1250. Sb: #15852-How do I get user list?
  1251. Fm: Paul Tissue [Microsoft] 70744,24
  1252. To: Bob Byron 70107,1734 (X)
  1253.  
  1254. Hello Bob,
  1255.  
  1256. Please ask this question in section 12:API-RPC/WinNet.  The folks there know
  1257. about the networking APIs.  Thank you.
  1258.  
  1259. - Paul, Win32 SDK Developer Support
  1260.  
  1261. #: 15795 S4/API-User Interface   
  1262.     26-Oct-92  12:57:52
  1263. Sb: MENUITEMTEMPLATE struct
  1264. Fm: Malinda Adams 72410,412
  1265. To: Steve Firebaugh 75430,412 (X)
  1266.  
  1267. Thanks for the DLGTEMPLATE info. We are also having a problem with the
  1268. LoadMenuIndirect call. It returns an error code of Invalid Data. It doesn't
  1269. seem that the MENITEMTEMPLATE structure is correct in the doc either. Do you
  1270. have any updated specs for that? Thanks for your help. Malinda Adams
  1271.  
  1272. #: 15898 S4/API-User Interface   
  1273.     27-Oct-92  15:23:18
  1274. Sb: #15795-MENUITEMTEMPLATE struct
  1275. Fm: Steve Firebaugh [MS] 75430,412
  1276. To: Malinda Adams 72410,412 (X)
  1277.  
  1278. Malinda Adams,  You are correct that the resource format for the menu template
  1279. is not correctly documented.  This is part of a larger problem, namely that
  1280. none of the win32 resources (most of which have been 'widened') are documented
  1281. correctly.  We are working on a general solution.
  1282.  
  1283. Until then, I am including the documentation that I have at the end of this
  1284. posting.  I believe it to be correct, although I have not carefully verified
  1285. it, like I did for the dlgfmt.  I hope that it is useful to you.
  1286.  
  1287. Steve Firebaugh
  1288.  
  1289. ------------------------------Menu Resources
  1290.  
  1291. Menu resources are composed of a menu header followed by a sequential list of
  1292. menu items.  There are two types of menu items:  popups and normal menu items.
  1293. The MENUITEM SEPARATOR is a special case of a normal menu item with an empty
  1294. name, zero ID, and zero flags.  The format for these types is shown here:
  1295. [Resource header (type = 4)]
  1296.  
  1297. struct MenuHeader { WORD    wVersion;       // Currently zero WORD   
  1298. cbHeaderSize;   // Also zero };
  1299.  
  1300. These next items are repeated for every menu item. Popup menu items (signalled
  1301. by fItemFlags & POPUP): struct PopupMenuItem { WORD    fItemFlags; WCHAR  
  1302. szItemText[]; };
  1303.  
  1304. Normal menu items (signalled by !(fItemFlags & POPUP)): struct NormalMenuItem
  1305. { WORD    fItemFlags; WORD    wMenuID; WCHAR   szItemText[]; };
  1306.  
  1307. The wVersion and cbHeaderSize structure members identify the version of the
  1308. menu template.  They are both zero for Windows 3.0 but may be incremented with
  1309. future changes to the menu template. The WORD fItemFlags is a set of flags
  1310. describing the menu item.  If the POPUP bit is set, the item is a POPUP. 
  1311. Otherwise, it is a normal menu component. There are several other flag bits
  1312. that may be set. Their values are as follows: #define GRAYED  0x0001  //
  1313. 'GRAYED' keyword #define INACTIVE        0x0002  // 'INACTIVE' keyword #define
  1314. BITMAP  0x0004  // 'BITMAP' keyword #define OWNERDRAW       0x0100  //
  1315. 'OWNERDRAW' keyword #define CHECKED 0x0008  // 'CHECKED' keyword #define POPUP
  1316. 0x0010  // Used internally #define MENUBARBREAK    0x0020  // 'MENUBARBREAK'
  1317. keyword
  1318.  
  1319. [More]
  1320.  
  1321. There is 1 Reply.
  1322.  
  1323. #: 15899 S4/API-User Interface   
  1324.     27-Oct-92  15:23:22
  1325. Sb: #15898-MENUITEMTEMPLATE struct
  1326. Fm: Steve Firebaugh [MS] 75430,412
  1327. To: Steve Firebaugh [MS] 75430,412 (X)
  1328.  
  1329. [Continued]
  1330.  
  1331. #: 15750 S4/API-User Interface   
  1332.     25-Oct-92  10:56:48
  1333. Sb: #15693-SetWindowsHook Bug
  1334. Fm: Keith MacDonald 100041,235
  1335. To: Bob Landau [Microsoft] 70744,21 (X)
  1336.  
  1337. Bob,
  1338.  
  1339. In response to your questions about SetWindowsHookEx:
  1340. 1) hHook is not NULL.
  1341. 2) I'm calling CallNextHookEx from my HookProc.
  1342. 3) My HookProc just looks for CAPS and NUM lock transitions and
  1343.    finishes with: return CallNextHookEx(...);
  1344. 4) Sadly the October release hasn't reached our shores (England) yet!
  1345.  
  1346. The exact same HookProc works perfectly in a DLL.
  1347.  
  1348. Hope this helps,
  1349. Keith
  1350.  
  1351. #: 15925 S4/API-User Interface   
  1352.     27-Oct-92  18:19:59
  1353. Sb: #15750-SetWindowsHook Bug
  1354. Fm: Bob Landau [Microsoft] 70744,21
  1355. To: Keith MacDonald 100041,235 (X)
  1356.  
  1357. Thanks Keith,
  1358.  
  1359. I'll look into this and post the results within the next 2 days.
  1360.  
  1361. Microsoft Developer Support
  1362.  
  1363. Bob Landau
  1364.  
  1365. #: 15776 S4/API-User Interface   
  1366.     26-Oct-92  09:42:10
  1367. Sb: #15706-SetWindowsHook Bug
  1368. Fm: Bob Landau [Microsoft] 70744,21
  1369. To: neil colvin 71650,3517
  1370.  
  1371. Hello Neil,
  1372.  
  1373. The WIN32 SDK started shipping last week sometime. We are hoping to get the CD
  1374. to everyone in the US by end of this week. Please check out msg #15561 in
  1375. Section 1 for more details.
  1376.  
  1377. Microsoft Developer Support
  1378.  
  1379. Bob Landau
  1380.  
  1381. #: 15945 S4/API-User Interface   
  1382.     27-Oct-92  23:17:04
  1383. Sb: CreateProcess broken?
  1384. Fm: Robert Zeff 70323,1251
  1385. To: all
  1386.  
  1387. CreateProcess was working in my program in the July release.  It doesn't work
  1388. for the October release.   I had to use Winexec instead.  Any clues?
  1389.  
  1390. -Robert
  1391.  
  1392.  
  1393.  
  1394.  
  1395. There is 1 Reply.
  1396.  
  1397. #: 15996 S4/API-User Interface   
  1398.     28-Oct-92  15:33:46
  1399. Sb: #15945-CreateProcess broken?
  1400. Fm: Paul Tissue [Microsoft] 70744,24
  1401. To: Robert Zeff 70323,1251 (X)
  1402.  
  1403. Hello Robert,
  1404.  
  1405. As far as we know CreateProcess() works.  Some of our SDK samples, and not the
  1406. mention Windows NT itself, rely on CreateProcess().  You might want to take a
  1407. look at the following samples: DEB & Filer.
  1408.  
  1409. Since this is a base issue please ask this question in section 6:
  1410. API-Base/Security.  Also, please include a code snippet of how you are using
  1411. and calling this API so the folks there can see what you are attempting to do.
  1412. Thank you.
  1413.  
  1414. - Paul, Win32 SDK Developer Support
  1415.  
  1416. #: 15924 S4/API-User Interface   
  1417.     27-Oct-92  18:19:55
  1418. Sb: #15710-DDE
  1419. Fm: Bob Landau [Microsoft] 70744,21
  1420. To: Howard Myers 76711,462 (X)
  1421.  
  1422. Howard,
  1423.  
  1424. I will look into this and get back to you within 2 days. Are these samples
  1425. that you're connecting your app up to in one of our SDK's? I'm trying to come
  1426. up with a similar test case. Lastly you are using the PackDDElParam(),
  1427. UnPackDDElParm() right?
  1428.  
  1429. Microsoft Developer Support
  1430.  
  1431. Bob Landau
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437. There is 1 Reply.
  1438.  
  1439. #: 15954 S4/API-User Interface   
  1440.     28-Oct-92  07:24:46
  1441. Sb: #15924-DDE
  1442. Fm: Howard Myers 76711,462
  1443. To: Bob Landau [Microsoft] 70744,21 (X)
  1444.  
  1445. Bob,
  1446.  
  1447. I'm using the Client and Server test apps provided in the DDEML sample
  1448. subdirectories of the NT SDK (\mstools\samples\ddeml\...).
  1449.  
  1450. I am not using PackDDElParam() or UnPackDDElParam() functions.  Quite
  1451. honestly, I didn't even know about them before this.  I looked in the DDEML
  1452. samples that come with the SDK, and they're not used there either; so I'm not
  1453. really sure how to use them.  However, the exceptions occur in
  1454. DispatchMessage() and GetMessage(), both before my window proc has ever gotten
  1455. the message to process.  Thus, I don't believe I would have gotten a chance to
  1456. use these functions yet at that point anyway.
  1457.  
  1458. Since the Server and Client apps. seem to work okay, it would seem to indicate
  1459. something in my app.  However, my code worked great with the July release, and
  1460. the exceptions are occurring in the API before I ever get a chance to handle
  1461. the messages.  If it is my problem, it seems that the most logical explanation
  1462. may be that I'm setting something up incorrectly when I establish myself as a
  1463. server, and when I get the ddeadvise.  Then those apps. send me back some
  1464. garbage (as a result of what I had previously sent them) and cause me to
  1465. generate an exception within the API.
  1466.  
  1467. Thanks for your help!
  1468.  
  1469. #: 16022 S4/API-User Interface   
  1470.     28-Oct-92  19:15:17
  1471. Sb: #15710-DDE
  1472. Fm: Bob Landau [Microsoft] 70744,21
  1473. To: Howard Myers 76711,462 (X)
  1474.  
  1475. Howard,
  1476.  
  1477. I saw the reference to WM_DDE_ADVISE so I'd thought that the Client/Servers
  1478. were using the DDE protocol. That's why I made reference to UnpackDDElParam(),
  1479. PackDDElParam(), these are not appropriate for DDEML all the hand waving is
  1480. done for you.
  1481.  
  1482. Do you still have a copy of the July release of the SDK? If so a sanity check
  1483. of building and running the app would eliminate any possibility of an
  1484. accidently change.
  1485.  
  1486. If you wish you can send me a "trimmed" down version of your app which
  1487. demonstrates this problem and I'll look into this and if neccessary send this
  1488. off to development. Please if you do this keep the source down to what is
  1489. absolutely necessary but don't leave out anything needed to build it such as
  1490. headers/makefile. Post this as a zip file in this sections library.
  1491.  
  1492. Microsoft Developer Support
  1493.  
  1494. Bob Landau
  1495.  
  1496. #: 15786 S4/API-User Interface   
  1497.     26-Oct-92  11:52:07
  1498. Sb: Fonts in Dialog Boxes
  1499. Fm: Howard Myers 76711,462
  1500. To: Microsoft
  1501.  
  1502. In the July release, compiling a resource file that had dialog boxes that
  1503. configured the font, didn't work.  (The dialog box worked, but the font never
  1504. changed.)  We worked on this problem with Bob Landau at the time.
  1505.  
  1506. Now that we have the October release, the first time we bring up our app.,
  1507. this feature works great.  However, if we bring our app. down and restart it,
  1508. we get the system default font -- but even worse, it uses the system metrics
  1509. for the font we requested! Thus, none of the text fits in the buttons, etc.
  1510. allocated for it.
  1511.  
  1512. The font does get loaded okay because I can force it into certain buttons by
  1513. issuing a WM_SETFONT command.  Also, it is obviously using the system metrics
  1514. for our font, not the default font.
  1515.  
  1516. Thanks for your help!
  1517.  
  1518. #: 16025 S4/API-User Interface   
  1519.     28-Oct-92  19:15:34
  1520. Sb: #15786-Fonts in Dialog Boxes
  1521. Fm: Bob Landau [Microsoft] 70744,21
  1522. To: Howard Myers 76711,462 (X)
  1523.  
  1524. Howard,
  1525.  
  1526. If I hadn't seen this happen myself I would have thought you'd spent too much
  1527. time at the terminal :)
  1528.  
  1529. Unforturnately your right. It's broken. About all I can suggest for a quick
  1530. fix is to use the WM_SETFONT to explicitly change the font in the dialog box.
  1531. I *hate* to admit when I was closed this bug I never though that running the
  1532. app twice would make a difference. I re-open this of course.
  1533.  
  1534. Sorry
  1535.  
  1536. Microsoft Developer Support
  1537.  
  1538. Bob Landau
  1539.  
  1540.  
  1541.  
  1542.  
  1543. There is 1 Reply.
  1544.  
  1545. #: 16051 S4/API-User Interface   
  1546.     29-Oct-92  05:57:07
  1547. Sb: #16025-Fonts in Dialog Boxes
  1548. Fm: Howard Myers 76711,462
  1549. To: Bob Landau [Microsoft] 70744,21 (X)
  1550.  
  1551. Thanks for looking into this.  We all let one slip by once in a while. I
  1552. probably would have done the same thing -- I initially though it was fixed
  1553. also, but then saw it act up.  It took me a while to determine what the key
  1554. was to duplicating it.  Once it broke, I couldn't get it to work at all.
  1555.  
  1556. Thanks again!
  1557.  
  1558. #: 15860 S4/API-User Interface   
  1559.     27-Oct-92  09:11:35
  1560. Sb: File Open Common Dialog
  1561. Fm: Centre File 100015,3565
  1562. To: ALL
  1563.  
  1564. I am having problems with The File Open Common Dialog.
  1565.  
  1566. The first problem is that I cannot get OFN_ALLOWMULTISELECT to work when the
  1567. OFN_FILEMUSTEXIST and OFN_PATHMUSTEXIST flags are set. When You press the OK
  1568. button on the standard dialog, the whole list of files is rejected as an
  1569. invalid file name.
  1570.  
  1571. In order to get round this problem, I stoppped using the OFN_PATHMUSTEXIST and
  1572. OFN_FILEMUSTEXIST and tried to use a hook procedure to check the string passed
  1573. in the lpstrFile member of the OPENFILENAME structure. I then enountered the
  1574. 2nd problem: The List box on the dialog has 23 files listed. The total length
  1575. of the string passed back in lpstrFile should be 249. nMaxFile is set to 256.
  1576. When the OK button is pressed, The file list is not placed in lpstrFile,
  1577. nFileOffset is set to -5, nFileExtension is set 1 and the first 4 bytes of
  1578. lpstrFile are garbage. Calling CommDlgExtendedError in my hook procedure
  1579. returns zero. The call to GetOpenFileName returns success.
  1580.  
  1581. The third problem is this: how do I use a hook procedure to dynamically
  1582. reallocate the lpstrfile buffer when FNERR_BUFFERTOOSMALL occurs and have the
  1583. DLL return the list of files?
  1584.  
  1585. If required, I can post some source code & the make file.
  1586.  
  1587.  
  1588. Thanks for your help,
  1589.  
  1590.  
  1591. Steve Brown
  1592.  
  1593. There is 1 Reply.
  1594.  
  1595. #: 16024 S4/API-User Interface   
  1596.     28-Oct-92  19:15:28
  1597. Sb: #15860-File Open Common Dialog
  1598. Fm: Bob Landau [Microsoft] 70744,21
  1599. To: Centre File 100015,3565 (X)
  1600.  
  1601. Hello Steve,
  1602.  
  1603. There was a problem with the specifying multiple files in the July release of
  1604. the SDK; I've not had problems with this in the current builds.
  1605.  
  1606. If you are still have problems in the October release of the SDK please follow
  1607. up on this and we'll look into this.
  1608.  
  1609. Microsoft Developer Support
  1610.  
  1611. Bob Landau
  1612.  
  1613.  
  1614.  
  1615.  
  1616. There is 1 Reply.
  1617.  
  1618. #: 16045 S4/API-User Interface   
  1619.     29-Oct-92  03:11:46
  1620. Sb: #16024-File Open Common Dialog
  1621. Fm: Centre File 100015,3565
  1622. To: Bob Landau [Microsoft] 70744,21 (X)
  1623.  
  1624. Bob,
  1625.  
  1626. Thanks for the info - I am waiting for the October beta release. Will I be
  1627. able to get it at the DDK conference in London on November 5th & 6th?
  1628.  
  1629. Regards,
  1630.  
  1631.  
  1632. Steve Brown.
  1633.  
  1634. There is 1 Reply.
  1635.  
  1636. #: 16118 S4/API-User Interface   
  1637.     29-Oct-92  14:01:32
  1638. Sb: #16045-File Open Common Dialog
  1639. Fm: Bob Landau [Microsoft] 70744,21
  1640. To: Centre File 100015,3565
  1641.  
  1642. Steve,
  1643.  
  1644. In the US one needed both the SDK,OS and the DDK; they're seperate products.
  1645. The SDK does come bundled with the OS but the DDK only contains the headers,
  1646. libs, a few special tools and a "checked" version of the OS. The DDK does not
  1647. contain the compiler, etc need to build the device drivers.
  1648.  
  1649. I believe that the UK will handle this the same way; you'll need to be signed
  1650. up for both the SDK and DDK.
  1651.  
  1652. Microsoft Developer Support
  1653.  
  1654. Bob Landau
  1655.  
  1656. #: 15737 S4/API-User Interface   
  1657.     24-Oct-92  13:59:53
  1658. Sb: #15522-Common Dialogs and Win32
  1659. Fm: Wim Bonner 72561,3135
  1660. To: Bob Landau [Microsoft] 70744,21 (X)
  1661.  
  1662. Thanks for the response.  I had forgoten about the Q_A directories on the CD,
  1663. (The CD Rom drive is not mine, so I don't have it all of the time)
  1664.  
  1665. I got the code, and copying the Structure initialization fixed my problem.
  1666.  
  1667. I was using code I had used before that was using memset to set the entire
  1668. structure to 0x0, then setting the particular values I needed.  (I think I
  1669. originally saw it done that way by Ray Duncan)
  1670.  
  1671. Now, very little problem.
  1672.  
  1673. Are the Print Dialogs different appearing in Win32 from Windows3.1?  I've
  1674.  
  1675. Do they differ with different printer installed, or just with certain options
  1676. greyed out?
  1677.  
  1678. Well, I'll probably have this stuff figured out before the weekend is over.
  1679.  
  1680. Wim
  1681.  
  1682. #: 16127 S4/API-User Interface   
  1683.     29-Oct-92  15:03:34
  1684. Sb: #15737-Common Dialogs and Win32
  1685. Fm: Bob Landau [Microsoft] 70744,21
  1686. To: Wim Bonner 72561,3135 (X)
  1687.  
  1688. Hi Wim,
  1689.  
  1690. The only difference I found was in the secondary dialog box (More... button).
  1691. This dialog will reflect the capabilities of the printer. The generic dialog
  1692. box (first dialog you see) is the same for all printers.
  1693.  
  1694. Microsoft Developer Support
  1695.  
  1696. Bob Landau
  1697.  
  1698. #: 15855 S4/API-User Interface   
  1699.     27-Oct-92  07:51:12
  1700. Sb: Win16 on NT
  1701. Fm: David Risack 75300,3712
  1702. To: All
  1703.  
  1704. What type of functions/ actions will cause win16 apps to fault under NT's API.
  1705. Is there a list of functions that may cause problems under NT for the win16
  1706. interface? Thanks, -->Dave
  1707.  
  1708. There is 1 Reply.
  1709.  
  1710. #: 16023 S4/API-User Interface   
  1711.     28-Oct-92  19:15:21
  1712. Sb: #15855-Win16 on NT
  1713. Fm: Bob Landau [Microsoft] 70744,21
  1714. To: David Risack 75300,3712 (X)
  1715.  
  1716. David,
  1717.  
  1718. This is a very open ended question so I can really only give you a generalized
  1719. answer. In general any process *any* Win16 app which talks directly to
  1720. hardware will fault under NT. This is not absolute for instance NT does
  1721. emulate the screen buffer and serial port; MS-DOS apps won't break; I don't
  1722. believe Win16 apps do this though.
  1723.  
  1724. So for the most part a Win16 or MS-DOS app will work without problems on NT on
  1725. the retail release.
  1726.  
  1727. If you can be more specific on what actions you're interested in please post a
  1728. follow up in the WinNT forum section 4
  1729.  
  1730. Microsoft Developer Support
  1731.  
  1732. Bob Landau
  1733.  
  1734.  
  1735.  
  1736.  
  1737. There is 1 Reply.
  1738.  
  1739. #: 16178 S4/API-User Interface   
  1740.     30-Oct-92  06:28:22
  1741. Sb: #16023-Win16 on NT
  1742. Fm: David Risack 75300,3712
  1743. To: Bob Landau [Microsoft] 70744,21 (X)
  1744.  
  1745. I'm trying to figure out how to debug a win-16 app under NT.  Currently the
  1746. App crashes on exit from it and on certain other occasions. How can I
  1747. currently debug I win-16 app. Even something that would tell me the last API
  1748. call made would give me a hint.
  1749.  
  1750. I'm using Borland C++.. Currently Turbo Debugger won't run under NT. The
  1751. windbg faults after loading the win16 subsystem.
  1752.  
  1753. Is there anyway to figure out what's going on? (without a way to debug under
  1754. NT it's hard to be more specific other than the app crashes-- we'll probably
  1755. have to start throwing message boxes or doing file output to try and figure
  1756. where if there is no current way to do this.)
  1757.  
  1758. Thanks, -->Dave
  1759.  
  1760. #: 16057 S4/API-User Interface   
  1761.     29-Oct-92  07:33:24
  1762. Sb: DLGTEMPLATE
  1763. Fm: Colorado Memory Systems 76040,1260
  1764. To: Steve Firebaugh 75430,412 (X)
  1765.  
  1766. I am having problems creating DLGTEMPLATE's.  I found the file DLGFMT.ZIP with
  1767. the new format and I have questions about some of the fields.  The MenuName
  1768. and ClassName are of type [Name or Ordinal].  If I actually want to use a
  1769. string, is the type of the string WCHAR MenuName[], meaning that I have to
  1770. copy every byte to a WCHAR?  How do I null terminate this string?  The
  1771. explanations in DLGFMT.ZIP are a little confusing to me and I would greatly
  1772. appreciate it if you could provide some examples.  Thanks in advance.
  1773.  
  1774. There is 1 Reply.
  1775.  
  1776. #: 16139 S4/API-User Interface   
  1777.     29-Oct-92  16:46:04
  1778. Sb: #16057-DLGTEMPLATE
  1779. Fm: Steve Firebaugh [MS] 75430,412
  1780. To: Colorado Memory Systems 76040,1260 (X)
  1781.  
  1782. 1.  You are correct that the documentation in dlgfmt.zip is not especially
  1783. verbose or complete.  We are working on producing a more complete document
  1784. describing the Win32 resource format.  I am hoping to be able to upload it
  1785. some time next week.
  1786.  
  1787. 2.  Yes, the strings in a DLGTEMPLATE resource are wide character, unicode
  1788. strings.  In order to null terminate them, simply end with 2 bytes containing
  1789. the value 0, rather than just one.
  1790.  
  1791. 3.  However, this may not have to be an issue for you.  Notice that the system
  1792. will automatically translate unicode strings to ansi if you do not have
  1793. UNICODE defined in your source modules (and therefore link with the *A()
  1794. version of the API's rather than the *W() version).  I.e. if you are
  1795. ultimately calling CreateDialogIndirect() without defining UNICODE, then this
  1796. will map to CreateDialogIndirectA() which expects ansi strings.  It is only if
  1797. you do call CreateDialogIndirectW() that you should need to worry about
  1798. unicode strings in this context.  For more information, see the unicode
  1799. overview in the api32wh.hlp file.
  1800.  
  1801. 4.  We do not have a useful sample for you at this point.  If you continue to
  1802. have problems, please continue to badger me here, and I may be able to produce
  1803. one in the next week.  We probably ought to be providing one by the next beta
  1804. release, at the latest.
  1805.  
  1806. Steve Firebaugh
  1807.  
  1808.  
  1809.  
  1810.  
  1811. There is 1 Reply.
  1812.  
  1813. #: 16180 S4/API-User Interface   
  1814.     30-Oct-92  07:19:04
  1815. Sb: #16139-DLGTEMPLATE
  1816. Fm: Howard Myers 76711,462
  1817. To: Steve Firebaugh [MS] 75430,412 (X)
  1818.  
  1819. Steve,
  1820.  
  1821. In general, your comments about Unicode are correct.  However, I'm fairly
  1822. certain that it is INCORRECT for use with the DLGTEMPLATE structure.  I fought
  1823. this in the July release and this strings ALL had to be Unicode within these
  1824. structures.  This code is still working with the October release, so it
  1825. couldn't have changed.  The only difference is, I typically use
  1826. DialogBoxIndirect(), not CreateDialogIndirect(), but I'd be surprised if it
  1827. made a difference.
  1828.  
  1829. Also, just for anybody following this, for DialogBoxIndirect() the on-line
  1830. help (for October) as well as the manuals (for July) state that it wants a
  1831. handle to the dialog template.  I haven't tried going back with the October
  1832. release, but in July, this had to be an address, not a handle -- even though
  1833. 3.x does allow a handle (in fact, I don't know if it allows an address).
  1834.  
  1835. CreateDialogIndirect() states that it wants an address, so there will probably
  1836. be no conflict there.
  1837.  
  1838. There is 1 Reply.
  1839.  
  1840. #: 16190 S4/API-User Interface   
  1841.     30-Oct-92  09:28:57
  1842. Sb: #16180-DLGTEMPLATE
  1843. Fm: Steve Firebaugh [MS] 75430,412
  1844. To: Howard Myers 76711,462 (X)
  1845.  
  1846. Howard,   Thank you for the correction.  Looks like I will write that sample
  1847. sooner than I had thought.
  1848.  
  1849. Steve Firebaugh
  1850.  
  1851. #: 15983 S4/API-User Interface   
  1852.     28-Oct-92  13:37:23
  1853. Sb: shift F12 key
  1854. Fm: michal 72340,73
  1855. To: SYSOP (X)
  1856.  
  1857. Dear SYSOP,
  1858.  
  1859. I have ported my application from Windows 3.1 to WIN32.  (I'm using
  1860. the WIN32 version from Sept 92)
  1861. I am having the following problem with the WIN32 version:
  1862.  
  1863.   The Shift F12 key does not generate a WM_KEYDOWN message.  Other keys,
  1864.   such as shift F11, are working fine.  Is shift F12 reserved by windows?
  1865.   and if so, can I change that?
  1866.   (NOTE: shift F12 was working for me in Windows 3.1)
  1867.  
  1868. Michal.
  1869.  
  1870.  
  1871. There is 1 Reply.
  1872.  
  1873. #: 16216 S4/API-User Interface   
  1874.     30-Oct-92  13:31:15
  1875. Sb: #15983-shift F12 key
  1876. Fm: Paul Tissue [Microsoft] 70744,24
  1877. To: michal 72340,73
  1878.  
  1879. Hi Michal,
  1880.  
  1881. Thank you for reporting this problem.  I have verified it and escalated to our
  1882. developers.  I'll let you know what they have to say as soon as they get back
  1883. to me with the details.
  1884.  
  1885. - Paul, Win32 SDK Developer Support
  1886.  
  1887. #: 15982 S4/API-User Interface   
  1888.     28-Oct-92  13:35:20
  1889. Sb: Font Common Dialog
  1890. Fm: michal 72340,73
  1891. To: SYSOP (X)
  1892.  
  1893. Dear SYSOP,
  1894.  
  1895. I have ported my application from Windows 3.1 to WIN32.  (I am using WIN32
  1896. from Sept. 92)
  1897. I am having the following problem with the WIN32 version:
  1898.  
  1899.   The ChooseFont() function is failing.  The CommDlgExtendedError()
  1900.   function is returning CDERR_STRUCTSIZE.  I am setting
  1901.         chf.lStructSize = sizeof(CHOOSEFONT);
  1902.   and I am picking up the correct commdlg.h.  What could be wrong?
  1903.   (Note: my code works fine in Windows 3.1).
  1904.  
  1905. Michal.
  1906.  
  1907.  
  1908. There is 1 Reply.
  1909.  
  1910. #: 16225 S4/API-User Interface   
  1911.     30-Oct-92  15:33:08
  1912. Sb: #15982-Font Common Dialog
  1913. Fm: Paul Tissue [Microsoft] 70744,24
  1914. To: michal 72340,73
  1915.  
  1916. Hi Michal,
  1917.  
  1918. I'm not quite sure what you may be doing wrong but please take a look at the
  1919. code for th DEB sample (look at the function ChooseNewFont() in the file
  1920. DEBMISC.C).  I have used this same method both with the July and the October
  1921. release without a problem.  Let me know if this does not help track down the
  1922. problem and please post how you are calling this function and initializing the
  1923. structure.
  1924.  
  1925. - Paul, Win32 SDK Developer Support
  1926.  
  1927. #: 15984 S4/API-User Interface   
  1928.     28-Oct-92  13:39:05
  1929. Sb: UnrealizeObject
  1930. Fm: michal 72340,73
  1931. To: SYSOP (X)
  1932.  
  1933. Dear SYSOP,
  1934.  
  1935. I have ported my application from Windows 3.1 to WIN32.  (I am using
  1936. the WIN32 version from Sept 92).
  1937. I am having the following problem with the WIN32 version:
  1938.  
  1939.   The function UnrealizeObject has been removed in WIN32.  Is that
  1940.   because objects are automatically unrealized? Or is there a different
  1941.   call I'm supposed to be making?
  1942.   
  1943.  
  1944. There is 1 Reply.
  1945.  
  1946. #: 16232 S4/API-User Interface   
  1947.     30-Oct-92  16:03:41
  1948. Sb: #15984-UnrealizeObject
  1949. Fm: Bob Landau [Microsoft] 70744,21
  1950. To: michal 72340,73
  1951.  
  1952. Michal,
  1953.  
  1954. I'll attempt to answer this question ( you will get better response if you
  1955. post this in the GDI section: 5)
  1956.  
  1957. UnrealizedObject() was used in to cases
  1958.  
  1959. 1) Set the orgin of Pattern Brushes so background and foreground patterns
  1960. match up.
  1961.    In Win32 the brush is already properly aligned so that this is unnecessary.
  1962.  
  1963. 2) Reseting the color of a palette. This you'll need to post to section 5 of
  1964. this forum
  1965.  
  1966.  
  1967. Lastly the function *is* in the headers/libs for ease of porting to Win32
  1968. however the functionality of it's been removed.
  1969.  
  1970. Microsoft Developer Support
  1971.  
  1972. Bob Landau
  1973.  
  1974. #: 16184 S4/API-User Interface   
  1975.     30-Oct-92  08:20:15
  1976. Sb: Win32s on 3.1
  1977. Fm: KENNETH R SCHROCK 70621,1521
  1978. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  1979.  
  1980.         My NT editor has a problem running on 3.1 using the Win32s.
  1981. It appears that the problem is with the EM_SETHANDLE and EM_GETHANDLE
  1982. messages. When I open a file, it loads, but doesn't show in the editor window.
  1983. If I write something, and save, it save a file of 0 bytes. Could you give me
  1984. some guidance as to the problem, or possible solutions? 
  1985.  
  1986. There is 1 Reply.
  1987.  
  1988. #: 16249 S4/API-User Interface   
  1989.     30-Oct-92  18:29:24
  1990. Sb: #16184-Win32s on 3.1
  1991. Fm: Bob Landau [Microsoft] 70744,21
  1992. To: KENNETH R SCHROCK 70621,1521
  1993.  
  1994. Ken,
  1995.  
  1996. Can you please submit this to section 14 (Win32s). I realize this is somewhat
  1997. of a pain to re-submit the same question however you will get answers from
  1998. people more experience with problems specific to Win32s. This also has a
  1999. benefit to other in the forum since they can done load a specific section and
  2000. be guarenteed that it will contain all known information relavent to the
  2001. problem.
  2002.  
  2003. If for by chance you are not able to see section 14 check the section settings
  2004. in the forum options; more than likely that section will need to be enabled.
  2005.  
  2006. Microsoft Developer Support
  2007.  
  2008. Bob Landau
  2009.  
  2010. #: 16012 S4/API-User Interface   
  2011.     28-Oct-92  17:55:21
  2012. Sb: InvalidRect
  2013. Fm: David Arathorn 70412,2772
  2014. To: Bob Landau, 70744,21 (X)
  2015.  
  2016. Hi Bob,
  2017.  
  2018. The InvalidRect problem has persisted into the October release.  The version
  2019. of WinChaos that you have will compile fine with a couple of WINAPIs added.
  2020.  
  2021. On reflection the problem may be due to some window manager LPCs sent or
  2022. processed or forwarded out of order, so in effect the little rect gets sent
  2023. just after the window manager has wiped the big rect.  The low frequency of
  2024. this problem is typical of asynchronous systems. It suggests someone forgot
  2025. some synchronizing code.
  2026.  
  2027. This may appear to you to be a nit, but there is a lot of extremely high value
  2028. added software using real time data displays now running under X (e.g.
  2029. trader's workstations) and just crying to ported to NT.
  2030.  
  2031. On the cheery side, I have run some brutal loading tests and the new release
  2032. passes with extreme grace.  Best I've seen.  Unix can't compare. The scheduler
  2033. is very even handed, the GUI never lost responsiveness (i.e it stayed paged
  2034. in) and with over 40 page faults per second the disk was getting hit only once
  2035. every few seconds.  That's smart paging!  Some VMS-wise friends suggest NT's
  2036. paternity might be showing here.  Are they right?
  2037.  
  2038. Dave
  2039.  
  2040.  
  2041.  
  2042. There is 1 Reply.
  2043.  
  2044. #: 16250 S4/API-User Interface   
  2045.     30-Oct-92  18:29:28
  2046. Sb: #16012-InvalidRect
  2047. Fm: Bob Landau [Microsoft] 70744,21
  2048. To: David Arathorn 70412,2772
  2049.  
  2050. David,
  2051.  
  2052. I'll look into this over the week end.
  2053.  
  2054. Microsoft Developer Support
  2055.  
  2056. Bob Landau
  2057.  
  2058. #: 15878 S4/API-User Interface   
  2059.     27-Oct-92  11:57:19
  2060. Sb: Missing WM_NCPAINT
  2061. Fm: Bruce Cowan 73650,32
  2062. To: all
  2063.  
  2064. There is a compatibility problem with Windows messages between NT and 3.1 (in
  2065. spite of all the fooforaw about them being identical).  NT doesn't send a
  2066. WM_NCPAINT when a window is first created and displayed, whereas 3.1 (and 3.0)
  2067. do.  All subsequent exposes of the window do get the WM_NCPAINT in NT, it is
  2068. only the first which is missing.  This problem is in both the July and October
  2069. releases.
  2070.  
  2071. Now, I don't really need this fixed, because it is easy to get around - I
  2072. simply check when I get the WM_PAINT and if I've never seen a WM_NCPAINT, I
  2073. do the NCPAINT work at that point.  (I am trapping WM_NCPAINT to paint a
  2074. special title line and system menu box.)
  2075.  
  2076. Bruce Cowan
  2077.  
  2078. There is 1 Reply.
  2079.  
  2080. #: 16109 S4/API-User Interface   
  2081.     29-Oct-92  13:34:17
  2082. Sb: #15878-Missing WM_NCPAINT
  2083. Fm: Bob Landau [Microsoft] 70744,21
  2084. To: Bruce Cowan 73650,32 (X)
  2085.  
  2086. Hello Bruce,
  2087.  
  2088. I've added the following code to GENERIC
  2089.  
  2090.  WndProc:
  2091.   ...
  2092.  static fPaint = 0;
  2093.   ...
  2094.      case WM_NCPAINT:
  2095.         if ( fPaint == 0)
  2096.             fPaint = 1;
  2097.         return (DefWindowProc( hWnd, msg, wParam, lParam ));
  2098.   ...
  2099.      case WM_PAINT:
  2100.         if ( fPaint == 0 )
  2101.            OutputDebugString ("WM_PAINT called first\r\n");
  2102.         else if ( fPaint == 1 )
  2103.            OutputDebugString ("WM_NCPAINT called first\r\n");
  2104.  
  2105.         fPaint = 2;
  2106.   ...
  2107.  
  2108. Please paste the above code first into GENERIC and enter the following at the
  2109. command line
  2110.  
  2111. c:> windbg generic
  2112.  
  2113. You should see that message WM_NCPAINT called first in the Command box of
  2114. Windbg. Assuming the above is true add the same code to your sample and try it
  2115. again. You should see the same behavior. If not try to cut out as much code as
  2116. possible till you do get the same behavior.
  2117.  
  2118. If my assumption is wrong (Generic does not do as I stated above) let me know
  2119. and I'll ship you my version. If on the other hand a sequence of events in
  2120. your code prevents this behavior and removing that code will duplicate the
  2121. behavior ( the WM_NCPAINT message being displayed) please let me know and we
  2122. will look into this further.
  2123.  
  2124. Microsoft Developer Support
  2125.  
  2126. Bob Landau
  2127.  
  2128.  
  2129.  
  2130.  
  2131. There is 1 Reply.
  2132.  
  2133. #: 16126 S4/API-User Interface   
  2134.     29-Oct-92  14:45:07
  2135. Sb: #16109-Missing WM_NCPAINT
  2136. Fm: Bruce Cowan 73650,32
  2137. To: Bob Landau [Microsoft] 70744,21 (X)
  2138.  
  2139. Bob, with your code in Generic, I get "WM_NCPAINT called first", in my winproc
  2140. I get "WM_PAINT called first" in NT and "WM_NCPAINT called first: in Win 3.1.
  2141. Here is the important info from my winproc (i.e. indicate which messages I trap
  2142. and swallow and which I pass on).
  2143.  
  2144. WinProc:
  2145.  
  2146.  switch (msg)
  2147.  {
  2148.   case WM_NCCREATE: ... goto Default;
  2149.  
  2150.   case WM_MOUSEACTIVATE:
  2151.     if (LOWORD(lParam) != HTCAPTION)
  2152.     {
  2153.       SetActiveWindow( GetParent(hWnd) );
  2154.       return MA_NOACTIVATE;
  2155.     }
  2156.     break;
  2157.  
  2158.   case WM_COMMAND: ... break;
  2159.  
  2160.   case WM_SYSCOMMAND: ... break;
  2161.  
  2162.   case WM_NCCALCSIZE: ... break;
  2163.  
  2164.   case WM_PAINT: ... goto Default;
  2165.  
  2166.   case WM_NCPAINT: ... break;
  2167.  
  2168.   case WM_ACTIVATEAPP:
  2169.     if ( ... )
  2170.       goto Default;
  2171.     return 1L;
  2172.  
  2173.   case WM_NCHITTEST:
  2174.     if ( ... )
  2175.       goto Default;
  2176.     return ...;
  2177.  
  2178.   case WM_CHAR: ... break;
  2179.  
  2180.   case WM_MENUSELECT:
  2181.     if (lParam != 0x0000FFFF)
  2182.       break;
  2183.     // fall thru...
  2184.   case WM_LBUTTONUP:
  2185.   case WM_MBUTTONUP:
  2186.   case WM_RBUTTONUP:
  2187.     break;
  2188.  
  2189.   case WM_MOVE: ... break;
  2190.  
  2191.   case WM_DESTROY: ... break;
  2192.  
  2193.   default:
  2194.   Default:
  2195.     return ( DefWindowProc(hWnd,msg,wParam,lParam) );
  2196.  }
  2197.  return 0L;
  2198.  
  2199. As I said at the beginning, I don't really care because I can do my work in
  2200. WM_PAINT, so I'm not going to start changing my code to see what message I trap
  2201. which causes the problem. Just so you are certain: there is *NO* difference in
  2202. my winproc between Win 3.1 and NT except a recompilation.
  2203.  
  2204. While I have your ear, could you please get someone to look into message 15914
  2205. - the need for this capability *CRITICAL* for my app (and it seems to me from
  2206. comments made at the PDC that the underlying capability is there, it just isn't
  2207. exposed in the API). Thanks.
  2208.  
  2209. Bruce Cowan
  2210.  
  2211. There is 1 Reply.
  2212.  
  2213. #: 16262 S4/API-User Interface   
  2214.     30-Oct-92  20:23:30
  2215. Sb: #16126-Missing WM_NCPAINT
  2216. Fm: Bob Landau [Microsoft] 70744,21
  2217. To: Bruce Cowan 73650,32
  2218.  
  2219. Bruce,
  2220.  
  2221. I'll look at the code you sent in and bug this assuming I can't justify the
  2222. discrepentcy you've described. However since you stated this isn't a big issue
  2223. I'm going to address some more critical items first.
  2224.  
  2225. As to the issue you've described as critical message #15914 in the GDI
  2226. section. Petrus as brought your concern to the attention of Project
  2227. management. I do not understand all the issues you addressed in that thread
  2228. not being a GDI type but I have also sent mail around asking GDI specialists
  2229. around here to read your thread and look into implementing what you've asked.
  2230. This is about all either Petrus or I can do.
  2231.  
  2232. Microsoft Developer Support
  2233.  
  2234. Bob Landau
  2235.  
  2236.  
  2237.  
  2238.  
  2239. #: 15889 S5/API-GDI/Graphics   
  2240.     27-Oct-92  14:22:08
  2241. Sb: Don't download Spice1.zi
  2242. Fm: Robert Zeff 70323,1251
  2243. To: all
  2244.  
  2245. Spice1.zip doesn't run under the October release.  I'll upload a new version
  2246. soon.  If you've already downloaded, and want another copy, send me a
  2247. self-addressed envelope & formatted floppy and I'll send you a new copy. (To
  2248. avoid the repreated download charges)
  2249.  
  2250. R. Zeff 4504 Bluffcreek Modesto, CA. 95355
  2251.  
  2252.  
  2253. #: 15913 S5/API-GDI/Graphics   
  2254.     27-Oct-92  17:36:39
  2255. Sb: Making .FON files
  2256. Fm: Bruce Cowan 73650,32
  2257. To: Steve Firebaugh [MS] 75430,412 (X)
  2258.  
  2259. Steve,
  2260. Thanks for the makfon.zip sample. I have used it with the October release and
  2261. can make my font files ok.
  2262.  
  2263. However, it is still the case that a font which is identified as SYMBOL in the
  2264. header in the .FNT file (and the NT version of Font Editor agrees with this and
  2265. doesn't change the header at all when the file is opened and saved) shows up
  2266. during emumeration as ANSI_CHARSET and italics rather than as SYMBOL_CHARSET.
  2267.  
  2268. This needs to be fixed, and I wouldn't mind a work-around for the moment if you
  2269. can think of one.  I tried simply asking for italics rather than SYMBOL_CHARSET
  2270. but that does not give me the correct font, it seems to give me a slanted
  2271. version of my ANSI_CHARSET font.
  2272.  
  2273. Bruce Cowan
  2274.  
  2275. There is 1 Reply.
  2276.  
  2277. #: 15975 S5/API-GDI/Graphics   
  2278.     28-Oct-92  11:47:19
  2279. Sb: #15913-Making .FON files
  2280. Fm: Steve Firebaugh [MS] 75430,412
  2281. To: Bruce Cowan 73650,32 (X)
  2282.  
  2283. Bruce,  I will not deny that there are problems in the font API (I ran into
  2284. several of them while writing "NTFonts").  However, I am unable to reproduce
  2285. the particular problem you are describing.  I start with the MAKFON files. I
  2286. edit the .FNT, change the charset to be symbol, save the file, rebuild the
  2287. FON, install it with the control panel, and then look at the logfont and
  2288. textmetric fields with NTFonts.  When I do this, I find that the charset which
  2289. I set with fontedit always shows up correctly in the logfont and textmetric
  2290. fields of the same name.  Based on this, I am guessing that we are not running
  2291. into a general problem.
  2292.  
  2293. Would you be willing to upload the *.FNT file which you are having problems
  2294. with??  This should allow me to reproduce the problem, and then I can dig
  2295. around in the bytes and see what is going on.  (Or, you could uuencode the
  2296. file and mail it to stevefir@microsoft.com.)  Thanks.
  2297.  
  2298. Steve Firebaugh
  2299.  
  2300.  
  2301.  
  2302. There is 1 Reply.
  2303.  
  2304. #: 16062 S5/API-GDI/Graphics   
  2305.     29-Oct-92  08:08:00
  2306. Sb: #15975-Making .FON files
  2307. Fm: Bruce Cowan 73650,32
  2308. To: Steve Firebaugh [MS] 75430,412 (X)
  2309.  
  2310. Steve, I am on the track of solving my problem.  The only problem with the font
  2311. API in NT that I really have is that EnumFonts returns my fonts, my fonts
  2312. turned into italic, and my fonts turned into bold.  In 3.1 these extra copies
  2313. don't show up.  They were confusing me and then I ran into a couple of Windbg
  2314. bugs which confused me more, and the result was that I blamed NT when that is
  2315. not the problem.
  2316.  
  2317. Anyway, while I have your ear, I'll mention the two VERY SERIOUS Windbg
  2318. problems (I'll also post them in the correct section):
  2319.  
  2320. 1. There are times when the Locals window shows completely the wrong values
  2321.    for the local variables. I have one function in which it always happens the
  2322.    second time I hit a breakpoint in the function. Closing and re-opening the
  2323.    locals window gets the correct values displayed. (This one led me on a real
  2324.    merry chase before I figured out it was the debugger.)
  2325.  
  2326. 2. Windbg doesn't like one (at least) of my C source files. It refuses to load
  2327.    it either automatically (trace into it) or via File Open. I can't see
  2328.    anything strange about the file at all.
  2329.  
  2330. Thanks for your help with font problems.
  2331.  
  2332. Bruce Cowan
  2333.  
  2334. There is 1 Reply.
  2335.  
  2336. #: 16140 S5/API-GDI/Graphics   
  2337.     29-Oct-92  16:46:09
  2338. Sb: #16062-Making .FON files
  2339. Fm: Steve Firebaugh [MS] 75430,412
  2340. To: Bruce Cowan 73650,32 (X)
  2341.  
  2342. Bruce,   I am glad that you were able to get past the font problem. I am
  2343. trying to determine the rationale for returning 4 fonts in the EnumFonts()
  2344. call when only 1 bitmap font is built into the FON file.  (I also get bold AND
  2345. italic, in addition to the 3 variants that you mentioned.)  The NTFonts
  2346. program (\mstools\samples\ntfonts) really is a good way to track down this
  2347. sort of behavior.  (Note, the program currently works better if you recompile
  2348. without having UNICODE defined.... then it lets you print :)
  2349.  
  2350. Thank you for posting the Windbg errors in section 7.  It is true that there
  2351. are serious problems with this debugger.  I do not KNOW what is causing the
  2352. second problem you list, but I have observed that if you #include one c file
  2353. in another, Windbg will not open the included one.
  2354.  
  2355. Steve Firebaugh
  2356.  
  2357. #: 15787 S5/API-GDI/Graphics   
  2358.     26-Oct-92  11:53:07
  2359. Sb: S3 Drivers
  2360. Fm: Howard Myers 76711,462
  2361. To: Microsoft
  2362.  
  2363. I'm having problems with the S3 drivers in the October Beta release.
  2364.  
  2365. First, the SetDIBits with a 256 color logical palette is extremely slow.
  2366. (Approx. 10 times slower than 3.1) (Naturally, this assumes use of the
  2367. DIB_PAL_INDICES option. Using DIB_PAL_COLORS it is extremely fast, but
  2368. obviously gives incorrect results when 256 colors are required.)
  2369.  
  2370. Second, the colors being used out of the logical palette are incorrect. (I
  2371. don't know if they are being set incorrectly or loaded incorrectly.)
  2372.  
  2373. Finally, memory to memory bitblts are not working properly. This is a problem
  2374. that Bob Landau worked with us on, in the July release.  The VGA drivers now
  2375. seem to have the problem fixed, but the S3 drivers exhibit a similar problem,
  2376. although, not quite as severe.
  2377.  
  2378. We're supposed to show this product in the Microsoft 3rd party booth at Comdex
  2379. and, thus, time is of the essence.  These problems make showing such a product
  2380. very undesirable, both for how it makes our product look and yours.
  2381.  
  2382. Thanks!
  2383.  
  2384. #: 15822 S5/API-GDI/Graphics   
  2385.     26-Oct-92  18:20:51
  2386. Sb: #15787-S3 Drivers
  2387. Fm: Petrus Wong [Microsoft] 70743,3355
  2388. To: Howard Myers 76711,462 (X)
  2389.  
  2390. Hi Howard:
  2391.  
  2392.  >>First, the SetDIBits with a 256 color logical palette is extremely slow.
  2393. (Approx. 10 times slower than 3.1)<<
  2394.  
  2395.  I'll follow up on this one.  Thanks for the feedback.
  2396.  
  2397.  >>Second, the colors being used out of the logical palette are incorrect. (I
  2398. don't know if they are being set incorrectly or loaded incorrectly.)
  2399.  
  2400.  Finally, memory to memory bitblts are not working properly.<<
  2401.  
  2402.  Howard, please be a bit more specific...  I don't have enough lead to go on
  2403. here. What exactly are the problems you are seeing and how to reproduce them?
  2404.  
  2405.  
  2406.  >>We're supposed to show this product in the Microsoft 3rd party booth at
  2407. Comdex and, thus, time is of the essence.  These problems make showing such a
  2408. product very undesirable, both for how it makes our product look and yours.<<
  2409.  
  2410.  Understood.  We'll see what we can do.  If you can provide us with a simple
  2411. test case or details on how to reproduce the problems, it will be great.
  2412.  
  2413.  thanks,
  2414.  petrus
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421. There is 1 Reply.
  2422.  
  2423. #: 15850 S5/API-GDI/Graphics   
  2424.     27-Oct-92  05:54:31
  2425. Sb: #15822-S3 Drivers
  2426. Fm: Howard Myers 76711,462
  2427. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2428.  
  2429. As far as the palette is concerned, I have some additional info.  I tried
  2430. replacing the SetDIBits() with a loop using SetPixel().  This used the palette
  2431. properly, although it was even slower.  Thus, I'm sure the palette is being
  2432. properly defined/configured but for some reason is being improperly used.
  2433.  
  2434. When the palette is used improperly, the colors appear improperly, almost as
  2435. if there really aren't 256 colors.
  2436.  
  2437. As far as the memory to memory BitBlt() is concerned, when we originally send
  2438. the data directly to the screen, it appears one way.  At the same time we send
  2439. it to memory.  Later, if the screen needs repainted or is scrolled, we
  2440. BitBlt() it from our storage memory to screen memory.  This then appears
  2441. differently.  We pursued this problem with the July release and the VGA
  2442. drivers.  In that case, it was caused by the memory to memory BitBlt() and was
  2443. fixed in the October release.  What I'm afraid may have happened is that the
  2444. S3 driver was developed with some common code, before the fix went in. Bob
  2445. Landau worked on this problem with us and may be able to tell you exactly what
  2446. the cause was or who fixed it within Microsoft.
  2447.  
  2448. I will upload a copy of the Win 3.1 version, with a GIF the exhibits all of
  2449. the problems to GIF.ZIP in library 1 of this forum.  I haven't put it together
  2450. yet, so you may get this message before the file.  I'm uploading the 3.1
  2451. version since it exhibits exactly the same problems under NT, but will also
  2452. allow you to compare the speed difference of 3.1 vs. NT, as well as see it
  2453. working properly under 3.1.
  2454.  
  2455. As far as a small snippet is concerned, it's pretty hard to do, but I'll look
  2456. at it.  I'm also trying to discover alternative methods and work around the S3
  2457. driver problems, so this is keeping me quite busy.  We may be able to ship you
  2458. all of the source, and point you in the direction of the routine that is
  2459. actually at the center of the problem.  This is what we had to do previously
  2460. with Bob and the July release.  Let me know if that's acceptable.
  2461.  
  2462. Thanks for your prompt attention to this!
  2463.  
  2464. There is 1 Reply.
  2465.  
  2466. #: 15930 S5/API-GDI/Graphics   
  2467.     27-Oct-92  18:24:58
  2468. Sb: #15850-S3 Drivers
  2469. Fm: Petrus Wong [Microsoft] 70743,3355
  2470. To: Howard Myers 76711,462 (X)
  2471.  
  2472. Hi Howard:
  2473.  
  2474.  >>As far as the palette is concerned, I have some additional info.  I tried
  2475. replacing the SetDIBits() with a loop using SetPixel().  This used the palette
  2476. properly, although it was even slower.  Thus, I'm sure the palette is being
  2477. properly defined/configured but for some reason is being improperly used.<<
  2478.  
  2479.  >>When the palette is used improperly, the colors appear improperly, almost
  2480. as if there really aren't 256 colors.<<
  2481.  
  2482.  I've just come across a similar problem on both S3 and MIPS.  Maybe they are
  2483. related.  I'll follow-up with the development.
  2484.  
  2485.  >>As far as the memory to memory BitBlt() is concerned, when we originally
  2486. send the data directly to the screen, it appears one way.  At the same time we
  2487. send it to memory.  Later, if the screen needs repainted or is scrolled, we
  2488. BitBlt() it from our storage memory to screen memory.  This then appears
  2489. differently.<<
  2490.  
  2491.  Okay, I think I have enough info to reproduce this one...
  2492.  
  2493.  >>I will upload a copy of the Win 3.1 version, with a GIF the exhibits all of
  2494. the problems to GIF.ZIP in library 1 of this forum.  I haven't put it together
  2495. yet, so you may get this message before the file.  I'm uploading the 3.1
  2496. version since it exhibits exactly the same problems under NT, but will also
  2497. allow you to compare the speed difference of 3.1 vs. NT, as well as see it
  2498. working properly under 3.1.<<
  2499.  
  2500.  Thanks very much, this will be very helpful.
  2501.  
  2502.  >>As far as a small snippet is concerned, it's pretty hard to do, but I'll
  2503. look at it.  I'm also trying to discover alternative methods and work around
  2504. the S3 driver problems, so this is keeping me quite busy.  We may be able to
  2505. ship you all of the source, and point you in the direction of the routine that
  2506. is actually at the center of the problem.  This is what we had to do
  2507. previously with Bob and the July release.  Let me know if that's acceptable.<<
  2508.  
  2509.  In most cases, a detail description on how to reproduce the problem or some
  2510. code fragment will be sufficient.  If this is not enough, we ususally prefer a
  2511. small (build-able) sample to demonstrate the problem.  (In the SDK samples
  2512.  
  2513. [More]
  2514.  
  2515. There is 1 Reply.
  2516.  
  2517. #: 15931 S5/API-GDI/Graphics   
  2518.     27-Oct-92  18:25:05
  2519. Sb: #15930-S3 Drivers
  2520. Fm: Petrus Wong [Microsoft] 70743,3355
  2521. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2522.  
  2523. [Continued]
  2524.  
  2525. directory, there is a small program called generic.  You may modify it by
  2526. plugging in the relevent functions to demonstrate the problem and send it (or
  2527. upload) to us.)  We probably don't need the entire source from you :)
  2528.  
  2529.  I'll be reproducing the problems on this end.  If I've trouble reproducing
  2530. them I will let you know.  But, I can always use your help...
  2531.  
  2532.  thanks,
  2533.  petrus
  2534.  
  2535.  
  2536.  
  2537.  
  2538. There is 1 Reply.
  2539.  
  2540. #: 15952 S5/API-GDI/Graphics   
  2541.     28-Oct-92  07:14:55
  2542. Sb: #15931-S3 Drivers
  2543. Fm: Howard Myers 76711,462
  2544. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2545.  
  2546. petrus,
  2547.  
  2548. Here's the code that does the actual displaying:
  2549.  
  2550.    SetDIBits( hdcBitmap, hMemBitMap, 0, 1, dptr, (LPBITMAPINFO)bi,
  2551.       DIB_PAL_COLORS);
  2552.    OldBitMap = SelectObject( hdcBitmap, hMemBitMap );
  2553.    if(!IsIconic(hWnd))
  2554.    {
  2555.       RealizePalette( hGifDC );
  2556.       SetWindowOrg(hGifDC, GetScrollPos(hWnd,SB_HORZ),
  2557.          GetScrollPos(hWnd,SB_VERT));
  2558.       BitBlt( hGifDC, X, GifY, DX, 1, hdcBitmap, start, 0, SRCCOPY);
  2559.    }
  2560.    BitBlt( hMemDC, X, GifY, DX, 1, hdcBitmap, start, 0, SRCCOPY);
  2561.    SelectObject( hdcBitmap,OldBitMap);
  2562.  
  2563. This has all been set up with a logical palette of 256 colors. hdcBitmap and
  2564. hMemBitMap are for a 1 pixel high, 1 scan line wide bitmap.  We build things
  2565. one scan line at a time.  hGifDC is for the screen.  hMemDC is for a full
  2566. bitmap that stores the entire image. This is later used when sections need
  2567. repainting, or are scrolled onto the screen.  It gets much more complicated to
  2568. show how dptr is setup, as well as X, DX, GifY, start, bi, etc.  To show all
  2569. of this, we'd be into a LOT of code.  But, the image does appear basically
  2570. correct, except for the colors and the speed.  Thus, the position arguments
  2571. must all be correct.  The palette must be properly established, or SetPixel()
  2572. would also display the wrong colors.  This also confirms that I must be using
  2573. the correct offset into the palette.
  2574.  
  2575. This last BitBlt shown above, is the suspect one.  It is blting from a 1 pixel
  2576. high memory bitmap, to our full memory bitmap.  Later, we do the following to
  2577. get from the full memory bitmap to the display, as required:
  2578.  
  2579.    hpalT = SelectPalette (hDC, hpal, FALSE);
  2580.    RealizePalette(hDC);
  2581.    hdcBits = CreateCompatibleDC(hDC);
  2582.    GetObject(hBitmap ,sizeof(BITMAP),(LPSTR)&bm);
  2583.    SelectObject(hdcBits,hBitmap );
  2584.    BitBlt(hDC,0,0,bm.bmWidth,bm.bmHeight,hdcBits,0,0,SRCCOPY);
  2585.    DeleteDC(hdcBits);
  2586.    SelectPalette(hDC,hpalT,FALSE);
  2587.  
  2588. where hBitmap is our full memory duplicate image.
  2589.  
  2590. Hopefully this will help some.  Thanks for your help!
  2591.  
  2592. There is 1 Reply.
  2593.  
  2594. #: 16159 S5/API-GDI/Graphics   
  2595.     29-Oct-92  19:52:02
  2596. Sb: #15952-S3 Drivers
  2597. Fm: Petrus Wong [Microsoft] 70743,3355
  2598. To: Howard Myers 76711,462 (X)
  2599.  
  2600. Hello Howard,
  2601.  
  2602.  Thanks for the code fragment and the program for demonstrating the problem. 
  2603. The color was definitely wrong.  However, I doubt that's the S3 driver.  It is
  2604. probably a bug in the RealizePalette api or the window messages associated to
  2605. palette change (running the program on MIPS also gives the wrong color.) This
  2606. is the same bug that I came across earlier. I will follow this up with the
  2607. development to get this fix.
  2608.  
  2609.  However, I am not seeing the bitblt problem you mentioned in the read.me. 
  2610. The scrolling and repainting was fast.  I don't see the slight change in
  2611. color.
  2612.  
  2613.  I will definitely raise the issue of performance of S3 with the developer.
  2614.  
  2615.  thanks,
  2616.  petrus
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622. There is 1 Reply.
  2623.  
  2624. #: 16179 S5/API-GDI/Graphics   
  2625.     30-Oct-92  06:46:32
  2626. Sb: #16159-S3 Drivers
  2627. Fm: Howard Myers 76711,462
  2628. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2629.  
  2630. petrus,
  2631.  
  2632. Thanks for the info.  As far as the bitblt() problem is concerned, I hope it
  2633. will disappear when the color problem is fixed.  This problem doesn't appear
  2634. when using SetPixel(), which gives the correct colors; so I hope that means
  2635. once the colors are corrected, it won't appear.  Thus, it may not be of a
  2636. large concern (I hope!).
  2637.  
  2638. If the color problem were caused by RealizePalette(), wouldn't it also appear
  2639. when using SetPixel()?  I'm not sure -- just seems like it to me.
  2640.  
  2641. Finally, I know the answer to this one, but I have to ask anyway.  Is there
  2642. any chance of getting an updated driver and/or patch for this by Comdex. We're
  2643. demonstrating in the Microsoft 3rd party booth, and this is the best part of
  2644. our show -- even though it's not the meat of our product.
  2645.  
  2646. Thanks again.
  2647.  
  2648. There is 1 Reply.
  2649.  
  2650. #: 16226 S5/API-GDI/Graphics   
  2651.     30-Oct-92  15:34:40
  2652. Sb: #16179-S3 Drivers
  2653. Fm: Petrus Wong [Microsoft] 70743,3355
  2654. To: Howard Myers 76711,462
  2655.  
  2656. Howard:
  2657.  
  2658.  >>If the color problem were caused by RealizePalette(), wouldn't it also
  2659. appear when using SetPixel()?  I'm not sure -- just seems like it to me.<<
  2660.  
  2661.  Good point, I'll keep this in mind...
  2662.  
  2663.  >>Finally, I know the answer to this one, but I have to ask anyway.  Is there
  2664. any chance of getting an updated driver and/or patch for this by Comdex. We're
  2665. demonstrating in the Microsoft 3rd party booth, and this is the best part of
  2666. our show -- even though it's not the meat of our product.<<
  2667.  
  2668.  Howard, it's not likely that we'll release an official update before the next
  2669. beta. However, you should contact our developer relation folks to see if there
  2670. is going to be a "Comdex" build of the system.  If so, you will have to get
  2671. the system from them.
  2672.  
  2673.  I hope that helps,
  2674.  
  2675.  thanks,
  2676.  petrus
  2677.  
  2678. #: 15914 S5/API-GDI/Graphics   
  2679.     27-Oct-92  17:37:34
  2680. Sb: Drawing on DIBs
  2681. Fm: Bruce Cowan 73650,32
  2682. To: all
  2683.  
  2684. Windows 3.1 provided a DIB driver (called DIB.DRV) which allowed one to draw on
  2685. DIBs while still maintaining access to the memory representing the DIB.  One
  2686. could then directly manipulate that memory or copy it to a display (using
  2687. StretchDIBits) or write it to a file.  This is documented in the 3.1 SDK help
  2688. file under Contents->Overviews->Video Techniques.  We use this ability in our
  2689. application (except for direct manipulation of the bits) and I can't figure out
  2690. how to do the same in NT.
  2691.  
  2692. I've heard that standard display drivers know how to draw on DIBs in NT (this
  2693. was mentioned at the PDC in July), but I can't figure out how to create the
  2694. appropriate HDC and DIB; calling CreateDC("DIB", ...) as in 3.1 doesn't work.
  2695. I first thought that CreateCompatibleDC and CreateDIBitmap would do the trick,
  2696. but that seems to create a device-dependent bitmap when I really need a DIB (at
  2697. least that is what the docs claim).  Besides, it doesn't give me the address of
  2698. the DIB bits and I need that to pass to StretchDIBits.
  2699.  
  2700. I know that, in theory, one can draw on a device-dependent bitmap and use
  2701. GetDIBits to copy the data to a DIB, but that is slow and awkward in comparison
  2702. to the simple use of the DIB driver.
  2703.  
  2704. Can anyone point me in the right direction here?  Thanks.
  2705.  
  2706. Bruce Cowan
  2707.  
  2708.  
  2709.  
  2710. There is 1 Reply.
  2711.  
  2712. #: 16155 S5/API-GDI/Graphics   
  2713.     29-Oct-92  18:28:25
  2714. Sb: #15914-Drawing on DIBs
  2715. Fm: Petrus Wong [Microsoft] 70743,3355
  2716. To: Bruce Cowan 73650,32 (X)
  2717.  
  2718. Hello Bruce,
  2719.  
  2720.  I don't think this is supported currently...
  2721.  
  2722. ..petrus
  2723.  
  2724.  
  2725.  
  2726. There is 1 Reply.
  2727.  
  2728. #: 16186 S5/API-GDI/Graphics   
  2729.     30-Oct-92  08:38:54
  2730. Sb: #16155-Drawing on DIBs
  2731. Fm: Bruce Cowan 73650,32
  2732. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2733.  
  2734. Ouch, any word on when. I need this capability for our app which is supposed to
  2735. demo in the Microsoft booth at Comdex! (I can obviously implement all my own
  2736. drawing primitives on DIBs, but not in time for Comdex.) It seems from what I
  2737. heard at the PDC that the underlying ability is there and it is just not
  2738. exposed in the API.
  2739.  
  2740. Bruce
  2741.  
  2742. There is 1 Reply.
  2743.  
  2744. #: 16235 S5/API-GDI/Graphics   
  2745.     30-Oct-92  16:06:58
  2746. Sb: #16186-Drawing on DIBs
  2747. Fm: Petrus Wong [Microsoft] 70743,3355
  2748. To: Bruce Cowan 73650,32
  2749.  
  2750. Hi Bruce,
  2751.  
  2752.  >>Ouch, any word on when. I need this capability for our app which is
  2753. supposed to demo in the Microsoft booth at Comdex! (I can obviously implement
  2754. all my own drawing primitives on DIBs, but not in time for Comdex.) It seems
  2755. from what I heard at the PDC that the underlying ability is there and it is
  2756. just not exposed in the API.<<
  2757.  
  2758.  I'm afraid we do not plan to support that on Windows NT.  One of the reasons
  2759. being that the DIB.drv was not a real driver and is actually part of the
  2760. graphics engine.  This extension was necessary for the multimedia in Win3.1.
  2761. Somewhere along the line, Windows NT decided that this is not the right
  2762. approach.  So, we are not going to support that.  This view may change in the
  2763. future.  But, I don't want to keep your hope up that any change will be in
  2764. time for Comdex.
  2765.  
  2766.  thanks,
  2767.  petrus
  2768.  
  2769. #: 16033 S5/API-GDI/Graphics   
  2770.     28-Oct-92  20:40:43
  2771. Sb: Real-time animation??
  2772. Fm: Joe Peterson[CyberStore] 76150,1714
  2773. To: All
  2774.  
  2775. Hi!
  2776.  
  2777. Does NT support *real-time* animation (*not* framing or bitblt-ing)?  If so,
  2778. how well?  That is, is performace acceptable?
  2779.  
  2780. Thanks!
  2781.  
  2782. (BTW: for lack of a better place to put this question, I asked it here.  If
  2783. there is a more appropriate place, please let me know.)
  2784.  
  2785. jep
  2786.  
  2787.  
  2788.  
  2789. There is 1 Reply.
  2790.  
  2791. #: 16143 S5/API-GDI/Graphics   
  2792.     29-Oct-92  16:49:41
  2793. Sb: #16033-Real-time animation??
  2794. Fm: Petrus Wong [Microsoft] 70743,3355
  2795. To: Joe Peterson[CyberStore] 76150,1714 (X)
  2796.  
  2797. Hi Joe:
  2798.  
  2799.  >>Does NT support *real-time* animation (*not* framing or bitblt-ing)?  If
  2800. so, how well?  That is, is performace acceptable?<<
  2801.  
  2802.  Not yet, we don't have a multimedia SDK for Windows NT yet.  But, you may try
  2803. to run Windows 16 bit multimedia applications on the WOW layer.
  2804.  
  2805.  >>(BTW: for lack of a better place to put this question, I asked it here.  If
  2806. there is a more appropriate place, please let me know.)<<
  2807.  
  2808.  We really don't have a place for this yet...
  2809.  
  2810.  thanks,
  2811.  petrus
  2812.  
  2813.  
  2814.  
  2815.  
  2816. There is 1 Reply.
  2817.  
  2818. #: 16160 S5/API-GDI/Graphics   
  2819.     29-Oct-92  20:06:55
  2820. Sb: #16143-Real-time animation??
  2821. Fm: Joe Peterson[CyberStore] 76150,1714
  2822. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2823.  
  2824.  > Not yet, we don't have a multimedia SDK for Windows NT yet.
  2825.  
  2826. Bummer!  Are there plans in the works?
  2827.  
  2828.  > But, you may try to run Windows 16 bit multimedia applications on the WOW
  2829. layer.
  2830.  
  2831. I really need pre-emptive multitasking in this app; threads and all that rot.
  2832. Win16 won't cut it, Windows multimedia or not.
  2833.  
  2834. Thanks for the quick reply.  I'll "keep my eyes peeled" for further
  2835. developments.
  2836.  
  2837. jep
  2838.  
  2839.  
  2840.  
  2841. There is 1 Reply.
  2842.  
  2843. #: 16239 S5/API-GDI/Graphics   
  2844.     30-Oct-92  16:58:50
  2845. Sb: #16160-Real-time animation??
  2846. Fm: Petrus Wong [Microsoft] 70743,3355
  2847. To: Joe Peterson[CyberStore] 76150,1714 (X)
  2848.  
  2849. Hi Joe:
  2850.  
  2851.  >> Not yet, we don't have a multimedia SDK for Windows NT yet.
  2852.  >Bummer!  Are there plans in the works?
  2853.  
  2854.  We do have plans on that but I don't have specific time frame for you as to
  2855. when this is going to be available.
  2856.  
  2857.  thanks,
  2858.  petrus
  2859.  
  2860. #: 15910 S5/API-GDI/Graphics   
  2861.     27-Oct-92  16:25:00
  2862. Sb: MIPS blt is sloooow!!!
  2863. Fm: Lanre Amos 70550,2360
  2864. To: microsoft
  2865.  
  2866. Blt functions on the MIPS (StretchBlt etc) is slooooooooow on the October
  2867. build. Much slower than on the July PDC! Any ideas what's going on here?
  2868.  
  2869. -Desperately needing help!!
  2870.  
  2871.  
  2872.  
  2873. There is 1 Reply.
  2874.  
  2875. #: 16027 S5/API-GDI/Graphics   
  2876.     28-Oct-92  19:18:49
  2877. Sb: #15910-MIPS blt is sloooow!!!
  2878. Fm: Petrus Wong [Microsoft] 70743,3355
  2879. To: Lanre Amos 70550,2360 (X)
  2880.  
  2881. Hi Lanre:
  2882.  
  2883.  >>Blt functions on the MIPS (StretchBlt etc) is slooooooooow on the October
  2884. build. Much slower than on the July PDC! Any ideas what's going on here?<<
  2885.  
  2886.  The GDI group will be working on the performance for the next release...
  2887.  Just curious, how much memory you have for your MIPS machine?   We usually
  2888. recommend
  2889.  more memory for the MIPS than on the x86.
  2890.  
  2891.  petrus
  2892.  
  2893.  
  2894.  
  2895.  
  2896. There is 1 Reply.
  2897.  
  2898. #: 16082 S5/API-GDI/Graphics   
  2899.     29-Oct-92  10:59:22
  2900. Sb: #16027-MIPS blt is sloooow!!!
  2901. Fm: Lanre Amos 70550,2360
  2902. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2903.  
  2904.  
  2905. I have a MAXIMALLY configured machine, Petrus!! 64Meg of RAM, 600 MByte HD
  2906. etc, etc! I think this may very well kill the MIPS machine! No C++ and now
  2907. this! BTW, I'm about to blow off the October build and reinstall the July PDK
  2908. and if I can't get the DDK to work with that, I'll just junk the whole box!
  2909. Pretty drastic, I know but it's still better to cut my losses early!!
  2910.  
  2911. It's a shame though. I was beginning to really like the MIPS machine!
  2912.  
  2913. -L.
  2914.  
  2915. There is 1 Reply.
  2916.  
  2917. #: 16240 S5/API-GDI/Graphics   
  2918.     30-Oct-92  16:58:57
  2919. Sb: #16082-MIPS blt is sloooow!!!
  2920. Fm: Petrus Wong [Microsoft] 70743,3355
  2921. To: Lanre Amos 70550,2360
  2922.  
  2923. Hello Lanre,
  2924.  
  2925.  >>I have a MAXIMALLY configured machine, Petrus!! 64Meg of RAM, 600 MByte HD
  2926. etc, etc! I think this may very well kill the MIPS machine! No C++ and now
  2927. this! BTW, I'm about to blow off the October build and reinstall the July PDK
  2928. and if I can't get the DDK to work with that, I'll just junk the whole box!
  2929. Pretty drastic, I know but it's still better to cut my losses early!!
  2930.  
  2931.  It's a shame though. I was beginning to really like the MIPS machine!<<
  2932.  
  2933.  It's sad to hear that...Thanks for bringing this to our attention.  I'll
  2934. forward your feedback to the developers.
  2935.  
  2936.  petrus
  2937.  
  2938. #: 16197 S5/API-GDI/Graphics   
  2939.     30-Oct-92  10:52:48
  2940. Sb: Bug in StretchBlt
  2941. Fm: Len Gray 71630,1703
  2942. To: All
  2943.  
  2944. I'm having a problem getting StretchBlt to perform a mirror image flip on a
  2945. bitmap.  The following API call will correctly vertically flip a 32 x 32
  2946. bitmap under Windows 3.1:
  2947.  
  2948.     StretchBlt (hToDC, 0, 31, 32, -32, hFromDC, nFromX, nFromY, 32, 32);
  2949.  
  2950. This call does not operate correctly under Windows NT (Oct).  I've tried all
  2951. sorts of values to see if I could coax it to work one way or another, but no
  2952. luck.  My research leads me to believe that the above values are correct for
  2953. what I want to do, but the top and left edge of the target bitmap are
  2954. incorrect after the call.
  2955.  
  2956. Please note that I think the documentation for mirror imaging using StretchBlt
  2957. has been incorrect since day one.  All docs state that you use opposite signs
  2958. on the source and dest height or width to do a mirror image. I've never been
  2959. able to get that one to work.  The above values, however, have worked in the
  2960. past and make logical sense as well.
  2961.  
  2962. Thanks for taking a look at this one for me!
  2963.  
  2964.     Len
  2965.  
  2966.  
  2967.  
  2968. There is 1 Reply.
  2969.  
  2970. #: 16212 S5/API-GDI/Graphics   
  2971.     30-Oct-92  13:09:10
  2972. Sb: #16197-Bug in StretchBlt
  2973. Fm: Steve Firebaugh [MS] 75430,412
  2974. To: Len Gray 71630,1703 (X)
  2975.  
  2976. Len,  StretchBlt() is able to produce mirror images in the October beta
  2977. release.  Please have a look at the \q_a\samples\streblt sample.  By loading a
  2978. source bitmap, then filling in values similar to the ones you listed, I was
  2979. able to get the StretchBlt() api to produce a mirror image.  I tested this on
  2980. both the VGA and the VRAM7.
  2981.  
  2982. Please have a look at the streblt sample, and if you continue to have
  2983. problems, get back to us.
  2984.  
  2985. Steve Firebaugh
  2986.  
  2987.  
  2988.  
  2989.  
  2990. There is 1 Reply.
  2991.  
  2992. #: 16241 S5/API-GDI/Graphics   
  2993.     30-Oct-92  17:26:16
  2994. Sb: #16212-Bug in StretchBlt
  2995. Fm: Len Gray 71630,1703
  2996. To: Steve Firebaugh [MS] 75430,412 (X)
  2997.  
  2998. Hi, Steve
  2999.  
  3000. Thank you very much for checking into my StretchBlt report so thoroughly. I'll
  3001. take a look at the samples and see if I can find how I have strayed from the
  3002. proper usage.
  3003.  
  3004. I'll let you know if I have anything worthwhile to report.
  3005.  
  3006. Thanks again!
  3007.  
  3008.    Len
  3009.  
  3010. #: 16038 S5/API-GDI/Graphics   
  3011.     28-Oct-92  23:02:19
  3012. Sb: Screen Saver
  3013. Fm: Mark Gamber 76450,2754
  3014. To:  76450,2754 (X)
  3015.  
  3016. This may be trivial, but what is up with the Screen Saver library? I've done
  3017. screen savers for 3.1 and tryed porting....oops. Then I looked at SCRNSAVE.H
  3018. and can't make heads or tails out of it. Finally, I get an unresolved
  3019. reference from the linker, looking for _WinMain@16. If anyone has any hints,
  3020. I'm all ears (no pun intended).
  3021.       Mark
  3022.  
  3023. There is 1 Reply.
  3024.  
  3025. #: 16142 S5/API-GDI/Graphics   
  3026.     29-Oct-92  16:49:36
  3027. Sb: #16038-Screen Saver
  3028. Fm: Petrus Wong [Microsoft] 70743,3355
  3029. To: Mark Gamber 76450,2754 (X)
  3030.  
  3031. Hello Mark:
  3032.  
  3033.  >>This may be trivial, but what is up with the Screen Saver library? I've
  3034. done screen savers for 3.1 and tryed porting....oops. Then I looked at
  3035. SCRNSAVE.H and can't make heads or tails out of it. Finally, I get an
  3036. unresolved reference from the linker, looking for _WinMain@16. If anyone has
  3037. any hints, I'm all ears (no pun intended).<<
  3038.  
  3039.  The scrnsave.h header file is used for writing screen savers for the Desktop
  3040. control panel applet.  It defines the interface between the applet and your
  3041. screen saver program. Your screen saver will be exporting the
  3042. ScreenSaveConfigureDialog function if your screen saver has user configurable
  3043. items.  The function will be called when the user press the "Setup..." button
  3044. in the Desktop applet.
  3045.  
  3046.  Your screen saver program will also export the ScreenSaverProc() window
  3047. procedure and the default window procedure for this function is the
  3048. DefScreenSaverProc().
  3049.  
  3050.  Also, your screen saver should have a procedure called
  3051. RegisterDialogCleasses(). This function will be called by the Desktop applet
  3052. before it makes any call to bring up your user configuration dialog so that
  3053. your screen saver will have a chance to register any private control class you
  3054. may use for your configuration dialog.
  3055.  
  3056.  As for the unresolved reference, this is due to the fact that we have changed
  3057. our calling convention to standard calling convention.  Thus, your WinMain
  3058. should be declared as int WINAPI WinMain().  Checkout the ntwin32.mak in the
  3059. \mstools\h directory and the SDK samples in the \mstools\samples directory.
  3060. These samples have been updated to use the new calling convention and uses the
  3061. ntwin32.mak in the makefile.
  3062.  
  3063.  Hope this helps,
  3064.  
  3065.  petrus
  3066.  
  3067.  
  3068.  
  3069. There is 1 Reply.
  3070.  
  3071. #: 16164 S5/API-GDI/Graphics   
  3072.     29-Oct-92  21:09:00
  3073. Sb: #16142-Screen Saver
  3074. Fm: Mark Gamber 76450,2754
  3075. To: Petrus Wong [Microsoft] 70743,3355 (X)
  3076.  
  3077. Well, I have done everything you've described. It's really not *much*
  3078. different than Win31's screen savers, excepting global variable changes and
  3079. calling conventions. What's throwing me is the only error I get is on the
  3080. WinMain which was previously provided by the SCRNSAVE.LIB file. How to go
  3081. about writing a screen saver using your own WinMain is beyond me because I
  3082. never had to do it before. I recheck the examples and so on but I've done that
  3083. a million times already with no luck. Well, maybe not a million, but...heh
  3084. heh. If you can provide a filename on the CD, some example code...any shortcut
  3085. at all, I will be eternally grateful. Maybe even longer.
  3086.    Mark
  3087.  
  3088. There is 1 Reply.
  3089.  
  3090. #: 16247 S5/API-GDI/Graphics   
  3091.     30-Oct-92  18:12:32
  3092. Sb: #16164-Screen Saver
  3093. Fm: Petrus Wong [Microsoft] 70743,3355
  3094. To: Mark Gamber 76450,2754 (X)
  3095.  
  3096. Hi Mark:
  3097.  
  3098.  >>Well, I have done everything you've described. It's really not *much*
  3099. different than Win31's screen savers, excepting global variable changes and
  3100. calling conventions. What's throwing me is the only error I get is on the
  3101. WinMain which was previously provided by the SCRNSAVE.LIB file. How to go
  3102. about writing a screen saver using your own WinMain is beyond me because I
  3103. never had to do it before. I recheck the examples and so on but I've done that
  3104. a million times already with no luck. Well, maybe not a million, but...heh
  3105. heh. If you can provide a filename on the CD, some example code...any shortcut
  3106. at all, I will be eternally grateful. Maybe even longer.<<
  3107.  
  3108.  Try linking with -entry:mainCRTStartup instead.  The screensave.lib is
  3109. exporting _main instead of _WinMain.
  3110.  
  3111.  thanks,
  3112.  petrus
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119. There is 1 Reply.
  3120.  
  3121. #: 16263 S5/API-GDI/Graphics   
  3122.     30-Oct-92  20:42:02
  3123. Sb: #16247-Screen Saver
  3124. Fm: Mark Gamber 76450,2754
  3125. To: Petrus Wong [Microsoft] 70743,3355 (X)
  3126.  
  3127. Looks reasonable to me! Thanks a bunch. Eternity sure is a long time... <g>
  3128.    Mark
  3129.  
  3130. There is 1 Reply.
  3131.  
  3132. #: 16265 S5/API-GDI/Graphics   
  3133.     30-Oct-92  21:11:37
  3134. Sb: #16263-Screen Saver
  3135. Fm: Mark Gamber 76450,2754
  3136. To: Mark Gamber 76450,2754 (X)
  3137.  
  3138. Petrus,
  3139.    As evidenced by the upload, it sure did solve the problem. Thanks again.
  3140. Sti Still, I hope the screen saver library is cleaned up a little bit before a
  3141. general release is made....it's not very apparent.  : )
  3142.    Mark
  3143.  
  3144.  
  3145.  
  3146.  
  3147. #: 15754 S6/API-Base/Security   
  3148.     25-Oct-92  15:03:16
  3149. Sb: #15544-Messages to other app.
  3150. Fm: John Hall [MS SDE] 70750,2341
  3151. To: Christian Betrisey 76600,1450 (X)
  3152.  
  3153. Try this:
  3154. Have each .exe attach to the dll.
  3155. Each .exe will call an init function in the dll, supplying a HWND and
  3156. a name.
  3157. To send a message, call a function with a name and a handle to a shared
  3158. memory block (see shrmem.zip in Porting from OS/2)
  3159. The dll will translate name to HWND and post a message.
  3160.  
  3161. Or you could use Queues, which is an implementation of OS/2 type queues
  3162. built with shrmem.zip that I will be posting within 2 weeks.
  3163. [I'll be updating all my stuff for the beta within 2 weeks.]
  3164.  
  3165.  
  3166. #: 15825 S6/API-Base/Security   
  3167.     26-Oct-92  20:27:16
  3168. Sb: New KB articles
  3169. Fm: Eric Sassaman/Microsoft 75430,411
  3170. To: all
  3171.  
  3172. The following list consists of titles and unique identifiers of Win32 SDK
  3173. technical articles contained in the Microsoft Knowledge Base used by Microsoft
  3174. support staff. For access to the most up-to-date information, access the
  3175. Microsoft Knowledge Base by typing 'go mskb' at the prompt. A feedback-only
  3176. email alias has been set up to take any comments on the Microsoft Knowledge
  3177. Base: 'y-kbfeed@microsoft.com'  Thank you.
  3178.  
  3179.  ------------------------------------------------------------------------
  3180.  INF: October 1992 Windows NT Release Announcement             [P_W32dev]
  3181.  Q89848
  3182.  ------------------------------------------------------------------------
  3183.  PRB: Sound Blaster Card Continuously Repeats .WAV File        [P_W32dev]
  3184.  Q89064
  3185.  ------------------------------------------------------------------------
  3186.  INF: Possible Causes for Fatal System Error 0x0000000E        [P_W32dev]
  3187.  Q89099
  3188.  ------------------------------------------------------------------------
  3189.  PRB: Windows NT Boots, but Looks for Wrong Boot Directory     [P_W32dev]
  3190.  Q89165
  3191.  ------------------------------------------------------------------------
  3192.  INF: Win32 Subsystem Object Cleanup                           [P_W32dev]
  3193.  Q89290
  3194.  ------------------------------------------------------------------------
  3195.  INF: Unicode Conversion to Integers                           [P_W32dev]
  3196.  Q89295
  3197.  ------------------------------------------------------------------------
  3198.  INF: How HEAPSIZE/STACKSIZE Commit > Reserve Affects Execution[P_W32dev]
  3199.  Q89296
  3200.  ------------------------------------------------------------------------
  3201.  INF: November DDK Conference in Europe                        [P_W32dev]
  3202.  Q89340
  3203.  ------------------------------------------------------------------------
  3204.  INF: Fault Tolerance on Symmetric Multiprocessor Machines     [P_W32dev]
  3205.  Q89342
  3206.  ------------------------------------------------------------------------
  3207.  INF: .RES Files Produced by July Release Makefiles            [P_W32dev]
  3208.  Q89344
  3209.  ------------------------------------------------------------------------
  3210.  
  3211. [More]
  3212.  
  3213. There is 1 Reply.
  3214.  
  3215. #: 15826 S6/API-Base/Security   
  3216.     26-Oct-92  20:27:22
  3217. Sb: #15825-New KB articles
  3218. Fm: Eric Sassaman/Microsoft 75430,411
  3219. To: Eric Sassaman/Microsoft 75430,411 (X)
  3220.  
  3221. [Continued]
  3222.  
  3223.  INF: Submitting Bug Reports for Windows NT                    [P_W32dev]
  3224.  Q89371
  3225.  ------------------------------------------------------------------------
  3226.  PRB: I/O Stream Header Files Not Included in July Release     [P_W32dev]
  3227.  Q89419
  3228.  ------------------------------------------------------------------------
  3229.  INF: Base Date for Time Differs Between NT and C/C++ 7.0      [P_W32dev]
  3230.  Q89580
  3231.  ------------------------------------------------------------------------
  3232.  PRB: Problems with 3.1 COMM.DRV on Certain DEC Machines       [P_W32dev]
  3233.  Q89690
  3234.  
  3235.   Eric Sassaman
  3236.   Microsoft NT Support
  3237.  
  3238. #: 15827 S6/API-Base/Security   
  3239.     26-Oct-92  20:27:29
  3240. Sb: Doc Bug - OpenFile()
  3241. Fm: Eric Sassaman/Microsoft 75430,411
  3242. To: George Smythe 70712,3667
  3243.  
  3244. << Since open() returns an old-style handle, you can't use that handle with
  3245. any API that needs a HANDLE type. Note that MSC 6.0 for OS/2 contained a few
  3246. run-time APIs to open pipes and return file handles. The _pipe call opens a
  3247. pipe a returns an old-style read and write handle that you can then use with
  3248. the old-style run-time calls. The _popen API spawns a child process and
  3249. returns a FILE * handle which is one end of a pipe connected to the child's
  3250. stdout stream. I don't know if both of these calls will be available in the
  3251. run-time libraries for the compiler for NT, but they exist in the current .h
  3252. files; I'll check with our compiler people and see if these pipe APIs will be
  3253. available in the run-time libraries. >>
  3254.  
  3255. George, I've finally heard back that these run-time calls will be available.
  3256. Check them out with the next release you will be receiving shortly (if not
  3257. already). They are some very handy calls.
  3258.  
  3259. -Eric
  3260.  
  3261. #: 15843 S6/API-Base/Security   
  3262.     26-Oct-92  22:41:16
  3263. Sb: UnpackDDElParam problems
  3264. Fm: Bruce Cowan 73650,32
  3265. To: all
  3266.  
  3267. The July release of NT made available the internal forms of the DDE message
  3268. lParam field, but the October one does not.  I don't want to use the internal
  3269. forms, but the UnpackDDElParam function is somewhat broken!  It has the
  3270. following problems that I have identified so far:
  3271.  
  3272. 1. It will crash (access violation) if called to unpack the lParam received in
  3273.    a WM_DDE_ACK message which is an answer to a WM_DDE_INITIATE.  I already
  3274.    changed my code to not unpack such lParams, but I can change it back if you
  3275.    really need a better bug description.
  3276.  
  3277. 2. It does not properly unpack the lParam for a WM_DDE_ACK which is an answer
  3278.    to a WM_DDE_EXECUTE (and it does require unpacking).  The values I get back
  3279.    are pure garbage!
  3280.  
  3281. BTW, it does correctly unpack the lParam for a WM_DDE_DATA message!
  3282.  
  3283. I am fairly certain my code is correct because I've snooped at the messages
  3284. using Spy and DDESpy and they look ok, and the other end of my DDE conversation
  3285. is Program Manager and it does what I tell it to (create a group and install
  3286. some icons in it).
  3287.  
  3288. Now, you may ask why I don't use DDEML.  The answer is simple - DDEML is quite
  3289. thoroughly broken in Windows 3.1 (it loses message replies at times - I reported
  3290. the problems way back during the Win 3.1 BETA and they were never fixed), and
  3291. I want to maintain common source code between by NT and Win 3.1 application.
  3292.  
  3293. I desperately need fix(es) here.  Thanks.
  3294.  
  3295. Bruce Cowan
  3296.  
  3297. #: 15745 S6/API-Base/Security   
  3298.     25-Oct-92  06:25:54
  3299. Sb: Cross-Network Synchroniz
  3300. Fm: David S. Platt 73540,3430
  3301. To: All
  3302.  
  3303. Is it possible for an app on one machine to directly open a handle to a
  3304. synchronization object on another machine on the network, via OpenHandle( ),
  3305. and then wait on it via WaitForSingleObject ( ) ?  Sort of like:
  3306.  
  3307. Machine A
  3308.         CreateMutex (..., "SAMPLEMUTEX") ;
  3309.  
  3310. Machine B
  3311.         hSample = OpenHandle (... "\\Machinea\mutex\SAMPLEMUTEX"
  3312.         WaitForSingleObject (hSample) ;
  3313.  
  3314. If it is not possible to do it directly, is it possible to do it via Remote
  3315. Procedure Calls, say calling an RPC function that you know lives on the
  3316. machine where the mutex is, and can therefore access the object ?
  3317.  
  3318. Dave 
  3319.  
  3320. #: 15894 S6/API-Base/Security   
  3321.     27-Oct-92  15:18:29
  3322. Sb: #15745-Cross-Network Synchroniz
  3323. Fm: Bruce Ramsey/Microsoft 70324,2742
  3324. To: David S. Platt 73540,3430 (X)
  3325.  
  3326. Hi Dave -
  3327.  
  3328. >> Is it possible for an app on one machine to directly open a
  3329.   handle to a synchronization object on another machine on the
  3330.   network, via OpenHandle( ), and then wait on it via
  3331.   WaitForSingleObject ( ) ?  Sort of like:
  3332.  
  3333.   Machine A
  3334.           CreateMutex (..., "SAMPLEMUTEX") ;
  3335.  
  3336.   Machine B
  3337.           hSample = OpenHandle (... "\\Machinea\mutex\SAMPLEMUTEX"
  3338.           WaitForSingleObject (hSample) ;
  3339.  
  3340. No, you'll find (if you haven't already) that OpenEvent, OpenMutex
  3341.   and OpenSemaphore fail with error 161 ERROR_BAD_PATHNAME if
  3342.   there's any \ character in the synchronization object name
  3343.  
  3344.   Perhaps the ERROR_BAD_PATHNAME error name is a source of
  3345.     confusion as it might seem to imply that if only one could
  3346.     figure out the right syntax for specifying the pathname for
  3347.     the synchronization object on the remote machine, then this
  3348.     could be made to work.  There is, however, no such correct
  3349.     syntax
  3350.  
  3351. The purposes of Win32 synchronizatoin objects are to permit
  3352.   synchronization of activities of processes on the same machine.
  3353.   If synchronization of processes spanning multiple machines
  3354.   running Win32 apps is needed, RPC would be a natural way to do
  3355.   this, as mentioned below.  Needless to say, your design would
  3356.   want to take into account that synchronization using RPC across
  3357.   a network is going to take place at network speeds, not at RAM
  3358.   speeds
  3359.  
  3360. >> If it is not possible to do it directly, is it possible to do
  3361.   it via Remote Procedure Calls, say calling an RPC function that
  3362.   you know lives on the machine where the mutex is, and can
  3363.   therefore access the object?
  3364.  
  3365. Yes, this can be done (not directly, as mentioned above, but yes
  3366.   via RPC)
  3367.  
  3368. The procedure on the RPC server that is called by the RPC client
  3369.   code is not restricted in what it can do.  In other words, the
  3370.   RPC server code can do on the machine it is running on anything
  3371.   it could do if it were not packaged as RPC code
  3372.  
  3373. Bruce
  3374.  
  3375. #: 15744 S6/API-Base/Security   
  3376.     25-Oct-92  06:25:51
  3377. Sb: Pipe Security
  3378. Fm: David S. Platt 73540,3430
  3379. To: All
  3380.  
  3381. Another question about security, on pipes this time.  Suppose user DAVE logs
  3382. in successfully on computer A and runs an app that creates a named pipe. 
  3383. Suppose further that DAVE's app creates the pipe with security descriptors (an
  3384. ACL, with ACEs) permitting use by user GEORGE, who logs in on computer B, but
  3385. nobody else.  Three questions:
  3386.  
  3387. 1.  If another user on the network, say MARTHA, tries to open the pipe, is her
  3388. request automatically rejected by the security manager ?
  3389.  
  3390. 2.  When user GEORGE, whose access is allowed, tries to open the pipe, what
  3391. sort of checking is done by NT ?  Does GEORGE need a user ID and password on
  3392. machine A as well as machine B ?  Does GEORGE's request to open the pipe send
  3393. a password to machine A, to be checked there, or does NT assume that, since
  3394. GEORGE is a permitted user and has gotten machine B to let him log on, that he
  3395. must be legit ?
  3396.  
  3397. 3.  If DAVE's app created the pipe without any security descriptor, would
  3398. anybody on the network be allowed to open it ?
  3399.  
  3400. Thanx 
  3401.  
  3402. #: 15920 S6/API-Base/Security   
  3403.     27-Oct-92  18:18:00
  3404. Sb: #15744-Pipe Security
  3405. Fm: Bruce Ramsey/Microsoft 70324,2742
  3406. To: David S. Platt 73540,3430 (X)
  3407.  
  3408. Hi Dave -
  3409.  
  3410. >> Another question about security, on pipes this time
  3411.  
  3412. Last question I saw from you on security was on Oct 10.  If I
  3413.   missed one please let me know.  Thanks :)
  3414.  
  3415. >> Suppose user DAVE logs in successfully on computer A and runs
  3416.   an app that creates a named pipe.  Suppose further that DAVE's
  3417.   app creates the pipe with security descriptors (an ACL, with
  3418.   ACEs) permitting use by user GEORGE, who logs in on computer B,
  3419.   but nobody else.  Three questions:
  3420.  
  3421. To clarify, let's assume DAVE logs onto Computer A locally, that
  3422.   is, using the keyboard.  GEORGE will be logging onto Computer A
  3423.   as a network user, and logging onto Computer B locally (let's
  3424.   assume all machines in this scenario are running Windows NT)
  3425.  
  3426. >> 1. If another user on the network, say MARTHA, tries to open
  3427.   the pipe, is her request automatically rejected by the security
  3428.   manager?
  3429.  
  3430. Yes, via the normal means, ie, searching the ACL on the pipe
  3431.   against an access token that represents MARTHA
  3432.  
  3433. However (see also below) if the MARTHA account is not permitted to
  3434.   logon as a network user to Computer A, MARTHA won't even get as
  3435.   far as checking the ACL on the pipe.  If MARTHA isn't permitted
  3436.   to access Computer A as a network user, when MARTHA attempts
  3437.   access to anything on Computer A over the network, a logon
  3438.   process on Computer A kicks in, tries to log MARTHA on, and
  3439.   since she's not allowed on as a network user, the logon process
  3440.   rejects her before even creating an access token to support
  3441.   MARTHA's activities on Computer A as a network user
  3442.  
  3443. >> 2. When user GEORGE, whose access is allowed, tries to open the
  3444.   pipe, what sort of checking is done by NT?  Does GEORGE need a
  3445.   user ID and password on machine A as well as machine B?  Does
  3446.   GEORGE's request to open the pipe send a password to machine A,
  3447.   to be checked there, or does NT assume that, since GEORGE is a
  3448.   permitted user and has gotten machine B to let him log on, that
  3449.   he must be legit?
  3450.  
  3451. Let's consider two cases:
  3452.  
  3453. - Where LAN Manager for Windows NT is in use.  Computers A and B
  3454.  
  3455. [More]
  3456.  
  3457. There is 1 Reply.
  3458.  
  3459. #: 15921 S6/API-Base/Security   
  3460.     27-Oct-92  18:18:13
  3461. Sb: #15920-Pipe Security
  3462. Fm: Bruce Ramsey/Microsoft 70324,2742
  3463. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  3464.  
  3465. [Continued]
  3466.  
  3467.   are both members of the same domain.  LAN Manager for Windows NT
  3468.   will be running in control of this domain, either on Computer A
  3469.   or B, or on some other computer running Windows NT in the same
  3470.   domain.  Let's call this the Domain Case
  3471.  
  3472. - Where LAN Manager for Windows NT is not in use.  Computers A and
  3473.   B are running as individual Windows NT machines, and aren't
  3474.   members of any domain.  Let's call this the No-Domain Case
  3475.  
  3476. There are other possible cases, such as A and B are each in a
  3477.   domain, but A and B are in different domains.  But let's just
  3478.   stick to the above two cases for now
  3479.  
  3480. In the Domain Case:  When GEORGE logs on locally to Computer B, he
  3481.   logs on as GEORGE-in-this-domain, because the domain controller
  3482.   controls the logon.  When GEORGE accesses Computer A over the
  3483.   network, Computer A runs a network logon process which goes to
  3484.   the domain controller at network logon time, and again GEORGE is
  3485.   identified (this time as a network user on Computer A) as
  3486.   GEORGE-in-this-domain
  3487.  
  3488. In both cases an access token is created to record the fact that
  3489.   it's GEORGE-in-this-domain, and a SID (Security ID) unique to
  3490.   GEORGE-in-this-domain goes into the access tokens
  3491.  
  3492. That SID is the key, because that same GEORGE-in-this-domain SID
  3493.   is also the same SID that was put into an ACE on the ACL
  3494.   associated with the named pipe that DAVE's app created on
  3495.   Computer A.  That is to say, it had better be the same SID.  It
  3496.   has to be, or else GEORGE-in-this-domain isn't really authorized
  3497.   on that ACL
  3498.  
  3499. So, in the Domain Case, no, GEORGE doesn't need an account and
  3500.   password on both computers, because he is defined in the domain,
  3501.   and both computers let the domain controller authenticate GEORGE
  3502.  
  3503. In the No-Domain Case:  Yes, GEORGE has to have an account on both
  3504.   Computers A and B.  When he logs onto Computer A as a network
  3505.   user, he will be asked for his password as defined on Computer
  3506.   A.  The SID that identifies GEORGE-on-Computer-B and the SID that
  3507.   identifies GEORGE-on-Computer-A are different
  3508.  
  3509.   As a side note, if you test this sort of thing, be sure to set
  3510.  
  3511. [More]
  3512.  
  3513. There is 1 Reply.
  3514.  
  3515. #: 15922 S6/API-Base/Security   
  3516.     27-Oct-92  18:18:25
  3517. Sb: #15921-Pipe Security
  3518. Fm: Bruce Ramsey/Microsoft 70324,2742
  3519. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  3520.  
  3521. [Continued]
  3522.  
  3523.     the GUEST account password to some value different from
  3524.     GEORGE's account, and make GEORGE not a member of GUESTs.
  3525.     Otherwise you'll see GEORGE logging on as GUEST, which can be
  3526.     confusing when expecting GEORGE's logon attempt to fail
  3527.  
  3528. In the No-Domain Case, GEORGE or somebody has admin work to do to
  3529.   keep the account name/password definitions in synch so people
  3530.   don't get confused and forget which spelling of which user
  3531.   account's password is valid on which computer.  And which users
  3532.   are defined to be part of which groups
  3533.  
  3534. This admin task is one of the main reasons why people would choose
  3535.   to install LAN Manager for Windows NT and make their Windows NT
  3536.   computers members of a domain:  have one place where
  3537.   users/passwords, and groups, are defined/maintained.  The more
  3538.   users/passwords, and groups, to be maintained, the greater the
  3539.   benefit to moving into use of domains
  3540.  
  3541. >> 3. If DAVE's app created the pipe without any security
  3542.   descriptor, would anybody on the network be allowed to open it?
  3543.  
  3544. Under most conditions, even if the pipe (any securable object for
  3545.   that matter) were created with an API call that didn't specify a
  3546.   Security Descriptor, a default security descriptor would be
  3547.   built and used by the system.  The rules for how this is done
  3548.   are in the October CD Win32 Api help file (Index search on
  3549.   Security Overview, then click on Securable Objects)
  3550.  
  3551. Under some conditions (see those rules just mentioned), no default
  3552.   DACL (Discretionary ACL) will be created as part of the default
  3553.   Security Descriptor.  This grants universal unconditional access
  3554.   to the object, but remember that the user (MARTHA in this
  3555.   scenario) has to be able to log on (either locally or over the
  3556.   network) to Computer A successfully before MARTHA will have a
  3557.   chance to touch any objects on Computer A
  3558.  
  3559. If MARTHA is not premitted to access anything on Computer A over
  3560.   the network, she will (of course) not be able to touch any pipes
  3561.   on Computer A
  3562.  
  3563. Bruce
  3564.  
  3565. #: 15933 S6/API-Base/Security   
  3566.     27-Oct-92  18:42:56
  3567. Sb: Win NT Shutdown
  3568. Fm: Leon G Rollison 70421,1702
  3569. To: sysop (X)
  3570.  
  3571. I just installed the October release of Windows NT / NTSDK.
  3572.  
  3573. The shutdown sequence doesn't work.  After I press Ctrl-Alt-Del, get the
  3574. dialog box, and press S to shutdown, Windows NT goes through the shutdown
  3575. procedure to the extent of closing all applications and displaying the Windows
  3576. NT bitmap and then hangs there.
  3577.  
  3578. Can anyone tell me what is wrong??
  3579.  
  3580. #: 15944 S6/API-Base/Security   
  3581.     27-Oct-92  23:06:50
  3582. Sb: WOW - Toolhelp support
  3583. Fm: Ray Duncan 72241,52
  3584. To: SYSOP (X)
  3585.  
  3586. The documentation for the Oct Beta release doesn't mention one of the most
  3587. important new WOW features - support for ToolHelp.DLL based WIN-16
  3588. applications!  I was quite astonished when I accidentally ran my little system
  3589. monitor utility for Windows 3.1 under NT and it actually took off and
  3590. displayed the module list, global heap, and so on. Even InterruptRegister()
  3591. works and allows you to trap GP faults!  It seems like we're not very far from
  3592. being able to do WIN16 app developemnt under Windows/NT after all.
  3593.  
  3594. The WOW code that emulates the ToolHelp functions for the window class list
  3595. may have a bug though.  A program which walks the window class list with
  3596. ClassFirst under Win 3.1 causes a GP fault in WIN/NT.
  3597.  
  3598. #: 15755 S6/API-Base/Security   
  3599.     25-Oct-92  16:47:19
  3600. Sb: Shared sections
  3601. Fm: Kent Cedola - Kitware 72230,1451
  3602. To: SYSOP (X)
  3603.  
  3604. Is it possible to export a variable from a DLL that is in shared section?  Or
  3605. do I need a function that returns the address?
  3606.  
  3607. Kent
  3608.  
  3609. #: 15973 S6/API-Base/Security   
  3610.     28-Oct-92  11:44:19
  3611. Sb: #15755-Shared sections
  3612. Fm: Bob Landau [Microsoft] 70744,21
  3613. To: Kent Cedola - Kitware 72230,1451 (X)
  3614.  
  3615. Kent,
  3616.  
  3617. To export a variable takes 3 steps
  3618.  
  3619. 1) define a section which the data resides in and mark it as shared 2)
  3620. exported it in the def file 3) access it via indirection.
  3621.  
  3622. The first you probably know but for the benefit of others you must below is it
  3623.  
  3624.  1)  FOO.C
  3625.  
  3626.  ....
  3627.  // define data section - similar to segments in MS-DOS or OS/2
  3628.  
  3629.  #pragma data_seg("MYSECTION");
  3630.  
  3631.  /* ALL the shared data; this section will be marked as READ WRITE SHARED in
  3632. the DEF
  3633.   * file. Note this is a necessary but not sufficient step to exporting data.
  3634.   */
  3635.  
  3636.   int sharedInt = 1 /* data must be initialized */
  3637.  
  3638.  #pragma data_seg(".data")
  3639.  /* Put the rest of the data in the DGROUP
  3640.   */
  3641.  
  3642.  ...
  3643.  
  3644.  FOO.DEF
  3645.  
  3646.   ...
  3647.   SECTIONS
  3648.    .data READ WRITE
  3649.    MYSECTION READ WRITE SHARED
  3650.  
  3651.  2)  EXPORT sharedInt CONSTANT
  3652.   ...
  3653.  
  3654.  MYAPP.C
  3655.  ...
  3656.  /* Note we're accessing the variables by indirection. Furthermore the
  3657. CONSTANT keyword
  3658.   * above is necessary inorder for each process to get the address of the data
  3659. mapped
  3660.   * into each processes address space.
  3661.   */
  3662.  
  3663.  3) extern int *sharedInt;
  3664.  
  3665.  ....
  3666.  
  3667.  Microsoft Developer Support
  3668.  
  3669.  Bob Landau
  3670.  
  3671. #: 15887 S6/API-Base/Security   
  3672.     27-Oct-92  13:26:33
  3673. Sb: #15635-ExitWindowsEx?
  3674. Fm: Bob Landau [Microsoft] 70744,21
  3675. To: Ralph Smith 76376,3150 (X)
  3676.  
  3677. Ralph,
  3678.  
  3679. The below code will generally work provided you've given yourself SHUTDOWN
  3680. priviledge this will normally be the case.
  3681.  
  3682. Microsoft Developer Support
  3683.  
  3684. Bob Landau
  3685.  
  3686.  
  3687.                 if (!OpenProcessToken(GetCurrentProcess(),
  3688.                         TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken)) {
  3689.                     wsprintf ( buffer, "OpenProcessToken Error #%d",
  3690. GetLastError ());
  3691.                     MessageBox(hWnd, buffer, NULL, MB_OK);
  3692.                 }
  3693.                 /* Get the LUID for shutdown privilege */
  3694.  
  3695.                 LookupPrivilegeValue(NULL, TEXT("SeShutdownPrivilege"),
  3696.                         &tkp.Privileges[0].Luid);
  3697.  
  3698.                 tkp.PrivilegeCount = 1;  /* one privilege to set    */
  3699.                 tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
  3700.  
  3701.                 /* Get shutdown privilege for this process. */
  3702.  
  3703.                 if (!AdjustTokenPrivileges(hToken, FALSE, &tkp, 0,
  3704.                         (PTOKEN_PRIVILEGES)NULL, 0)) {
  3705.                     wsprintf ( buffer, "AdjustTokenPrivileges Error #%d",
  3706. GetLastError
  3707.  ());
  3708.                     MessageBox(hWnd, buffer, NULL, MB_OK);
  3709.                 }
  3710.                 /* Shut down the system, and force all applications closed. */
  3711.  
  3712.                  if ( !ExitWindowsEx( EWX_REBOOT, 0 )) {
  3713.                     wsprintf ( buffer, "Error ExitWindows Error #%d",
  3714. GetLastError ());
  3715.                     MessageBox(hWnd, buffer, NULL, MB_OK);
  3716.                 }
  3717.  
  3718.  
  3719.  
  3720.  
  3721. There is 1 Reply.
  3722.  
  3723. #: 15992 S6/API-Base/Security   
  3724.     28-Oct-92  15:30:59
  3725. Sb: #15887-ExitWindowsEx?
  3726. Fm: Ralph Smith 76376,3150
  3727. To: Bob Landau [Microsoft] 70744,21 (X)
  3728.  
  3729. Bob: thanks for the answer, and code too!  Much appreciated (especially since
  3730. I haven't gotten into the security stuff yet!).
  3731.  
  3732. #: 15923 S6/API-Base/Security   
  3733.     27-Oct-92  18:18:29
  3734. Sb: #15714-File Name Associations
  3735. Fm: Bruce Ramsey/Microsoft 70324,2742
  3736. To: Marc Singer 72130,2546 (X)
  3737.  
  3738. Hi Andrew, David, and Marc - I'm looking into these issues for
  3739.   you.  I apologize for not already have more info for you
  3740.  
  3741. Bruce
  3742.  
  3743. #: 15998 S6/API-Base/Security   
  3744.     28-Oct-92  15:58:03
  3745. Sb: #15714-File Name Associations
  3746. Fm: Bruce Ramsey/Microsoft 70324,2742
  3747. To: Marc Singer 72130,2546 (X)
  3748.  
  3749. Hi Andrew, David, and Marc -
  3750.  
  3751. >> Currently, Microsoft uses the file name extension to predict
  3752.   which application should be invoked when the file is
  3753.   double-clicked.  Will this continue to be the method, or will
  3754.   files have well-defined announcement information embedded into
  3755.   them?
  3756.  
  3757. The .3 extension is still the method on Windows NT
  3758.  
  3759. I can't say too much about it, but the object-oriented project
  3760.   that was discussed at the July 6-8 1992 PDC as Cairo will have
  3761.   an object oriented file system to better address this
  3762.  
  3763. >> If the current scheme is to be perpetuated, name-space
  3764.   collisions could become an issue.  Will Microsoft provide a
  3765.   clearinghouse for well-known file extensions, and can developers
  3766.   reserve a range of names for their applications?
  3767.  
  3768. Microsoft doesn't provide clearinghouse-type services such as
  3769.   lists of known extensions or extension reservations
  3770.  
  3771. Name-space collisions could become more of an issue as more and
  3772.   more apps for Windows are in use.  There are already some third
  3773.   party solutions that manage cases where the same extension is in
  3774.   use, giving a pop-up to the user letting them choose which app
  3775.   to start
  3776.  
  3777. >> Here's my two cents on this issue.  I know that you can't
  3778.   really add stuff to the data portion of a file to recognize it,
  3779.   however, now that we have new file systems, will there be an
  3780.   extended attribute for the application name?  Since HPFS and
  3781.   NTFS do not really have file extensions, the extension scheme is
  3782.   really a poor method of detecting file types.
  3783.  
  3784. On Windows NT the information on the .3 extension is in the
  3785.   registry database.  Extended attributes aren't used for this on
  3786.   FAT, NTFS or HPFS
  3787.  
  3788. If you make a file a_long_file_name.txt on an NTFS partition, then
  3789.   double-click that file in File Manager, Notepad is started
  3790.  
  3791. >> Amen.  But there is also the problem of portability.  How will
  3792.   me send files from machine to machine (via floppy) and retain
  3793.   these special attributes.  Can we expect a new floppy format?
  3794.  
  3795. The .3 extension is still the method, so FAT floppies support this
  3796.  
  3797. Bruce
  3798.  
  3799. #: 15767 S6/API-Base/Security   
  3800.     26-Oct-92  06:22:37
  3801. Sb: NT Mailslot Read
  3802. Fm: Mark A Skerencak 71214,262
  3803. To: Microsoft
  3804.  
  3805. I am having problems porting a unix inter process communication (IPC)
  3806. application. The unix application uses mailslots as I am attempting to do. The
  3807. test bed I am using is a single process that spawns two threads. Each thread
  3808. connects to a mailslot and continuously reads the mailslot to see if a message
  3809. have arrived.   I have set the timeout to MAILSLOT_WAIT_FOREVER. I do not want
  3810. the function ipc_msg_receive() to return until it has read a message. The code
  3811. below attempts to do that but it returns if the mailslot is empty.  Does the
  3812. call
  3813. SetMailslotInfo with a timeout of MAILSLOT_WAIT_FOREVER have any affect on the
  3814. ReadFile() call? Will the ReadFile() call return an error (fResult == 0) if
  3815. the
  3816. mailslot is empty (that is what it is doing now) even if the timeout was set
  3817. to
  3818. wait forever? Should I be using Named Pipes instead? Any help or sample
  3819. applications you could provide would be greatly appreciated.
  3820.  
  3821. #: 16003 S6/API-Base/Security   
  3822.     28-Oct-92  16:20:07
  3823. Sb: #15767-NT Mailslot Read
  3824. Fm: David Taniguchi [MS] 72350,2054
  3825. To: Mark A Skerencak 71214,262
  3826.  
  3827. Hi Mark,
  3828.   Sorry for the delay.  I have reproduced your problem.   MAILSLOT_WAIT_
  3829.   FOREVER doesn't seem to work.  However, if you place
  3830.     SetMailslotInfo( hSlot, -1 );
  3831.   before the ReadFile(), it appears to wait forever (at least for several
  3832.   minutes -- it hasn't timed out yet :)
  3833.   Let me know if this doesn't work for you,
  3834.   Dave
  3835.  
  3836. #: 15888 S6/API-Base/Security   
  3837.     27-Oct-92  14:15:36
  3838. Sb: Mailslot sample app's
  3839. Fm: Mark A Skerencak 71214,262
  3840. To: Microsoft
  3841.  
  3842. HELP!! (no doubt you've seen this before). Are there any sample applications
  3843. available that use mailslots? If one creates a mailslot via CreateMailslot,
  3844. sets the read timeout to MAILSLOT_WAIT_FOREVER via SetMailslotInfo, and posts
  3845. a read to the mailslot vai ReadFile,  will the read return immediately if the
  3846. mailslot is empty or is the read pending (i.e. the thread suspends) until a
  3847. message is written to the mailslot?  Thanx.
  3848.  
  3849. There is 1 Reply.
  3850.  
  3851. #: 16004 S6/API-Base/Security   
  3852.     28-Oct-92  16:20:12
  3853. Sb: #15888-Mailslot sample app's
  3854. Fm: David Taniguchi [MS] 72350,2054
  3855. To: Mark A Skerencak 71214,262
  3856.  
  3857. Hi Mark,
  3858.   Try using SetMailslotInfo( hSlot, -1) before the ReadFile().  Let me
  3859.   know if you need more code.
  3860.   Thanks,
  3861.   Dave
  3862.  
  3863. #: 16006 S6/API-Base/Security   
  3864.     28-Oct-92  16:30:39
  3865. Sb: Info on 'GetProcAddress'
  3866. Fm: Neil Goldstein 70632,3566
  3867. To: All
  3868.  
  3869. Forwarded from someone who doesn't have compuserve access:
  3870.  
  3871. I need info on GetProcAddress. We have created our own DLL and am not getting
  3872. the address back from a procedure point that we know is in the DLL, but we are
  3873. not getting an error either.
  3874.  
  3875. Please advise and thanks,
  3876.  
  3877. KenR ng
  3878.  
  3879. #: 15774 S6/API-Base/Security   
  3880.     26-Oct-92  08:33:01
  3881. Sb: #15646-DLL: shared data
  3882. Fm: John Stoddard 72400,2551
  3883. To: Eric Sassaman/Microsoft 75430,411 (X)
  3884.  
  3885. Yup, that's just what I was doing - accessing the variable from an .EXE, and
  3886. resetting its value there... This whole area was very confusing, I just wrote
  3887. a bunch of test programs until I found out what worked and what didn't in my
  3888. environment. The key item I wouldn't have guessed on my own was that it was a
  3889. *pointer* to the item that was exported - any idea why this was done? It sure
  3890. has been the source of most of my problems in porting from OS/2!
  3891.  
  3892. John
  3893.  
  3894. #: 15977 S6/API-Base/Security   
  3895.     28-Oct-92  12:08:52
  3896. Sb: #15774-DLL: shared data
  3897. Fm: Eric Sassaman/Microsoft 75430,411
  3898. To: John Stoddard 72400,2551
  3899.  
  3900. << Yup, that's just what I was doing - accessing the variable from an .EXE,
  3901. and resetting its value there... This whole area was very confusing, I just
  3902. wrote a bunch of test programs until I found out what worked and what didn't
  3903. in my environment. The key item I wouldn't have guessed on my own was that it
  3904. was a *pointer* to the item that was exported - any idea why this was done? It
  3905. sure has been the source of most of my problems in porting from OS/2! >>
  3906.  
  3907. I had to take a peek at the sources to libcdll.dll to see how they were
  3908. exporting C run-time globals. I don't know why the variables appear as
  3909. pointers in the .exe... I assume there must have been a good reason for this
  3910. <g>!
  3911.  
  3912. I'll look into this and see if I can get any info on why in the world it was
  3913. done this way.
  3914.  
  3915.   Eric Sassaman
  3916.   Microsoft NT Support
  3917.  
  3918. #: 16018 S6/API-Base/Security   
  3919.     28-Oct-92  19:13:32
  3920. Sb: #15774-DLL: shared data
  3921. Fm: Eric Sassaman/Microsoft 75430,411
  3922. To: John Stoddard 72400,2551
  3923.  
  3924. << Hm, my experience was the opposite - if you don't init the variable, it
  3925. won't be shared. You won't need an export statement for the data in your def
  3926. file unless you wanted to access the shared data by name from your exe, and
  3927. the CONSTANT is only needed if you need to change the value of the data in the
  3928. DLL directly from the .exe. >>
  3929.  
  3930. OOPS! Some kind soul here pointed out that my test program was invalid
  3931. (thanks, Robert! <g>). It turns out that you MUST specify CONSTANT or you
  3932. won't be able to *read* the DLL global, either. You need CONSTANT if it's
  3933. data, period.
  3934.  
  3935.   Eric Sassaman
  3936.   Microsoft NT Support
  3937.  
  3938. #: 16030 S6/API-Base/Security   
  3939.     28-Oct-92  19:41:47
  3940. Sb: #15585-Event Time Stamps
  3941. Fm: Eric Sassaman/Microsoft 75430,411
  3942. To: dan white 70324,3147 (X)
  3943.  
  3944. << Is there any way to control the time stamp of an event written with
  3945. ReportEvent?  If there isn't, is there a way to find out what time stamp was
  3946. used, and is there a maximum latency between the time ReportEvent is called
  3947. and the time stamp?
  3948.  
  3949.         This is important because we track and time stamp events internally,
  3950. but would like to write them to the event log.  The only way to be sure the
  3951. logged time matches our internal time is to either set the log time to match
  3952. the internal time, or vise versa.  Right now I see no way to do either. >>
  3953.  
  3954. There doesn't appear to be any way to set the times that the event logging
  3955. functions use. Can you be more specific about "what time stamp was used"?
  3956. Event log records (EVENTLOGRECORD) contains both the time that the record was
  3957. submitted and the time that the event-logging service received the record to
  3958. be written. Do you mean, which one of these times is shown on the screen in
  3959. the event viewer application?
  3960.  
  3961. What you might want to do is store a unique number with each event - put that
  3962. number in the lpvData parameter, then when you read them with ReadEventLog,
  3963. you can gain access to this number to match them up.
  3964.  
  3965.   Eric Sassaman
  3966.   Microsoft NT Support
  3967.  
  3968. #: 16031 S6/API-Base/Security   
  3969.     28-Oct-92  19:55:21
  3970. Sb: #15562-RegQueryKeyValue
  3971. Fm: Eric Sassaman/Microsoft 75430,411
  3972. To: Marc Singer 72130,2546 (X)
  3973.  
  3974. << It appears that the RegQueryKeyValue () API has different types in the
  3975. Windows 3.1 API than it does for the Win32 API.  Neither compiler does not
  3976. like converting unsigned long to long (nor vice versa).  Should these not be
  3977. the same for both APIs? >>
  3978.  
  3979. No such beast as RegQueryKeyValue... do you mean RegQueryValue? The only LONG
  3980. is the return value, which is the same between both...
  3981.  
  3982.   Eric Sassaman
  3983.   Microsoft NT Support
  3984.  
  3985.  
  3986.  
  3987. There is 1 Reply.
  3988.  
  3989. #: 16044 S6/API-Base/Security   
  3990.     29-Oct-92  01:58:05
  3991. Sb: #16031-RegQueryKeyValue
  3992. Fm: Marc Singer 72130,2546
  3993. To: Eric Sassaman/Microsoft 75430,411 (X)
  3994.  
  3995. The function is RegQueryValue, yes.  The parameter that is a problem is lpcb. 
  3996. The type of pointer is different for NT than for Win 3.1.  One is signed and
  3997. one is unsigned.
  3998.  
  3999. Marc Singer -- Straylight Software
  4000.  
  4001. #: 16096 S6/API-Base/Security   
  4002.     29-Oct-92  13:27:07
  4003. Sb: Exception hndling q's
  4004. Fm: Eric Sassaman/Microsoft 75430,411
  4005. To: David A. Solomon 71561,3603 (X)
  4006.  
  4007. << 3. [This is more of a documention error] -- the EXCEPTION_DISPOSITION
  4008. structure is shown as the return value of the UnhandledExceptionFilter routine
  4009. (p.322 of Vol 2 of Win32 API book) -- however, this structure is not
  4010. documented in the data structures section of the Win32 API books. (I did find
  4011. it in a WINxxx.H file) -- just wanted to mention this documentation
  4012. oversight... >>
  4013.  
  4014. David, this is not a structure but rather an enumerated type. Possible values
  4015. are listed in the UnhandledExceptionFilter docs.
  4016.  
  4017.   Eric Sassaman
  4018.   Microsoft NT Support
  4019.  
  4020. #: 15788 S6/API-Base/Security   
  4021.     26-Oct-92  11:54:21
  4022. Sb: Serial Port Handshakes
  4023. Fm: Howard Myers 76711,462
  4024. To: Microsoft
  4025.  
  4026. The release notes for the October Beta release discuss using software
  4027. handshaking for correct serial port operation.  It also suggests disabling
  4028. hardware handshaking.  As we develop serial communications apps., this has
  4029. very important implications to us.
  4030.  
  4031. First, is this suggestion just for the Beta release, or is this expected to be
  4032. "permanent"?
  4033.  
  4034. Second, is this just a suggestion for performance considerations or is there a
  4035. problem with the hardware handshaking?  Basically, why is this suggestion
  4036. being made?
  4037.  
  4038. If there is a problem with hardware handshaking, this is very bad news!  Many
  4039. of our customers depend on hardware handshaking. In many environments it is
  4040. faster (extra characters don't need to be transmitted).  Also, as hard as it
  4041. may be to believe, the whole world doesn't support software handshaking.
  4042.  
  4043. Thanks in advance!
  4044.  
  4045. #: 15965 S6/API-Base/Security   
  4046.     28-Oct-92  10:04:37
  4047. Sb: #15788-Serial Port Handshakes
  4048. Fm: Don Cock 72520,1500
  4049. To: Howard Myers 76711,462 (X)
  4050.  
  4051. Howard,
  4052.  
  4053.      I too would like to express concern in not using hardware handshaking! I
  4054. read it ( it is in two locations ) as if you have problems, and in the second
  4055. instance always use xon/xoff.  I hope that this is just in the Oct. build and
  4056. not something that is permanent.
  4057.  
  4058. DonC
  4059.        
  4060.  
  4061. #: 16010 S6/API-Base/Security   
  4062.     28-Oct-92  17:40:57
  4063. Sb: #15788-Serial Port Handshakes
  4064. Fm: Rik Logan 72350,3506
  4065. To: Howard Myers 76711,462 (X)
  4066.  
  4067. Howard,
  4068.   I think the Oct release notes were only meant for DOS communication
  4069. programs.  The problem comes from the fact that the DOS program access a 16450
  4070. type UART, and as such, the port must be virtualized.  Therefore, the less
  4071. hardware access you have to make, the better the performance.  This shouldn't
  4072. be true of native NT programs.
  4073.  
  4074. As an example, I have tapcis set up to access COM3, which under DOS is I/O
  4075. port 3E8h, and IRQ 4.  But in reality, my serial port #3 is at I/O port 188h,
  4076. IRQ 7.  So NT is able to emulate a serial port and redirect it to the proper
  4077. port.
  4078.  
  4079. Hope this helps,
  4080.  
  4081. Rik Logan
  4082.  
  4083. #: 16097 S6/API-Base/Security   
  4084.     29-Oct-92  13:27:13
  4085. Sb: #15788-Serial Port Handshakes
  4086. Fm: Eric Sassaman/Microsoft 75430,411
  4087. To: Howard Myers 76711,462 (X)
  4088.  
  4089. << The release notes for the October Beta release discuss using software
  4090. handshaking for correct serial port operation.  It also suggests disabling
  4091. hardware handshaking.  As we develop serial communications apps., this has
  4092. very important implications to us.
  4093.  
  4094. First, is this suggestion just for the Beta release, or is this expected to be
  4095. "permanent"?
  4096.  
  4097. Second, is this just a suggestion for performance considerations or is there a
  4098. problem with the hardware handshaking?  Basically, why is this suggestion
  4099. being made?
  4100.  
  4101. If there is a problem with hardware handshaking, this is very bad news!  Many
  4102. of our customers depend on hardware handshaking. In many environments it is
  4103. faster (extra characters don't need to be transmitted).  Also, as hard as it
  4104. may be to believe, the whole world doesn't support software handshaking.
  4105.  
  4106. Thanks in advance! >>
  4107.  
  4108. Howard, I'm not aware of the circumstances of this problem. I've sent out some
  4109. queries for more info and will get back to you as soon as I hear anything on
  4110. this.
  4111.  
  4112.   Eric Sassaman
  4113.   Microsoft NT Support
  4114.  
  4115. #: 16098 S6/API-Base/Security   
  4116.     29-Oct-92  13:27:22
  4117. Sb: NTFS data attrib size
  4118. Fm: Eric Sassaman/Microsoft 75430,411
  4119. To: David A. Solomon 71561,3603 (X)
  4120.  
  4121. << One of the performance features described at the July PDC was that if the
  4122. data attribute of a file was small, it could fit with the other 'file header'
  4123. information in the MFT and thus the entire file (header data as well as file
  4124. data) could be accessed in a single I/O.  The same was said to be true for
  4125. small directory files (the index attribute fitting with the file header in the
  4126. MFT record).
  4127.  
  4128. What was not mentioned was the appx size of the data attribute that would
  4129. fit... I realize this depends on the size of the other attributes (e.g. the
  4130. file name, security description), which are variable length -- but, can you
  4131. give a ballpark figure? >> _____
  4132.  
  4133. David, the NTFS file header contains general file info and a list of attribute
  4134. pairs. The attribute pair is an attribute header and either the attribute info
  4135. or a pointer to the attribute info. The data stream, alternate data stream,
  4136. security, EAs, etc. are all attributes. An NTFS header would look like:
  4137.  
  4138. file info | attribute pair | attribute pair | attribute pair...
  4139.  
  4140. If there are too many of these attribute pairs, then none of the attribute
  4141. info is stored in the header but rather pointers will be used instead to point
  4142. to the attribute info.
  4143.  
  4144. In a best-case scenario, if file data is the only attribute, then about 1K of
  4145. file data can be fit into the header as attribute information.
  4146.  
  4147.   Eric Sassaman
  4148.   Microsoft NT Support
  4149.  
  4150. #: 16117 S6/API-Base/Security   
  4151.     29-Oct-92  13:59:39
  4152. Sb: signal, set/longjmp, ??
  4153. Fm: Eric Sassaman/Microsoft 75430,411
  4154. To: Noel J. Bergman/DEVTECH 76704,34 (X)
  4155.  
  4156. << When the POSIX subsystem is released, will signals there be able to work in
  4157. the classic way, e.g., one can longjmp out of the ^C handler?  If so, what
  4158. kind of performance penalty will exist?
  4159.  
  4160. The bottom line, I guess, is how are signals mapped from the NT kernel into
  4161. the application domain by the API server? >>
  4162.  
  4163. Noel, I've finally gotten a copy of the exception handling whitepaper.
  4164. Unfotunately, it doesn't shed any light on how this will work under the POSIX
  4165. subsystem; it's primary audience is language implemetors. If you'd still like
  4166. to get a copy of this paper, send me a private message in this forum (no
  4167. email, please) with your address and I'll send you a copy.
  4168.  
  4169. Since the POSIX subsystem is still unreleased at this point, we have little to
  4170. no information on this, nor can we test this until later. More information on
  4171. the POSIX subsystem will be available when it is released.
  4172.  
  4173.   Eric Sassaman
  4174.   Microsoft NT Support
  4175.  
  4176. #: 15950 S6/API-Base/Security   
  4177.     28-Oct-92  07:07:39
  4178. Sb: CreateWindow bug
  4179. Fm: George Eberhardt 70471,3647
  4180. To: sysop (X)
  4181.  
  4182.  
  4183. In the October 19 version.  It shows up if you:
  4184.  - specify size and origin
  4185.  - give the style as WS_MAXIMIZE
  4186.  - start the program from the PM.
  4187.  
  4188. The window comes up maximized, then is immediately resized to the given size
  4189. and location.  However, NT doesn't repaint the rest of the screen.  Also, if
  4190. the window is subsequently maximized the origin remains stationary and the
  4191. right side and bottom bleed off the screen.
  4192.  
  4193. This only happens if the program is started by double-clicking on the icon in
  4194. the PM.  If started from the prompt in the DOS box it behaves itself.
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200. There is 1 Reply.
  4201.  
  4202. #: 16137 S6/API-Base/Security   
  4203.     29-Oct-92  16:42:54
  4204. Sb: #15950-CreateWindow bug
  4205. Fm: David Taniguchi [MS] 72350,2054
  4206. To: George Eberhardt 70471,3647 (X)
  4207.  
  4208. Hi George,
  4209.   Thanks for the problem report.
  4210.   I couldn't find the upload but I did reproduce the behavior.  You can get
  4211.   around this by adding this to your WM_CREATE message:
  4212.     WINDOWPLACEMENT wp;
  4213.  
  4214.     GetWindowPlacement( hWnd, &wp);
  4215.     wp.showCmd = SW_SHOWMAXIMIZED;
  4216.     SetWindowPlacement( hWnd, &wp);
  4217.  
  4218.   I will make a report of the problem.
  4219.   Thanks,
  4220.   Dave
  4221.  
  4222. #: 15957 S6/API-Base/Security   
  4223.     28-Oct-92  07:43:20
  4224. Sb: Determine User Privilege
  4225. Fm: David Van Camp 70740,366
  4226. To: Microsoft
  4227.  
  4228. Is there a way to find out if the currently loged on user has backup
  4229. privilege?  If so, how?
  4230.  
  4231. thanks,
  4232. steven de vos (posted for him by dvc)
  4233.   
  4234.  
  4235. There is 1 Reply.
  4236.  
  4237. #: 15989 S6/API-Base/Security   
  4238.     28-Oct-92  14:06:16
  4239. Sb: #15957-Determine User Privilege
  4240. Fm: David Van Camp 70740,366
  4241. To: David Van Camp 70740,366
  4242.  
  4243. Here's some more info on what we are doing and the problem we are
  4244. experiencing...
  4245.  
  4246. We are attempting to check to determine if our app has backup privilege.  The
  4247. following code is a snipet of what we're doing.  However, this code *NEVER
  4248. FAILS* - even if we do not get access. why?
  4249.  
  4250. if (!OpenProcessToken( ProcessHandle, DesiredAccess, &TokenHandle)){
  4251.   error = GetLastError();
  4252.   printf( "Open process token failed, error = %d\n", error );
  4253.   return( -1 );
  4254. }
  4255. // Look up backup privilege
  4256. if (!LookupPrivilegeValue( NULL, "SeBackupPrivilege", &BackupValue )){
  4257.   error = GetLastError();
  4258.   printf( "Error %d: lookup privilege value failed.\n", error );
  4259.   return( -1 );
  4260. }
  4261. // Enable backup privilege for this process
  4262. NewState.PrivilegeCount           = 1;
  4263. NewState.Privileges[0].Luid       = BackupValue;
  4264. NewState.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
  4265.  
  4266. if (!AdjustTokenPrivileges( TokenHandle, FALSE, &NewState, NULL, NULL, NULL)){
  4267.   error = GetLastError();
  4268.   printf( "Error %d: adjust backup token privilege failed.\n", error );
  4269.   return( -1 )
  4270. }
  4271.  
  4272. Mike Payne (posted by dvc)
  4273.  
  4274. There is 1 Reply.
  4275.  
  4276. #: 16163 S6/API-Base/Security   
  4277.     29-Oct-92  21:08:20
  4278. Sb: #15989-Determine User Privilege
  4279. Fm: Robert Reichel [MS] 72360,3504
  4280. To: David Van Camp 70740,366
  4281.  
  4282. AdjustTokenPrivilege never fails, but will *always* set last error, even
  4283. to success, if necessary.  So when you call AdjustTokenPrivilege, throw
  4284. away the return value and call GetLastError() to see what happened.
  4285.  
  4286. This little tidbit didn't make it into the docs for this release.
  4287.        
  4288.  
  4289. #: 15841 S6/API-Base/Security   
  4290.     26-Oct-92  22:37:29
  4291. Sb: WaitCommEvent weird
  4292. Fm: Bruce Cowan 73650,32
  4293. To: all
  4294.  
  4295. Overlapped (i.e. non-blocking) WaitCommEvent (on a real COM port) does not work
  4296. in a way that is consistent with other users of overlapped I/O.  For instance,
  4297. when one does an overlapped ReadFile, the lpNumberOfBytesRead dword is set to
  4298. 0 at the time of the ReadFile call and is not referenced again by NT.  One gets
  4299. the actual transfer count by calling GetOverlappedResult.  However, in
  4300. WaitCommEvent, the lpdwEvtMask dword is filled in asynchronously by NT and the
  4301. GetOverlappedResult call only uselessly returns 4, the number of bytes in a
  4302. dword.  This is a bit non-intuitive to say the least.  This behavior should be
  4303. documented fully, since it is unusual for a dword result like this to be filled
  4304. in asynchronously.
  4305.  
  4306. Bruce Cowan
  4307.  
  4308. There is 1 Reply.
  4309.  
  4310. #: 16133 S6/API-Base/Security   
  4311.     29-Oct-92  16:39:13
  4312. Sb: #15841-WaitCommEvent weird
  4313. Fm: Eric Sassaman/Microsoft 75430,411
  4314. To: Bruce Cowan 73650,32 (X)
  4315.  
  4316. << Overlapped (i.e. non-blocking) WaitCommEvent (on a real COM port) does not
  4317. work in a way that is consistent with other users of overlapped I/O.  For
  4318. instance, when one does an overlapped ReadFile, the lpNumberOfBytesRead dword
  4319. is set to 0 at the time of the ReadFile call and is not referenced again by
  4320. NT.  One gets the actual transfer count by calling GetOverlappedResult. 
  4321. However, in WaitCommEvent, the lpdwEvtMask dword is filled in asynchronously
  4322. by NT and the GetOverlappedResult call only uselessly returns 4, the number of
  4323. bytes in a dword.  This is a bit non-intuitive to say the least.  This
  4324. behavior should be documented fully, since it is unusual for a dword result
  4325. like this to be filled in asynchronously. >>
  4326.  
  4327. Bruce, the lpcbTransfer parameter to GetOverlappedResult is meaningless for a
  4328. WaitCommEvent operation. The documentation has been modified just recently to
  4329. refect this.
  4330.  
  4331. Concerning the lpdwEvtMask, this information is not available in the
  4332. OVERLAPPED structure, so the only alternative is to asynchronously update the
  4333. lpdwEvtMask. Just be sure not to check this mask until you've been signalled
  4334. and you'll be ok.
  4335.  
  4336.   Eric Sassaman
  4337.   Microsoft NT Support
  4338.  
  4339.  
  4340.  
  4341. There is 1 Reply.
  4342.  
  4343. #: 16185 S6/API-Base/Security   
  4344.     30-Oct-92  08:36:54
  4345. Sb: #16133-WaitCommEvent weird
  4346. Fm: Bruce Cowan 73650,32
  4347. To: Eric Sassaman/Microsoft 75430,411 (X)
  4348.  
  4349. Thanks. I had figured out all that and really just wanted you folks to fix the
  4350. documentation so that no one else would waste time trying to figure out how it
  4351. works.
  4352.  
  4353. Bruce
  4354.  
  4355. #: 16198 S6/API-Base/Security   
  4356.     30-Oct-92  10:52:57
  4357. Sb: GlobalSize fails on dlg
  4358. Fm: Len Gray 71630,1703
  4359. To: All
  4360.  
  4361. The code that I have been using to checksum a dialog is now failing under
  4362. Windows NT (Oct).  My code attempts to find, load, and lock a resource for
  4363. checksum as follows:
  4364.  
  4365.      if (hDlg = FindResource (hInstance, MAKEINTRESOURCE (IDD_DIALOG),
  4366.           RT_DIALOG))
  4367.        {
  4368.        if (hGlobalDlg = LoadResource (hInstance, hDlg))
  4369.          {
  4370.          lpDlgData = LockResource (hGlobalDlg);
  4371.          dwLength = GlobalSize (hGlobalDlg);
  4372.          .
  4373.          .
  4374.          .
  4375.          }
  4376.        }
  4377.  
  4378. This code works fine under Windows 3.1.  Under Windows NT, I seem to be
  4379. getting values back for my find, load, and lock calls.  The GlobalSize,
  4380. however, returns 0.
  4381.  
  4382. I've looked over the documentation looking for changes, but it seems that this
  4383. should still work.  I really don't know how to proceed from here.
  4384.  
  4385. Thanks for any and all help!
  4386.  
  4387.      Regards,
  4388.      Len
  4389.  
  4390. #: 16035 S6/API-Base/Security   
  4391.     28-Oct-92  21:53:23
  4392. Sb: SetKeyboardState
  4393. Fm: John K Foderaro 71175,1610
  4394. To: all
  4395.  
  4396.  The SetKeyboardState function still doesn't work in the Oct release. I
  4397. submitted a sample program showing the problem in the July release and I
  4398. assume you still have it.
  4399.  I wrote a program (.exe and associated .dll) that interchanges the control
  4400. and caps lock keys.  It works fine in Windows 3.1.  The program (suitably
  4401. modified and compiled under Win32) had no effect in the July release (since
  4402. SetKeyboardState did nothing).  Compiling and running it in the Oct release
  4403. causes the NT system to freeze and the only option you have is to press the
  4404. reset button on the machine.  I can supply the program if you wish.
  4405.  
  4406.  My main goal is to find some way to interchange the control and caps lock
  4407. keys since the editor I use makes heavy use of the control key and without the
  4408. control key being in the 'usual' place it is hard to edit under NT. Since
  4409. SetKeyboardState (even if it worked) would probably not provide the global
  4410. mapping of caps to control under NT, I'd like to find another way of
  4411. interchanging the keys.   There must be a table in the keyboard driver that I
  4412. can modify to make this happen.  I'd appreciate a pointer to it. Thanks
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419. There is 1 Reply.
  4420.  
  4421. #: 16210 S6/API-Base/Security   
  4422.     30-Oct-92  13:07:00
  4423. Sb: #16035-SetKeyboardState
  4424. Fm: David Taniguchi [MS] 72350,2054
  4425. To: John K Foderaro 71175,1610
  4426.  
  4427. Hi John,
  4428.   I found your program and recompiled.
  4429.   You are correct.  The bug is still present in the Oct Release.  I submitted
  4430.   another bug report to development.  Hopefully, this will get fixed in the
  4431.   next release.
  4432.  
  4433.   Thanks,
  4434.   Dave
  4435.  
  4436. #: 16046 S6/API-Base/Security   
  4437.     29-Oct-92  03:24:12
  4438. Sb: Portable File Commit
  4439. Fm: Robin 100025,604
  4440. To: ALL
  4441.  
  4442. I am writing an application which involves logging errors to disk. These
  4443. writes need to be commited ASAP so that the error situation doesn't kill the
  4444. machine before the error gets physically stored.
  4445.  
  4446. With WIN 3.1 I can commit writes by flushing Smartdrive using DOS3Call to call
  4447. Int 21h function 0dh. Is there a portable way that I can use both with Win 3.1
  4448. and WIN NT ? I would like to use the same code for both if possible, but using
  4449. a conditional compile otherwise.
  4450.  
  4451. Many thanks in advance for your help,
  4452.  
  4453. Robin Duerden.
  4454.  
  4455.  
  4456. There is 1 Reply.
  4457.  
  4458. #: 16211 S6/API-Base/Security   
  4459.     30-Oct-92  13:07:06
  4460. Sb: #16046-Portable File Commit
  4461. Fm: David Taniguchi [MS] 72350,2054
  4462. To: Robin 100025,604
  4463.  
  4464. Hi Robin,
  4465.   >..Is there a portable way that I can use both with Win 3.1 and WIN NT ?
  4466.   I would like to use the same code for both if possible, but using a
  4467.   conditional compile otherwise.
  4468.  
  4469.   It looks like the only way you can have it portable between Win3.1 and
  4470.   Win NT is to use the C runtime fflush().  I believe using the C runtime
  4471.   stream I/O can slow the performance in Windows. (See Q72237)
  4472.   You might check out FlushFileBuffers() for NT.
  4473.  
  4474.   Hope this helps,
  4475.   Dave
  4476.  
  4477. #: 16215 S6/API-Base/Security   
  4478.     30-Oct-92  13:17:10
  4479. Sb: Signal Anomaly
  4480. Fm: Andrew Potter 71075,614
  4481. To: all
  4482.  
  4483. The following program seems to act a little strange:
  4484.  
  4485. ------------------- cut here ----------------------------------
  4486.  
  4487. #: 15753 S6/API-Base/Security   
  4488.     25-Oct-92  14:55:11
  4489. Sb: #15707-DLL addresses
  4490. Fm: John Hall [MS SDE] 70750,2341
  4491. To: neil colvin 71650,3517
  4492.  
  4493. You use File mapping to create shared memory.
  4494. In the OS/2 Porting section, look up shrmem.zip, which is a DLL example that
  4495. provides shared memory to each process which attaches to it.  It also provides
  4496. something like 'named shared memory' ala OS/2, sets the virtual address attach
  4497. point to the same for each process (see docs) for those who need this, hands
  4498. out memory on page basis (4K) instead of the default 64K, and other stuff.
  4499.  
  4500. Questions about shrmem.zip to me.
  4501.  
  4502. #: 16135 S6/API-Base/Security   
  4503.     29-Oct-92  16:39:26
  4504. Sb: #15682-DLL addresses
  4505. Fm: Eric Sassaman/Microsoft 75430,411
  4506. To: David Edge 75170,1461 (X)
  4507.  
  4508. << If the data is separate for each process, how does the DLL resolve its data
  4509. addresses.  Won't the data addresses be different for the different instances
  4510. of the DLL since the data has to map into the address space of the caller's
  4511. process? >>
  4512.  
  4513. The data addresses in the DLL will be identical (there would only be one set
  4514. of data addresses in the single code section), but remember that these are
  4515. virtual addresses, which map to different pages in different processes. Since
  4516. each process has a different page directory with different page directory
  4517. entries, they point to toally different areas of memory. Thus each DLL client
  4518. can have it's own copy of DLL global memory.
  4519.  
  4520.   Eric Sassaman
  4521.   Microsoft NT Support
  4522.  
  4523.  
  4524.  
  4525. There is 1 Reply.
  4526.  
  4527. #: 16220 S6/API-Base/Security   
  4528.     30-Oct-92  14:24:28
  4529. Sb: #16135-DLL addresses
  4530. Fm: David Edge 75170,1461
  4531. To: Eric Sassaman/Microsoft 75430,411 (X)
  4532.  
  4533. Maybe I am missing something here, but please be patient with me for a moment.
  4534. Is it not true that the DLL's data space resides within the 2GB virtual
  4535. address space of the caller?  I understand that these are virtual addresses. 
  4536. Here is a scenario: process 1 loads a DLL and the DLL gets its data space
  4537. mapped at virtual addresses 10000 -  11000.  Now, process 2 starts up and uses
  4538. virtual addresses 10000 -  20000, then loads the same DLL.  How will the DLL
  4539. access its data using those same virtual addresses when they are taken by the
  4540. caller?  Does the DLL have its address space outside of the address space of
  4541. the caller?  Perhaps this seems irrelevant but I am wanting to make extensive
  4542. use of DLLs from multiple applications and I want to understand what is going
  4543. on.  Thanks.
  4544.  
  4545. Dave.
  4546.  
  4547. #: 15789 S6/API-Base/Security   
  4548.     26-Oct-92  11:55:12
  4549. Sb: GlobalCompact()
  4550. Fm: Howard Myers 76711,462
  4551. To: Microsoft
  4552.  
  4553. The GlobalCompact() function seems to have changed with the October Beta
  4554. release.  With the July release, it "seemed" to be returning the available
  4555. memory, just like the 3.x version does.  This made it very nice for
  4556. compatibility of code between the 2 environments.  Now it seems to return 0. 
  4557. Thus 3.x code that looks at the return value fails.
  4558.  
  4559. I've patched my code, but just wanted to report this to you.
  4560.  
  4561. #: 16029 S6/API-Base/Security   
  4562.     28-Oct-92  19:41:34
  4563. Sb: #15789-GlobalCompact()
  4564. Fm: Eric Sassaman/Microsoft 75430,411
  4565. To: Howard Myers 76711,462 (X)
  4566.  
  4567. << The GlobalCompact() function seems to have changed with the October Beta
  4568. release.  With the July release, it "seemed" to be returning the available
  4569. memory, just like the 3.x version does.  This made it very nice for
  4570. compatibility of code between the 2 environments.  Now it seems to return 0.
  4571. Thus 3.x code that looks at the return value fails.
  4572.  
  4573. I've patched my code, but just wanted to report this to you. >>
  4574.  
  4575. The problem with making this call portable is that in a virtual memory system,
  4576. the return value of the old GlobalCompact doesn't make any sense. What kind of
  4577. number should it return under Win32? You have gobs of virtual memory
  4578. available... much better to use GlobalMemoryStatus to get a better idea of how
  4579. much of the various types of memory are available in the system. This is one
  4580. of those rare cases where something different should be done if you are
  4581. running on Win32, such as ignoring this return value.
  4582.  
  4583.   Eric Sassaman
  4584.   Microsoft NT Support
  4585.  
  4586.  
  4587.  
  4588. There are 2 Replies.
  4589.  
  4590. #: 16052 S6/API-Base/Security   
  4591.     29-Oct-92  06:01:03
  4592. Sb: #16029-GlobalCompact()
  4593. Fm: Howard Myers 76711,462
  4594. To: Eric Sassaman/Microsoft 75430,411 (X)
  4595.  
  4596. I agree that using GlobalMemoryStatus() is a better approach -- and that is
  4597. what I am now using.  But if you want to help people port programs from 3.x to
  4598. NT, making these things as compatible as possible is a good idea.  Thus,
  4599. returning any one of the available types of memory would allow most apps. to
  4600. work.  I believe the July release did this.  Personally, if you aren't going
  4601. to be compatible with the old call, I wish you wouldn't put in a call that
  4602. does nothing at all.  At least with the call missing, flags get waved at link
  4603. time.  This way, I had 2 new bugs to tediously track down.
  4604.  
  4605. #: 16104 S6/API-Base/Security   
  4606.     29-Oct-92  13:31:12
  4607. Sb: #16029-GlobalCompact()
  4608. Fm: Orin Eman 71102,705
  4609. To: Eric Sassaman/Microsoft 75430,411 (X)
  4610.  
  4611. Eric, this reply is ridiculous.  The same situation exists under Windows 3.0
  4612. and 3.1, there can be gobs of virtual memory available from DPMI, yet
  4613. GlobalCompact still does its thing and returns a value.
  4614.  
  4615. I'm sure GlobalCompact can use GlobalMemoryStatus itself and calculate a
  4616. reasonable number to return.
  4617.  
  4618. There is 1 Reply.
  4619.  
  4620. #: 16233 S6/API-Base/Security   
  4621.     30-Oct-92  16:05:01
  4622. Sb: #16104-GlobalCompact()
  4623. Fm: David Taniguchi [MS] 72350,2054
  4624. To: Orin Eman 71102,705
  4625.  
  4626. Hi Orin,
  4627.   I would tend to agree with you.  I have submitted a suggestion to make
  4628.   GlobalCompact() return a non-zero value (as it did in the July Release).
  4629.   It does state in WinHelp that this is obsolete, but in the interest of
  4630.   portability, I can't see the harm of having it return a reasonable number
  4631.   (possibly based on GlobalMemoryStatus() as you mentioned.)
  4632.  
  4633.   Thanks,
  4634.   Dave
  4635.  
  4636. #: 15749 S6/API-Base/Security   
  4637.     25-Oct-92  10:56:43
  4638. Sb: #15690-Redirected I/O & Pipes
  4639. Fm: Keith MacDonald 100041,235
  4640. To: Bob Landau [Microsoft] 70744,21 (X)
  4641.  
  4642. Bob,
  4643.  
  4644. Thanks for your reply.
  4645.  
  4646. I had already tried your suggestion and it mostly works!  If I
  4647. create a child process that writes to stdout and stderr and creates
  4648. another child that does the same, I get all their output through the
  4649. pipe as expected.
  4650.  
  4651. However, if the child is CL386, I can get the stdout or the stderr
  4652. of its children, but not both.
  4653.  
  4654. Any further suggestions would be very welcome.
  4655. Keith
  4656.  
  4657. #: 16134 S6/API-Base/Security   
  4658.     29-Oct-92  16:39:19
  4659. Sb: #15749-Redirected I/O & Pipes
  4660. Fm: Eric Sassaman/Microsoft 75430,411
  4661. To: Keith MacDonald 100041,235
  4662.  
  4663. << I had already tried your suggestion and it mostly works!  If I create a
  4664. child process that writes to stdout and stderr and creates another child that
  4665. does the same, I get all their output through the pipe as expected.
  4666.  
  4667. However, if the child is CL386, I can get the stdout or the stderr of its
  4668. children, but not both. >>
  4669.  
  4670. Keith, I'm running into some very strange problems when the child is cl386.exe
  4671. that I can't explain. It doesn't seem to like to have it's handles redirected!
  4672. I'm looking into this in more detail and will get back to you as soon as I can
  4673. get through these problems.
  4674.  
  4675. Let me know if you run into any problems with other .exe's besides cl386, and
  4676. I'll dig into the cl386.exe case.
  4677.  
  4678.   Eric Sassaman
  4679.   Microsoft NT Support
  4680.  
  4681. #: 16260 S6/API-Base/Security   
  4682.     30-Oct-92  20:21:59
  4683. Sb: #15749-Redirected I/O & Pipes
  4684. Fm: Eric Sassaman/Microsoft 75430,411
  4685. To: Keith MacDonald 100041,235
  4686.  
  4687. << I had already tried your suggestion and it mostly works!  If I create a
  4688. child process that writes to stdout and stderr and creates another child that
  4689. does the same, I get all their output through the pipe as expected.
  4690.  
  4691. However, if the child is CL386, I can get the stdout or the stderr of its
  4692. children, but not both. >>
  4693.  
  4694. Well, I've discovered the problem. cl386.exe appears to close stderr after it
  4695. prints out the copyright message. cl386.exe uses stderr to print this message
  4696. out so that if you redirect the output from the command line with the '>'
  4697. operator, your error files are not filled with copyright notices, since only
  4698. stdout is redirected in that case. It appears that cl386.exe closes the stderr
  4699. handle when it is done with it - this causes an ERROR_BROKEN_PIPE to be
  4700. returned to ReadFile. See, when cl386.exe starts up as your child process and
  4701. queries what the standard output and standard error file handles are, it will
  4702. receive the same handle number for both. When it closes standard error, it is
  4703. closing the one and only output handle it has, which closes down the anonymous
  4704. pipe to the parent - there are not two pipes, one for stdout and one for
  4705. stderr, but only one doing double-duty.
  4706.  
  4707. The workaround is to open two anonymous pipes, setting standard error to one
  4708. and standard output to the other, spawning the child, then starting another
  4709. thread to process one pipe while another thread processes the other pipe.
  4710. Unfortunately, you can't read from the standard output pipes in sequence; you
  4711. can't read from one pipe until ERROR_BROKEN_PIPE, then read from the other,
  4712. because the child may fill up the pipe you are not currently reading from and
  4713. block trying to write until there is more room in the pipe.
  4714.  
  4715. I would expect that in most cases child apps like this would never close one
  4716. of the standard output handles... so in most cases this will never bite. But
  4717. there's always that one rougue app... <grin>
  4718.  
  4719. My inherit sample in the \q_a directory will get bit by this as well. I'll
  4720. need to update this sample to show the proper way to avoid getting bit by
  4721.  
  4722. [More]
  4723.  
  4724. There is 1 Reply.
  4725.  
  4726. #: 16261 S6/API-Base/Security   
  4727.     30-Oct-92  20:22:04
  4728. Sb: #16260-Redirected I/O & Pipes
  4729. Fm: Eric Sassaman/Microsoft 75430,411
  4730. To: Eric Sassaman/Microsoft 75430,411 (X)
  4731.  
  4732. [Continued]
  4733.  
  4734. this (especially since I show how to use inherit to spawn cl386.exe in the
  4735. help text!!)
  4736.  
  4737. Thanks for letting us know about this. Let me know if you run into any more
  4738. glitches.
  4739.  
  4740.   Eric Sassaman
  4741.   Microsoft NT Support
  4742.  
  4743.  
  4744.  
  4745.  
  4746. #: 15772 S7/Tools-Microsoft   
  4747.     26-Oct-92  08:07:54
  4748. Sb: LINK386.EXE
  4749. Fm: dwight jones 71214,2705
  4750. To: anyone
  4751.  
  4752. I sent this mseeage once, but I'm not sure I did it right. If you already have
  4753. it, accept my apologies. I'm a brand new NT developer. I tried to compile a
  4754. sample program in the documentation. CL386 first.c was the command line. It
  4755. compiled, but on linking it responded with a message saying it could not
  4756. locate LINK386.EXE. I searched and could not find that program. Help! Thanks!
  4757.  
  4758.  
  4759. #: 15765 S7/Tools-Microsoft   
  4760.     26-Oct-92  05:58:47
  4761. Sb: LINK386.exe
  4762. Fm: dwight jones 71214,2705
  4763. To: anybody
  4764.  
  4765. I am new to Windows NT. I tried to compile a sample program and got a message
  4766. "Unable to locate LINK386.EXE". I could not find LINK386.exe anywhere. Any
  4767. suggestions? Thanks.
  4768.  
  4769. There is 1 Reply.
  4770.  
  4771. #: 15785 S7/Tools-Microsoft   
  4772.     26-Oct-92  11:50:56
  4773. Sb: #15765-LINK386.exe
  4774. Fm: Paul Tissue [Microsoft] 70744,24
  4775. To: dwight jones 71214,2705 (X)
  4776.  
  4777. Hello Dwight,
  4778.  
  4779. The CL386 compiler does not work the same way our C7 MS-DOS counterpart does;
  4780. you cannot compile and link in one pass using this compiler.  Please see the
  4781. Win32 SDK samples and create a makefile.  You can then use the NMAKE utility
  4782. in the same manner the samples do.
  4783.  
  4784. - Paul, Win32 SDK Developer Support
  4785.  
  4786. #: 15792 S7/Tools-Microsoft   
  4787.     26-Oct-92  12:28:37
  4788. Sb: #15678-WINDBG (COMDEX/MS!)
  4789. Fm: Colin Stuart [Microsoft] 70744,25
  4790. To: Bill Carswell 74230,3710
  4791.  
  4792. Bill, I've been using WinDbg w/ the October Beta, and find it to be much more
  4793. robust. You should be getting this release soon, if not already.
  4794.  
  4795. Colin
  4796.  
  4797. #: 15756 S7/Tools-Microsoft   
  4798.     25-Oct-92  17:15:39
  4799. Sb: Compile problems
  4800. Fm: Pete Grant 71172,3430
  4801. To: microsoft
  4802.  
  4803. Just got the Oct version of NT.  There seems to be some compiler differences
  4804. between the July and October releases.
  4805.  
  4806. The same exact program that compiled and ran just fine before now gives me
  4807. error messages that make no sense:
  4808.  
  4809. myfile.c(19) C2373: 'Sleep': redefinition; different type modifiers
  4810.  
  4811. There is no reference to any "Sleep" in any of my files.  I include
  4812. <windows.h> but didn't see Sleep there either.
  4813.  
  4814. I don't have time to reinstall the July version, but I threw the code at
  4815. Borland's compiler and it compiled without a beep.
  4816.  
  4817. Any ideas?
  4818.  
  4819.  
  4820.  
  4821.  
  4822. There is 1 Reply.
  4823.  
  4824. #: 15793 S7/Tools-Microsoft   
  4825.     26-Oct-92  12:35:14
  4826. Sb: #15756-Compile problems
  4827. Fm: Doug Olson [Microsoft] 72350,2635
  4828. To: Pete Grant 71172,3430 (X)
  4829.  
  4830. Pete:
  4831.  
  4832. I have not encountered this problem yet.  I have a few questions.
  4833.  
  4834. Is WINDOWS.H the only file you are including?  Also, what is on line 19 of
  4835. myfile.c?
  4836.  
  4837. Thanks for the information, I am interested in what is causing this error.
  4838.  
  4839.  Sincerely,
  4840.  
  4841.  Doug Olson
  4842.  Microsoft Developer Support
  4843.  
  4844. #: 15802 S7/Tools-Microsoft   
  4845.     26-Oct-92  14:02:56
  4846. Sb: #15618-COFF out of memory error
  4847. Fm: Doug Olson [Microsoft] 72350,2635
  4848. To: Brad Hines 76520,3314
  4849.  
  4850. Brad:
  4851.  
  4852. Thanks for reporting this problem.  For now, I suggest breaking the source
  4853. into two separate files.  This should correct the problem.
  4854.  
  4855. Is the a C or C++ module?
  4856.  
  4857. Please let me know if breaking up the file does not correct the problem.  I
  4858. will let you know if we find another work around.
  4859.  
  4860.  Sincerely,
  4861.  
  4862.  Doug Olson
  4863.  Microsoft Developer Support
  4864.  
  4865. #: 15784 S7/Tools-Microsoft   
  4866.     26-Oct-92  11:50:50
  4867. Sb: Profiler
  4868. Fm: Paul Tissue [Microsoft] 70744,24
  4869. To: Howard Myers 76711,462 (X)
  4870.  
  4871. Hello Howard,
  4872.  
  4873. The October release does include the Win32 API profiler.  The needed binaries
  4874. are called APF32CVT.EXE and APF32DMP.EXE.  They are located in the
  4875. \MSTOOLS\BIN directory.  Please see the file \MSTOOLS\BIN\WAP.TXT for further
  4876. information.
  4877.  
  4878. - Paul, Win32 SDK Developer Support
  4879.  
  4880.  
  4881.  
  4882.  
  4883. There is 1 Reply.
  4884.  
  4885. #: 15799 S7/Tools-Microsoft   
  4886.     26-Oct-92  13:58:21
  4887. Sb: #15784-Profiler
  4888. Fm: Howard Myers 76711,462
  4889. To: Paul Tissue [Microsoft] 70744,24 (X)
  4890.  
  4891. Thanks Paul.  I realized this after I'd posted the message. I tried to delete
  4892. it before it was retrieved, but apparently I was too slow (or you guys are
  4893. just super fast).
  4894.  
  4895. In any case, thanks for the help, even though my face is a little red.
  4896.  
  4897. I've already used the profiler and it's working great!
  4898.  
  4899. Thanks again!
  4900.  
  4901. There is 1 Reply.
  4902.  
  4903. #: 15807 S7/Tools-Microsoft   
  4904.     26-Oct-92  14:53:20
  4905. Sb: #15799-Profiler
  4906. Fm: Paul Tissue [Microsoft] 70744,24
  4907. To: Howard Myers 76711,462
  4908.  
  4909. Hello Howard,
  4910.  
  4911. Good to hear things to found the profiler files!
  4912.  
  4913. FYI, we use a tool which continually downloads all new postings from
  4914. CompuServe and enters them into our database.  It appears that we downloaded
  4915. your posting before you deleted it.  In this situation, our database still
  4916. contains your original message without indication that it was deleted.  We
  4917. rarely use CompuServe in a interactive manner thus the fact you removed this
  4918. posting remained unknown to us.
  4919.  
  4920. - Paul, Win32 SDK Developer Support
  4921.  
  4922. #: 15805 S7/Tools-Microsoft   
  4923.     26-Oct-92  14:14:00
  4924. Sb: test
  4925. Fm: Ted C. Ho 73310,150
  4926. To:  73310,150 (X)
  4927.  
  4928. this just a test
  4929.  
  4930. There is 1 Reply.
  4931.  
  4932. #: 15812 S7/Tools-Microsoft   
  4933.     26-Oct-92  16:11:38
  4934. Sb: #15805-test
  4935. Fm: Paul Tissue [Microsoft] 70744,24
  4936. To: Ted C. Ho 73310,150
  4937.  
  4938. Hello Ted,
  4939.  
  4940. I just wanted to welcome you to the MSWIN32 forum and let you know that your
  4941. test posting in this forum worked.
  4942.  
  4943. - Paul, Win32 SDK Developer Support
  4944.  
  4945. #: 15813 S7/Tools-Microsoft   
  4946.     26-Oct-92  16:27:27
  4947. Sb: #15578-Err Linking C & C++
  4948. Fm: Colin Stuart [Microsoft] 70744,25
  4949. To: Jim Young 72760,725
  4950.  
  4951. Jim, Make sure that you are correctly using the 'extern' and 'extern "C"'
  4952. keywords.  extern "C" prevents symbol decoration, and extern prevents
  4953. declaration of a symbol. In the case that you want to use an external,
  4954. undecorated symbol in a C++ file, you must put the external statements in an
  4955. extern "C" block. Below is an example that calls external variables and
  4956. functions between C and C++ files.  Enjoy! Colin ************ TEST.C
  4957. ************* #include <stdio.h>
  4958.  
  4959. extern int xyz;             // expects external declarations extern void
  4960. Func1(void);    // " " " extern void Func2(void);    // " " "
  4961.  
  4962. void main(void) {
  4963.     xyz=123;
  4964.     printf("Within main.  xyz = %d\n",xyz);
  4965.     Func1();
  4966.     Func2(); }
  4967.  
  4968. *********** TEST1.CPP ************* #include <stdio.h>
  4969.  
  4970. extern "C"              // does not decorate fn or var names {
  4971.     int xyz;
  4972.     void xmain(void);
  4973.     void v(void); }
  4974.  
  4975. void v(void) {
  4976.     printf("inside v\n"); }
  4977.  
  4978. *********** TEST2.CPP ************* #include <stdio.h>
  4979.  
  4980. extern "C" {            // does not decorate fn or var names
  4981.     extern int xyz;        // expects external declarations
  4982.     void Func1(void);      // not external
  4983.     void Func2(void);      //  "    "
  4984.     extern void v(void);   // external function declaration }
  4985.  
  4986. void Func1(void) {
  4987.     printf("Inside Func1.  xyz = %d\n",xyz); }
  4988.  
  4989. void Func2(void) {
  4990.     v(); }
  4991.  
  4992. #: 15739 S7/Tools-Microsoft   
  4993.     24-Oct-92  15:16:58
  4994. Sb: WINDBG Problem
  4995. Fm: Mark Patterson 76234,3364
  4996. To:  72350,2054 (X)
  4997.  
  4998. David,
  4999.  
  5000. I just got the October Beta of NT, and installed it.  I made the necessary
  5001. mods to the make files, and recompiled my project.  I was able to debug the
  5002. program under WINDBG, except for two problems.  The first is that I can't add
  5003. any watches - I highlight the variable, go to "add watch", and the variable is
  5004. not there.  I type it in, and it says it is undefined.  This, despite the fact
  5005. that I am currently at a break point in that module, so the vars should be
  5006. available.
  5007.  
  5008. The "?" command will not work in the command line either.
  5009.  
  5010. The second problem is that no local vars are displayed in the locals window.
  5011.  
  5012. My programs are C++, using MFC.  I compiled with debugging on: C opts: /Zd /Od
  5013. /D_DEBUG Link opts: -debug:full -debugtype:cv
  5014.  
  5015. The above are in addition to the regular options.
  5016.  
  5017. Any ideas?
  5018.  
  5019. Thanks, Mark.
  5020.  
  5021.  
  5022.  
  5023.  
  5024. There are 2 Replies.
  5025.  
  5026. #: 15742 S7/Tools-Microsoft   
  5027.     25-Oct-92  04:42:40
  5028. Sb: #15739-WINDBG Problem
  5029. Fm: Kent Cedola - Kitware 72230,1451
  5030. To: Mark Patterson 76234,3364
  5031.  
  5032. Replace '-Zd' with '-Zi' in your compiles and then try WINDBG...
  5033.  
  5034. #: 15811 S7/Tools-Microsoft   
  5035.     26-Oct-92  16:11:33
  5036. Sb: #15739-WINDBG Problem
  5037. Fm: Paul Tissue [Microsoft] 70744,24
  5038. To: Mark Patterson 76234,3364
  5039.  
  5040. Hello Mark,
  5041.  
  5042. Kent Cedola's suggestion of using the -Zi compiler flag should fix the
  5043. problem.
  5044.  
  5045. It is always wise to follow the makefiles that our Win32 SDK samples use. One
  5046. of the big motivating reasons why we created the NTWIN32.MAK master makefile
  5047. was to shield us from incremental compiler and linker changes that effected
  5048. our samples development effort.  I can definately say this helped alleviate
  5049. many difficulties for us and we hope you will find them useful also.
  5050.  
  5051. Let us know if you continue to have any difficulties building your
  5052. applications to take advantage of debugging information.
  5053.  
  5054. - Paul, Win32 SDK Developer Support
  5055.  
  5056. #: 15814 S7/Tools-Microsoft   
  5057.     26-Oct-92  16:37:35
  5058. Sb: #15811-WINDBG Problem
  5059. Fm: Mark Patterson 76234,3364
  5060. To: Paul Tissue [Microsoft] 70744,24 (X)
  5061.  
  5062. Thanks for your suggestion.  Actually, I copied the WIN NT section from the
  5063. sample.mak file in the \mstools\mfc\samples directory, although I may have
  5064. missed a spot.  I'll check it out and let you know. Thanks for your help.
  5065. Mark.
  5066.  
  5067. #: 15816 S7/Tools-Microsoft   
  5068.     26-Oct-92  16:58:57
  5069. Sb: Packed structure bug?
  5070. Fm: Doug Olson [Microsoft] 72350,2635
  5071. To: Bill Cohagan 74375,313 (X)
  5072.  
  5073. Bill:
  5074.  
  5075. You provided the following code in your message:
  5076.  
  5077.   #pragma pack(1)
  5078.   struct HEADER { BYTE htag:8; unsigned length:24;};
  5079.   #pragma pack()
  5080.  
  5081. I think what you are looking for is:
  5082.  
  5083.   #pragma pack(1)
  5084.   struct HEADER { unsigned htag:8, length:24;};
  5085.   #pragma pack()
  5086.  
  5087. This will make sizeof(HEADER) equal to 4 rather than 5. the slight difference
  5088. in syntax accounts for the extra byte.
  5089.  
  5090.  Sincerely,
  5091.  
  5092.  Doug Olson
  5093.  Microsoft Developer Support
  5094.  
  5095.  
  5096.  
  5097.  
  5098. There is 1 Reply.
  5099.  
  5100. #: 15839 S7/Tools-Microsoft   
  5101.     26-Oct-92  22:35:15
  5102. Sb: #15816-Packed structure bug?
  5103. Fm: Bill Cohagan 74375,313
  5104. To: Doug Olson [Microsoft] 72350,2635 (X)
  5105.  
  5106. Doug-
  5107.   Thanks for figuring this one out.  I'll have to check the def of BYTE to
  5108. understand the distinction, but I'm sure it'll make sense if I RTFM.  Sorry to
  5109. use up your time on my error.
  5110.  
  5111. Bill
  5112.  
  5113. #: 15844 S7/Tools-Microsoft   
  5114.     26-Oct-92  23:25:55
  5115. Sb: GetExceptionCode docs?
  5116. Fm: Bill Cohagan 74375,313
  5117. To: sysop (X)
  5118.  
  5119. I haven't found much documentation on the Exception codes returned by the
  5120. function, GetExceptionCode, and the related information returned by the
  5121. function, GetExceptionInformation.  I've searched the *.h files without
  5122. gleaning much additional info.  What I'm interested in doing is determining
  5123. (in an exception filter) whether the exception is either a read or write
  5124. memory protection fault.  If it is one of these then I'd like to figure out
  5125. the effective address which caused the exception.
  5126.  
  5127. Please point me to the necessary docs/code to figure this out if possible.
  5128. I've not yet received the October release, so let me know if the answers are
  5129. all to be found there.
  5130.  
  5131. BTW, does the October release include updated hardcopy docs or just a CDROM?
  5132.  
  5133. Thanks,
  5134.  Bill
  5135.  
  5136. #: 15845 S7/Tools-Microsoft   
  5137.     26-Oct-92  23:46:24
  5138. Sb: GetExceptionCode foundit
  5139. Fm: Bill Cohagan 74375,313
  5140. To: sysop (X)
  5141.  
  5142. Never mind.....  I found the information on Exception codes and Exception
  5143. Information in the online help files.  Please disregard my request for help on
  5144. this one.
  5145.  
  5146. Bill
  5147.  
  5148. #: 15840 S7/Tools-Microsoft   
  5149.     26-Oct-92  22:35:24
  5150. Sb: CVPACK breakpoint (?)
  5151. Fm: Bruce Cowan 73650,32
  5152. To: all
  5153.  
  5154. CVPACK still has problems in the October release.  When I compile my entire
  5155. program with -Zi, I get a breakpoint interrupt (0x80000003) in CVPACK at
  5156. 0x6010a3d3.  When I limit the -Zi to the modules I need right now, everything
  5157. is fine.  My program is entirely C, no C++.  The source files are about 3.5M
  5158. bytes in total, and it is all linked into a single executable.  I presume
  5159. that since this is a hard-coded breakpoint, this is enough information to
  5160. give someone a clue as to what is going wrong.
  5161.  
  5162. My hardware configuration is IBM PS/2 model 95 486/33, 16M memory, no network,
  5163. XGA display.
  5164.  
  5165. Bruce Cowan
  5166.  
  5167. There is 1 Reply.
  5168.  
  5169. #: 15869 S7/Tools-Microsoft   
  5170.     27-Oct-92  10:22:30
  5171. Sb: #15840-CVPACK breakpoint (?)
  5172. Fm: Doug Olson [Microsoft] 72350,2635
  5173. To: Bruce Cowan 73650,32 (X)
  5174.  
  5175. Bruce:
  5176.  
  5177. Thanks for the problem report.  I will report this to our CVPACK developer.  I
  5178. agree that a sample will most likely not be necessary.  If a work around is
  5179. found I will post the information here.
  5180.  
  5181.  Sincerely,
  5182.  
  5183.  Doug Olson
  5184.  Microsoft Developer Support
  5185.  
  5186. #: 15859 S7/Tools-Microsoft   
  5187.     27-Oct-92  09:05:53
  5188. Sb: CVPACK
  5189. Fm: Manfred Dorsch 100015,155
  5190. To: sysop (X)
  5191.  
  5192. We need urgently help!
  5193. Hi,
  5194. I think CVPACK doesn't work very well. AFter compiling and linking the
  5195. following message occurs:
  5196. CVPACK:Fatal error CK1007: module Test.cxx
  5197. unknown type index 0x0007,
  5198. contact MS Product Support Services
  5199. CVPACK:error
  5200. can't exec COFF.EXE
  5201.  
  5202. For your information: We are developing a program in C++ under WindowNT. Our
  5203. program consists of 11 module.
  5204. If you have a new and better version of CVPACK, please put it to Compuserve as
  5205. soon as possible.
  5206. If you need more information you will contact us via compuserve.
  5207. Thank you
  5208.  
  5209. There is 1 Reply.
  5210.  
  5211. #: 15875 S7/Tools-Microsoft   
  5212.     27-Oct-92  11:08:07
  5213. Sb: #15859-CVPACK
  5214. Fm: Doug Olson [Microsoft] 72350,2635
  5215. To: Manfred Dorsch 100015,155 (X)
  5216.  
  5217. Manfred:
  5218.  
  5219. Sorry to hear that you are having problems.  Have you received the October SDK
  5220. yet?  If so, please type CVPACK and verify that you are using version
  5221. 1.318.01.
  5222.  
  5223.  Thanks,
  5224.  
  5225.  Doug Olson
  5226.  Microsoft Developer Support
  5227.  
  5228. #: 15893 S7/Tools-Microsoft   
  5229.     27-Oct-92  15:16:55
  5230. Sb: #15698-Portable .EXE format
  5231. Fm: Colin Stuart [Microsoft] 70744,25
  5232. To: Samuel Feldman 70403,432 (X)
  5233.  
  5234. Samuel, I'll see what I can do. Colin
  5235.  
  5236. #: 15903 S7/Tools-Microsoft   
  5237.     27-Oct-92  15:42:45
  5238. Sb: MFC Compiling
  5239. Fm: Doug Olson [Microsoft] 72350,2635
  5240. To: RAYMOND MILTON WOOD 76550,404
  5241.  
  5242. Raymond:
  5243.  
  5244. I have examined the information that you uploaded.  I found a couple minor
  5245. problems, but nothing that should cause the error you are receiving.  Below I
  5246. have listed some items to change and things to try, please let me know if any
  5247. of these correct the problem.
  5248.  
  5249. 1. If you now have the October SDK, you will want to add the
  5250. C:\MSTOOLS\MFC\LIB directory to your LIB environment variable.  Adding this
  5251. path to your LIB path will allow the linker to find the MFC library.
  5252.  
  5253. 2. Your temp and tmp environment variables are pointing to C:\TEMP.  Make sure
  5254. this directory exists and delete any files there.
  5255.  
  5256. 3. On you include path, list C:\MSTOOLS\H before C:\MSTOOLS\MFC\INCLUDE.
  5257.  
  5258. 4. If you just received the October SDK, install it and then give these
  5259. samples another try.
  5260.  
  5261. I hope that something here will help solve the problem. If not, please let me
  5262. know and we can continue working on this problem.
  5263.  
  5264.  Sincerely,
  5265.  
  5266.  Doug Olson
  5267.  Microsoft Developer Support
  5268.  
  5269. #: 15911 S7/Tools-Microsoft   
  5270.     27-Oct-92  17:06:32
  5271. Sb: NMAKE and NMK fatal err.
  5272. Fm: Robert Eidson 70214,2115
  5273. To: sysop (X)
  5274.  
  5275. Dear Sysop:
  5276.    I'm having a heck of a time getting my system to work again now that I have
  5277. NT, Windows for Workgroups, Access, FoxPro and other assorted applications
  5278. installed.  I built a simple "Hello World" program (about5 lines of code), a
  5279. MAKEFILE (see below) and did a simple NMAKE. I got a message that the compiler
  5280. ran out of memory. I have 16meg on this system. I am, in this instance, using
  5281. C 6.0.  I have not attempted to use the C 7.0 I obtained from the Windows NT
  5282. system (not sure how I'd even do it). The MAKEFILE: styedit.obj : styedit.c
  5283.     cl  /c /AS /Od /Zi styedit.c
  5284.  
  5285. styedit.exe : styedit.obj
  5286.    /LINK /CO styedit.obj
  5287.  
  5288. When I type NMAKE I get the following failure:
  5289.  
  5290. cl  /c /AS /Od /Zi styedit.c styedit.c fatal error C1002: compiler is out of
  5291. heap space in Pass 2 NMAKE : fatal error U1077 : 'cl' : return code '2'
  5292.  
  5293. Where should I start in order to fix this mess?
  5294.  
  5295. #: 15919 S7/Tools-Microsoft   
  5296.     27-Oct-92  18:16:01
  5297. Sb: Common dialog include
  5298. Fm: Colin Stuart [Microsoft] 70744,25
  5299. To: Marc Singer 72130,2546 (X)
  5300.  
  5301. Mark, I've reported this to development. Colin
  5302.  
  5303. #: 15927 S7/Tools-Microsoft   
  5304.     27-Oct-92  18:22:57
  5305. Sb: #15586-Librarian error (COMDAT)
  5306. Fm: Doug Olson [Microsoft] 72350,2635
  5307. To: Brad Hines 76520,3314
  5308.  
  5309. Brad:
  5310.  
  5311. I believe this problem has been corrected in the October release.  Please give
  5312. it a try and let me know how it works for you.  (if you haven't received the
  5313. October SDK yet, it should be arriving very soon)
  5314.  
  5315.  Sincerely,
  5316.  
  5317.  Doug Olson
  5318.  Microsoft Developer Support
  5319.  
  5320. #: 15932 S7/Tools-Microsoft   
  5321.     27-Oct-92  18:26:10
  5322. Sb: Bug in MSC C++
  5323. Fm: Greg Kochaniak 71461,631
  5324. To: Doug Olson [Microsoft] 72350,2635 (X)
  5325.  
  5326. Doug, thank you for your information on the bug with overloaded operators with
  5327. const parameters in the string class I reported previously. I hope you will be
  5328. able to fix it soon. I checked in October beta release of NT compiler, the bug
  5329. is still there. When you have a fix, plese do not wait until next NT release,
  5330. but post it on Compuserve so that we could have a better C++ compiler sooner.
  5331.  
  5332. Greg Kochaniak Ansoft Corp., Pittsburgh PA
  5333.  
  5334. #: 15851 S7/Tools-Microsoft   
  5335.     27-Oct-92  06:01:52
  5336. Sb: MFC Classes
  5337. Fm: Jim Conger 73220,324
  5338. To:  72350,2635 (X)
  5339.  
  5340. I have one small problem when compiling using the October NT beta and the MFC
  5341. classes.  Normal compilation works fine, but I get the following error when I
  5342. attempt to create a pre-compiled header:
  5343.  
  5344. fatal error C1001:ITERNAL COMPILER ERROR
  5345.          (compiler file 'msc1.cpp', line 555)
  5346.  
  5347. The other compiler switches I'm using are:
  5348.  
  5349. -c -G3d -W3 -Di386=1 -D_NTWIN -D_WINDOWS -DWINVER=0x03a -YcAFXWIN.H
  5350.  
  5351. Any suggestions?
  5352.  
  5353. There is 1 Reply.
  5354.  
  5355. #: 15929 S7/Tools-Microsoft   
  5356.     27-Oct-92  18:23:07
  5357. Sb: #15851-MFC Classes
  5358. Fm: Doug Olson [Microsoft] 72350,2635
  5359. To: Jim Conger 73220,324 (X)
  5360.  
  5361. Jim:
  5362.  
  5363. Thanks for reporting this problem, I will report it to our compiler
  5364. developers.  If a work around is found, I will let you know.
  5365.  
  5366.  Sincerely,
  5367.  
  5368.  Doug Olson
  5369.  Microsoft Developer Support
  5370.  
  5371.  
  5372.  
  5373.  
  5374. There is 1 Reply.
  5375.  
  5376. #: 15935 S7/Tools-Microsoft   
  5377.     27-Oct-92  19:09:23
  5378. Sb: #15929-MFC Classes
  5379. Fm: Jim Conger 73220,324
  5380. To: Doug Olson [Microsoft] 72350,2635 (X)
  5381.  
  5382. Thanks for the quick response.  I have to add that I'm really impressed with
  5383. the progress on this beta.
  5384.  
  5385. #: 15758 S7/Tools-Microsoft   
  5386.     25-Oct-92  21:22:29
  5387. Sb: DECLARE/IMPLEMENT_DYNAMI
  5388. Fm: Bill Cohagan 74375,313
  5389. To: sysop (X)
  5390.  
  5391. I have, with no success, been trying to build/access "Run-Time Class
  5392. Information" in an MFC application.  I think the problem (for me) is that the
  5393. documentation is not very clear on the requirements.  In particular, it
  5394. appears that in order to derive run-time class info for a derived class it
  5395. must already be available for its *direct* base class.  This becomes apparent
  5396. if one examines the macro definition for IMPLEMENT_DYNAMIC() in the file
  5397. afx.h. Since a base class, say FOO, must have a member classFOO in order for
  5398. derived classes to use IMPLEMENT_DYNAMIC, it must be that the base class has
  5399. its own DECLARE_DYNAMIC & IMPLEMENT_DYNAMIC.
  5400.  
  5401. I refer you to page 264 of _Class Libraries User's Guide_ where it says:
  5402.  
  5403.  > To use basic CObject functionality:
  5404.    o Use the normal C++ syntax to derive your class from COBject
  5405.      (or from a class derived from CObject).
  5406.       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5407.  
  5408. Later on, down the page, under "To add run-time class information:" it says:
  5409.  
  5410.  1.) Derive your class from CObject, as described in the previous section.
  5411.                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5412.  
  5413. This seems to imply that runtime info needn't be retained all the way down the
  5414. chain; you apparently can include it just at the leaves of the derivation tree
  5415. -- but this isn't the case. I think the docs could use a bit of improvement
  5416. here.
  5417.  
  5418. Regards,
  5419.  Bill
  5420.  
  5421. #: 15928 S7/Tools-Microsoft   
  5422.     27-Oct-92  18:23:02
  5423. Sb: #15758-DECLARE/IMPLEMENT_DYNAMI
  5424. Fm: Doug Olson [Microsoft] 72350,2635
  5425. To: Bill Cohagan 74375,313 (X)
  5426.  
  5427. Bill:
  5428.  
  5429. I will find out more information on this topic for you.
  5430.  
  5431.  Sincerely,
  5432.  
  5433.  Doug Olson
  5434.  Microsoft Developer Support
  5435.  
  5436. #: 15937 S7/Tools-Microsoft   
  5437.     27-Oct-92  19:55:04
  5438. Sb: #15758-DECLARE/IMPLEMENT_DYNAMI
  5439. Fm: Doug Olson [Microsoft] 72350,2635
  5440. To: Bill Cohagan 74375,313 (X)
  5441.  
  5442. Bill:
  5443.  
  5444. >>I have, with no success, been trying to build/access "Run-Time Class
  5445. Information" in an MFC application.  I think the problem (for me) is that the
  5446. documentation is not very clear on the requirements.  In particular, it
  5447. appears that in order to derive run-time class info for a derived class it
  5448. must already be available for its *direct* base class.
  5449.  
  5450. This is correct. I agree that this should be made clearer in the
  5451. documentation. I have forwarded your message to our AFX group. Sorry for the
  5452. confusion.
  5453.  
  5454.  Sincerely,
  5455.  
  5456.  Doug Olson
  5457.  Microsoft Developer Support
  5458.  
  5459. #: 15810 S7/Tools-Microsoft   
  5460.     26-Oct-92  15:42:52
  5461. Sb: C-Runtime DLL
  5462. Fm: Ted C. Ho 73310,150
  5463. To: All
  5464.  
  5465. Hi! In Windows NT release notes(Oct. 1992 release) p31, it states "If you need
  5466. to call C-Runtime functions in a DLL, then the entry point for the DLL must be
  5467. _CRT_INIT ...etc.
  5468.  
  5469. If I try to build a DLL do call the C-Runtime functions Instead of using
  5470. libc.lib or libcmt.lib, I am using C-Runtime DLL crtdll.dll.  Do I still need
  5471. to call _CRT_INIT at entry function?
  5472.  
  5473. Ted C. Ho
  5474.  
  5475. #: 15972 S7/Tools-Microsoft   
  5476.     28-Oct-92  11:42:55
  5477. Sb: #15810-C-Runtime DLL
  5478. Fm: Colin Stuart [Microsoft] 70744,25
  5479. To: Ted C. Ho 73310,150 (X)
  5480.  
  5481. Ted, calling _CRT_INIT is unneccesary when dynamically linking your DLL with
  5482. CRTDLL.DLL.  Call the entry point only when statically linking with LIBC.LIB
  5483. or LIBCMT.LIB.
  5484.  
  5485. Colin
  5486.  
  5487. #: 15938 S7/Tools-Microsoft   
  5488.     27-Oct-92  20:02:27
  5489. Sb: Too many drivers?
  5490. Fm: Robert Eidson 70214,2115
  5491. To: sysop (X)
  5492.  
  5493. I had a problem getting NMAKE.EXE, NMK.EXE and CV.EXE to run.  In my
  5494. config.sys I had the following drivers: DEVICE=C:\WINDOWS\HIMEM.SYS DEVICE =
  5495. C:\DOS\ANSI.SYS SHELL = C:\DOS\COMMAND.COM C:\ /P /E:1500
  5496. DEVICE=C:\WINDOWS\SMARTDRV.EXE /DOUBLE_BUFFER DEVICE=C:\DOS\RAMDRIVE.SYS 256
  5497. /I DEVICE=C:\WINDOWS\PROTMAN.DOS /I:C:\WINDOWS DEVICE=C:\WINDOWS\WORKGRP.SYS
  5498. DEVICE=C:\WINDOWS\SMCMAC.DOS DEVICE=C:\ASW410\ASPI4DOS.SYS
  5499. DEVICE=C:\ASW410\ASWCDNEC.SYS /D:ASPICD0
  5500.  
  5501. By removing the last 5 drivers I managed to get all three programs to run just
  5502. fine.  The problem:  I need these drivers to be available because they are for
  5503. Windows for Workgroup and Windows NT (the CDROM unit mostly).  The delema is
  5504. to keep the drivers and still be able to use C 6.0 until my Windows NT C 7.0
  5505. is capable of writing DOS code (as well as Win3.1 and NT). What solutions are
  5506. available to me to deal with this driver conjestion?
  5507.  
  5508. Bob Eidson
  5509.  
  5510.  
  5511.  
  5512.  
  5513.  
  5514. There is 1 Reply.
  5515.  
  5516. #: 15979 S7/Tools-Microsoft   
  5517.     28-Oct-92  12:48:19
  5518. Sb: #15938-Too many drivers?
  5519. Fm: Paul Tissue [Microsoft] 70744,24
  5520. To: Robert Eidson 70214,2115 (X)
  5521.  
  5522. Hello Robert,
  5523.  
  5524. The AutoExec.Bat and Config.Sys files used under Windows NT are different then
  5525. the ones used under MS-DOS.  MS-DOS and DOSWOW expect these files to be named
  5526. as such thus these files are renamed appropriately by the Flexboot loader
  5527. depending on which OS you boot.  Under Windows NT AutoExec.### and Config.###
  5528. are the backed up MS-DOS versions of these files.  Under MS-DOS AutoExec.NT
  5529. and Config.NT are the backed up Windows NT versions of these files.  The table
  5530. below describes the file renaming that takes place:
  5531.  
  5532.  Windows NT         MS-DOS
  5533.  ------------       ------------
  5534.  AutoExec.Bat <---> AutoExec.NT
  5535.  AutoExec.NT  <--->  -deleted-
  5536.  AutoExec.### <---> AutoExec.Bat
  5537.  Config.Sys   <---> Config.NT
  5538.  Config.NT    <--->  -deleted-
  5539.  Config.###   <---> Config.Sys
  5540.  
  5541. Note: under Windows NT the .NT files soley act as placemarkers and are of zero
  5542. length.
  5543.  
  5544. Windows NT does not run MS-DOS device drivers.  Thus the MS-DOS drivers you
  5545. have loaded in the DOSWOW version of Config.Sys must be removed.  However, you
  5546. should leave them in the MS-DOS version of Config.Sys.  With the renaming of
  5547. these files that Flexboot takes care of, you will maintain separate version of
  5548. these essential startup files for both DOSWOW and MS-DOS.
  5549.  
  5550. I hope this helps to clearify how Windows NT handles the Config.Sys and
  5551. AutoExec.Bat files.
  5552.  
  5553. - Paul, Win32 SDK Developer Support
  5554.  
  5555. #: 15763 S7/Tools-Microsoft   
  5556.     26-Oct-92  03:42:05
  5557. Sb: #15548-Porttool
  5558. Fm: Simon Moore 100014,1357
  5559. To: Cameron Ferroni [MS] 72360,2300 (X)
  5560.  
  5561. Another thought occured to me - would it be possible for you to provide a copy
  5562. of PORTTOOL built to run on 16 bit Windows? It would make life a little easier
  5563. for us.
  5564.  
  5565. Thanks
  5566.  
  5567. #: 15883 S7/Tools-Microsoft   
  5568.     27-Oct-92  12:35:50
  5569. Sb: #15763-Porttool
  5570. Fm: Paul Tissue [Microsoft] 70744,24
  5571. To: Simon Moore 100014,1357 (X)
  5572.  
  5573. Hello Simon,
  5574.  
  5575. The October release of the Win32 SDK includes the source code to the PortTool.
  5576. Since it is a multi-threaded application it would take a bit of work to back
  5577. port it to Win16.  However it would not be too difficult to do so.  I expect
  5578. someone with the Win32 SDK will do such a port.  If this is the case I would
  5579. hope they would upload it to this forum so others may use this tool.  Are you
  5580. interested in doing such a port?
  5581.  
  5582. - Paul, Win32 SDK Developer Support
  5583.  
  5584.  
  5585.  
  5586.  
  5587. There is 1 Reply.
  5588.  
  5589. #: 15947 S7/Tools-Microsoft   
  5590.     28-Oct-92  05:21:15
  5591. Sb: #15883-Porttool
  5592. Fm: Simon Moore 100014,1357
  5593. To: Paul Tissue [Microsoft] 70744,24 (X)
  5594.  
  5595. Well, I guess we might if its worth our while. Would it be easier to make it
  5596. work on WIN32S once that is available on pre-release,  presumably the
  5597. multithreading would still have to be removed?
  5598.  
  5599. (I'm looking forward to receiving the October NT release, once MS UK get their
  5600. distribution sorted out !)
  5601.  
  5602. Regards
  5603.  
  5604. -- Simon
  5605.  
  5606. There is 1 Reply.
  5607.  
  5608. #: 15986 S7/Tools-Microsoft   
  5609.     28-Oct-92  13:43:06
  5610. Sb: #15947-Porttool
  5611. Fm: Paul Tissue [Microsoft] 70744,24
  5612. To: Simon Moore 100014,1357 (X)
  5613.  
  5614. Hello Simon,
  5615.  
  5616. I myself haven't taken a really good look at the code but from a quick scan of
  5617. it I'd say that back porting it to Win16 or just using the Win32s APIs would
  5618. require similar effort.  Once it was trimmed down by removing the
  5619. mulit-threaded features it would be quite easy to massage the code into a
  5620. common code base between Win16 and Win32s.  However one problem will be with
  5621. the 30,000 character limit of edit controls under Windows 3.x.  This may be
  5622. the most frustrating barrier to overcome.
  5623.  
  5624. - Paul, Win32 SDK Developer Support
  5625.  
  5626. #: 15876 S7/Tools-Microsoft   
  5627.     27-Oct-92  11:22:53
  5628. Sb: Compiler error, Oct beta
  5629. Fm: Alan feuer 75500,3610
  5630. To: Mike Markley 72401,3051 (X)
  5631.  
  5632. Here is a VERY short program that generates an internal compiler error:
  5633.  
  5634.         #include <windows.h>
  5635.  
  5636. Here is how the compiler is run:
  5637.  
  5638.         cl386 -Di386 -Zge file.c
  5639.  
  5640. And here is the error:
  5641.  
  5642.         \mstools\h\winuser.h(111) : fatal error C1001: INTERNAL COMPILER ERROR
  5643.                 (compiler file 'msc1.cpp', line 555)
  5644.                 Contact Microsoft Product Support Services
  5645.  
  5646. Product support sent me here, but I'd prefer to get an answer on internet
  5647. (arf@world.std.com).  This is a SERIOUS problem, but so obvious, there must be
  5648. something wrong with my installation. (BTW, this is with the October release. 
  5649. Everything ran fine with the July release.)
  5650.  
  5651. alan feuer
  5652.  
  5653. There are 2 Replies.
  5654.  
  5655. #: 15901 S7/Tools-Microsoft   
  5656.     27-Oct-92  15:25:06
  5657. Sb: #15876-Compiler error, Oct beta
  5658. Fm: Paul Tissue [Microsoft] 70744,24
  5659. To: Alan feuer 75500,3610 (X)
  5660.  
  5661. Hello Alan,
  5662.  
  5663. Thank you for reporting this problem.  I have verified it and reported this
  5664. bug to our developers.  As a work around discontinue using the -Zg switch and
  5665. create prototypes for your functions.
  5666.  
  5667. - Paul, Win32 SDK Developer Support
  5668.  
  5669. #: 15990 S7/Tools-Microsoft   
  5670.     28-Oct-92  14:17:51
  5671. Sb: #15876-Compiler error, Oct beta
  5672. Fm: Mike Markley 72401,3051
  5673. To: Alan feuer 75500,3610 (X)
  5674.  
  5675. Is the only line in your file the #include <windows.h>? I have tried the same
  5676. thing on a Olivetti R4000 machine running the October build and did not see
  5677. the same problem. I don't have an Intel machine with October on it yet so I
  5678. can't try it there. If you have any #define statements preceeding the #include
  5679. try commenting them out and recompiling. Also check your environment The
  5680. October build from what I can tell is different then July. Also try just using
  5681. cl386 with no options. It may be an optimizer problem.
  5682.  
  5683. Mike Markley
  5684.  
  5685. #: 15842 S7/Tools-Microsoft   
  5686.     26-Oct-92  22:38:08
  5687. Sb: slow link, windbg
  5688. Fm: Bruce Cowan 73650,32
  5689. To: all
  5690.  
  5691. I am very disappointed with the performance of the linker and the debugger in
  5692. the October release.  The debugger (Windbg) takes at least twice as long to
  5693. load the program to be debugged and the linker takes about 3 times as long to
  5694. link the program compared to the July release.  This is particularly
  5695. disappointing when the rest of the system is noticeably faster.
  5696.  
  5697. Perhaps a clue to the performance of the linker is that while it is busy, the
  5698. system is about 90% kernel state according to CPU Thermometer.  This is not
  5699. the situation with Windbg, it is mostly user state.
  5700.  
  5701. Oh, my machine is a 486/33.
  5702.  
  5703. Bruce Cowan
  5704.  
  5705. There is 1 Reply.
  5706.  
  5707. #: 15997 S7/Tools-Microsoft   
  5708.     28-Oct-92  15:56:35
  5709. Sb: #15842-slow link, windbg
  5710. Fm: Colin Stuart [Microsoft] 70744,25
  5711. To: Bruce Cowan 73650,32 (X)
  5712.  
  5713. Bruce, I've gotten similar input from a few other people.  I do not yet know
  5714. what the causes or possible solutions are, but I will raise this as an issue
  5715. to development and post any new information as it becomes available.
  5716.  
  5717. Thanks for your posting, Colin
  5718.  
  5719. #: 15806 S7/Tools-Microsoft   
  5720.     26-Oct-92  14:34:03
  5721. Sb: _CRT_INIT in DLL Failed
  5722. Fm: Ted C. Ho 73310,150
  5723. To: ALL
  5724.  
  5725. I have a little problem and need a big help !! I am using Windows NT SDK(Oct.
  5726. 1992 beta release) C/C++ compiler to build a DLL with _CRT_INIT@12 as entry
  5727. function.  All modules in the DLL are compiled with D_MT and D_DLL and linked
  5728. successfully.
  5729.  
  5730. Whenever a program uses this DLL is failed right away @ _CRT_INIT with e calls
  5731. stack as follows:
  5732.    _RtlExAllocateHeap@12
  5733.    _calloc
  5734.    __mtinit
  5735.    ... and the error message I got from WinDbg is "First chance exception
  5736. c0000005 (Access Violation) occurred.  Thread stopped".
  5737.  
  5738. Do I miss anything to build a DLL correctly ? Any special compiling switch
  5739. that I should included ?????
  5740.  
  5741. P.S.  I don't use /Zp switch.
  5742.  
  5743. Anyone has a answer for me?   I will really appreciated.
  5744.  
  5745.  
  5746. Thanks   Ted
  5747.  
  5748. #: 16002 S7/Tools-Microsoft   
  5749.     28-Oct-92  16:18:39
  5750. Sb: #15806-_CRT_INIT in DLL Failed
  5751. Fm: Colin Stuart [Microsoft] 70744,25
  5752. To: Ted C. Ho 73310,150 (X)
  5753.  
  5754. Ted, What C Runtime Library are you linking with?  LIBC.LIB, LIBCMT.LIB, or
  5755. dynamically, with CRTDLL.DLL?  If you are calling into CRTDLL.DLL, it is
  5756. unnecessary to call _CRT_INIT@12.
  5757.  
  5758. Colin
  5759.  
  5760. #: 15820 S7/Tools-Microsoft   
  5761.     26-Oct-92  18:18:10
  5762. Sb: Trace into included .C
  5763. Fm: Ted C. Ho 73310,150
  5764. To: All
  5765.  
  5766. Hi! Is WinDbg program in Windows NT Oct. release able to trace into a source c
  5767. file included by another source c file?
  5768.  
  5769. I have a lot of modules are build by conditional compilation as follows: For
  5770. xxx.obj module - In xxx.c file:
  5771.    ...
  5772.    ...
  5773.    #if AAA
  5774.        #include <yyxxx.c>
  5775.    #else
  5776.        #include <zzxxx.c>
  5777.    #endif
  5778.    ...
  5779.    ... I never can trace into the module yyxxx.c or zzxxx.c with the source c
  5780. file.
  5781.  
  5782. Any special swith for compiliatio?, or just WinDbg could not do it.
  5783.  
  5784. Ted C. Ho
  5785.  
  5786. There is 1 Reply.
  5787.  
  5788. #: 16007 S7/Tools-Microsoft   
  5789.     28-Oct-92  16:40:18
  5790. Sb: #15820-Trace into included .C
  5791. Fm: Colin Stuart [Microsoft] 70744,25
  5792. To: Ted C. Ho 73310,150 (X)
  5793.  
  5794. Ted,
  5795.  I'm getting some info on this. Please hold on.
  5796.  thanks,
  5797.  Colin
  5798.  
  5799. #: 16017 S7/Tools-Microsoft   
  5800.     28-Oct-92  18:38:22
  5801. Sb: _CRT_INIT failure
  5802. Fm: Ted C. Ho 73310,150
  5803. To:  70744,25 (X)
  5804.  
  5805. Colin: I am using LIBCMT.LIB. It can be very easy to reproduce the problem by
  5806. some changes in compiling switch in the sample program comes with SDK under
  5807. \mstools\samples\select directory.
  5808.  
  5809. * Add addtional -D_MT switch when compiling select.c and demo.c * Use
  5810. libcmt.lib to build demo.exe and select.dll, and for building
  5811.   select.dll use -entry:_CRT_INIT@12.
  5812.  
  5813. Launch demo.exe program from WinDbg, then you should get "Access Violation"
  5814. error.
  5815.  
  5816. Hopefully, you can reproduce the problem.  Did I do something wrong? or It is
  5817. a bug in C-Runtime initialization function?
  5818.  
  5819. Ted
  5820.  
  5821. #: 16021 S7/Tools-Microsoft   
  5822.     28-Oct-92  19:15:00
  5823. Sb: Help file search/index?
  5824. Fm: Bill Cohagan 74375,313
  5825. To: sysop (X)
  5826.  
  5827. I notice that the help file toolbar has been changed so that you now see
  5828. "Index" rather than "Search."  Unfortunately the help files themselves still
  5829. seem to refer to the "Search" button.  See. e.g., "MS Utility Warnings &
  5830. Errors" where instructions are given for looking up a particular error code.
  5831.  
  5832. Bill
  5833.  
  5834. There is 1 Reply.
  5835.  
  5836. #: 16036 S7/Tools-Microsoft   
  5837.     28-Oct-92  22:10:30
  5838. Sb: #16021-Help file search/index?
  5839. Fm: Paul Tissue [Microsoft] 70744,24
  5840. To: Bill Cohagan 74375,313 (X)
  5841.  
  5842. Hello Bill,
  5843.  
  5844. Thank you for pointing out this change made to the search feature provided by
  5845. WinHelp.
  5846.  
  5847. We are replacing the [Search] feature with a full text searche (FTS) engine
  5848. instead of one that simply does index searches.  Thus we added the [Index]
  5849. button to take over the old search meaning.  Unfortunately the code to support
  5850. FTS did not make it into the October release.  We plan to have it ready by the
  5851. next release along with making the appropriate changes to references to these
  5852. search buttons in the help files.  Then you should see both the [Search] and
  5853. the [Index] buttons.
  5854.  
  5855. - Paul, Win32 SDK Developer Support
  5856.  
  5857. #: 16039 S7/Tools-Microsoft   
  5858.     28-Oct-92  23:12:32
  5859. Sb: Custom Controls
  5860. Fm: Mark Gamber 76450,2754
  5861. To:  70744,25 (X)
  5862.  
  5863. Colin,  installed the October release, recompiled the custom controls and
  5864.    bingo...everything works fine with the Dialog Editor as evidenced by
  5865.    the uploads. (Third is on the way). Thanks a million!
  5866.       Mark Gamber
  5867.  
  5868. #: 15803 S7/Tools-Microsoft   
  5869.     26-Oct-92  14:04:27
  5870. Sb: #15712-cvtres
  5871. Fm: Paul Tissue [Microsoft] 70744,24
  5872. To: Marc Singer 72130,2546
  5873.  
  5874. Hello Marc,
  5875.  
  5876. I have verified the problem with the sample dialog templates you posted.  I
  5877. will escalate this issue to our developers and ask for their input.  The
  5878. dialog templates you are using do not follow the same syntax that the Dialog
  5879. Editor creates.
  5880.  
  5881. If you make the following changes to the DLGINCLUDE line the problem goes
  5882. away:
  5883.  
  5884.  Old:
  5885.  ---
  5886.  === FOO1.DLG ===
  5887.  DLGINCLUDE RCDATA DISCARDABLE
  5888.  BEGIN
  5889.     "D:\\ELF\\TAXI\\DIALOG.H\0"
  5890.  END
  5891.  
  5892.  New:
  5893.  ---
  5894.  === FOO1.DLG ===
  5895.  1 DLGINCLUDE "D:\\ELF\\TAXI\\DIALOG.H\0"
  5896.  
  5897. I will get back with you on why the method you used did not work.
  5898.  
  5899. - Paul, Win32 SDK Developer Support
  5900.  
  5901. #: 15817 S7/Tools-Microsoft   
  5902.     26-Oct-92  17:05:12
  5903. Sb: #15803-cvtres
  5904. Fm: Marc Singer 72130,2546
  5905. To: Paul Tissue [Microsoft] 70744,24 (X)
  5906.  
  5907. Paul,
  5908.  
  5909. You should know that my dialog templates were created with the Windows 3.1
  5910. dialog editor.  Is there an option in the 3.1 application that creates
  5911. templates using your prefered format?
  5912.  
  5913. Marc Singer -- Straylight Software
  5914.  
  5915.  
  5916.  
  5917.  
  5918. There are 2 Replies.
  5919.  
  5920. #: 15830 S7/Tools-Microsoft   
  5921.     26-Oct-92  20:29:14
  5922. Sb: #15817-cvtres
  5923. Fm: Paul Tissue [Microsoft] 70744,24
  5924. To: Marc Singer 72130,2546 (X)
  5925.  
  5926. Hello Marc,
  5927.  
  5928. >> You should know that my dialog templates were created with the Windows 3.1
  5929. dialog editor.  <<
  5930.  
  5931. I kinda figured this was the case after I responded to you.  Anyway, Windows
  5932. 16-bit source code compatability is one of our most important concerns around
  5933. here.  We have a general rule of thumb that if it works with Windows 3.x then
  5934. it should work for Win32 (within reasonable limitations of course <g>).
  5935.  
  5936. >> Is there an option in the 3.1 application that creates templates using your
  5937. prefered format? <<
  5938.  
  5939. Since the Win3.1 Dialog Editor was created before our changes were made to the
  5940. new Win32 DlgEdit, there is no setting which makes it comply to the "new"
  5941. format.  I am looking into the reason behind this change and suggest that we
  5942. still allow the resource compiling process to work with Win3.1 resource
  5943. scripts.  I'll let you know how things turn out.  Let me know if my suggestion
  5944. did not solve this problem.
  5945.  
  5946. - Paul, Win32 SDK Developer Support
  5947.  
  5948. #: 15881 S7/Tools-Microsoft   
  5949.     27-Oct-92  12:35:35
  5950. Sb: #15817-cvtres
  5951. Fm: Paul Tissue [Microsoft] 70744,24
  5952. To: Marc Singer 72130,2546 (X)
  5953.  
  5954. Hello Marc,
  5955.  
  5956. It looks like the old Windows 3.x method of having mulitiple DLGINCLUDE RCDATA
  5957. resources was never "really supported" but RC.EXE never complained about it. 
  5958. However, the CVTRES utility shipped with the October release is rather picky
  5959. on multiply defined resources.  Thus the new syntax is the only one to use.
  5960.  
  5961. You can also eliminate the DLGINCLUDE statments since the Dialog Editor is the
  5962. only thing that actually uses them.  The method of having multiple 1
  5963. DLGINCLUDE "DIALOH.H" statements is okay since this syntactical version of
  5964. DLGINCLUDE is handled correctly by RC.EXE.
  5965.  
  5966. Below is an excerpt from some email send by the developer of the Dialog Editor
  5967. covering the history of DLGINCLUDE and our plans for it.
  5968.  
  5969. Hope this helps!
  5970.  
  5971. - Paul, Win32 SDK Developer Support
  5972. ------------------------------------------------------Dialog Resource Templates
  5973.  
  5974. For Win 3.1, the Dialog Editor needed a way to know what include file is
  5975. associated with a resource file that it is opening up.  Having the name of the
  5976. include file embedded in the resource file means that in most cases the editor
  5977. did not need to ask the user when they opened a resource file for editing
  5978. which include file went with it.
  5979.  
  5980. This was implemented as a resource of type RCDATA with the special name
  5981. "DLGINCLUDE".  This resource is placed into the res file, and contains the
  5982. name of the include file.  The dialog editor looks for this resource when it
  5983. loads a res file.  If it is found, then the include file is opened also.  If
  5984. not, the editor needs to prompt the user for which include file to open.
  5985.  
  5986. In some Win 3.1 build environments, the dialog editor was used to create
  5987. dialogs and they were placed in more than one .DLG file.  These different
  5988. DLG files were then included in one .RC file that was compiled with RC.
  5989. Because each .DLG file had this special resource, the result was a resource
  5990. file that had multiple copies of a RCDATA type resource with the same name,
  5991. "DLGINCLUDE".  The Win 3.1 resource compiler did not care about this.
  5992.  
  5993.  
  5994. [More]
  5995.  
  5996. There is 1 Reply.
  5997.  
  5998. #: 15882 S7/Tools-Microsoft   
  5999.     27-Oct-92  12:35:45
  6000. Sb: #15881-cvtres
  6001. Fm: Paul Tissue [Microsoft] 70744,24
  6002. To: Paul Tissue [Microsoft] 70744,24 (X)
  6003.  
  6004. [Continued]
  6005.  
  6006. With NT, we were able to change it so that this resource had it's own resource
  6007. type.  It is no longer an RCDATA type resource with the special name
  6008. "DLGINCLUDE", but it is now a DLGINCLUDE "type" of resource, and the name does
  6009. not really matter.  The dialog editor in NT looks for a resource of the new
  6010. type DLGINCLUDE when it loads a resource file now.  This would have been nice
  6011. to do in the first place, but they were too close to shipping Win 3.1 to be
  6012. comfortable about changing RC.Exe, even though it was a small change.
  6013.  
  6014. Now in the last few months, there was a change that was made to CvtRes for
  6015. another problem that changed it so that it gave an error if there was a
  6016. resource found that had the same type, name and language as another resource
  6017. in the file.  In effect, it is now being stricter about the resources needing
  6018. to be unique that go into an executable.  Even though Win 3.1 allowed it,
  6019. having a duplicate resource was always bogus, because there was no guarantee
  6020. at run time which of the two or more resources would be returned by
  6021. LoadResource().
  6022.  
  6023. This means that some apps being ported to NT will give an error when their
  6024. resources are compiled, because they will have duplicate RCDATA type resources
  6025. with the same name ("DLGINCLUDE").  This error is correct.  The fix is very
  6026. easy, just delete all the DLGINCLUDE RCDATA type resource statements from all
  6027. the .DLG files and try it again.
  6028.  
  6029. Finally, because it does not make any sense to have even the new DLGINCLUDE
  6030. type resources in the executable at all, CvtRes will strip them out so that
  6031. they do not get linked into the exe.  Even if an application only has one
  6032. DLG file (and thus one old RCDATA type DLGINCLUDE resource), they should still
  6033. delete this old resource from their .DLG file, because it is no longer used
  6034. and does not need to take up space in the exe.
  6035.  
  6036.  
  6037.  
  6038.  
  6039. There is 1 Reply.
  6040.  
  6041. #: 15940 S7/Tools-Microsoft   
  6042.     27-Oct-92  20:38:33
  6043. Sb: #15882-cvtres
  6044. Fm: Marc Singer 72130,2546
  6045. To: Paul Tissue [Microsoft] 70744,24 (X)
  6046.  
  6047. Paul,
  6048.  
  6049. I get that this is not mean to be supported, but can't you see your way clear
  6050. to support this bad behavior?  How about a switch for the new RC that can
  6051. delete these records automatically?  The trouble is that I use the .DLG files
  6052. in my normal make process and that I change them often during development.  It
  6053. seems to me that because this behavior came from the Windows 3.1 tool, you
  6054. need to permit the use of these older files without modification.
  6055.  
  6056. I would guess that you all assume that there are incompatibilities between the
  6057. two operating systems and that we developers must deal with them.  But
  6058. remember that I can write source files that compile in both environments
  6059. without too much trouble.  But this tool (dlgedit) creates templates that I
  6060. cannot use in Windows NT.  If the cvtres (or rc) developer refuses to support
  6061. the old templates, then I must edit the template by hand every time I make a
  6062. change.  Ouch.
  6063.  
  6064. After all, compatibility is absolute.  It is or it is not.
  6065.  
  6066. Marc Singer -- Straylight Software
  6067.  
  6068.  
  6069.  
  6070.  
  6071. There is 1 Reply.
  6072.  
  6073. #: 15985 S7/Tools-Microsoft   
  6074.     28-Oct-92  13:43:00
  6075. Sb: #15940-cvtres
  6076. Fm: Paul Tissue [Microsoft] 70744,24
  6077. To: Marc Singer 72130,2546 (X)
  6078.  
  6079. Hello Marc,
  6080.  
  6081. >> How about a switch for the new RC that can delete these records
  6082. automatically? <<
  6083.  
  6084. I aggree that having the Win32 RC compiler (or CVTRES) strip the old
  6085. DLGINCLUDE RCDATA resources would be most helpful for application migration to
  6086. Win32.  I'll pass your suggestion along to our developers.
  6087.  
  6088. >> After all, compatibility is absolute.  It is or it is not. <<
  6089.  
  6090. I am not trying to stir up yet another endless debate but I must disagree with
  6091. this statement.  Compatibility is always a matter of degree.
  6092.  One can qualify the level of compatibility by stating that it is an absolute
  6093. or state that it maintains a certain _level_ of compatiblility.  We do not,
  6094. nor have we ever, claimed 100% compatiblity with Win16 sources. However we do
  6095. maintain that our level of source compatibility is very high with only minor
  6096. changes required, if any, in most cases.
  6097.  
  6098. IMO, requiring developers to remove the DLGINCLUDE RCDATA resource statements
  6099. (or use the Win32 version of DlgEdit which creates the correct DLGINCLUDE
  6100. statements) is asking for very little effort on the part of the developer who
  6101. wishes to produce an application that runs on an entirely new operation
  6102. system.  Hopefully we will provide a more acceptable solution to you liking in
  6103. a future release which removes these old RCDATA records.
  6104.  
  6105. Thanks again for you suggestion.
  6106.  
  6107. - Paul, Win32 SDK Developer Support
  6108.  
  6109.  
  6110.  
  6111.  
  6112. There is 1 Reply.
  6113.  
  6114. #: 16043 S7/Tools-Microsoft   
  6115.     29-Oct-92  01:58:01
  6116. Sb: #15985-cvtres
  6117. Fm: Marc Singer 72130,2546
  6118. To: Paul Tissue [Microsoft] 70744,24 (X)
  6119.  
  6120. Though I think that a debate on semantics is inappropriate, I do think that it
  6121. is important to note the difference between C source level compatibility and
  6122. dialog editor resource compatibility.
  6123.  
  6124. I can write a source file that compiles under either system.  There are macros
  6125. to work around some of the compiler quirks, but these are completely backward
  6126. compatible.  No problem.
  6127.  
  6128. The output of your dialog editor tool is a different matter.  The C source
  6129. changes necessary for NT are (primarily) due to 32 bit widening and scrubbing
  6130. away sloppy programming practices.  But the dialog editor has no such
  6131. constraints.  The developer of that application made an arbitrary decision to
  6132. discard compatibilty for the sake of grace. This is a luxury that Microsoft
  6133. has thankfully denied itself which has benefited us developers tremendously.
  6134.  
  6135. So now, you have been driving your car for years and you take it to your
  6136. mechanic for a tune-up.  After getting the car back, she tells you that you
  6137. now have to kick the right rear tire each time before starting the car. Heck!
  6138. you say, but the car won't start without it. It turns out, she could have
  6139. replaced a ten cent part and you would never have had to do this. Sure, you
  6140. can still drive the car, but it takes just that much more effort each time you
  6141. start the engine.
  6142.  
  6143. %^)
  6144.  
  6145. Marc Singer -- Straylight Software
  6146.  
  6147. #: 15942 S7/Tools-Microsoft   
  6148.     27-Oct-92  21:10:36
  6149. Sb:  TRACE option problems
  6150. Fm: Tushar Kale 71172,3210
  6151. To: Doug Olson 72350,2635 (X)
  6152.  
  6153. In October release of NT (just received today), I cann't get the
  6154. TRACE option in MFC programs to work properly. In earlier release, the
  6155. programs compiled with nmake DEBUG=1 would print the TRACE output
  6156. in the Command window of Windbg. In the new release, I just cann't
  6157. get it to work. I chacked the compiler and linker options and they
  6158. seem ok. Any suggestions ?
  6159.  
  6160. There is 1 Reply.
  6161.  
  6162. #: 15994 S7/Tools-Microsoft   
  6163.     28-Oct-92  15:32:12
  6164. Sb: #15942- TRACE option problems
  6165. Fm: Doug Olson [Microsoft] 72350,2635
  6166. To: Tushar Kale 71172,3210 (X)
  6167.  
  6168. Tushar:
  6169.  
  6170. There is a file in the \MFC\SRC directory named AFX.INI that needs to be
  6171. copied to the \WINNT directory.  This file is necessary for TRACE to work
  6172. properly.
  6173.  
  6174. Please let me know if this does not correct the problem.
  6175.  
  6176.  Sincerely,
  6177.  
  6178.  Doug Olson
  6179.  Microsoft Developer Support
  6180.  
  6181.  
  6182.  
  6183.  
  6184. There is 1 Reply.
  6185.  
  6186. #: 16047 S7/Tools-Microsoft   
  6187.     29-Oct-92  03:40:59
  6188. Sb: #15994- TRACE option problems
  6189. Fm: Tushar Kale 71172,3210
  6190. To: Doug Olson [Microsoft] 72350,2635 (X)
  6191.  
  6192. Doug:
  6193. Including AFX.INI enabled Trace printout in debugger. Thanks !!!
  6194.  
  6195. #: 16019 S7/Tools-Microsoft   
  6196.     28-Oct-92  19:14:46
  6197. Sb: INTERNAL COMPILER ERROR
  6198. Fm: Bill Cohagan 74375,313
  6199. To: sysop (X)
  6200.  
  6201. I have just installed the October release and am attempting to compile/link my
  6202. application.  The last thing I did before installing the new release was to
  6203. recompile my app under the July release -- and had no problems.  This time I
  6204. get a fatal internal compiler error on one of my files when doing the nmake
  6205. with debug=1.  Doing a plain nmake goes all the way thru the link, but the
  6206. application hangs when I try to run it.
  6207.  
  6208. Anyway, following is the message I get when trying to compile in debug mode:
  6209.  =============================================cut here======================
  6210.   Microsoft (R) Program Maintenance Utility   Version 1.12.0013
  6211.   Copyright (c) Microsoft Corp 1988-90. All rights reserved.
  6212.  
  6213.           cl386 /c /G3d /W3 /Zi /Od /D_DEBUG /D_NTWIN /D_WINDOWS
  6214. /DWINVER=0x030a /
  6215.   Di386=1 /Yuscheme32.h binload.cpp
  6216.   Microsoft (R) C Optimizing Compiler Version 0.00.033
  6217.   Copyright (c) Microsoft Corp 1984-1992. All rights reserved.
  6218.  
  6219.   binload.cpp
  6220.   Compiler error (assertion): file @(#)emit.c:1.20, line 442 source=174
  6221.   Command line error D2030 : INTERNAL COMPILER ERROR in
  6222. 'C:\MSTOOLS\bin\c23232.exe
  6223.   '
  6224.                   Contact Microsoft Product Support Services
  6225.   NMAKE : fatal error U1077: 'C:\winnt\system\cmd.exe' : return code '2'
  6226.   Stop.
  6227.  =================================================cut here=================
  6228.  
  6229. Let me know if you need additional info.
  6230.  
  6231. Thanks,
  6232.  Bill
  6233.  
  6234. #: 16058 S7/Tools-Microsoft   
  6235.     29-Oct-92  07:35:19
  6236. Sb: INTERNAL COMPILER ERROR
  6237. Fm: George Eberhardt 70471,3647
  6238. To: sysop (X)
  6239.  
  6240.  
  6241. Generated by this construction:
  6242.  
  6243.  switch(ptr_to_object->method_ret'ing_ptr_to_class()->method_ret'ing_int){
  6244.  
  6245. The omission of parens for the second method is my programming error. CL386 is
  6246. dated September 29, and relevent switches include -G3 -W3 -Zi -Od.
  6247.  
  6248. #: 15804 S7/Tools-Microsoft   
  6249.     26-Oct-92  14:04:32
  6250. Sb: #15628-WinDbg
  6251. Fm: Paul Tissue [Microsoft] 70744,24
  6252. To: Howard Myers 76711,462
  6253.  
  6254. Hello Howard,
  6255.  
  6256. Did you try using the -Od compiler switch to turn off code optimization?
  6257.  
  6258. FYI, if you always check how we build are SDK samples you will have less
  6259. trouble building or debugging your own applications.  Please let me know if
  6260. this does not solve the problem.  Also include how you are buildings your
  6261. samples (makefile, code snippets, etc.).
  6262.  
  6263. - Paul, Win32 SDK Developer Support
  6264.  
  6265. #: 15853 S7/Tools-Microsoft   
  6266.     27-Oct-92  07:23:24
  6267. Sb: #15804-WinDbg
  6268. Fm: Howard Myers 76711,462
  6269. To: Paul Tissue [Microsoft] 70744,24 (X)
  6270.  
  6271. Paul,
  6272.  
  6273. For compile, I use the following options: -DWIN32 -c -G3d -W3 -Di386=1 -Zi -Od
  6274. For linking: -subsystem:windows -entry:WinMainCRTStartup -debug:full
  6275. -debugtype:cv
  6276.  
  6277. My build mechanism was taken from your samples.  It has evolved somewhat since
  6278. I must make our build also compatible with 3.1.  Thus, it may not be
  6279. identical, but it meets our needs quite well.  I've only found one file that
  6280. exhibits this problem so far (although there are many I haven't had to debug
  6281. yet), so it seems unlikely that it's an options problem.
  6282.  
  6283. If uploading the .OBJ or the particular source file would help, this is
  6284. possible.  Also, the .EXE could be uploaded, but it's about 2.5M.  Providing
  6285. all of the source to build the project is probably not possible, however.
  6286.  
  6287. Any other ideas? Thanks!
  6288.  
  6289. There is 1 Reply.
  6290.  
  6291. #: 15884 S7/Tools-Microsoft   
  6292.     27-Oct-92  12:58:33
  6293. Sb: #15853-WinDbg
  6294. Fm: Paul Tissue [Microsoft] 70744,24
  6295. To: Howard Myers 76711,462 (X)
  6296.  
  6297. Hello Howard,
  6298.  
  6299. We have made a few changes with the October release in regard to
  6300. compiling/linking and the calling convention.  The -Gd switch selects the C
  6301. run-time calling convention as the default.  However we have changed to
  6302. STDCALL (Standard Call).  Thus, you should remove the -Gd option and accept
  6303. the default (STDCALL) used by the compiler.
  6304.  
  6305. Please give this a try and let me know if you have any problems.
  6306.  
  6307. Also, since it is only one file that behaves this way I suspect there is
  6308. something "special" about it.  Is this single C file used to create a single
  6309. OBJ file?  Is this file one of many C files used to create a single OBJ file? 
  6310. Is there something else a bit out of the ordinary about this particular file
  6311. that may be suspect of causing such a problem?  (FYI, source code that is
  6312.  
  6313. #: 15955 S7/Tools-Microsoft   
  6314.     28-Oct-92  07:32:04
  6315. Sb: #15884-WinDbg
  6316. Fm: Howard Myers 76711,462
  6317. To: Paul Tissue [Microsoft] 70744,24 (X)
  6318.  
  6319. Paul,
  6320.  
  6321. I removed the -Gd switch, with no change.  As far as I can tell, this
  6322. particular source file is no different than the rest.  It generates 1 .OBJ, is
  6323. not as large as some other files that are working (.OBJ and .C), is bigger
  6324. than others, the code exists in the file itself -- it is not #include'd,...
  6325.  
  6326. The same is true for the file that WinDbg won't load at all -- to the best of
  6327. my knowledge, there is nothing special about it.
  6328.  
  6329. Your ideas have been good so far, just haven't found the problem.  Got any
  6330. more? Want me to upload the .C and .OBJ file for analysis?
  6331.  
  6332. Thanks!
  6333.  
  6334. There are 2 Replies.
  6335.  
  6336. #: 15987 S7/Tools-Microsoft   
  6337.     28-Oct-92  13:43:11
  6338. Sb: #15955-WinDbg
  6339. Fm: Paul Tissue [Microsoft] 70744,24
  6340. To: Howard Myers 76711,462 (X)
  6341.  
  6342. Hi Howard,
  6343.  
  6344. I have run out of ideas on this one.  If you could create a simple test driver
  6345. app for this OBJ file and upload it along with the OBJ and C file (and all
  6346. essential files to built the test case) then I'll take a look at them.  I can
  6347. understand the frustrations of not being able to debug your code.  I've been
  6348. there a few times myself.  Hopefully I can find something that will get you
  6349. back on the debugging track.
  6350.  
  6351. - Paul, Win32 SDK Developer Support
  6352.  
  6353. #: 16061 S7/Tools-Microsoft   
  6354.     29-Oct-92  08:07:35
  6355. Sb: #15955-WinDbg
  6356. Fm: Bruce Cowan 73650,32
  6357. To: Howard Myers 76711,462 (X)
  6358.  
  6359. PMJI, but I have a very similar problem: Windbg doesn't like one (at least) of
  6360. my C source files. It refuses to load it either automatically (trace into it)
  6361. or via File Open. I can't see anything strange about the file at all. It is
  6362. compiled the same as all my other source files (-c -G3 -W3 -Di386=1 -DWIN32 -Zi
  6363. -Od -DDEBUG).
  6364.  
  6365. Bruce Cowan
  6366.  
  6367. #: 16065 S7/Tools-Microsoft   
  6368.     29-Oct-92  08:34:39
  6369. Sb: Compiler Hangup
  6370. Fm: David M. Smith 76337,3225
  6371. To: Doug Olson [Microsoft] 72350,2635 (X)
  6372.  
  6373. Doug:
  6374.  
  6375. We have a large C source file (335kb) that the compiler chews on for a while
  6376. and then seems to just hangup. The process is still there but nothing seem to
  6377. be going on. The code is machine generated and is mostly static array
  6378. initializations.  Is there any thing I can do to find out what is happening
  6379. when the compiler goes to sleep?
  6380.  
  6381. I know that we could split this file up into smaller units but this file will
  6382. also work with many other compilers.
  6383.  
  6384. Thank for any help. Dave Smith
  6385.  
  6386. #: 16063 S7/Tools-Microsoft   
  6387.     29-Oct-92  08:08:40
  6388. Sb: Windbg problems
  6389. Fm: Bruce Cowan 73650,32
  6390. To: Sysop (X)
  6391.  
  6392. I have a few Windbg bugs which should be mentioned:
  6393.  
  6394. 1. There are times when the Locals window shows completely the wrong values
  6395.    for the local variables. I have one function in which it always happens the
  6396.    second time I hit a breakpoint in the function. Closing and re-opening the
  6397.    locals window gets the correct values displayed. (This one led me on a real
  6398.    merry chase before I figured out it was the debugger.)
  6399.  
  6400. 2. Frequently on exit, Windbg will crash at 0x60107e2a reading memory at
  6401.    0x00000010. This only happens when the program being debugged has exited
  6402.    normally before Windbg is stopped. Trying to debug it doesn't work so I
  6403.    can't give more info.
  6404.  
  6405. 3. Sometimes, Windbg leaves the .EXE file locked in some way after exit, so
  6406.    I can't re-link the program.  To get rid of the lock I log off and back on.
  6407.    Is there a better way?  This is not very repeatable: 4 times in 3 long days.
  6408.  
  6409. October release, PS/2 95, 16M memory.
  6410.  
  6411. Bruce Cowan
  6412.  
  6413. There are 2 Replies.
  6414.  
  6415. #: 16066 S7/Tools-Microsoft   
  6416.     29-Oct-92  08:38:42
  6417. Sb: #16063-Windbg problems
  6418. Fm: Carl H Bache [PS Norway] 100010,2257
  6419. To: Bruce Cowan 73650,32 (X)
  6420.  
  6421. Bruce,
  6422.  
  6423. that lock on the EXE-file sounds familiar.  I've had that one, too.
  6424.  
  6425. Dag Baardsen
  6426.  
  6427. #: 16071 S7/Tools-Microsoft   
  6428.     29-Oct-92  09:02:48
  6429. Sb: #16063-Windbg problems
  6430. Fm: Ray Duncan 72241,52
  6431. To: Bruce Cowan 73650,32 (X)
  6432.  
  6433. I suspect the "locked EXE" file problem is buried deeper in the system.  I
  6434. have also seen this in other situations - for example if you fire up PVIEW and
  6435. inspect the memory usage of some active process, the LINKer will then refuse
  6436. to write that EXE file.
  6437.  
  6438. #: 16073 S7/Tools-Microsoft   
  6439.     29-Oct-92  09:19:22
  6440. Sb: Compiler Bug
  6441. Fm: David J. Plunkett 71163,2122
  6442. To: Microsoft
  6443.  
  6444. Here's another compiler bug.  The values of g and h are zero
  6445. at the print statement.  What'd you guys do to the compiler
  6446. since July?
  6447.  
  6448. #: 16076 S7/Tools-Microsoft   
  6449.     29-Oct-92  10:39:42
  6450. Sb: WinDbg won't load source
  6451. Fm: Brent Ingraham (M&M) 70550,2303
  6452. To: SYSOP (X)
  6453.  
  6454.   Am having trouble with WinDbg recognizing all of my source files.  I've
  6455.   got approximately 50 .CPP files in this project and it will not load one
  6456.   of them.  I thought maybe because it was the first item in the file open
  6457.   listbox (ACTIVMAN.CPP), so I padded a dummy .CPP in the file with
  6458.   (AADUMMY.CPP).  This didn't solve the problem either.  I then TRACED INTO
  6459.   the program and I can't even toggle from dissassembly mode to source mode
  6460.   on the object code when it's in scope.  I know this module was compiled
  6461.   with debugging info!  I also can load other module source of objects with
  6462.   larger amounts of source and larger .OBJ size!  The .EXE with debug info
  6463.   is right at 1meg and the object in question is ~800 lines source with a
  6464.   debug .OBJ size of 143K.  What's up???
  6465.  
  6466.  
  6467.  
  6468.   Also, on a side note, I got the following error out of WinDbg the other
  6469.   day.  Seems like a string overrun....
  6470.  
  6471.   WinDbg Error:  Assertion Failed Line 338
  6472.                  D:\nt\private\windbg\windbg\util.c
  6473.                  Condition: LoadString( hInst, wErrorFormat, (LPSTR)
  6474.                  szErrorFormat, MAX_MSG_TXT);
  6475.  
  6476.   This error did crash NT and wiped out my Administrator Account (the active
  6477.   account) and I had to resort to the emergency disk to fix NT!
  6478.  
  6479. #: 16080 S7/Tools-Microsoft   
  6480.     29-Oct-92  10:47:55
  6481. Sb: Windbg Remote Debugging
  6482. Fm: dan white 70324,3147
  6483. To: sysop (X)
  6484.  
  6485. Where do I find out how to use Windbg for remote debugging?
  6486.  
  6487.                Thanks, Dan
  6488.  
  6489.  
  6490.  
  6491.  
  6492. There is 1 Reply.
  6493.  
  6494. #: 16084 S7/Tools-Microsoft   
  6495.     29-Oct-92  11:05:33
  6496. Sb: #16080-Windbg Remote Debugging
  6497. Fm: Paul Tissue [Microsoft] 70744,24
  6498. To: dan white 70324,3147 (X)
  6499.  
  6500. Hello Dan,
  6501.  
  6502. The file \MSTOOLS\README.TXT, which is included in the "Win32 Software
  6503. Development" group, contains the instructions necessary to setup remote
  6504. debugging with WinDebug.  You will find the instruction near the botton of
  6505. this file.  If you have any questions or trouble getting to work then let us
  6506. know.
  6507.  
  6508. - Paul, Win32 SDK Developer Support
  6509.  
  6510. #: 15934 S7/Tools-Microsoft   
  6511.     27-Oct-92  18:43:53
  6512. Sb: Debugging POSIX
  6513. Fm: Joel Goldberger 76264,2510
  6514. To: ALL
  6515.  
  6516. I have tried both the sample POSIX app (PSXARC) and a "hello world" style
  6517. program and have been unable to get WINDBG to load symbols.  Is there a
  6518. missing switch in ntwin32.mak or is symbolic debugging not available with the
  6519. posix subsystem ?
  6520.  
  6521. Thanks in advance for the help ! Joel Goldberger
  6522.  
  6523. There is 1 Reply.
  6524.  
  6525. #: 16101 S7/Tools-Microsoft   
  6526.     29-Oct-92  13:30:28
  6527. Sb: #15934-Debugging POSIX
  6528. Fm: Colin Stuart [Microsoft] 70744,25
  6529. To: Joel Goldberger 76264,2510 (X)
  6530.  
  6531.  Joel, Unfortunatly, WinDbg does not currently support symbolic debugging of
  6532. Posix apps.  I will raise this as an issue to development, and post any new
  6533. information as it becomes available
  6534.  
  6535.  Thanks,
  6536.  Colin
  6537.  
  6538. #: 15895 S7/Tools-Microsoft   
  6539.     27-Oct-92  15:19:23
  6540. Sb: C Runtime Bug
  6541. Fm: Kevin Quinn 75430,255
  6542. To: Microsoft
  6543.  
  6544. Lo all ye at Microsoft: I have a bug encountered.
  6545.  
  6546. The issue is floating point to integer conversion.
  6547.  
  6548. A statement of the following form, when executed as a part of a _large_
  6549. program, causes the integer 'value' to be incorrectly evaluated as 0.
  6550.  
  6551. int value = 64;
  6552. value +=
  6553.       (float * 0) * int +
  6554.       (float * 0) * int;
  6555.  
  6556. When run as a standalone test program, it works as expected.
  6557.  
  6558. Pre-July this *worked*.  It fails in the July release; once I've a few
  6559. thousand more files compiled under OctoberFest, I'll try again.  (picky
  6560. little compiler this time 'round, mates!).
  6561.  
  6562. FYI, the offending call is _ftol; the failing instruction is
  6563. 'fistp qword ptr [epb-0xc]'.
  6564.  
  6565. There does exist a workaround: decomposing the statement, and using
  6566. intermediate variables explicitly cast.  However, we use *lots* of mixed
  6567. float/int stuff, and lord knows where this is gonna bite us again.
  6568.  
  6569.  
  6570. Kevin Quinn
  6571. Desktop Systems
  6572. Ingres
  6573.  
  6574. There is 1 Reply.
  6575.  
  6576. #: 16102 S7/Tools-Microsoft   
  6577.     29-Oct-92  13:30:30
  6578. Sb: #15895-C Runtime Bug
  6579. Fm: Colin Stuart [Microsoft] 70744,25
  6580. To: Kevin Quinn 75430,255
  6581.  
  6582. Kevin, Please do see if you can reproduce this error on the October build.  If
  6583. so, let me know, and I will contact development immediately.
  6584.  
  6585.  Thank you,
  6586.  Colin
  6587.  
  6588. #: 15815 S7/Tools-Microsoft   
  6589.     26-Oct-92  16:48:00
  6590. Sb: Another Compiler BUG
  6591. Fm: Orin Eman 71102,705
  6592. To: sysop (X)
  6593.  
  6594. The following does not compile with the October SDK:
  6595.  
  6596.     const int **ppi;
  6597.  
  6598.     ppi = new const int *[10];
  6599.  
  6600. It claims that const/volatile objects cannot be allocated.
  6601.  
  6602. This code DOES NOT allocate a const/volatile object, it allocates an array of
  6603. pointers to const objects.
  6604.  
  6605. The compiler is clearly wrong here.
  6606.  
  6607. There are 2 Replies.
  6608.  
  6609. #: 15873 S7/Tools-Microsoft   
  6610.     27-Oct-92  11:07:59
  6611. Sb: #15815-Another Compiler BUG
  6612. Fm: Doug Olson [Microsoft] 72350,2635
  6613. To: Orin Eman 71102,705 (X)
  6614.  
  6615. Orin:
  6616.  
  6617. Thanks again, like before I have someone looking into this (one of our
  6618. language developers) and I will get back with soon.
  6619.  
  6620.  Sincerely,
  6621.  
  6622.  Doug Olson
  6623.  Microsoft Developer Support
  6624.  
  6625. #: 16112 S7/Tools-Microsoft   
  6626.     29-Oct-92  13:35:53
  6627. Sb: #15815-Another Compiler BUG
  6628. Fm: Doug Olson [Microsoft] 72350,2635
  6629. To: Orin Eman 71102,705 (X)
  6630.  
  6631. Orin:
  6632.  
  6633. One of our compiler developer looked at this and has confirmed that it is a
  6634. bug.  I'm sure you already knew that, but I wanted to let you know the status.
  6635. There is not a work around besides removing the const keyword at this point.
  6636.  
  6637.  Thanks,
  6638.  
  6639.  Doug Olson
  6640.  Microsoft Developer Support
  6641.  
  6642. #: 15808 S7/Tools-Microsoft   
  6643.     26-Oct-92  14:56:06
  6644. Sb: Critical compiler BUG
  6645. Fm: Orin Eman 71102,705
  6646. To: sysop sysop (X)
  6647.  
  6648. The following worked with the July release of NT.  It works with current
  6649. releases of competing compilers under Windows and OS/2.  It now fails with the
  6650. October release of NT:
  6651.  
  6652. void main() {
  6653.     typedef char *PCHAR;
  6654.     typedef void *PVOID;
  6655.     PVOID pv;
  6656.     PCHAR *pc;
  6657.  
  6658.     pc = PCHAR(pv);    // works
  6659.     pv = PVOID(pc);    // works
  6660.     pv = PVOID( PCHAR(pv) );    // fails
  6661.     pv = PVOID( PCHAR(pv) + 10 );    // fails }
  6662.  
  6663. According to the Annotatated C++ Reference Manual, section 5.2.3, "a
  6664. simple-type-name followed by a parenthesized expression-list constructs a
  6665. value of the specified type given the expression list. If the expression list
  6666. specifies more than single value, the type must be a class..."
  6667.  
  6668. According to sections 7.1.3 and 7.1.6, any typedef'd type is a
  6669. simple-type-name.
  6670.  
  6671.  
  6672. This bug is severely affecting our development schedule.
  6673.  
  6674. #: 15872 S7/Tools-Microsoft   
  6675.     27-Oct-92  11:07:54
  6676. Sb: #15808-Critical compiler BUG
  6677. Fm: Doug Olson [Microsoft] 72350,2635
  6678. To: Orin Eman 71102,705 (X)
  6679.  
  6680. Orin:
  6681.  
  6682. Thanks for reporting this problem with the compiler.  I have someone looking
  6683. into it and will get back with you as soon as possible.
  6684.  
  6685.  Sincerely,
  6686.  
  6687.  Doug Olson
  6688.  Microsoft Developer Support
  6689.  
  6690. #: 16113 S7/Tools-Microsoft   
  6691.     29-Oct-92  13:35:59
  6692. Sb: #15808-Critical compiler BUG
  6693. Fm: Doug Olson [Microsoft] 72350,2635
  6694. To: Orin Eman 71102,705 (X)
  6695.  
  6696. Orin:
  6697.  
  6698. Thanks for waiting.  Development informed me that this is a bug that they are
  6699. currently looking at.  Unfortunately, the only work around for now is to use
  6700. C-style casts such as PVOID((PCHAR)(pv)) instead of PVOID(PCHAR(pv)).
  6701.  
  6702. I will keep you up to date on this status of this problem.
  6703.  
  6704.  Sincerely,
  6705.  
  6706.  Doug Olson
  6707.  Microsoft Developer Support
  6708.  
  6709. #: 16114 S7/Tools-Microsoft   
  6710.     29-Oct-92  13:36:04
  6711. Sb: Compiler err (assertion)
  6712. Fm: Doug Olson [Microsoft] 72350,2635
  6713. To: Brad Hines 76520,3314
  6714.  
  6715. Brad:
  6716.  
  6717. I have forwarded the information from your upload to development.  I was able
  6718. to reproduce the errors and will let you know if more information or a work
  6719. around becomes available.
  6720.  
  6721.  Thanks,
  6722.  
  6723.  Doug Olson
  6724.  Microsoft Developer Support
  6725.  
  6726. #: 15961 S7/Tools-Microsoft   
  6727.     28-Oct-92  08:20:24
  6728. Sb: WinDbg startup problem
  6729. Fm: Jim Young 72760,725
  6730. To: Sysop (X)
  6731.  
  6732. I have a slight annoying problem when using WinDbg. I'll start up WinDbg by
  6733. entering on the command line "WINDBG MYAPP.EXE" and everything starts up like
  6734. it should. In WinDbg I'll open up a window to the source code and do a step
  6735. into my program. As soon as it starts to execute the first code in my program
  6736. I'll get the message "Can't find WINMAIN.CPP", which brings up a file open
  6737. dialog box to select the source code for the program. I'l already have the
  6738. source window open anyway but if I go ahead and select the file with my source
  6739. code WinDbg seems satisfied and continues on. Any ideas about what is going on
  6740. here? Thanks.
  6741.  
  6742. --Jim
  6743.  
  6744. There are 2 Replies.
  6745.  
  6746. #: 15993 S7/Tools-Microsoft   
  6747.     28-Oct-92  15:32:07
  6748. Sb: #15961-WinDbg startup problem
  6749. Fm: Doug Olson [Microsoft] 72350,2635
  6750. To: Jim Young 72760,725 (X)
  6751.  
  6752. Jim:
  6753.  
  6754. Is this a MFC application?
  6755.  
  6756. Thanks,
  6757.  
  6758.  Doug Olson
  6759.  Microsoft Developer Support
  6760.  
  6761.  
  6762.  
  6763.  
  6764. There is 1 Reply.
  6765.  
  6766. #: 16122 S7/Tools-Microsoft   
  6767.     29-Oct-92  14:22:52
  6768. Sb: #15993-WinDbg startup problem
  6769. Fm: Jim Young 72760,725
  6770. To: Doug Olson [Microsoft] 72350,2635 (X)
  6771.  
  6772. Yes it is a MFC application.
  6773.  
  6774. #: 15995 S7/Tools-Microsoft   
  6775.     28-Oct-92  15:33:40
  6776. Sb: #15961-WinDbg startup problem
  6777. Fm: Paul Tissue [Microsoft] 70744,24
  6778. To: Jim Young 72760,725 (X)
  6779.  
  6780. Hello Jim,
  6781.  
  6782. When you first start WinDebug it has yet to load the application.  Thus the
  6783. source file you are opening is not associated with the process that you plan
  6784. to debug.  Once you start the debugging process the debugger now knows which
  6785. source and OBJ files are asssociated with the process.  Thus it will attempt
  6786. to open the file that contains the process entry point (main or WinMain).
  6787.  
  6788. Since you already have this file opened the debugger should just continue on
  6789. and use this window as the source window.  However it appear that this is not
  6790. what you are seeing.  I have made several attempts to duplicate this behavour
  6791. but I have not been successful.
  6792.  
  6793. When you open the source file manually do you do anything with it before you
  6794. begin debugging?  Does the same thing occur if you do not open the file first
  6795. but let WinDebug open it when you firt start stepping?  Have you seen this
  6796. behavour with other applications such as any of the Win32 SDK samples?
  6797.  
  6798. - Paul, Win32 SDK Developer Support
  6799.  
  6800.  
  6801.  
  6802.  
  6803. There is 1 Reply.
  6804.  
  6805. #: 16123 S7/Tools-Microsoft   
  6806.     29-Oct-92  14:33:14
  6807. Sb: #15995-WinDbg startup problem
  6808. Fm: Jim Young 72760,725
  6809. To: Paul Tissue [Microsoft] 70744,24 (X)
  6810.  
  6811. When I start up WinDebug I put my application name as a parameter on the cmd
  6812. line. Windbg would start up with a blank window showing. Then I would choose
  6813. Step Over from the Run menu to step into the first line of code. In the
  6814. command window there would be the activity of the system DLL's loading. Once
  6815. that was done I would get the message about not being able to find the source
  6816. file. This would happend even if I opened my source file befor choosing Step
  6817. Over. Also, last night I saved my workspace for my debugging for the 1st time
  6818. and the problem seems to have gone away for now. When I open the source file
  6819. manually I do nothing with it in the way of editing. I haven't tried this
  6820. version of WinDbg with the sample yet.
  6821.  
  6822. --Jim
  6823.  
  6824. #: 16075 S7/Tools-Microsoft   
  6825.     29-Oct-92  10:34:28
  6826. Sb: Compiler Tools
  6827. Fm: fletcher dell 76520,3512
  6828. To: Technical Support
  6829.  
  6830. I've manually installed the Oct '92 release of WINNT and WIN32 per the
  6831. instructions I received.  The OS looks fine but I cannot locate the compiler
  6832. or linker.  Can you please tell me exactly how to run these, what the file
  6833. names are and where to go on the CD to find these files.  I am running on an
  6834. Intel 486 system. Also, I would like to give you feedback on the Beta release,
  6835. how do I do this?
  6836.  
  6837. There is 1 Reply.
  6838.  
  6839. #: 16141 S7/Tools-Microsoft   
  6840.     29-Oct-92  16:47:33
  6841. Sb: #16075-Compiler Tools
  6842. Fm: Paul Tissue [Microsoft] 70744,24
  6843. To: fletcher dell 76520,3512 (X)
  6844.  
  6845. Hello Fletcher,
  6846.  
  6847. If you did install Windows NT and then installed the Win32 SDK using the
  6848. manual method then you must have specified the destination drive as follows:
  6849.    'MANUAL <drive:>' Thus the tools are located on <drive:>\MSTOOLS.  The
  6850. binaries are located in <drive:>\MSTOOLS\BIN.  While under Windows NT you
  6851. should run the <drive:>\MSTOOLS\SETENV.BAT file to setup you build
  6852. environment.  You can then switch to the <drive:>\MSTOOLS\SAMPLES and compile
  6853. the SDK sample by running the MAKEALL.BAT file.
  6854.  
  6855. >> Also, I would like to give you feedback on the Beta release, how do I do
  6856. this? <<
  6857.  
  6858. Please post end user beta feedback on the WINNT forum and SDK and application
  6859. development feedback on the MSWIN32 forum.  Please see the release note for
  6860. details on how to use these CompuServe forums.
  6861.  
  6862. - Paul, Win32 SDK Developer Support
  6863.  
  6864. #: 16092 S7/Tools-Microsoft   
  6865.     29-Oct-92  12:07:50
  6866. Sb: Signal Anomaly
  6867. Fm: Andrew Potter 71075,614
  6868. To: all
  6869.  
  6870. The following program seems to act a little strange:
  6871.  
  6872. ------------------- cut here ----------------------------------
  6873.  
  6874. #: 16144 S7/Tools-Microsoft   
  6875.     29-Oct-92  17:09:13
  6876. Sb: #16092-Signal Anomaly
  6877. Fm: David Taniguchi [MS] 72350,2054
  6878. To: Andrew Potter 71075,614 (X)
  6879.  
  6880. Hi Andrew,
  6881.   Please post this in the base section (section 6 of this forum).  They are
  6882.   more experienced with these issues.
  6883.   Thanks,
  6884.   Dave
  6885.  
  6886. #: 15916 S7/Tools-Microsoft   
  6887.     27-Oct-92  18:00:30
  6888. Sb: Mult. Inher. vs CObject
  6889. Fm: Ken Westerback 73547,3520
  6890. To: Sysop (X)
  6891.  
  6892. Help!
  6893.  
  6894. I am trying to create a new class
  6895.  
  6896.         class CXWnd: public CWnd, public CObList{};
  6897.  
  6898. but the compiler insists on warning me that CXWnd::delete is ambiguous, could
  6899. be CWnd::CObject::delete, or could be CObList::CObject::delete.
  6900.  
  6901. Is there a way to accomplish what I need here?  e.g. would it be safe to go
  6902. into the MFC source and change the inheritance tree so that CObject is derived
  6903. via a virtual class into CObList and CWnd?  If so, why isn't this done
  6904. already?
  6905.  
  6906.                                 ---- Ken
  6907.  
  6908.  
  6909.  
  6910. There are 2 Replies.
  6911.  
  6912. #: 16111 S7/Tools-Microsoft   
  6913.     29-Oct-92  13:35:47
  6914. Sb: #15916-Mult. Inher. vs CObject
  6915. Fm: Doug Olson [Microsoft] 72350,2635
  6916. To: Ken Westerback 73547,3520 (X)
  6917.  
  6918. Ken:
  6919.  
  6920. Let me look into this and get back with you.
  6921.  
  6922.  Thanks,
  6923.  
  6924.  Doug Olson
  6925.  Microsoft Developer Support
  6926.  
  6927. #: 16147 S7/Tools-Microsoft   
  6928.     29-Oct-92  17:39:27
  6929. Sb: #15916-Mult. Inher. vs CObject
  6930. Fm: Doug Olson [Microsoft] 72350,2635
  6931. To: Ken Westerback 73547,3520 (X)
  6932.  
  6933. Ken:
  6934.  
  6935. Please take a look at MFC Technical Note #16.  It addresses this issue.  This
  6936. Technical note can be found at \MSTOOLS\MFC\DOC\TN016.txt.
  6937.  
  6938. Please let me know if you have any additional questions.
  6939.  
  6940.  Sincerely,
  6941.  
  6942.  Doug Olson
  6943.  Microsoft Developer Support
  6944.  
  6945. #: 15991 S7/Tools-Microsoft   
  6946.     28-Oct-92  15:25:49
  6947. Sb: Too Many S
  6948. Fm: Thomas Holaday, GAT Corp 76244,1532
  6949. To: Sysop (X)
  6950.  
  6951. The engineer responsible for porting our application to Windows NT reports
  6952. that the October Beta, at linktime, crashes with the message
  6953.  
  6954.      "Exception BreakPoint has occurred"
  6955.  
  6956. The program emitting this complaint is CVPACK. 
  6957.  
  6958. The library we are linking with is 397864 bytes.  Our source file is 4920
  6959. characters of .c, and its object is 100145 bytes (with symbolic debugging
  6960. information enabled).  The .exe is 442880, but we don't think it's complete
  6961. and does not execute.
  6962.  
  6963. Are we the only ones with this problem?
  6964.  
  6965. There is 1 Reply.
  6966.  
  6967. #: 16152 S7/Tools-Microsoft   
  6968.     29-Oct-92  18:12:55
  6969. Sb: #15991-Too Many S
  6970. Fm: Doug Olson [Microsoft] 72350,2635
  6971. To: Thomas Holaday, GAT Corp 76244,1532
  6972.  
  6973. Thomas:
  6974.  
  6975. I am sorry to hear that you are encountering a problem.  I am forwarding this
  6976. problem report to our development group and will let you know the outcome.
  6977.  
  6978. The .EXE file should execute normally even though CVPACK failed.  The
  6979. difference will be that WINDBG will not load the symbols from the file when
  6980. you debug the application.
  6981.  
  6982. I may ask you for a sample that reproduces the problem.
  6983.  
  6984.  Thanks,
  6985.  
  6986.  Doug Olson
  6987.  Microsoft Developer Support
  6988.  
  6989. #: 16157 S7/Tools-Microsoft   
  6990.     29-Oct-92  19:47:15
  6991. Sb: Fatal Compiler Error
  6992. Fm: Bill Cohagan 74375,313
  6993. To: sysop (X)
  6994.  
  6995. I have uploaded to lib 7 a zip file which contains a small source file and
  6996. batch file which will demonstrate a fatal compiler error.  I reported this
  6997. error yesterday, but have now whittled the source file down to a small size
  6998. which still has the problem.  There is a read.me file in the zip.
  6999.  
  7000. I'd appreciate some fix for this as it has pretty well blown me out of the
  7001. water in my development efforts on NT.
  7002.  
  7003. Thanks in advance,
  7004.  Bill
  7005.  
  7006. #: 16060 S7/Tools-Microsoft   
  7007.     29-Oct-92  08:03:05
  7008. Sb: Preprocessor Limit
  7009. Fm: David M. Smith 76337,3225
  7010. To: Doug Olson [Microsoft] 72350,2635 (X)
  7011.  
  7012. Doug:
  7013.  
  7014. I am still getting a "fatal error C1056: compiler limit out of macro expansion
  7015. space" error with some of my code that has nested macros that expand to > 33k
  7016. bytes.
  7017.  
  7018. The problem has not been fixed in the Oct. SDK release.
  7019.  
  7020. This code will compile on many other platforms as well as Watcom's 32 bit
  7021. compiler.  Is there any hope that this limit will be removed any time soon?
  7022.  
  7023. Thanks for any help. Dave Smith
  7024.  
  7025. There is 1 Reply.
  7026.  
  7027. #: 16158 S7/Tools-Microsoft   
  7028.     29-Oct-92  19:50:28
  7029. Sb: #16060-Preprocessor Limit
  7030. Fm: Doug Olson [Microsoft] 72350,2635
  7031. To: David M. Smith 76337,3225 (X)
  7032.  
  7033. David:
  7034.  
  7035. You are right, the macro expansion buffer is still 16K in size.  I will check
  7036. on the status of this issue. There was a particular interest in this when I
  7037. reported it a couple months ago.  I will let you know what I find.
  7038.  
  7039.  Sincerely,
  7040.  
  7041.  Doug Olson
  7042.  Microsoft Developer Support
  7043.  
  7044.  
  7045.  
  7046.  
  7047. There is 1 Reply.
  7048.  
  7049. #: 16166 S7/Tools-Microsoft   
  7050.     29-Oct-92  23:21:28
  7051. Sb: #16158-Preprocessor Limit
  7052. Fm: David M. Smith 76337,3225
  7053. To: Doug Olson [Microsoft] 72350,2635 (X)
  7054.  
  7055. Doug:
  7056.  
  7057. Thanks for looking into this for me.  I thought that the problem would be
  7058. fixed in the Oct. release since I didn't hear anything new after reporting
  7059. this for the July SDK version.
  7060.  
  7061. Thanks again, David Smith
  7062.  
  7063. #: 16094 S7/Tools-Microsoft   
  7064.     29-Oct-92  13:21:07
  7065. Sb: "leave" a reserved word?
  7066. Fm: Ed Andrews 73010,101
  7067. To: sysop (X)
  7068.  
  7069. Is "leave" a reserved word?  I ask because the following program will
  7070. not compile:
  7071.  
  7072. ------------------------------cut here------------------------------
  7073.  
  7074. #: 16156 S7/Tools-Microsoft   
  7075.     29-Oct-92  19:47:07
  7076. Sb: #16094-"leave" a reserved word?
  7077. Fm: Bill Cohagan 74375,313
  7078. To: Ed Andrews 73010,101 (X)
  7079.  
  7080. Ed -
  7081.  
  7082.  
  7083.  |Is "leave" a reserved word?  I ask because the following program will
  7084.  |not compile:
  7085.  
  7086. This is just a guess, but "leave" *is* an 80x86 instruction so it may well be
  7087. reserved in MS C/C++.  Like I said, just a guess.  Hopefully MS will give you
  7088. a definitive answer shortly.
  7089.  
  7090. Bill
  7091.  
  7092. There is 1 Reply.
  7093.  
  7094. #: 16188 S7/Tools-Microsoft   
  7095.     30-Oct-92  09:01:45
  7096. Sb: #16156-"leave" a reserved word?
  7097. Fm: Ed Andrews 73010,101
  7098. To: Bill Cohagan 74375,313 (X)
  7099.  
  7100. Yes, "leave" is a assembly instruction, but what strikes me is that
  7101. there was an extra underscore prepeneded.  It turned "_leave" to
  7102. "__leave".  Even if "leave" is reserved, "_leave" is not.
  7103.  
  7104. #: 16201 S7/Tools-Microsoft   
  7105.     30-Oct-92  11:18:40
  7106. Sb: #16094-"leave" a reserved word?
  7107. Fm: Paul Tissue [Microsoft] 70744,24
  7108. To: Ed Andrews 73010,101
  7109.  
  7110. Hi Ed,
  7111.  
  7112. I have been told by the C++ folks that '_leave' is a reserved word for
  7113. exception handling (part of the try-except & try-finally constructs, yet the
  7114. feature is not implemented yet).  Please choose a different name for your
  7115. variables.  Thanks.
  7116.  
  7117. - Paul, Win32 SDK Developer Support
  7118.  
  7119. #: 16206 S7/Tools-Microsoft   
  7120.     30-Oct-92  12:56:41
  7121. Sb: RemoveDir()
  7122. Fm: Andrew Bradnan [Erudite 70402,63
  7123. To: ALL
  7124.  
  7125. All:
  7126.  
  7127.        This is a MSSETUP question, point me in the right direction if I am in
  7128. the wrong place.
  7129.        IAC, using Windows NT or Windows 3.1 (16bit) setup fails on
  7130. RemoveDir().  The directory is empty and DoesDirExist says it is there but it
  7131. still does not work.  It is giving me the API error not BadArg1 error. The
  7132. only thing I can think of is that I am in the current directory and the OS is
  7133. dumping on me for that.
  7134.        Thanks in advance,
  7135.  
  7136.        Andy
  7137.  
  7138. #: 15880 S7/Tools-Microsoft   
  7139.     27-Oct-92  12:32:20
  7140. Sb: linker bug?
  7141. Fm: Colin Stuart [Microsoft] 70744,25
  7142. To: Mark L Hornick 70413,1717 (X)
  7143.  
  7144. Mark, I am unable to reproduce the behavior you describe unless I make sub1()
  7145. and sub2() static, thus preventing external linkage.  Otherwise, I get symbol
  7146. multiply defined errors. Also in multi-threaded apps, you should include -d_MT
  7147. on the compile line if linking with LIBCMT.LIB (and also -d_DLL if linking
  7148. with CRTDLL.LIB). If none of this works, please see if you can reproduce this
  7149. in a simple example and get back to me.
  7150.  
  7151. Thanks, Colin
  7152.  
  7153.  
  7154.  
  7155.  
  7156. There is 1 Reply.
  7157.  
  7158. #: 16218 S7/Tools-Microsoft   
  7159.     30-Oct-92  14:03:50
  7160. Sb: #15880-linker bug?
  7161. Fm: Mark L Hornick 70413,1717
  7162. To: Colin Stuart [Microsoft] 70744,25 (X)
  7163.  
  7164. Colin,
  7165. My solution was to simply rename any functions that were defined a second time
  7166. -- that fixed the problems I was seeing. I have not tried to reproduce the
  7167. problem yet with the beta version, but will try to get around to it. So far, I
  7168. haven't been using the -d_MT or -d_DLL flags and things have been working just
  7169. fine.
  7170. Thanks, Mark    
  7171.  
  7172. #: 15861 S7/Tools-Microsoft   
  7173.     27-Oct-92  09:29:36
  7174. Sb: Preprocessor problem
  7175. Fm: Mike Markley 72401,3051
  7176. To: all
  7177.  
  7178. I have run into a problem with the October Beta with the C preprocessor. I get
  7179. errors when #define statements don't start in the first column. This was not a
  7180. problem with the July build. any ideas?
  7181.  
  7182. Mike Markley
  7183.  
  7184. There is 1 Reply.
  7185.  
  7186. #: 15902 S7/Tools-Microsoft   
  7187.     27-Oct-92  15:25:11
  7188. Sb: #15861-Preprocessor problem
  7189. Fm: Paul Tissue [Microsoft] 70744,24
  7190. To: Mike Markley 72401,3051 (X)
  7191.  
  7192. Hi Mike,
  7193.  
  7194. I have been unable to reproduce this problem.  I inserted spaces and tabs in
  7195. front of several #define statements and the preprocessor handled just fine on
  7196. the test case I tried.  Could you upload an example of a file which
  7197. demonstrates this?  Also I have a few questions:
  7198.  
  7199.  1. Is this using the MIPS (and which one) or the x86 compiler?
  7200.  2. What type a character preceded the #define?  Spaces, tabs, other?
  7201.  3. Was this error produced on the very first non-column one aligned
  7202.     #define statement or did it occur after several were processed?
  7203.  4. Did the error occure in one of you header files or one supplied with
  7204.     the SDK?
  7205.  
  7206. - Paul, Win32 SDK Developer Support
  7207.  
  7208.  
  7209.  
  7210.  
  7211. There is 1 Reply.
  7212.  
  7213. #: 15988 S7/Tools-Microsoft   
  7214.     28-Oct-92  14:04:13
  7215. Sb: #15902-Preprocessor problem
  7216. Fm: Mike Markley 72401,3051
  7217. To: Paul Tissue [Microsoft] 70744,24 (X)
  7218.  
  7219. Paul,
  7220.  
  7221. This was in one of our header files and it was inside a #ifdef. There is one
  7222. tab tab in front of the #define statement. I am running the MIPS October build
  7223. on an Olivetti PWS4000. It may somehow be related to the #ifdef. example:
  7224.  
  7225. #: 16026 S7/Tools-Microsoft   
  7226.     28-Oct-92  19:17:09
  7227. Sb: #15988-Preprocessor problem
  7228. Fm: Paul Tissue [Microsoft] 70744,24
  7229. To: Mike Markley 72401,3051 (X)
  7230.  
  7231. Hi Mike,
  7232.  
  7233. I tried the sytnax that you descibed but the MIPS compiler accepted it. Please
  7234. upload a sample which duplicates this.  Thanks.
  7235.  
  7236. - Paul, Win32 SDK Developer Support
  7237.  
  7238.  
  7239.  
  7240.  
  7241. There is 1 Reply.
  7242.  
  7243. #: 16059 S7/Tools-Microsoft   
  7244.     29-Oct-92  07:38:36
  7245. Sb: #16026-Preprocessor problem
  7246. Fm: Mike Markley 72401,3051
  7247. To: Paul Tissue [Microsoft] 70744,24 (X)
  7248.  
  7249. Paul,
  7250.  
  7251. Just create a file that contains one line "#include <windows.h>" On the
  7252. command line type:
  7253.  
  7254. cl file.c
  7255.  
  7256. You will get three warnings from mmsystem.h on my machine it warned about line
  7257. 2811, 2812,2813, 2815. Sorry, you get four warnings I miss counted first time.
  7258. These are defines inside of #if or #ifdef statements. That seems to be where
  7259. the problem is. The message that I get is "Unknown Control Statement".
  7260.  
  7261. Mike.
  7262.  
  7263. There is 1 Reply.
  7264.  
  7265. #: 16153 S7/Tools-Microsoft   
  7266.     29-Oct-92  18:20:10
  7267. Sb: #16059-Preprocessor problem
  7268. Fm: Paul Tissue [Microsoft] 70744,24
  7269. To: Mike Markley 72401,3051 (X)
  7270.  
  7271. Hi Mike,
  7272.  
  7273. We have verified this to be a problem with tbe cc.exe (MIPS) and the cl.exe
  7274. (C7 MIPS) compilers.  However, we have been unable to get either of them to
  7275. generate the "#define statements must be in the first column" error.  We'll
  7276. look further into these problems and let you know what we find.  Thanks again.
  7277.  
  7278. - Paul, Win32 SDK Developer Support
  7279.  
  7280.  
  7281.  
  7282.  
  7283. There is 1 Reply.
  7284.  
  7285. #: 16222 S7/Tools-Microsoft   
  7286.     30-Oct-92  15:14:49
  7287. Sb: #16153-Preprocessor problem
  7288. Fm: Mike Markley 72401,3051
  7289. To: Paul Tissue [Microsoft] 70744,24 (X)
  7290.  
  7291. Paul,
  7292.  
  7293. The problem was not an error. I was mistaken when I first reported it. The
  7294. problem is that apparently the #defines don't do anything so I lose symbols.
  7295.  
  7296. Mike.
  7297.  
  7298. #: 16199 S7/Tools-Microsoft   
  7299.     30-Oct-92  10:53:03
  7300. Sb: Image Edit closes HELP
  7301. Fm: Len Gray 71630,1703
  7302. To: All
  7303.  
  7304. The Image Edit application is closing Windows Help when it terminates.  I
  7305. don't mean it is closing its own Help - that's an automagic function.  It is
  7306. closing *any* current Windows Help that is open.
  7307.  
  7308.      Regards,
  7309.      Len
  7310.  
  7311.  
  7312.  
  7313. There is 1 Reply.
  7314.  
  7315. #: 16205 S7/Tools-Microsoft   
  7316.     30-Oct-92  12:02:29
  7317. Sb: #16199-Image Edit closes HELP
  7318. Fm: Paul Tissue [Microsoft] 70744,24
  7319. To: Len Gray 71630,1703 (X)
  7320.  
  7321. Hi Len,
  7322.  
  7323. I have not been able to reproduce this with the October release.  If you are
  7324. referring to the July release then please try this out on the Octber release
  7325. when you get it.  If not, please send in the exact sequence of steps which
  7326. reproduces this problem.  Thanks.
  7327.  
  7328. - Paul, Win32 SDK Developer Support
  7329.  
  7330.  
  7331.  
  7332.  
  7333. There is 1 Reply.
  7334.  
  7335. #: 16207 S7/Tools-Microsoft   
  7336.     30-Oct-92  12:57:56
  7337. Sb: #16205-Image Edit closes HELP
  7338. Fm: Len Gray 71630,1703
  7339. To: Paul Tissue [Microsoft] 70744,24 (X)
  7340.  
  7341. Hi, Paul
  7342.  
  7343. Thank you for such a quick response.  I apologize for sending in hasty report.
  7344. I just booted back to NT and found that I couldn't reproduce the problem by
  7345. just opening and closing the applications in question.  Perhaps this is
  7346. something hidden deeper within NT.
  7347.  
  7348. When I discovered the problem I was in an NT session using a Command Prompt
  7349. window for compiling, a WinDbg window for debugging, and accessing Windows
  7350. Help with the WIN32API icon.  I thought I was going senile 'cause every time I
  7351. tried to toggle back to WinHelp it was gone!  At the time, I was working on
  7352. reproducing a bug in StretchBlt, and was starting and closing Image Edit to
  7353. test different images.
  7354.  
  7355. I finally reproduced the problem for my own eyes twice in a row by starting
  7356. Image Edit and closing it and watching WinHelp disappear.
  7357.  
  7358. I will try more to see what I can do about reproducing this, and keep my eyes
  7359. out for *any* tasks that close when they shouldn't.
  7360.  
  7361.      Regards,
  7362.      Len
  7363.  
  7364.  
  7365.  
  7366. There is 1 Reply.
  7367.  
  7368. #: 16224 S7/Tools-Microsoft   
  7369.     30-Oct-92  15:33:03
  7370. Sb: #16207-Image Edit closes HELP
  7371. Fm: Paul Tissue [Microsoft] 70744,24
  7372. To: Len Gray 71630,1703 (X)
  7373.  
  7374. Hi Len,
  7375.  
  7376. I looks like the problem is indeed a bit more complicated.  Please let us know
  7377. if you find a way to reproduce it and we'll attempt to nail it down. Thanks
  7378. again.
  7379.  
  7380. - Paul, Win32 SDK Developer Support
  7381.  
  7382. #: 16227 S7/Tools-Microsoft   
  7383.     30-Oct-92  15:38:15
  7384. Sb: fatal compiler error
  7385. Fm: Orin Eman 71102,705
  7386. To: sysop (X)
  7387.  
  7388. I am getting a fatal error C1001: INTERNAL COMPILER ERROR (compiler file
  7389. 'msc1.cpp', line 555).
  7390.  
  7391. This did not happen with the July release.
  7392.  
  7393. I have not been able to track this down to a small example yet, though I have
  7394. one case where taking "friend class foo;" out of one of my class definitions
  7395. makes the error go away!.
  7396.  
  7397. Has anyone else seen this?
  7398.  
  7399. #: 16124 S7/Tools-Microsoft   
  7400.     29-Oct-92  14:36:53
  7401. Sb: CFile destructor
  7402. Fm: Jim Young 72760,725
  7403. To: Sysop (X)
  7404.  
  7405. In the InitInstance() function of my application derived from CWinApp I create
  7406. a CFile object to read in some configuration data. If CFile::Open fails (file
  7407. not found) then a default set of data is used. The problem I'm having is in
  7408. the CFile destructor where it does an ASSERT on the value of the file handle
  7409. before automatically closing the file. If the file could not be opened then
  7410. the file handle is invalid and the ASSERT fails, ending the program. Is there
  7411. any way around this? Also the CFile object is a stack variable but the
  7412. destructor does not get called until the end of the program instead of when
  7413. the variable goes out of scope when exiting the InitInstance() function. Any
  7414. comment on this? Thanks.
  7415.  
  7416. --Jim
  7417.  
  7418. There is 1 Reply.
  7419.  
  7420. #: 16230 S7/Tools-Microsoft   
  7421.     30-Oct-92  15:42:26
  7422. Sb: #16124-CFile destructor
  7423. Fm: Julie Solon [Microsoft] 71075,107
  7424. To: Jim Young 72760,725
  7425.  
  7426. Jim,
  7427.  
  7428. This is regarding your question about preventing an ASSERT on an invalid file
  7429. handle from ending your program.  I think that what you would like to try is
  7430. structured exception handling, using try/catch.  Take a look at the "Class
  7431. Libraries User's Guide", page 61, Exception Handling.  Other references are
  7432. listed there as well.
  7433.  
  7434. Regarding the question about the destructor for the CFile object on the frame
  7435. not being called until the end of the program, how are you declaring the
  7436. object?  With new?  I'll need more information in order to look into that
  7437. issue.
  7438.  
  7439.  
  7440. Thanks,
  7441.  
  7442. Julie Solon Microsoft Developer Support
  7443.  
  7444. #: 16194 S7/Tools-Microsoft   
  7445.     30-Oct-92  10:43:55
  7446. Sb: Link Prob. (out o' mem)
  7447. Fm: Ken Joyner 75140,256
  7448. To: Sysop (X)
  7449.  
  7450. When trying to link I get an "Out of memory" error. I have the october
  7451. release.  I have 16M on my machine.  What is the problem
  7452.  
  7453. IS THERE A BUG LIST?????
  7454.  
  7455. Bryan Sera
  7456.  
  7457. There is 1 Reply.
  7458.  
  7459. #: 16234 S7/Tools-Microsoft   
  7460.     30-Oct-92  16:05:06
  7461. Sb: #16194-Link Prob. (out o' mem)
  7462. Fm: David Taniguchi [MS] 72350,2054
  7463. To: Ken Joyner 75140,256 (X)
  7464.  
  7465. Hi Ken,
  7466.   Try clearing space on the drive where the temp environment variable is
  7467.   pointing.  Have you noticed this behavior after a fresh re-boot?
  7468.  
  7469.   > IS THERE A BUG LIST?????
  7470.  
  7471.   We try to document the known bugs in the Knowledge Base.
  7472.  
  7473.   Let me know if this doesn't help,
  7474.  
  7475.   Dave Taniguchi,  Win32 SDK Developer Support
  7476.  
  7477. #: 16170 S7/Tools-Microsoft   
  7478.     29-Oct-92  23:49:20
  7479. Sb: MFC (NT) lib comp error
  7480. Fm: Nigel Chorley 100013,1717
  7481. To: Sysop (X)
  7482.  
  7483. I am using the July 92 version.
  7484. I tried to compile the MFC library  (nmake model=N in dir mstools/mfc/src)
  7485. and got an error...
  7486.  
  7487. window.cpp (359):error C2446:'=' no conversion
  7488.       between 'int (__near__cdecl*)(void)' and 'void__near*'
  7489.  
  7490. All previous MFC lib files had compiled OK.
  7491.  
  7492. Can you help
  7493. Thanks, Nigel Chorley
  7494.  
  7495.  
  7496. There is 1 Reply.
  7497.  
  7498. #: 16236 S7/Tools-Microsoft   
  7499.     30-Oct-92  16:12:10
  7500. Sb: #16170-MFC (NT) lib comp error
  7501. Fm: Julie Solon [Microsoft] 71075,107
  7502. To: Nigel Chorley 100013,1717
  7503.  
  7504. Nigel,
  7505.  
  7506. I was able to successfully execute
  7507.  
  7508.    nmake model=N
  7509.  
  7510. and build the NafxcWD flavor of the MFC libraries using the October beta. I
  7511. have been unable to test this on the July Release, but there have been no
  7512. problems reported with doing so.
  7513.  
  7514. I would double-check that your environment variables have not changed since
  7515. you were able to successfully build an MFC library.  You might be picking up a
  7516. different header file or picking them up in a different order.  The mfc
  7517. include files should be second on the INCLUDE environment variable.  I can not
  7518. think of anything else that might cause this.  Hopefully you won't have this
  7519. problem when you update to the October release.  However, please let us know
  7520. if you do.
  7521.  
  7522.  
  7523. Thanks,
  7524.  
  7525. Julie Solon Microsoft Developer Support
  7526.  
  7527. #: 16242 S7/Tools-Microsoft   
  7528.     30-Oct-92  17:59:37
  7529. Sb: CVPACK Error
  7530. Fm: Koby 71172,2722
  7531. To: sysop (X)
  7532.  
  7533. I am building an application that was build with no CVPACK error under the
  7534. July NT vertion. The same application with the same makefile generate a Make
  7535. error U1077 after CVPACK return with return code #128, when compiled and link
  7536. under the October NT version. Any idea what cause the error.
  7537. Thanks, Koby.
  7538.  
  7539. #: 16253 S7/Tools-Microsoft   
  7540.     30-Oct-92  19:07:38
  7541. Sb: problems with Oct rel.
  7542. Fm: Marco Papa 70353,3446
  7543. To: ALL
  7544.  
  7545. This is the full list of problems I encountered when installing and
  7546. recompiling/relinking using the October release on an Olivetti PWS4000.
  7547.  
  7548. 1. First of all the docs on p. 36 of the Release notes fail to mention that on
  7549. the PWS4000 all the old environment settings are not good, and one has to Load
  7550. Default Config/Load Default Environ and change the load values.
  7551.  
  7552. Moreover, while the Setup defaults to \WINNT, the loaded defaults set the
  7553. OSLOADFILENAME to \NT\system\ntoskrnl.exe which of course would conflict if
  7554. one were to load the system on \WINNT. I responded to Setup changing the
  7555. default from C:\WINNT to C:\NT and allwas well.
  7556.  
  7557. 2. On p.6 of the release notes it is said that "For RISC-based computers, the
  7558. following files are copied to the *root* of the system partition:
  7559. ... HAL.DLL, OSLOADER.DLL."
  7560.  
  7561. This is not true. Both of the above files were written in the same location of
  7562. the July Release: \os\nt\osloader.exe and \os\nt\hal.exe.  In faxt the default
  7563. environment for OSLOADER is
  7564. scsi(0)disk(0)rdisk(0)partition(1)\os\nt\osloader.exe
  7565.  
  7566. and that is exactly were the files went.
  7567.  
  7568. 3. When compiling resources built with the Windows 3.1 dialog editor, the NT
  7569. resource compiler will break immediately when processing multiple .DLG files
  7570. that all contain an initial line of DLGINCLUDE. The July release of the NT
  7571. Resource compiler did not have this pnroblem.  Also this makes .DLG files from
  7572. Windows 3.1's Dialog Editor totally imcompatible with NT.
  7573.  
  7574. 4. If one uses the default switches from ntwin32.mak of -g2 for compilation
  7575. and -c for mip2coff, on MIPS the files are generated so large, that a project
  7576. like mine (over 70 files) will not even stay on a 200 Meg disk. The files
  7577. *before* processing by mip2coff are already huge (many even over 1 Meg for a
  7578. 50K source file) and after mip2coff can be between 5 to 10 Meg for a single
  7579. file. This tells me that there is something really wrong with the current
  7580. debugging stuff on MIPS in the October release. None of these problems were
  7581. apparent in the July release.
  7582.  
  7583. 5. If one does not use the -g2 switch in compilation, but uses the -c with
  7584. MIP2coff after compilation, MIP2coff will bomb with an "unsupported language
  7585.  
  7586. #: 16254 S7/Tools-Microsoft   
  7587.     30-Oct-92  19:09:01
  7588. Sb: problems (continued)
  7589. Fm: Marco Papa 70353,3446
  7590. To: ALL
  7591.  
  7592. found in ..." message.
  7593.  
  7594. Given the two above problems, debugging on MIPS with the October release is
  7595. practically impossible. I could only build my app by taking out both the -g2
  7596. flag from compilation and the -c flag from MIp2coff. The file got linked OK,
  7597. but of course it has no debugging info any more.  Given this, the October
  7598. release is worse than the July one as far as debugging on MIPS is concerned.
  7599.  
  7600. -- Marco
  7601.  
  7602. #: 16086 S7/Tools-Microsoft   
  7603.     29-Oct-92  11:14:48
  7604. Sb: *MAJOR* bug with new rel
  7605. Fm: Marco Papa 70353,3446
  7606. To: ALL
  7607.  
  7608. I have encountered a *major* problem with the October release which is
  7609. completely swrewing up the possibilities of running our app on this release at
  7610. COMDEX in the MS booth.
  7611.  
  7612. After rebuilding my app (a large terminal program), if I run it, the loader
  7613. will fail with a message to the effect that "The Dynamic Link Library
  7614. USERRTL.DLL could not be found in the specified path...".
  7615.  
  7616. It turns out that USERRTL.DLL *was* included in the July release, but is
  7617. nowhere to be seen in the October release. From snooping at the July release
  7618. DLL, this file is said to include the "Windows User Client Portion" and
  7619. includes a large quantity of major APIs.
  7620.  
  7621. Note that I have reproduced this problem on MIPS.  I have not tried this on a
  7622. 486.
  7623.  
  7624. What I can guess is that the stuff that used to be in USERRTL.DLL has been
  7625. moved to another DLL or EXE, but *some* LIB file(s) provided in MSTOOLS still
  7626. refer to the old DLL from the July release.
  7627.  
  7628. Since we need to ship our machines with the October Release to the MS booth at
  7629. COMDEX within a couple of days, we'd appreciate a fix this week from MS.  Feel
  7630. free to call me at (213)669-1497 for any details.
  7631.  
  7632. -- Marco Papa
  7633.  
  7634.  
  7635.  
  7636. There are 2 Replies.
  7637.  
  7638. #: 16103 S7/Tools-Microsoft   
  7639.     29-Oct-92  13:30:36
  7640. Sb: #16086-*MAJOR* bug with new rel
  7641. Fm: Colin Stuart [Microsoft] 70744,25
  7642. To: Marco Papa 70353,3446 (X)
  7643.  
  7644. Marco, The API in USERRTL.DLL were distributed throughout other DLLs.  The
  7645. October Beta requires a complete rebuild of all components, preferably using
  7646. the new MSWIN32.MAK. We have encountered no problems with references to
  7647. USERRTL.DLL. There is no guarantee that the library names and contents are
  7648. going to remain constant between builds, which is why I recommend using the
  7649. MSWIN32 makefile. If the problem persists, please let me know where the
  7650. references to USERRTL.DLL are occurring.
  7651.  
  7652. Thank you, Colin
  7653.  
  7654.  
  7655.  
  7656.  
  7657.  
  7658. There are 2 Replies.
  7659.  
  7660. #: 16168 S7/Tools-Microsoft   
  7661.     29-Oct-92  23:28:03
  7662. Sb: #16103-*MAJOR* bug with new rel
  7663. Fm: Marco Papa 70353,3446
  7664. To: Colin Stuart [Microsoft] 70744,25 (X)
  7665.  
  7666. Sorry, but I *did* recompile ALL sources with MSWIN32.MAK. The only change I
  7667. made is to *not* use the debugging stuff.  Since I recompiled everything with
  7668. the new .LIBs I am assumiming somebody is still calling the old' DLLs.
  7669.  
  7670. -- Marco
  7671.  
  7672. #: 16171 S7/Tools-Microsoft   
  7673.     30-Oct-92  00:25:15
  7674. Sb: #16103-*MAJOR* bug with new rel
  7675. Fm: Marco Papa 70353,3446
  7676. To: Colin Stuart [Microsoft] 70744,25 (X)
  7677.  
  7678. Hold it! I finally figured out what the problem was. By using an editor I
  7679. searched for the ".dll" string in  my program. I found no reference to the
  7680. USERRTL.DLL library that was causing the fault.  The I looked at the DLLs I
  7681. call and had recompiled with the Oct rel and all was OK there too.
  7682.  
  7683. The I searched for all 'old' versions of such DLLs and lo and behold I had one
  7684. DLL that was compiled with the July release.  It turns out that the faulty one
  7685. was picked up by the loader from the path "before" the one that I had rebuilt.
  7686. I deleted it and all is well now.  It would have been much easier id the
  7687. loader had mentioned the DLL name as the one that was causing the call to the
  7688. missing DLL, while instead it mentioned the name of the calling program. 
  7689. Doesn't the loader have the info on the caller (i,e. can't it distinguish
  7690. between the main and a DLL called by it?).
  7691.  
  7692. Anyway, all is well and we're ready for COMDEX. Sorry fo jumping the gun.
  7693.  
  7694. -- Marco
  7695.  
  7696.  
  7697.  
  7698. There is 1 Reply.
  7699.  
  7700. #: 16213 S7/Tools-Microsoft   
  7701.     30-Oct-92  13:10:29
  7702. Sb: #16171-*MAJOR* bug with new rel
  7703. Fm: Paul Tissue [Microsoft] 70744,24
  7704. To: Marco Papa 70353,3446 (X)
  7705.  
  7706. Hi Marco,
  7707.  
  7708. Great to hear things are working now!
  7709.  
  7710. BTW, I have passed along your suggestion of indicating which module is calling
  7711. the errant DLL to our developers.
  7712.  
  7713. - Paul, Win32 SDK Developer Support
  7714.  
  7715.  
  7716.  
  7717.  
  7718. There is 1 Reply.
  7719.  
  7720. #: 16255 S7/Tools-Microsoft   
  7721.     30-Oct-92  19:12:29
  7722. Sb: #16213-*MAJOR* bug with new rel
  7723. Fm: Marco Papa 70353,3446
  7724. To: Paul Tissue [Microsoft] 70744,24 (X)
  7725.  
  7726. Thanks, Paul.  I can surely say that if the message would have mentioned the
  7727. DLL I could have found the problem in no more than a few minutes, by just
  7728. checking the named file.  Since my program calls quite a number of mine and
  7729. system DLLs and the message named my program (the main I mean), I started
  7730. looking in the wronmg place, and wasted quite some time looking in the wrong
  7731. place.  At any rate, all is well, and we're ready for COMDEX. BTW, the
  7732. performance of the screen update in the Oct release seems much improved.  Is
  7733. this just a personal impression?
  7734.  
  7735. -- Marco
  7736.  
  7737. #: 16154 S7/Tools-Microsoft   
  7738.     29-Oct-92  18:20:16
  7739. Sb: #16086-*MAJOR* bug with new rel
  7740. Fm: Paul Tissue [Microsoft] 70744,24
  7741. To: Marco Papa 70353,3446 (X)
  7742.  
  7743. Hello Marco,
  7744.  
  7745. Colin meant to refer to the NTWIN32.MAK file (not the MSWIN32.MAK file which
  7746. does not exist).  Please let us know if rebuilding your application does not
  7747. make this DLL reference go away.  Thanks again.
  7748.  
  7749. - Paul, Win32 SDK Developer Support
  7750.  
  7751.  
  7752.  
  7753.  
  7754. There is 1 Reply.
  7755.  
  7756. #: 16169 S7/Tools-Microsoft   
  7757.     29-Oct-92  23:31:19
  7758. Sb: #16154-*MAJOR* bug with new rel
  7759. Fm: Marco Papa 70353,3446
  7760. To: Paul Tissue [Microsoft] 70744,24 (X)
  7761.  
  7762. As I mentioned, I did rebuilt rhe complete app from scratch. I erased all the
  7763. .objs and the .res files, recompiled and relinked.  And as I said I used the
  7764. NTWIN32.MAK file except that I did not use the -g2 flag in compilation and the
  7765. -c flaf in mip2coff since with them my app becomes a humongous > 100 Meg file
  7766. (I'll submit a bug report on this one soon).
  7767.  
  7768. -- Marco
  7769.  
  7770. #: 16257 S7/Tools-Microsoft   
  7771.     30-Oct-92  19:19:50
  7772. Sb: Oct/July NT coexist?
  7773. Fm: Bill Cohagan 74375,313
  7774. To: sysop (X)
  7775.  
  7776. It appears that I am going to have to drop back to the July SDK because the
  7777. October release compiler can't compile my application.  Is it possible for the
  7778. July and October releases to coexist on my disk (I think I have enough room,
  7779. barely!)?
  7780.  
  7781. I'm trying to determine if I must *delete* the October directories and run a
  7782. full install of the July release or can I just have a different pair of
  7783. directories, mstools & winnt, for each release?  Does the install put any
  7784. release dependent code in the root or elsewhere (other than mstools and
  7785. winnt?)
  7786.  
  7787. I'd like to keep the October release around 'cause I'd rather not reinstall it
  7788. *again*. This assumes the compiler will be fixed or a workaround provided
  7789. fairly quickly -- otherwise the October release gets tossed.
  7790.  
  7791. Thanks in advance,
  7792.  Bill
  7793.  
  7794. #: 16020 S7/Tools-Microsoft   
  7795.     28-Oct-92  19:14:55
  7796. Sb: C++ syntax errors?
  7797. Fm: Bill Cohagan 74375,313
  7798. To: sysop (X)
  7799.  
  7800. Under the October release C++ compiler I'm getting syntax errors with code
  7801. which compiled fine under the July release.  The situation is roughly:
  7802.  
  7803. In a header file I have; e.g.,
  7804.  
  7805.  #define foo (tpIVAL(AN_ENUMERATION_CONSTANT))
  7806.  
  7807. where tpIVAL is a class for which an appropriate conversion (constructor) is
  7808. defined (previously in the same header file.)  It may be significant that the
  7809. constructor body is defined in the header; i.e., it is an "inline" conversion.
  7810. Now, in a cpp file which includes this header I have a reference of the form:
  7811.  
  7812.  Baz x = foo;
  7813.  
  7814. where Baz is the direct base class of tpIVAL.  As I said, this *used* to
  7815. compile OK. Now I get a syntax error referring to a constant referenced in the
  7816. *expansion* of the tpIVAL(short) constructor and a subsequent complaint about
  7817. an illegal cast to a function type.
  7818.  
  7819. Finally, (and perhaps most significant) if I remove the outer parens in the
  7820. macro for foo, everything seems to compile OK! I think this is a bug unless
  7821. I've misread the syntax for expressions in C++; i.e., you ought to be able to
  7822. wrap an arbitrary expression in parens without breaking anything, right?
  7823.  
  7824. Thanks,
  7825.  Bill
  7826.  
  7827. There is 1 Reply.
  7828.  
  7829. #: 16229 S7/Tools-Microsoft   
  7830.     30-Oct-92  15:42:21
  7831. Sb: #16020-C++ syntax errors?
  7832. Fm: Julie Solon [Microsoft] 71075,107
  7833. To: Bill Cohagan 74375,313 (X)
  7834.  
  7835. Bill,
  7836.  
  7837. This looks like a problem to me as well.  I received no errors from C 7.0, but
  7838. I received the following errors from cl386 .033 compiling the code below
  7839.  
  7840.    C2061: syntax error : identifier 'red'
  7841.    C2066: cast to function type is illegal
  7842.    C2059: syntax error : ';'
  7843.  
  7844. I would like to check and see if our samples are somewhat similiar and that
  7845. the error messages are the same before I file a formal report to development. 
  7846. If I remove the outer parens, I get error C2243, which I would expect, with
  7847. the way the classes are defined in my example (Baz x = foo; assigns derived
  7848. class object to base class object).  Please let me know.
  7849.  
  7850. Thanks,
  7851.  
  7852. Julie Solon Microsoft Developer Support
  7853.  
  7854. // test.h enum color { red, blue, green }; #define foo ( tpIVAL( red ) )
  7855.  
  7856. class Baz {
  7857.    int var;
  7858.  
  7859. public:
  7860.    Baz( short s ) { var = s; }
  7861.    Baz( ) { var = 0; } };
  7862.  
  7863. class tpIVAL : Baz {
  7864.    short i;
  7865.  
  7866. public:
  7867.    tpIVAL( color c ) { i = c; }
  7868.    tpIVAL( ) { i = 0; } };
  7869.  
  7870.  
  7871. // test.cpp #include "test.h"
  7872.  
  7873. Baz x = foo;
  7874.  
  7875. void main( ) { }
  7876.  
  7877.  
  7878.  
  7879.  
  7880. There are 2 Replies.
  7881.  
  7882. #: 16256 S7/Tools-Microsoft   
  7883.     30-Oct-92  19:19:42
  7884. Sb: #16229-C++ syntax errors?
  7885. Fm: Bill Cohagan 74375,313
  7886. To: Julie Solon [Microsoft] 71075,107 (X)
  7887.  
  7888. Julie-
  7889.   I'll try to whittle my source down to a small example which illustrates this
  7890. problem.
  7891.  
  7892. Thanks for the response.
  7893.  Bill
  7894.  
  7895. #: 16258 S7/Tools-Microsoft   
  7896.     30-Oct-92  19:20:00
  7897. Sb: #16229-C++ syntax errors?
  7898. Fm: Bill Cohagan 74375,313
  7899. To: Julie Solon [Microsoft] 71075,107 (X)
  7900.  
  7901. Julie-
  7902.   It looks to me like you've got the same problem I described.  Following is a
  7903. version of my code which illustrates the problem:
  7904. ===============================cut here================================
  7905.  
  7906.   enum IVAL_SUBTAG{
  7907.       NULL_IVAL_SUBTAG = 0x02,
  7908.       UNDEF_IVAL_SUBTAG = 0x04
  7909.   };
  7910.  
  7911.   #define NULL_OBJ (tpIVAL(NULL_IVAL_SUBTAG))
  7912.  
  7913.   class tpIVAL {
  7914.     public:
  7915.       unsigned image;
  7916.       tpIVAL(short i){image = i;}
  7917.   };
  7918.  
  7919.   tpIVAL foo = NULL_OBJ; ==================================cut
  7920. here=============================
  7921.  
  7922. This gives me the following error messages:
  7923.  
  7924.  
  7925.   C:\NTSCHEME>cl386 /c /G3d /W3 /Zi /Od /D_DEBUG /D_NTWIN /D_WINDOWS
  7926. /DWINVER=0x030a /Di386=1 bug3.cpp
  7927.   bug3.cpp
  7928.   bug3.cpp(15) : error C2061: syntax error : identifier 'NULL_IVAL_SUBTAG'
  7929.   bug3.cpp(15) : error C2066: cast to function type is illegal
  7930.   bug3.cpp(15) : error C2059: syntax error : ';'
  7931.  
  7932. I compiled with:
  7933.  
  7934.  cl386 /c /G3d /W3 /Zi /Od /D_DEBUG /D_NTWIN /D_WINDOWS /DWINVER=0x030a
  7935. /Di386=1 bug3.cpp
  7936.  
  7937. Thanks for looking into this.
  7938.  Bill
  7939.  
  7940.  
  7941.  
  7942.  
  7943. #: 15849 S8/CPU-MIPS Specific   
  7944.     27-Oct-92  04:51:28
  7945. Sb: Magnum R4000 for NT dvlp
  7946. Fm: Robin 100025,604
  7947. To: ALL
  7948.  
  7949. Can anyone tell me where (if ?) Silicon Graphics support their MIPS machines
  7950. on Compuserve ?
  7951.  
  7952. Also (as I haven't received any documentation yet) can anyone recommend any
  7953. books about their machines (particularly the Magnum R4000), particularly about
  7954. the CPU and programming it at assembler level.
  7955.  
  7956. Many thanks in advance,
  7957.  
  7958. Robin Duerden.
  7959.  
  7960.  
  7961. There are 2 Replies.
  7962.  
  7963.  
  7964. #: 15905 S8/CPU-MIPS Specific   
  7965.     27-Oct-92  15:45:56
  7966. Sb: #15849-Magnum R4000 for NT dvlp
  7967. Fm: Petrus Wong [Microsoft] 70743,3355
  7968. To: Robin 100025,604 (X)
  7969.  
  7970. Robin:
  7971.  
  7972.  >>Also (as I haven't received any documentation yet) can anyone recommend any
  7973. books about their machines (particularly the Magnum R4000), particularly about
  7974. the CPU and programming it at assembler level.<<
  7975.  
  7976.  There are two books on the MIPS R4000 that I know of.  They are:
  7977.  
  7978.        1. MIPS RISC Architure by Kane/Heinrich         Prentice Hall
  7979.        2. MIPS R4000 Microprocessor User's Manual      mips
  7980.  
  7981.  
  7982.  
  7983.  petrus
  7984.  
  7985. #: 15908 S8/CPU-MIPS Specific   
  7986.     27-Oct-92  16:14:18
  7987. Sb: #15849-Magnum R4000 for NT dvlp
  7988. Fm: Arthur Kreitman 76060,2677
  7989. To: Robin 100025,604 (X)
  7990.  
  7991. >Also (as I haven't received any documentation yet) can anyone >recommend any
  7992. books about their machines (particularly the Magnum >R4000), particularly
  7993. about the CPU and programming it at assembler >level.
  7994.   I hope you're not planning to write MIPS assembler code.  The
  7995. compiler is smarter when it come to those things that make RISC
  7996. fast (scheduling, delayed branches...). Not only
  7997. that, MIPS assemble code is undebugable.   Not only the complier
  7998. does optimizatiom. but also the linker.  A friend of mine
  7999. tried this a few years ago.  He discovered that the code
  8000. was reordered
  8001.  
  8002.  
  8003.  
  8004. There is 1 Reply.
  8005.  
  8006. #: 16093 S8/CPU-MIPS Specific   
  8007.     29-Oct-92  12:09:15
  8008. Sb: #15908-Magnum R4000 for NT dvlp
  8009. Fm: Petrus Wong [Microsoft] 70743,3355
  8010. To: Arthur Kreitman 76060,2677 (X)
  8011.  
  8012.  >>I hope you're not planning to write MIPS assembler code.  The compiler is
  8013. smarter when it come to those things that make RISC fast (scheduling, delayed
  8014. branches...). Not only that, MIPS assemble code is undebugable.   Not only the
  8015. complier does optimizatiom. but also the linker.  A friend of mine tried this
  8016. a few years ago.  He discovered that the code was reordered<<
  8017.  
  8018.  
  8019.  The books that I mentioned earlier talks about the kind of code reordering
  8020. you were talking about...
  8021.  
  8022.  petrus
  8023.  
  8024.  
  8025.  
  8026.  
  8027. #: 15778 S9/CPU-x86 Specific   
  8028.     26-Oct-92  09:43:40
  8029. Sb: #15704-DDK
  8030. Fm: David Taniguchi [MS] 72350,2054
  8031. To: Frank Natoli [Discovery] 70744,3705
  8032.  
  8033. Hi Frank,
  8034.   >I have just received the Windows NT October 1992 update/CD. There is
  8035.   >still no info regarding DDK. When will it be available and what cost?
  8036.  
  8037.   The Preliminary DDK will be available before the end of November.  The
  8038.   cost is as follows:
  8039.  
  8040.    DDK CD-ROM only                         $69
  8041.    DDK CD-ROM with hard-copy documentation $399
  8042.  
  8043.   This pricing includes updates and the final version of the DDK.  The
  8044.   documentation will be included on the CD in both Postscript and Write
  8045.   format, and all the device driver functions will be documented in Winhelp.
  8046.  
  8047.   If you are in the US and currently own the Win32SDK, you will be receiving
  8048.   a mailing on the DDK in mid-November which will include 4-page product
  8049.   datasheet and an order coupon.  We encourage you to order via this coupon
  8050.   since we are unable to keep up with extremely high call volumes the past
  8051.   few weeks.  You will receive this coupon in plenty of time before the
  8052.   product ships.
  8053.  
  8054.   International customers should contact their local MS office for ordering,
  8055.   pricing and availibility information.
  8056.  
  8057.   One other important change which you should be aware of.  Everyone who
  8058.   purchases the hard-copy documentation for the DDK will receive the new
  8059.   book "Inside Windows NT" from MS Press.  This book will not be on the
  8060.   CD.
  8061.  
  8062.   Hope this helps,
  8063.   Dave
  8064.  
  8065.  
  8066. #: 15743 S9/CPU-x86 Specific   
  8067.     25-Oct-92  05:26:37
  8068. Sb: Fatal Error, July Rel.
  8069. Fm: Wim Bonner 72561,3135
  8070. To: microsoft
  8071.  
  8072. I ran a program that I expected to allcate close to 20 megabytes of memory
  8073. using malloc calls overnight last night.  (My system has 32 meg of memory) 
  8074. When I came in this morning, the following message was on a blue screen on my
  8075. system:
  8076.  
  8077. Fatal System Error 0x0000000A
  8078.  
  8079. IRQL expected to be less or equal
  8080.  
  8081. I don't know when it would have happened, because after I read in the entire
  8082. 20 meg data file, parsing it into a huge pointer linked structure, I call GDI
  8083. routines to display the entire thing.
  8084.  
  8085. Can you tell me if the problem most likely occurred while I was reading in the
  8086. file or if it most likely occurred while I was drawing?
  8087.  
  8088. Wim.f
  8089.  
  8090. There is 1 Reply.
  8091.  
  8092. #: 15790 S9/CPU-x86 Specific   
  8093.     26-Oct-92  12:09:10
  8094. Sb: #15743-Fatal Error, July Rel.
  8095. Fm: David Taniguchi [MS] 72350,2054
  8096. To: Wim Bonner 72561,3135
  8097.  
  8098. Hi Wim,
  8099.   You will need to isolate this down more.  You typically get this when you
  8100.   are booting up and hardware is not configured correctly.  Another place I
  8101.   have seen this is when bad network packets are sent with tcp/ip.  If you
  8102.   can reproduce this, it would help.
  8103.  
  8104.   You might post in the base (Section 6) and gdi (section 5) sections to
  8105.   see if they have heard of any problems with the api's you were running.
  8106.  
  8107.   Thanks,
  8108.   Dave
  8109.  
  8110. #: 15856 S9/CPU-x86 Specific   
  8111.     27-Oct-92  08:00:16
  8112. Sb: PDC/Beta Compatiblity
  8113. Fm: Timothy H. White 75300,1772
  8114. To: Sysop (X)
  8115.  
  8116. Help!  I ported four shareware apps and submitted them for the NT Shareware
  8117. Contest.  They were compiled with the July PDC build of NT.  Yesterday I
  8118. installed the October Beta, and nothing that was compiled with the PDC build
  8119. runs under it!
  8120.  
  8121. What is the procedure for getting updated builds of these apps to the correct
  8122. person at Microsoft?  Will future releases of NT (Beta or otherwise) also
  8123. present this problem?
  8124.  
  8125. TIA,
  8126.  
  8127. Timothy
  8128.  
  8129. There is 1 Reply.
  8130.  
  8131. #: 15896 S9/CPU-x86 Specific   
  8132.     27-Oct-92  15:20:04
  8133. Sb: #15856-PDC/Beta Compatiblity
  8134. Fm: David Taniguchi [MS] 72350,2054
  8135. To: Timothy H. White 75300,1772 (X)
  8136.  
  8137. Hi Timothy,
  8138.   I believe it's only for the July Release as the cutoff was October 15th.
  8139.   As stated below, you may be requested to rebuild your application on a
  8140.   later build before Comdex, but if they haven't notified you, don't worry
  8141.   about it. :)
  8142.   Hope this helps,
  8143.   Dave
  8144.  
  8145.   Contest Rules: To facilitate judging, you must submit five diskettes
  8146.   for each application you send.  All submissions must be received by
  8147.   October 15th, 1992.  The winners will be announced at Fall Comdex
  8148.   '92.  Applications must be compiled to run as a native 32 bit
  8149.   application for the July or later build of the Windows NT operating
  8150.   system; you may be requested to rebuild your application on a later
  8151.   build before Comdex.  Prizes may vary depending on availability and
  8152.   number of entries received.  Applications classified under any of the
  8153.   following terms will be accepted -- retail programs, i.e., packaged
  8154.   programs that are sold in stores and via other traditional sales
  8155.  channels, will not be accepted.  Shareware - copyrighted or patented
  8156.   programs sold on a "try before you buy" basis.  FreeWare -
  8157.   copyrighted or patented programs which do not require compensation
  8158.   for use in most cases.  Public Domain - free from copyrights or
  8159.   patents; open to use by the public without compensation.  Submitted
  8160.   diskettes will not be returned.  All decisions are final.  Void where
  8161.   prohibited.
  8162.  
  8163.  
  8164.  
  8165.  
  8166.  
  8167. There is 1 Reply.
  8168.  
  8169. #: 15962 S9/CPU-x86 Specific   
  8170.     28-Oct-92  08:29:51
  8171. Sb: #15896-PDC/Beta Compatiblity
  8172. Fm: Timothy H. White 75300,1772
  8173. To: David Taniguchi [MS] 72350,2054 (X)
  8174.  
  8175. Thanks for the reply, David.  I'm aware that the deadline has passed, I
  8176. submitted all four apps by the end of September.  I was also aware that a
  8177. recompile may be required, but I haven't heard anything from anyone.
  8178.  
  8179. Does this mean that nothing will be distributed at COMDEX?  Is the contest
  8180. being cancelled?
  8181.  
  8182. Also, will future releases of NT require recompiles also?
  8183.  
  8184. TIA,
  8185.  
  8186. Timothy
  8187.  
  8188. There is 1 Reply.
  8189.  
  8190. #: 16119 S9/CPU-x86 Specific   
  8191.     29-Oct-92  14:03:07
  8192. Sb: #15962-PDC/Beta Compatiblity
  8193. Fm: David Taniguchi [MS] 72350,2054
  8194. To: Timothy H. White 75300,1772 (X)
  8195.  
  8196. Hi Timothy,
  8197.   As far as I know, the contest is still in progress.  I am not certain
  8198.   in what situations they would want you to recompile your application. If
  8199.   your application worked under the July Release, they will judge your app
  8200.   on the July Release.
  8201.  
  8202.   > Also, will future releases of NT require recompiles also?
  8203.  
  8204.   Yes, when the final product ships, we encourage all developers to
  8205.   recompile their applications.
  8206.   Thanks,
  8207.   Dave
  8208.  
  8209. #: 15964 S9/CPU-x86 Specific   
  8210.     28-Oct-92  09:06:45
  8211. Sb: cpu_x86
  8212. Fm: Terry Fossey 100113,3461
  8213. To: mswin  32
  8214.  
  8215. I am trying to load the July release of NT onto a 386/33 system and cannot get
  8216. the PC to boot. I have tried the supplied NT boot diskette on other PCs and
  8217. these are OK untill it cannot find the CD-ROM drive and gives a message to
  8218. this effect.
  8219.  
  8220. My own system has a Creative Labs Soundblaster and CD-ROM combination (from
  8221. MSDN) together with 16Mb RAM and a 240Mb IDE disk.
  8222.  
  8223. At the bottom of the screen: Reading inf file \txtsetup.inf On the body of the
  8224. screen: TRAP 0000000E =================PAGE FAULT=============
  8225.  
  8226. ** At linear address E84539C5
  8227.  
  8228. tr=0028    cr0=FFFFFFE1    cr2=E84539C5    cr3=00030000 gdt limit=03FF 
  8229. base=00036000  ldt limit=07FF  base=00036400
  8230.  
  8231. etc etc....
  8232.  
  8233. Any suggestions?
  8234.  
  8235. There is 1 Reply.
  8236.  
  8237. #: 16120 S9/CPU-x86 Specific   
  8238.     29-Oct-92  14:03:12
  8239. Sb: #15964-cpu_x86
  8240. Fm: David Taniguchi [MS] 72350,2054
  8241. To: Terry Fossey 100113,3461
  8242.  
  8243. Hi Terry,
  8244.   Please post this in Section 3 (Windows NT Setup) of Forum WinNT.  They
  8245.   are more familiar with setup issues.
  8246.  
  8247.   (In glancing at the Hardware Compatibility list, it appears the Creative
  8248.   Labs card is not supported.  You might look at the DOS2NT method of
  8249.   installation before posting.)
  8250.  
  8251.   Thanks,
  8252.   Dave
  8253.  
  8254. #: 15733 S9/CPU-x86 Specific   
  8255.     24-Oct-92  05:49:17
  8256. Sb: stacker
  8257. Fm: steven drexler 71162,2411
  8258. To: all
  8259.  
  8260. Are there any plans to support stacker in the final version of window NT?/exit
  8261.  
  8262. There is 1 Reply.
  8263.  
  8264. #: 15777 S9/CPU-x86 Specific   
  8265.     26-Oct-92  09:43:31
  8266. Sb: #15733-stacker
  8267. Fm: David Taniguchi [MS] 72350,2054
  8268. To: steven drexler 71162,2411
  8269.  
  8270. Hi Steven,
  8271.   >Are there any plans to support stacker in the final version of window NT?
  8272.  
  8273.   No, I don't believe there are any plans for this.
  8274.  
  8275.  
  8276.   -Dave
  8277.  
  8278. #: 15818 S9/CPU-x86 Specific   
  8279.     26-Oct-92  17:18:34
  8280. Sb: #15777-stacker
  8281. Fm: steven drexler 71162,2411
  8282. To: David Taniguchi [MS] 72350,2054 (X)
  8283.  
  8284. I guess i should should just throw out my stacker board then.
  8285.  
  8286. There is 1 Reply.
  8287.  
  8288. #: 15847 S9/CPU-x86 Specific   
  8289.     27-Oct-92  04:03:09
  8290. Sb: #15818-stacker
  8291. Fm: Andreas Klein 100063,1637
  8292. To: steven drexler 71162,2411 (X)
  8293.  
  8294. Maybe you should first ask Stac Technology about their commitment to
  8295. supporting Windows NT via a driver before throughing away hardware.
  8296. You might hurt someone <g>.
  8297.  
  8298. ciao,
  8299.   Andreas
  8300.  
  8301. There is 1 Reply.
  8302.  
  8303. #: 15868 S9/CPU-x86 Specific   
  8304.     27-Oct-92  10:21:13
  8305. Sb: #15847-stacker
  8306. Fm: David Taniguchi [MS] 72350,2054
  8307. To: Andreas Klein 100063,1637 (X)
  8308.  
  8309. Andreas,
  8310.   That's a good suggestion.  I would contact them to see if they have any
  8311.   plans for adding NT support.
  8312.   Thanks,
  8313.   Dave
  8314.  
  8315.  
  8316.  
  8317. There is 1 Reply.
  8318.  
  8319. #: 16034 S9/CPU-x86 Specific   
  8320.     28-Oct-92  21:20:29
  8321. Sb: #15868-stacker
  8322. Fm: steven drexler 71162,2411
  8323. To: David Taniguchi [MS] 72350,2054 (X)
  8324.  
  8325. I have already left a message with their new forum on this board. No plans.
  8326. Aren't they in cohoots with MS arch enemy DR anyway? /exit
  8327.  
  8328. There is 1 Reply.
  8329.  
  8330. #: 16129 S9/CPU-x86 Specific   
  8331.     29-Oct-92  15:06:10
  8332. Sb: #16034-stacker
  8333. Fm: David Taniguchi [MS] 72350,2054
  8334. To: steven drexler 71162,2411
  8335.  
  8336. Hi Steven,
  8337.   >I have already left a message with their new forum on this board. No
  8338.   >plans. Aren't they in cohoots with MS arch enemy DR anyway?
  8339.  
  8340.   Not sure on this one.  I don't keep up with who is in whos camp. :)
  8341.   Thanks,
  8342.   Dave
  8343.  
  8344. #: 16028 S9/CPU-x86 Specific   
  8345.     28-Oct-92  19:19:52
  8346. Sb: #15594-Multi processing NT
  8347. Fm: Julio C. Martinez 76535,2345
  8348. To: Jeff Nuccio 76547,2342 (X)
  8349.  
  8350. Jeff,
  8351.  
  8352. I was browsing by and happened to see your inquiri. I was looking for
  8353. infomation on multiprocessor machines capable of running NT for a research
  8354. project. Although I don't have an immediate need for the machine, I do need
  8355. some ballpark info on pricing for a proposal. If you are able to provide me
  8356. with any information on what Hauppage may have to offer I would appreciate it.
  8357.  
  8358. Thanks - Julio
  8359.  
  8360.  
  8361.  
  8362. There is 1 Reply.
  8363.  
  8364. #: 16181 S9/CPU-x86 Specific   
  8365.     30-Oct-92  07:28:41
  8366. Sb: #16028-Multi processing NT
  8367. Fm: Andy Champ 100064,2267
  8368. To: Julio C. Martinez 76535,2345 (X)
  8369.  
  8370. Julio, we (ICL) provide such a machine.  It's a deskside 10-EISA slot, 4 CPU
  8371. max (486/50 or /33) up to 128Mb (256 if only 2 CPU) with up to 8 half-height
  8372. 5.25 inch drives (full heights: 3 if you allow for floppy & CD).
  8373.  
  8374. If you want more information on it, drop me your snail-mail address & I'll get
  8375. you a brochure sent over.
  8376.  
  8377. In case you don't know - ICL are part of Fujitsu group & hence worlds no. 2 IT
  8378. company.
  8379.  
  8380. Andy Champ.
  8381.  
  8382. #: 15846 S9/CPU-x86 Specific   
  8383.     26-Oct-92  23:57:15
  8384. Sb: SMP or Not
  8385. Fm: Jeong Ho Lee 70253,1244
  8386. To: ALL
  8387.  
  8388. Hello,
  8389. For overall performance, does NT prefer 66MHz Single 486 system or 33MHz
  8390. dual 486 system ? Of course, let's assume they have the same configurations
  8391. except the # of CPUs.
  8392. Thanks
  8393. jLee
  8394.  
  8395. There are 2 Replies.
  8396.  
  8397. #: 15848 S9/CPU-x86 Specific   
  8398.     27-Oct-92  04:08:26
  8399. Sb: #15846-SMP or Not
  8400. Fm: Andreas Klein 100063,1637
  8401. To: Jeong Ho Lee 70253,1244 (X)
  8402.  
  8403. For overall performance the dual processor system is likely to be faster
  8404. because Windows NT supports multiple processors down to the Executive layer.
  8405. But remember, you need an apropriate HAL that supports your machine, while the
  8406. single processor machine is highly likely to run with one of the HAL`s
  8407. supplied by MS!
  8408.  
  8409. The multiprocessor system is likely to be faster because if for example one
  8410. processor is doing I/O (which can be pretty slow) the other still can work,
  8411. while in the single processor environment the whole machine has to wait before
  8412. the I/O instruction is done because it`s atomic to the CPU.
  8413.  
  8414. I hope this helps,
  8415.   ciao,
  8416.     Andreas
  8417.  
  8418. #: 16182 S9/CPU-x86 Specific   
  8419.     30-Oct-92  07:28:46
  8420. Sb: #15846-SMP or Not
  8421. Fm: Andy Champ 100064,2267
  8422. To: Jeong Ho Lee 70253,1244 (X)
  8423.  
  8424. I disagree with Andreas to some extent.  If you run a pair of 33MHz processors
  8425. you'll get performance, depending on cache design and workload, typically
  8426. 1.5-1.9 times a single processor.  In extreme cases this can fall outside
  8427. these bands.  A single processor is likely to be cheaper for the same
  8428. performance.  Trouble is the 66MHz of course isn't really a 66 - it's only
  8429. worth about a 50MHz as it's choked up by the 33MHz bus.  What you want really
  8430. is a dual (or more) 50MHz with write-back cache design to get real speed.
  8431.  
  8432. Now if your question was - dual 25 or single 50?  then I'd have no doubt in
  8433. recommending the single 50.
  8434.  
  8435. Best thing is to benchmark it.  It's not really NT that has the preference, so
  8436. much as your workload and the machine design.
  8437.  
  8438. Andy Champ ICL.
  8439.  
  8440. ps - want a sales brochure on our 1-4 CPU 33 or 50MHz machine?  AC.
  8441.  
  8442.  
  8443.  
  8444. There is 1 Reply.
  8445.  
  8446. #: 16191 S9/CPU-x86 Specific   
  8447.     30-Oct-92  09:30:36
  8448. Sb: #16182-SMP or Not
  8449. Fm: Jeong Ho Lee 70253,1244
  8450. To: Andy Champ 100064,2267
  8451.  
  8452. Thanks,
  8453. Yes, please send me your brochure TO:
  8454.  
  8455. Jeong Ho Lee
  8456. Park Scientific Instruments
  8457. 1171 Borregas Av.
  8458. Sunnyvale, CA 94089
  8459.  
  8460. jLee
  8461.  
  8462. #: 16161 S9/CPU-x86 Specific   
  8463.     29-Oct-92  20:34:48
  8464. Sb: NT Request List/Problems
  8465. Fm: Travis Creager 74230,3121
  8466. To: sysop (X)
  8467.  
  8468. I have the following hardware that makes for a hot little system except that
  8469. the only things that NT supports currently supports are the mother board, the
  8470. Sound Blaster, and the hard disk.
  8471.  
  8472. Micronics 486/33 Gemini Motherboard Diamond SpeedStar 24X Video Card Sound
  8473. Blaster Conner 200 Meg. HD Mitsumi CD-ROM Drive with Drive Select at 0, which
  8474. is the ONLY setting
  8475.    available on this particular drive, and YES, I have opened the case to
  8476.    check!  Note that this is the same drive and controller that DAK sales
  8477.    for $200, and is thus VERY POPULAR!!! Maynard Archive XL 120/250 Meg.
  8478. Floppy based tape drive (though I plan on
  8479.    moving up to a Summit SE305 IDE-Based drive.
  8480.  
  8481. I want to know if and when most of this stuff is supposed to be supported.
  8482.  
  8483. Also, would it be possible for me to put the CD-ROM drivers in NT's bootup
  8484. script (as if I could even run the October-Beta version!)
  8485.  
  8486. It may be nice being a computer reseller, but I don't have $1000-2000 to
  8487. down-grade and morph over to something that is compatible with NT (and  that
  8488. is just for the video card and CD-ROM drive...Add another $2000 for the Tape
  8489. drive!!!)
  8490.  
  8491. There is 1 Reply.
  8492.  
  8493. #: 16196 S9/CPU-x86 Specific   
  8494.     30-Oct-92  10:52:40
  8495. Sb: #16161-NT Request List/Problems
  8496. Fm: David Taniguchi [MS] 72350,2054
  8497. To: Travis Creager 74230,3121
  8498.  
  8499. Hi Travis,
  8500.   >..I want to know if and when most of this stuff is supposed to be
  8501.   supported.
  8502.  
  8503.   It's really up to the manufacturers of the hardware to decide if they want
  8504.   to write drivers and support NT.  Keep in mind the Device Driver
  8505.   Conference was over only 3 days ago.  Also, the Device Driver Kit itself
  8506.   (which is the software necessary to write Device Drivers) has only been
  8507.   in the hands of the most of the hardware manufacturers for 3 days!
  8508.   When the NT is released, I am certain there will be more drivers available
  8509.  
  8510.   >Also, would it be possible for me to put the CD-ROM drivers in NT's
  8511.   bootup script (as if I could even run the October-Beta version!)
  8512.  
  8513.   I am not sure what you mean here.  Any setup questions you have should
  8514.   be posted in section 3 (Windows NT setup) of the WinNT forum.  Keep in
  8515.   mind if you have an unsupported CD-ROM, you can still install if you can
  8516.   access the CD-ROM when booting from DOS.  Look at the WINNT method of
  8517.   installation.
  8518.  
  8519.   >It may be nice being a computer reseller, but I don't have $1000-2000 to
  8520.   down-grade and morph over to something that is compatible with NT (and
  8521.   that is just for the video card and CD-ROM drive...Add another $2000 for
  8522.   the Tape drive!!!)
  8523.  
  8524.   I agree.  And with several hundred developers attending the DDK conference,
  8525.   I am looking forward to seeing more devices supported myself.
  8526.  
  8527.   Thanks,
  8528.   Dave
  8529.  
  8530. #: 16200 S9/CPU-x86 Specific   
  8531.     30-Oct-92  11:10:31
  8532. Sb: Setting up Win32 SDK
  8533. Fm: Martin Snowden 73617,265
  8534. To: All
  8535.  
  8536. Hi,
  8537.         I'm about to install the SDK (October release) for the first time,
  8538. and I would like some advice on the most efficient way of arranging
  8539. software on my disks. Here is my scenario:
  8540.  
  8541.         I currently have a 200 MB hard drive just about full with
  8542. MS-DOS 5.0, Windows 3.1, and all my DOS and Windows applications
  8543. etc. The drive is stacked with Stacker so on the physical drive
  8544. I have a stacked C: and an unstacked D: logical drives.
  8545.         I have now purchased a second, 340 MB hard drive so I will
  8546. have room for Windows NT, Win32 SDK etc.
  8547.         Now, what's my best approach ? If I install NT and SDK
  8548. on the new drive will I have to make that drive my boot drive from
  8549. now on ? Will that also mean the new drive will have to be (or
  8550. have on it as a primary partition)  the logical drive C: ? And
  8551. if that is so what will happen to my original C: ? - Will it
  8552. have to have a new letter and then I will have to meticulously go
  8553. through all Windows 3.1 .INI files etc. changing all references
  8554. to C: to the new letter ?
  8555.         Plus what about Stacker ? To run my existing apps. from
  8556. NT environment do I have to unstack everything ? Would I be better off
  8557. having both a stacked (for 3.1) and an unstacked version (for NT)
  8558. of these apps ?
  8559.  
  8560.         Before I spend a lot of time experimenting can anyone
  8561. give me some advice ?
  8562.  
  8563.                 Thanks in advance,
  8564.                                         Marin Snowden.
  8565.   
  8566.  
  8567. There is 1 Reply.
  8568.  
  8569. #: 16237 S9/CPU-x86 Specific   
  8570.     30-Oct-92  16:43:49
  8571. Sb: #16200-Setting up Win32 SDK
  8572. Fm: David Taniguchi [MS] 72350,2054
  8573. To: Martin Snowden 73617,265
  8574.  
  8575. Hi Martin,
  8576.   Please post this in section 3 (Windows NT Setup) of forum WinNT.  They
  8577.   are more familiar with these issues.
  8578.  
  8579.   Thanks,
  8580.   Dave
  8581.  
  8582.   PS: NT does not support stacked drives. I believe you would have to boot
  8583.   from a non-stacked drive.  As for the SDK, it's just a matter of
  8584.   preference.  I installed NT and the SDK on my primary C: drive.  I can
  8585.   flexboot into DOS (but I rarely do this, and I have a dedicated
  8586.   DOS/Windows machine).
  8587.  
  8588.  
  8589.  
  8590.  
  8591. #: 15918 S10/Porting from OS/2   
  8592.     27-Oct-92  18:14:31
  8593. Sb: Resource Conversion
  8594. Fm: James Ross Allard 70732,1515
  8595. To: all
  8596.  
  8597. Are there any tools for converting OS/2 resource files to windows format?
  8598.  
  8599. Thanks
  8600. Ross
  8601.  
  8602. There is 1 Reply.
  8603.  
  8604.  
  8605. #: 15943 S10/Porting from OS/2   
  8606.     27-Oct-92  22:16:45
  8607. Sb: #15918-Resource Conversion
  8608. Fm: John Hall [MS SDE] 70750,2341
  8609. To: James Ross Allard 70732,1515 (X)
  8610.  
  8611. Rescon.zip, this library section.
  8612. In fact, I'd strongly recommend most of my downloads, or at least
  8613. reading the abstracts for them.
  8614.  
  8615. I'll be posting upates for the beta and some new stuff (Queues) in
  8616. 2 weeks.
  8617.  
  8618. There is 1 Reply.
  8619.  
  8620. #: 16145 S10/Porting from OS/2   
  8621.     29-Oct-92  17:23:20
  8622. Sb: #15943-Resource Conversion
  8623. Fm: James Ross Allard 70732,1515
  8624. To: John Hall [MS SDE] 70750,2341 (X)
  8625.  
  8626. Thanks John, I'll check it out.
  8627.  
  8628. #: 16053 S10/Porting from OS/2   
  8629.     29-Oct-92  06:44:39
  8630. Sb: Bitmaps on menus
  8631. Fm: BENJ FAYLE 71151,1603
  8632. To: John Hall 70750,2341 (X)
  8633.  
  8634. John,
  8635.  
  8636. I got your package and am well on my way to getting my system converted from
  8637. OS2.  It took quite a lot of fiddling to get the resource files converted. 
  8638. Mostly commenting out various unrecognized options.  What the overall
  8639. ramifications of some of these missing will be I'm not sure yet.
  8640.  
  8641. Question:
  8642.  
  8643. How do you get bitmaps onto menus.  In OS2 resource files I use te following:
  8644.  
  8645. BITMAP 8100 alleft.bmp
  8646. BITMAP 8101 alcenter.bmp
  8647. BITMAP 8102 alright.bmp
  8648.  
  8649. MENU IDM_MAIN
  8650. {
  8651.    SUBMENU "Align ~column", IDM_ALIGNCOLUMN
  8652.    {
  8653.       MENUITEM "#8100", IDM_ALIGNLEFT, MIS_BITMAP
  8654.       MENUITEM SEPARATOR
  8655.       MENUITEM "#8101", IDM_ALIGNCENTER, MIS_BITMAP
  8656.       MENUITEM SEPARATOR
  8657.       MENUITEM "#8102", IDM_ALIGNRIGHT, MIS_BITMAP
  8658.       MENUITEM SEPARATOR
  8659.    }
  8660.  
  8661. What is the corresponding code to be used in windows?
  8662.  
  8663. Thanks,
  8664.  
  8665. Benj Fayle
  8666.  
  8667.      
  8668.  
  8669. There is 1 Reply.
  8670.  
  8671. #: 16083 S10/Porting from OS/2   
  8672.     29-Oct-92  11:03:55
  8673. Sb: #16053-Bitmaps on menus
  8674. Fm: Nancy Cluts - Microsoft 70744,20
  8675. To: BENJ FAYLE 71151,1603 (X)
  8676.  
  8677. Hi Benj.
  8678.  
  8679. Under Windows, you can append a bitmap to a menu.  There is a sample in
  8680. Petzold's book called GAFMENU that demonstrates it.  It is in chapter 9.  In
  8681. short, you call AppendMenu( hMenu, MF_BITMAP | MF_POPUP, ..,hBitmap).
  8682.  
  8683. Nancy
  8684.  
  8685.  
  8686.  
  8687.  
  8688. There is 1 Reply.
  8689.  
  8690. #: 16266 S10/Porting from OS/2   
  8691.     30-Oct-92  21:19:36
  8692. Sb: #16083-Bitmaps on menus
  8693. Fm: BENJ FAYLE 71151,1603
  8694. To: Nancy Cluts - Microsoft 70744,20
  8695.  
  8696. Thanks Nancy,
  8697.  
  8698. I've got Petzold's here at my side.  I'd already found the method you'd
  8699. pointed me to but was looking for a resource file approach.  I like the idea
  8700. of having static aspects of my code in resource files and leaving variable
  8701. features for runtime.  I should have phrased my question to ask if there was a
  8702. resource file method of placing bitmaps in menus.
  8703.  
  8704. On the topic of resource file conversion: In OS2 you can flag an entry field
  8705. as ES_READONLY, is there a comparable feature if Windows, either resource or
  8706. runtime?
  8707.  
  8708. Benj
  8709.  
  8710. P.S.  What does John Hall do and what do you do and who should I direct my
  8711. questions towards? 
  8712.  
  8713.  
  8714.  
  8715.  
  8716. #: 15823 S11/Porting from Unix   
  8717.     26-Oct-92  18:40:02
  8718. Sb: Porting from Unix
  8719. Fm: John Richardson 70541,672
  8720. To: sysop (X)
  8721.  
  8722. Hi, I just received my new October NT Beta SDK with the POSIX subsystem.
  8723.  
  8724. I have been doing some testing, and found some issues/limits:
  8725.  
  8726. The common command shell (cmd.exe) can only run programs that end
  8727. with .exe or .com. If I create a program foo.exe, and then copy it to
  8728. foo, in which this is the common UNIX naming for executable programs,
  8729. it will not be run by cmd.exe. I get an error that the command does
  8730. not exist.
  8731.  
  8732.  
  8733. Another issue is when I do a fork() and then an execl() from a POSIX
  8734. program, I can only execl() other POSIX programs. I can not start a
  8735. DOS or even another WIN32 program. Apparently, the standard WIN32
  8736. CreateProcess() can do this.
  8737.  
  8738.  
  8739.                                                 Thanks,
  8740.  
  8741.                                                         JR
  8742.  
  8743.  
  8744. There are 2 Replies.
  8745.  
  8746.  
  8747. #: 15909 S11/Porting from Unix   
  8748.     27-Oct-92  16:16:39
  8749. Sb: #15823-Porting from Unix
  8750. Fm: Arthur Kreitman 76060,2677
  8751. To: John Richardson 70541,672 (X)
  8752.  
  8753. >I have been doing some testing, and found some issues/limits:
  8754.  
  8755. >The common command shell (cmd.exe) can only run programs that >
  8756.  
  8757.  
  8758.  
  8759.   Just wait until you've discovered the real limitations
  8760.  
  8761. #: 15976 S11/Porting from Unix   
  8762.     28-Oct-92  11:47:25
  8763. Sb: #15823-Porting from Unix
  8764. Fm: Steve Firebaugh [MS] 75430,412
  8765. To: John Richardson 70541,672 (X)
  8766.  
  8767. JR,  To answer the concerns you've raised:
  8768.  
  8769.  >The common command shell (cmd.exe) can only run programs that end
  8770.  >with .exe or .com.
  8771.  
  8772. This is by design.  Please notice that the POSIX support in NT is intended to
  8773. be an implementation of the IEEE 1003.1 standard.  It supports a basic POSIX
  8774. application programming interface; it does not provide a POSIX shell. If you
  8775. are looking for a unix-like shell, I am told that Doug Hamilton sells a good
  8776. one.  Please try sending him mail at compuserve address: 70034,2025.
  8777.  
  8778.  >Another issue is when I do a fork() and then an execl() from a POSIX
  8779.  >program, I can only execl() other POSIX programs. I can not start a
  8780.  >DOS or even another WIN32 program.
  8781.  
  8782. This is also by design, and is compliant with the POSIX spec.
  8783.  
  8784. Steve Firebaugh
  8785.  
  8786.  
  8787.  
  8788. There is 1 Reply.
  8789.  
  8790. #: 16014 S11/Porting from Unix   
  8791.     28-Oct-92  18:02:57
  8792. Sb: #15976-Porting from Unix
  8793. Fm: John Richardson 70541,672
  8794. To: Steve Firebaugh [MS] 75430,412 (X)
  8795.  
  8796. RE: POSIX subsystem limits
  8797.  
  8798. I have some more issues in which I am trying to address.
  8799.  
  8800. The first is support for WINSOCK, or some socket abstraction that
  8801. would allow me to connect to other systems.
  8802.  
  8803. I also have been trying to get a named pipe from POSIX to connect
  8804. to a named pipe from WIN32. What I need to do is provide for some
  8805. communications mechanism that would allow a POSIX application to
  8806. communicate with a WIN32 program.
  8807.  
  8808. The specific application that I am working on right now would use an
  8809. X-server running under WIN32 which executes XLIB requests made by
  8810. applications ported to the NT POSIX subsystem. This would allow an
  8811. X-Windows based UNIX program to link with the XLIB, which would use some
  8812. communciations mechanism to talk to the X-server running as a
  8813. native WIN32 application.
  8814.  
  8815. Now there is no 'mixing' of the API's, just the ability to perform
  8816. interprocess communication.
  8817.  
  8818. If named pipes or WINSOCK is not the answer, what is the communications
  8819. mechanism that would allow me to do this?
  8820.  
  8821. One last question which may solve my problem, does the POSIX subsystem
  8822. let me open and access a device? If it does, I could write a virtual
  8823. device driver that would act as a communications layer for my
  8824. application.
  8825.  
  8826.                                                 Thanks,
  8827.  
  8828.                                                         JR
  8829.  
  8830.  
  8831. There are 2 Replies.
  8832.  
  8833. #: 16072 S11/Porting from Unix   
  8834.     29-Oct-92  09:12:42
  8835. Sb: #16014-Porting from Unix
  8836. Fm: Arthur Kreitman 76060,2677
  8837. To: John Richardson 70541,672 (X)
  8838.  
  8839. >The first is support for WINSOCK, or some socket abstraction that
  8840. >would allow me to connect to other systems.
  8841.    Nope, no sockets
  8842.  
  8843.  
  8844. >I also have been trying to get a named pipe from POSIX to connect
  8845. >to a named pipe from WIN32. What I need to do is provide for some
  8846.   Out of luck again.  No named pipes
  8847.   
  8848.   If you have an application that doesn't need to do anything
  8849. beyond reading and writing to a disk file, and doesn't need
  8850. any sort of screen control, the POSIX subsystem is great.
  8851.  
  8852. If you want to do anything worth doing, forget it.
  8853.  
  8854. #: 16246 S11/Porting from Unix   
  8855.     30-Oct-92  18:11:09
  8856. Sb: #16014-Porting from Unix
  8857. Fm: Steve Firebaugh [MS] 75430,412
  8858. To: John Richardson 70541,672 (X)
  8859.  
  8860. JR,  Apparently it is not currently possible to communicate between the posix
  8861. subsystem, and other subsystems with either named pipes, or with sockets. 
  8862. This obviously puts severe restrictions on the utility of a posix program
  8863. running on NT.  I am trying to figure out the recommended method of IPC
  8864. between the posix subsystem, and the rest of the NT environment.  I hope to
  8865. have more information to you by early next week.
  8866.  
  8867. Steve Firebaugh
  8868.  
  8869.  
  8870.  
  8871.  
  8872. #: 15751 S12/API-RPC/WinNet   
  8873.     25-Oct-92  13:43:19
  8874. Sb: #15460-Networking under WOW
  8875. Fm: John Tarbox 71201,2467
  8876. To: Lee Hart [Microsoft] 76150,2536 (X)
  8877.  
  8878. >>>- Mailslots
  8879.  
  8880. >I am not sure about this, primarily because I am not familiar with mailslots
  8881. >under Win16.  I am looking into this (it should be there, I just want to
  8882. >verify)
  8883.  
  8884.     Hi Lee. I can tell you that the implimentation of mailslots under NT has
  8885. changed, particulary in the area of guaranteed delivery (not availible).
  8886.  
  8887. There is 1 Reply.
  8888.  
  8889.  
  8890. #: 15761 S12/API-RPC/WinNet   
  8891.     25-Oct-92  23:50:18
  8892. Sb: #15751-Networking under WOW
  8893. Fm: Lee Hart [Microsoft] 76150,2536
  8894. To: John Tarbox 71201,2467 (X)
  8895.  
  8896. >>>- Mailslots
  8897.  
  8898. >>>Hi Lee. I can tell you that the implimentation of mailslots under
  8899.    NT has changed, particulary in the area of guaranteed delivery
  8900.    (not availible).
  8901.  
  8902. Hi John,
  8903.   Just so that everyone knows exactly what is going on, John is referring to
  8904. the fact that First Class Mailslots are no longer available for Win32 apps.
  8905. The reason this was done is that First Class Mailslots are basically atomic
  8906. Named Pipe operations, and very few developers were actually using them. Since
  8907. any code that relied upon First Class Mailslots can be easily converted to use
  8908. Named Pipes instead, this should not be an issue for anyone.  If it is, please
  8909. pipe up.  (One reason for the demise of First Class Mailslots is the large
  8910. amount of broadcasts required to support them).
  8911.  
  8912. Lee Microsoft Developer Support
  8913.  
  8914. #: 15760 S12/API-RPC/WinNet   
  8915.     25-Oct-92  22:47:22
  8916. Sb: winsock bug?
  8917. Fm: Eric Brown 71214,1006
  8918. To: ALL (tech support?)
  8919.  
  8920. I can't seem to compile the simplest program with #include <winsock.h>. I
  8921. don't know what I'm doing wrong. Here's my program, makefile and nmake output:
  8922. (I'm compiling with the October '92 Beta 1 release under NT.) socktest.c: ----
  8923.  /*
  8924.  * socktest.c
  8925.  * prove we have errors
  8926.  */
  8927.  
  8928. #: 15791 S12/API-RPC/WinNet   
  8929.     26-Oct-92  12:09:15
  8930. Sb: #15760-winsock bug?
  8931. Fm: David Taniguchi [MS] 72350,2054
  8932. To: Eric Brown 71214,1006 (X)
  8933.  
  8934. Hi Eric,
  8935.   You must include windows.h in your source file.  The simplest Windows
  8936.   Sockets program still has to be a Windows program. What I did was take
  8937.   generic.c and add "#include <winsock.h>".  Also, in the makefile add a
  8938.   "mylibs=$(LIB)\wsock32.lib".  In the link line add $(mylibs) after the
  8939.   $(guilibs).
  8940.   Let me know if you need more help,
  8941.   Dave
  8942.  
  8943. #: 15732 S12/API-RPC/WinNet   
  8944.     24-Oct-92  01:25:14
  8945. Sb: RAW IP Support in NT
  8946. Fm: Balaji - SynOptics 76330,1047
  8947. To: SysOp (X)
  8948.  
  8949. Does NT support RAW IP? We need IP and ICMP header information.
  8950. Can I retreive this using WINSOCK API? or I need to use the TDI API's?
  8951.  
  8952. -Balaji
  8953.  
  8954. There is 1 Reply.
  8955.  
  8956. #: 15800 S12/API-RPC/WinNet   
  8957.     26-Oct-92  14:01:28
  8958. Sb: #15732-RAW IP Support in NT
  8959. Fm: David Taniguchi [MS] 72350,2054
  8960. To: Balaji - SynOptics 76330,1047
  8961.  
  8962. Hi Balaji,
  8963.   You don't have access to RAW sockets using WinSockets.  I believe the
  8964.   Windows Socket specifications don't require vendors to support RAW sockets.
  8965.   However, ICMP is supported under NT (ping works).
  8966.   Hope this helps,
  8967.   Dave
  8968.  
  8969. #: 15801 S12/API-RPC/WinNet   
  8970.     26-Oct-92  14:01:32
  8971. Sb: #15598-TTY to TELNET
  8972. Fm: David Taniguchi [MS] 72350,2054
  8973. To: Howard Myers 76711,462
  8974.  
  8975. Hi Howard,
  8976.   Sorry about the delay.  The sysop has been very busy and hasn't had time
  8977.   to upload.  I sent him a note, and it should be up there soon.
  8978.  
  8979.   -Dave
  8980.  
  8981. #: 15864 S12/API-RPC/WinNet   
  8982.     27-Oct-92  10:19:18
  8983. Sb: RPC
  8984. Fm: Bruce Ramsey/Microsoft 70324,2742
  8985. To: Koby 71172,2722 (X)
  8986.  
  8987. Hi Koby -
  8988.  
  8989. >> 1. Apparently there is a mismatch between the on-line
  8990.   documentation and the implementation of
  8991.   RpcMgmtIsServerListening() function.  When the server does not
  8992.   listen, the function returns RPC_S_SERVER_NOT_LISTENING (code
  8993.   1738( rather then RPC_S_NOT_LISTENING (code 1715).
  8994.  
  8995. You're quite right, there is a mismatch here.  Unfortunately this
  8996.   mismatch didn't get corrected in the October CD.  We'll correct
  8997.   the mismatch in a future build.  Thanks for pointing it out
  8998.  
  8999. >> 2. I wrote a prototype with two processes and bi-directional
  9000.   RPC connection (the reversed connection is to avoid the use of
  9001.   the callback mechanism).  Let A, B denote the to processes and
  9002.   A.foo and B.bar two remote function exported by A and B
  9003.   respectively.  I tried recursive call sequence in which A.foo
  9004.   calls B.bar which calls A.foo ...  The sequence seems to hang up
  9005.   after a single call in each direction...
  9006.  
  9007. We are still investigating this.  I apologize for the delay
  9008.  
  9009. Bruce
  9010.  
  9011. #: 15809 S12/API-RPC/WinNet   
  9012.     26-Oct-92  14:59:56
  9013. Sb: RPC name service
  9014. Fm: Christian Betrisey 76600,1450
  9015. To: Microsoft
  9016.  
  9017. I attempt to export a server binding handle to the name service database. The
  9018. call I used to do it is as follows:
  9019.  
  9020. RpcNsBindingExport (0,0,ServerIfHandle,BindingVec,0);
  9021.  
  9022. where, BindingVec is the result of RpcServerInqBindings (). I got the error
  9023. status RPC_S_INCOMPLETE_NAME. I guess I have to put something in the first two
  9024. args, but I do not know what I should put there. I also would like to know
  9025. where you have explanations for the first two args (EntryNameSyntax and
  9026. EntryName).
  9027.  
  9028. Thanks for your help.
  9029.  
  9030. Nick,
  9031.  
  9032. #: 15926 S12/API-RPC/WinNet   
  9033.     27-Oct-92  18:21:25
  9034. Sb: #15809-RPC name service
  9035. Fm: David Taniguchi [MS] 72350,2054
  9036. To: Christian Betrisey 76600,1450 (X)
  9037.  
  9038. Hi Nick,
  9039.   >> I guess I have to put something in the first two args, but I do not
  9040.   know what I should put there. I also would like to know where you have
  9041.   explanations for the first two args (EntryNameSyntax and EntryName).
  9042.  
  9043.   The first argument (EntryNameSyntax) describes the syntax of the second
  9044.   parameter (EntryName).  For example:
  9045.  
  9046.     RpcNsBindingExport( RPC_C_NS_SYNTAX_DEFAULT,..)
  9047.  
  9048.   Will instruct the system to examine the RPC_DEFAULT_ENTRY_SYNTAX
  9049.   environment variable (which most likely is not set).  If this environment
  9050.   variable is NOT set, the DCE (rpc_c_ns_syntax_dce) name syntax will be
  9051.   used.  (Actually, the environment variable is not looked at in this
  9052.   release.  Look at section 1.0 of RPCREAD.ME.  But there are workarounds.)
  9053.  
  9054.   A good example to look at would be Auto-handles.  In autos.c, for Entry-
  9055.   NameSyntax they use RPC_C_NS_SYNTAX_DEFAULT and for EntryName they use
  9056.   "/.:/Autohandle_sample".
  9057.  
  9058.   I found this information in Windows Help, page 10 of the Run-Time API
  9059.   Reference (The second "book" in the RPC programmer's guide), and
  9060.   RPCREAD.ME, which is placed in \mstools\samples\rpc.
  9061.  
  9062.   Hope this helps,
  9063.   Dave
  9064.  
  9065. #: 15752 S12/API-RPC/WinNet   
  9066.     25-Oct-92  13:43:24
  9067. Sb: #15408-Net protocols and NT
  9068. Fm: John Tarbox 71201,2467
  9069. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9070.  
  9071.     Bruce, could you give me the nickel tour of the differences between NDIS
  9072. 3.0 and NDIS 2.x?  Thanks.
  9073.  
  9074. #: 15866 S12/API-RPC/WinNet   
  9075.     27-Oct-92  10:19:37
  9076. Sb: #15752-Net protocols and NT
  9077. Fm: Bruce Ramsey/Microsoft 70324,2742
  9078. To: John Tarbox 71201,2467 (X)
  9079.  
  9080. Hi John -
  9081.  
  9082. >> Bruce, could you give me the nickel tour of the differences
  9083.   between NDIS 3.0 and NDIS 2.x?  Thanks.
  9084.  
  9085. I'll give it a shot, although I'm probably not the best one for
  9086.   this.  If MSWIN32 section 13 isn't open right now, it should be
  9087.   open soon.  The DDK conference is this week and we plan to open
  9088.   section 13 during the conference.  In any case, section 13 is
  9089.   (or will soon be) the place for device driver questions like
  9090.   this
  9091.  
  9092. I expect you know a fair bit of the below, but rather than leave
  9093.   out the parts I'd guess you know, I've included them for the
  9094.   benefit of other forum readers
  9095.  
  9096. Conceptually, NDIS 3.0 and NDIS 2.x are the same.  They both
  9097.   define the upper interface for a network adapter's device
  9098.   driver.  They also define the lower interface for a protocol
  9099.   stack.  The goal of such a spec is to allow any NDIS protocol
  9100.   stack to talk to any NDIS network adapter device driver.  In
  9101.   other words, NDIS is the interface that NDIS protocol stacks use
  9102.   to talk to NDIS network adapter device drivers
  9103.  
  9104.   Needless to say this interchangability is limited to NDIS
  9105.     protocol stacks and NDIS network adapter drivers written for a
  9106.     particular operating system.  An NDIS network adapter device
  9107.     driver for MS-DOS can't run on Windows NT
  9108.  
  9109. From an implementation standpoint, moving a device driver
  9110.   implemented to the NDIS 2.x spec to being a device driver
  9111.   written to the NDIS 3.0 spec is a complete re-code.  I don't
  9112.   know of any NDIS 2.x device drivers that are written in C, and
  9113.   all NDIS 3.0 device drivers are to be written in C for
  9114.   portability across the x86, MIPs, and Alpha platforms
  9115.  
  9116. Even, however, if lots of NDIS 2.x network adapter device drivers
  9117.   were written in C, rework would still be required by the change,
  9118.   because NDIS 2.x network adapter device drivers are written so
  9119.   that they rely on operating system facilities directly.  For
  9120.   example, NDIS 2.x network adapter device drivers for OS/2 1.x
  9121.   are written using DevHelp routines that are provided for use by
  9122.   any type of OS/2 1.x device driver
  9123.  
  9124.  
  9125. [More]
  9126.  
  9127. There is 1 Reply.
  9128.  
  9129. #: 15867 S12/API-RPC/WinNet   
  9130.     27-Oct-92  10:19:43
  9131. Sb: #15866-Net protocols and NT
  9132. Fm: Bruce Ramsey/Microsoft 70324,2742
  9133. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9134.  
  9135. [Continued]
  9136.  
  9137. NDIS 3.0 provides the concept of an "NDIS wrapper", so that NDIS
  9138.   3.0 network adapter device drivers will not directly use any
  9139.   operating system facilities.  Other than using C language and
  9140.   the facilities available to them in their hardware (that is, the
  9141.   network adapter the device driver drives), each NDIS 3.0 network
  9142.   adapter device driver only uses facilities provided to it by the
  9143.   NDIS 3.0 wrapper
  9144.  
  9145. The benefit is that Microsoft can do the work of porting the NDIS
  9146.   wrapper layer to future platforms, and developers of NDIS 3.0
  9147.   network adapter device drivers can port their NDIS 3.0 drivers
  9148.   to the new platform by recompiling their driver to the ported
  9149.   NDIS wrapper
  9150.  
  9151. Bruce
  9152.  
  9153. #: 15782 S12/API-RPC/WinNet   
  9154.     26-Oct-92  11:08:39
  9155. Sb: #15446-Net protocols and NT
  9156. Fm: Paul Kwan 75360,625
  9157. To: Todd Needham [Microsoft] 73650,240
  9158.  
  9159. Hi Todd,
  9160.        I am interested in getting those 2 specs from you too. Here's my
  9161. mailing address:
  9162.  
  9163.        Paul S. Kwan
  9164.        Oris Computer Services,
  9165.        153 8th Ave,
  9166.        San Francisco, CA 94118
  9167.  
  9168.        We are a software development and network consulting company serving
  9169. the Bay Area. TIA...
  9170.  
  9171. PSK
  9172.  
  9173. #: 15871 S12/API-RPC/WinNet   
  9174.     27-Oct-92  10:37:14
  9175. Sb: Net protocols and NT
  9176. Fm: Bruce Ramsey/Microsoft 70324,2742
  9177. To: Sheldon Fox 70162,3422 (X)
  9178.  
  9179. Hi Sheldon (and others) - Section 13 of MSWIN32 is now open.
  9180.   There should be a forum announcement to that effect if there
  9181.   hasn't been one already.  Note that you'll have to take some
  9182.   action with your Compuserve access tool to be able to see this
  9183.   section, just as you would have to take an action with your
  9184.   access tool any time a section is added to any forum.  As an
  9185.   example, if you use Tapcis you will have to do an Alt-J on
  9186.   MSWIN32 again to re-join the forum in order to see section 13,
  9187.   and prior to doing the alt-J you have to edit the list of
  9188.   desired sections to ensure it includes 13
  9189.  
  9190. Again, I apologize for my error and the errors others at Microsoft
  9191.   made when we previously said section 13 was open, or referred
  9192.   people to it when it was in fact not yet public
  9193.  
  9194. As a side note, MSWIN32 section 14 on Win32S specific questions
  9195.   is also now open
  9196.  
  9197. Bruce
  9198.  
  9199.  
  9200.  
  9201. There is 1 Reply.
  9202.  
  9203. #: 15939 S12/API-RPC/WinNet   
  9204.     27-Oct-92  20:16:38
  9205. Sb: #15871-Net protocols and NT
  9206. Fm: Sheldon Fox 70162,3422
  9207. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9208.  
  9209. Bruce,
  9210.  
  9211. Thanks!  /Sheldon
  9212.  
  9213. #: 15741 S12/API-RPC/WinNet   
  9214.     25-Oct-92  00:08:00
  9215. Sb: #15062-Re: Win RPC / UNIX RPC
  9216. Fm: gene saunders 72265,23
  9217. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9218.  
  9219.  
  9220.  
  9221. It was my understanding that the DCE RPC spec is not yet implemented by any
  9222. Unix vendors.  Can that be true?  If so, then what can I connect to for
  9223. testing?  Why no support for ONC RPC, since there's a lot of that out there?
  9224. Doesn't Novell support the ONC form?
  9225.  
  9226. #: 15999 S12/API-RPC/WinNet   
  9227.     28-Oct-92  15:58:09
  9228. Sb: #15741-Re: Win RPC / UNIX RPC
  9229. Fm: Bruce Ramsey/Microsoft 70324,2742
  9230. To: gene saunders 72265,23
  9231.  
  9232. Hi Gene -
  9233.  
  9234. >> It was my understanding that the DCE RPC spec is not yet
  9235.   implemented by any Unix vendors.  Can that be true?  If so, then
  9236.   what can I connect to for testing?  Why no support for ONC RPC,
  9237.   since there's a lot of that out there?  ...
  9238.  
  9239. We aren't planning to support ONC RPC -- we support DCE RPC to
  9240.   UNIX systems.  We expect ONC RPC will be available from third
  9241.   parties
  9242.  
  9243. I'm checking with the OSF (Open Software Foundatation) to see if
  9244.   they can provide a list of Unix vendors that currently offer
  9245.   implementations of DCE RPC
  9246.  
  9247. Bruce
  9248.  
  9249. #: 16041 S12/API-RPC/WinNet   
  9250.     29-Oct-92  00:25:12
  9251. Sb: NT SERVICES
  9252. Fm: D. Le Roux & Associates 70142,3507
  9253. To: Bruce Ramsey 70324,2742 (X)
  9254.  
  9255. We would like to know if the Win32 services API is fully implement in the July
  9256. 92 release of NT since we cannot find the documented functions in the lib's
  9257. eg. OpenSCManager   
  9258. Thanks
  9259.  
  9260. There is 1 Reply.
  9261.  
  9262. #: 16069 S12/API-RPC/WinNet   
  9263.     29-Oct-92  08:49:22
  9264. Sb: #16041-NT SERVICES
  9265. Fm: Bruce Ramsey/Microsoft 70324,2742
  9266. To: D. Le Roux & Associates 70142,3507
  9267.  
  9268. Hi -
  9269.  
  9270. >> We would like to know if the Win32 services API is fully
  9271.   implement in the July 92 release of NT since we cannot find the
  9272.   documented functions in the lib's eg.  OpenSCManager
  9273.  
  9274. The services API unfortunately didn't make it into the July
  9275.   release any further that the help files.  In the October release
  9276.   they're all the way there.  I apologize for any inconvenience
  9277.   resulting from this.  You should, if you haven't already, soon
  9278.   receive your October update
  9279.  
  9280. Bruce
  9281.  
  9282. #: 16049 S12/API-RPC/WinNet   
  9283.     29-Oct-92  05:31:50
  9284. Sb: Adaptor Support under NT
  9285. Fm: Centre File 100015,3565
  9286. To: all
  9287.  
  9288.  
  9289.  
  9290. We are developing server applications using NT and will quite likely require
  9291. many simultaneous connections to that server.
  9292.  
  9293. Is Lanman for NT likely to have support for multiple addapters?  If so, will
  9294. there be any impact on our useage of Named Pipes?
  9295.  
  9296. Does anybody have any idea of what the connection limit will be?
  9297.  
  9298.  
  9299. Kaz Librowski  Centrefile
  9300.  
  9301. There is 1 Reply.
  9302.  
  9303. #: 16078 S12/API-RPC/WinNet   
  9304.     29-Oct-92  10:46:51
  9305. Sb: #16049-Adaptor Support under NT
  9306. Fm: Bruce Ramsey/Microsoft 70324,2742
  9307. To: Centre File 100015,3565
  9308.  
  9309. Hi Kaz -
  9310.  
  9311. >> We are developing server applications using NT and will quite
  9312.   likely require many simultaneous connections to that server
  9313.  
  9314. It's highly likely any such app will run out of resources such as
  9315.   cpu cycles, io capacity, etc, before running out of named pipes
  9316.   connections.  The limit is not exactly, but very close to, 2**32
  9317.  
  9318. >> Is Lanman for NT likely to have support for multiple addapters?
  9319.  
  9320. Yes, the support is in both the July and October releases, and
  9321.   will be in the future release
  9322.  
  9323. >> If so, will there be any impact on our useage of Named Pipes?
  9324.  
  9325. I don't believe adding more another net card will change the limit
  9326.   from being close to 2**32.  OTOH, adding another net card may
  9327.   increase system through-put if the network adapter is a limiting
  9328.   performance factor.  Whether the net adapter is a limiting
  9329.   performance factor varies a lot depending on network adapter
  9330.   used, bus type, and lots of other factors including application
  9331.   issues
  9332.  
  9333. >> Does anybody have any idea of what the connection limit will
  9334.   be?
  9335.  
  9336. We'll be publishing exact system limits on things like this as
  9337.   soon as we can draw up the list, but it may unfortunately be
  9338.   several months before the list is ready.  OTOH, as I mentioned
  9339.   above, this limit will be close to 2**32, so in practice this
  9340.   limit won't be the gating factor for the foreseeable future
  9341.  
  9342. You may not be interested in this next note, but I'll include it
  9343.   anyway for the benefit of other forum readers.  NetBIOS apps are
  9344.   still limited in the number of sessions they can support.  This
  9345.   is due to compatability needed with the existing definition of
  9346.   the NCB data structure.  If you have the July or October CD for
  9347.   developers, see \mstools\h\nb30.h, line 42 (in October CD
  9348.   anyway) where ncb_lsn is defined as a one byte field
  9349.  
  9350. We can't change that from one byte, so NetBios apps are going to
  9351.   have the same close-to-2**8 limits they've always had.  This is
  9352.   one good reason to move high-capacity apps to named pipes or
  9353.   RPC.  When RPC or named pipes ride on top of NetBIOS as an
  9354.  
  9355. [More]
  9356.  
  9357. There is 1 Reply.
  9358.  
  9359. #: 16079 S12/API-RPC/WinNet   
  9360.     29-Oct-92  10:46:57
  9361. Sb: #16078-Adaptor Support under NT
  9362. Fm: Bruce Ramsey/Microsoft 70324,2742
  9363. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9364.  
  9365. [Continued]
  9366.  
  9367.   underlying transport, we do all the work of multiplexing named
  9368.   pipes (or RPC) sessions on top of fewer NetBIOS sessions
  9369.  
  9370. This multiplexing is work NetBIOS app developers could choose to
  9371.   do for themselves if they wished to have a higher capacity
  9372.   NetBIOS app and still be using NetBIOS rather that named pipes
  9373.   or RPC.  I would caution, however, that the amount of work is
  9374.   not trivial to produce a fast general solution.  And of course,
  9375.   even when done, the model the app uses is still the NetBIOS
  9376.   model.  I would suggest that before undertaking to work like a
  9377.   fiend to expand NetBIOS capacity by doing the multiplexing
  9378.   oneself, one would want to take a look at the other advantages
  9379.   offered by the named pipes and RPC models
  9380.  
  9381. Bruce
  9382.  
  9383. #: 15862 S12/API-RPC/WinNet   
  9384.     27-Oct-92  10:08:00
  9385. Sb: Win16 Netbios problem
  9386. Fm: Michael Lynch 76260,1670
  9387. To: SYSOP (X)
  9388.  
  9389. I am trying to operate several Windows 16-bit apps which use Netbios to
  9390. communicate with other programs. These apps appear to start up but always exit
  9391. without warning after 3 seconds of life. The autoexec and config files
  9392.  appear to have the REDIR and DOSX lines in them. The network is fully
  9393. installed as near as I can tell. I have added the TCP/IP support, and can
  9394. access network disks over both Netbeui and TCP/IP. Protocol.INI looks like it
  9395. does for my Windows For Workgroups version, so it looks ok... I am running the
  9396. October Beta of /NT. I did not have any luck for different
  9397.  reasons trying to run these apps in the 1st Beta. Can you give me some
  9398. direction as to where to look for my problem? These apps work fine in both
  9399. Win3.1 and WFW3.1 on the same machine. Thanks Mike
  9400.  
  9401. There is 1 Reply.
  9402.  
  9403. #: 16108 S12/API-RPC/WinNet   
  9404.     29-Oct-92  13:32:41
  9405. Sb: #15862-Win16 Netbios problem
  9406. Fm: Bruce Ramsey/Microsoft 70324,2742
  9407. To: Michael Lynch 76260,1670
  9408.  
  9409. Hi Mike  -
  9410.  
  9411. >> I am trying to operate several Windows 16-bit apps which use
  9412.   Netbios to communicate with other programs.  These apps appear
  9413.   to start up but always exit without warning after 3 seconds of
  9414.   life.  The autoexec and config files appear to have the REDIR
  9415.   and DOSX lines in them.  The network is fully installed as near
  9416.   as I can tell.  I have added the TCP/IP support, and can access
  9417.   network disks over both Netbeui and TCP/IP.  Protocol.INI looks
  9418.   like it does for my Windows For Workgroups version, so it looks
  9419.   ok...  I am running the October Beta of /NT.  I did not have any
  9420.   luck for different reasons trying to run these apps in the 1st
  9421.   Beta.  Can you give me some direction as to where to look for my
  9422.   problem?  These apps work fine in both Win3.1 and WFW3.1 on the
  9423.   same machine
  9424.  
  9425. The methods you may be used to using to debug 16-bit apps for
  9426.   Windows may not work for you in the October build.  So, you may
  9427.   have to resort to adding some printf statments in various places
  9428.   where the app may be after about 3 seconds, to log to a file how
  9429.   far the app got successfully.  After a few iterations of putting
  9430.   in printf statements, rebuilding and retrying, the log should
  9431.   show where the app is when the October build is failing
  9432.  
  9433. Another test you could try (if you haven't already) is to remove
  9434.   TCP/IP to see if it's presence on the system is at all related
  9435.  
  9436. We've tried a number of 16-bit named pipes and netbios apps on the
  9437.   October build and they work, but that doesn't mean there aren't
  9438.   any remaining problems in this area.  We appreciate any further
  9439.   info you can provide regarding the apps that don't work for you
  9440.   so we can work on correcting any remaining problems.  Thanks!
  9441.  
  9442. Bruce
  9443.  
  9444. #: 16087 S12/API-RPC/WinNet   
  9445.     29-Oct-92  11:24:43
  9446. Sb: Promiscuous Rcv
  9447. Fm: Christian Beaumont 100034,2326
  9448. To: All
  9449.  
  9450. I am working on a tool for MIS managers to show network load, contents of
  9451. packets, average packet size, most active machines on a net. For this I rely
  9452. on having a network card that supports promiscuous receive mode and up until
  9453. recently the clarkson packet drivers. Am I correct that in order to do this
  9454. under NT I will require the DDK and an understanding of the NDIS 3.0 spec?
  9455.  
  9456. Thanks in advance. Christian Beaumont
  9457.  
  9458. There is 1 Reply.
  9459.  
  9460. #: 16107 S12/API-RPC/WinNet   
  9461.     29-Oct-92  13:32:30
  9462. Sb: #16087-Promiscuous Rcv
  9463. Fm: Bruce Ramsey/Microsoft 70324,2742
  9464. To: Christian Beaumont 100034,2326 (X)
  9465.  
  9466. Hi Christian -
  9467.  
  9468. >> I am working on a tool for MIS managers to show network load,
  9469.   contents of packets, average packet size, most active machines
  9470.   on a net.  For this I rely on having a network card that
  9471.   supports promiscuous receive mode and up until recently the
  9472.   clarkson packet drivers.  Am I correct that in order to do this
  9473.   under NT I will require the DDK and an understanding of the NDIS
  9474.   3.0 spec?
  9475.  
  9476. I'm not familiar with the clarkson packet drivers, however it does
  9477.   sound like these drivers will need to be ported to Windows NT,
  9478.   or equivalent drivers written, and you're correct that the DDK
  9479.   and NDIS 3.0 will be needed for this.  I use the word port here
  9480.   loosely, as most existing network adapter drivers are written in
  9481.   .asm, and all NDIS 3.0 drivers are written in C
  9482.  
  9483. It also sounds like the Win32 Preliminary SDK for Windows NT will
  9484.   also be needed for some of the other parts of the tool - this
  9485.   may be obvious to you, but for the benefit of other forum
  9486.   readers I thought I'd risk belaboring the obvious :), and point
  9487.   out that apps like this that need both a device driver component
  9488.   and a Win32 app component will need both development kits
  9489.  
  9490. The DDK can be ordered via a coupon on page 16 of vol 1 num 2 of
  9491.   the Microsoft Developer's Network Newsletter, or as that issue
  9492.   mentions on page 10, you can call 800-227-4679 ext 11771
  9493.  
  9494. Section 13 of MSWIN32 is now open for DDK questions, so if you
  9495.   have more questions on NDIS 3.0, device drivers for network
  9496.   adapters, etc, that's where the people who are most focussed on
  9497.   those issue are
  9498.  
  9499. Bruce
  9500.  
  9501.  
  9502.  
  9503. There is 1 Reply.
  9504.  
  9505. #: 16173 S12/API-RPC/WinNet   
  9506.     30-Oct-92  03:07:00
  9507. Sb: #16107-Promiscuous Rcv
  9508. Fm: Christian Beaumont 100034,2326
  9509. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9510.  
  9511. Thanks for the speedy response Bruce. Chris
  9512.  
  9513. #: 16055 S12/API-RPC/WinNet   
  9514.     29-Oct-92  06:45:12
  9515. Sb: How do I get user list?
  9516. Fm: Bob Byron 70107,1734
  9517. To: All
  9518.  
  9519.  
  9520. Regarding NT, I was wondering how, via the API, I would go about getting a 
  9521. list of users that are logged in to a network.  I guess I would start with my 
  9522. system, and want to get the name of the user logged in to it.  I guess I 
  9523. would also need to know what other systems are on the network and get the name 
  9524. of the user on each of those systems.  But, what are the calls involved?  
  9525. Also, is there a way to find out what systems are on the network?  Or, do I 
  9526. have to know that ahead of time.  These are probably more general questions, 
  9527. but I am just learning this stuff.    
  9528.  
  9529. Thanks, Bob 
  9530.  
  9531.  
  9532. By the way, if this is not the write area for this question, please move this
  9533. note to the appropriate place.
  9534.  
  9535. There is 1 Reply.
  9536.  
  9537. #: 16088 S12/API-RPC/WinNet   
  9538.     29-Oct-92  11:53:24
  9539. Sb: #16055-How do I get user list?
  9540. Fm: David Taniguchi [MS] 72350,2054
  9541. To: Bob Byron 70107,1734 (X)
  9542.  
  9543. Hi Bob,
  9544.   Currently with the SDK there is nothing which will allow you to get the
  9545.   names of the users.  We are checking into making this information
  9546.   available to the programmer.
  9547.   Thanks,
  9548.   Dave
  9549.  
  9550.  
  9551.  
  9552. There is 1 Reply.
  9553.  
  9554. #: 16183 S12/API-RPC/WinNet   
  9555.     30-Oct-92  07:39:10
  9556. Sb: #16088-How do I get user list?
  9557. Fm: Bob Byron 70107,1734
  9558. To: David Taniguchi [MS] 72350,2054 (X)
  9559.  
  9560. Thank you for your reply, although I was hoping for a more favorable answer.
  9561. How about getting the list of nodes attached to the network?  Seems to me, if
  9562. I can get a node list of all the nodes on the network, that would be a good
  9563. start.  Then if I got the user on that system...  Are you saying I cannot even
  9564. query the machine I am on for the user logged in?  Also, am I logged in to the
  9565. "console"?  Is "console" the write term you have assigned to the keyboard and
  9566. monitor?
  9567.  
  9568. By the way, what is WinNet responsible for then?  I assume pier to pier file
  9569. io, but what else?
  9570.  
  9571. If you would, I would hope you will answer every question please.
  9572.  
  9573. Thanks, Bob Byron
  9574.  
  9575. There is 1 Reply.
  9576.  
  9577. #: 16204 S12/API-RPC/WinNet   
  9578.     30-Oct-92  11:54:13
  9579. Sb: #16183-How do I get user list?
  9580. Fm: David Taniguchi [MS] 72350,2054
  9581. To: Bob Byron 70107,1734 (X)
  9582.  
  9583. Hi Bob,
  9584.   Since it's a relatively short list, let me list the API and a brief
  9585.   description of what it does.  All these API are provided in the SDK.
  9586.  
  9587.   WNetAddConnection() - Connect to network resource (disk, printer)
  9588.   WNetCancelConnectio() - Break an existing network connection.
  9589.   WNetOpenEnum() - Starts enumeration of network resources.
  9590.   WNetCloseEnum() - ends a network resource enumeration
  9591.   WNetConnectionDialog() - Starts a general browsing dialog
  9592.   WNetGetUser() - Retrieves the current default user name or the user
  9593.     name used to establish a network connection.
  9594.  
  9595.  
  9596.   >How about getting the list of nodes attached to the network?
  9597.  
  9598.   You can enumerate all the NT machines and what resources they have
  9599.   available on the network.
  9600.  
  9601.   >You can enumerate Seems to me, if I can get a node list of all the nodes
  9602.   >on the network, that would be a good start.  Then if I got the user on
  9603.   >that system...  Are you saying I cannot even query the machine I am on for
  9604.   >the user logged in?
  9605.  
  9606.   WNetGetUser() provides the user that's currently logged on.
  9607.  
  9608.   >Also, am I logged in to the "console"?  Is "console" the write term
  9609.   >you have assigned to the keyboard and monitor?
  9610.  
  9611.   I would say logged in to MACHINENAME.  This seems more appropriate (IMHO).
  9612.   Even more descriptive would be logged into MACHINENAME on the DOMAINNAME
  9613.   domain.
  9614.  
  9615.   >By the way, what is WinNet responsible for then?  I assume pier to pier
  9616.   >file io, but what else?
  9617.  
  9618.   I assume you mean the WNet prefixed API.  These are network independent
  9619.   functions to add and cancel network connections and to retrieve info.
  9620.   about the current configuration of the network. (from winhelp)
  9621.  
  9622.   If you happen to have the SDK, bring up the Win32 API Reference, and
  9623.   browse through the networks overview and related topics.  This explains
  9624.   what capabilities are present.
  9625.  
  9626.   If you have more questions, feel free to post,
  9627.   Dave
  9628.  
  9629. #: 16099 S12/API-RPC/WinNet   
  9630.     29-Oct-92  13:28:02
  9631. Sb: network registry access
  9632. Fm: Andrew Potter 71075,614
  9633. To: all
  9634.  
  9635.  
  9636. I have several related questions as to how the NT registry might be used to
  9637. manage information accross the network.
  9638.  
  9639. Can the Registry provide shared user id information?  Can the Registry be
  9640. queried for information across the network?  Is the information provided by
  9641. the registry distributed to all the machines?
  9642.  
  9643. What tools are provided to interface with the Registry?
  9644.  
  9645. Thanks,
  9646.  
  9647. Andrew
  9648.  
  9649.  
  9650.  
  9651. There is 1 Reply.
  9652.  
  9653. #: 16136 S12/API-RPC/WinNet   
  9654.     29-Oct-92  16:41:04
  9655. Sb: #16099-network registry access
  9656. Fm: Bruce Ramsey/Microsoft 70324,2742
  9657. To: Andrew Potter 71075,614 (X)
  9658.  
  9659. Hi Andrew  -
  9660.  
  9661. >> I have several related questions as to how the NT registry
  9662.   might be used to manage information accross the network
  9663.  
  9664. From the questions I'm unsure whether you're asking about managing
  9665.   user account/password/group info, or something else
  9666.  
  9667. Special tools for managing user account/password/group info across
  9668.   the net are included in LAN Manager for Windows NT
  9669.  
  9670. >> Can the Registry provide shared user id information?
  9671.  
  9672. When LAN Manager for Windows NT is employed, yes.  Otherwise, I
  9673.   don't think so, but it may depend on what you're after.  If this
  9674.   response doesn't answer what you're asking, please ask again
  9675.  
  9676. >> Can the Registry be queried for information across the network?
  9677.  
  9678. Yes, please see the RegConnectRegistry api in the Win32 api help
  9679.   files
  9680.  
  9681. >> Is the information provided by the registry distributed to all
  9682.   the machines?
  9683.  
  9684. No, not in the general case.  LAN Manager for Windows NT adds the
  9685.   concept of domains, and manages user account/password/group info
  9686.   across an entire domain.  Primary Domain Controllers and Backup
  9687.   Domain Controllers in a domain take part in a process
  9688.   automatically managed by LAN Manager for Windows NT where all
  9689.   the user account/password/group info for the domain is
  9690.   replicated among the PDC and all BDCs
  9691.  
  9692. >> What tools are provided to interface with the Registry?
  9693.  
  9694. Please see the Registry and Initialization files Overview in the
  9695.   Win32 help files, and also see the list of Regxxxxx api's in the
  9696.   Win32 help file
  9697.  
  9698. Bruce
  9699.  
  9700.  
  9701.  
  9702. There is 1 Reply.
  9703.  
  9704. #: 16219 S12/API-RPC/WinNet   
  9705.     30-Oct-92  14:13:48
  9706. Sb: #16136-network registry access
  9707. Fm: Andrew Potter 71075,614
  9708. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9709.  
  9710.  
  9711. Thanks, Bruce.  One more question. If LANManager can administer user account
  9712. information, can it be used to manage other user defined information? For
  9713. example, project_A's design files are located on server_A_proj under the
  9714. /proj_A file system and project_A's database is located on server_DB_A_proj
  9715. under the /proj_A file system. If LANManager cannot do the above example, can
  9716. the registry provide the above information?
  9717.  
  9718.   Andrew
  9719.  
  9720. #: 15865 S12/API-RPC/WinNet   
  9721.     27-Oct-92  10:19:24
  9722. Sb: #15719-RPC nesting alls
  9723. Fm: Bruce Ramsey/Microsoft 70324,2742
  9724. To: Koby 71172,2722 (X)
  9725.  
  9726. Hi Koby -
  9727.  
  9728. >> 1. Apparently there is a mismatch between the on-line
  9729.   documentation and the implementation of
  9730.   RpcMgmtIsServerListening() function.  When the server does not
  9731.   listen, the function returns RPC_S_SERVER_NOT_LISTENING (code
  9732.   1738( rather then RPC_S_NOT_LISTENING (code 1715).
  9733.  
  9734. You're quite right, there is a mismatch here.  Unfortunately this
  9735.   mismatch didn't get corrected in the October CD.  We'll correct
  9736.   the mismatch in a future build.  Thanks for pointing it out
  9737.  
  9738. >> 2. I wrote a prototype with two processes and bi-directional
  9739.   RPC connection (the reversed connection is to avoid the use of
  9740.   the callback mechanism).  Let A, B denote the to processes and
  9741.   A.foo and B.bar two remote function exported by A and B
  9742.   respectively.  I tried recursive call sequence in which A.foo
  9743.   calls B.bar which calls A.foo ...  The sequence seems to hang up
  9744.   after a single call in each direction...
  9745.  
  9746. We are still investigating this.  I apologize for the delay
  9747.  
  9748. Bruce
  9749.  
  9750. #: 16251 S12/API-RPC/WinNet   
  9751.     30-Oct-92  18:55:44
  9752. Sb: #15719-RPC nesting alls
  9753. Fm: Bruce Ramsey/Microsoft 70324,2742
  9754. To: Koby 71172,2722
  9755.  
  9756. Hi Koby - Regarding the nesting of RPC calls, or rather the having
  9757.   A call B.bar and B call A.foo, first, I apologize for the delay
  9758.   responding.  I further apologize because I don't yet have a
  9759.   complete answer for you
  9760.  
  9761. I did get A calling B.bar and B calling A.foo to a depth of
  9762.   several times, however this is a preliminary result.  The basic
  9763.   calls seem to work, but yet not everything.  I still need to
  9764.   clean up the sample and test it on different protocol sequences
  9765.  
  9766. Item 25 in the file on the October CD
  9767.   \mstools\samples\rpc\rpcread.me indicates this won't work in the
  9768.   October build using netbios, so I don't expect to get this to
  9769.   work with all protocol sequences on the October build
  9770.  
  9771. The first version of the test program I tried failed after one
  9772.   call each of A.foo and B.bar, due to the binding handles for
  9773.   both processes (needed to make calls to the remote procedures)
  9774.   not having been established yet.  Adding critical sections
  9775.   (other synchronization methods would also work) to ensure that
  9776.   the needed binding handles were ready before making calls
  9777.   relying on the binding handles was necessary in my test case to
  9778.   get past this hurdle
  9779.  
  9780. You're probably already well aware of this, but I'll mention it
  9781.   anyway for the benefit of other forum readers
  9782.  
  9783. A.foo calling B.bar where B.bar is a remote procedure, then having
  9784.   B.bar call A.foo where A.foo is also a remote procedure, differs
  9785.   from having foo and bar be mutually recursive procedures in the
  9786.   same thread in a single process.  Of course it differs :-), in
  9787.   several ways, but two things in particular to bear in mind are
  9788.   the thread and stack differences
  9789.  
  9790.   In the mutually recursive case where both A.foo and B.Bar are in
  9791.     the same thread in the same process, another recursive call to
  9792.     either function doesn't spawn a thread.  But when they are
  9793.     each remote procedure calls, every additional call spawns a
  9794.     thread in the serving RPC process to service the remote call
  9795.  
  9796.   Then of course, the thread spawned has it's own stack.  Which
  9797.     differs from the mutually recursive case where both A.foo and
  9798.  
  9799. [More]
  9800.  
  9801. There is 1 Reply.
  9802.  
  9803. #: 16252 S12/API-RPC/WinNet   
  9804.     30-Oct-92  18:55:51
  9805. Sb: #16251-RPC nesting alls
  9806. Fm: Bruce Ramsey/Microsoft 70324,2742
  9807. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  9808.  
  9809. [Continued]
  9810.  
  9811.     B.Bar are in the same thread in the same process:  in that
  9812.     case there's only one stack
  9813.  
  9814. I'll post more info from further work with the test case as soon
  9815.   as I can
  9816.  
  9817. Bruce
  9818.  
  9819.  
  9820.  
  9821.  
  9822. #: 15892 S13/Windows NT DDK   
  9823.     27-Oct-92  15:15:32
  9824. Sb: #15564-AT DMA and HAL
  9825. Fm: Paul Sanders [Microsoft] 72350,2053
  9826. To: Michael Hall 72607,3422
  9827.  
  9828. Clay,
  9829.    I'm not going to do anything about your HalReadDmaCounter until after you
  9830. have tested it on the latest DDK.  If it is still a problem with the new DDK,
  9831. let me know and I will bug it.
  9832.  
  9833. Thanks,
  9834.  
  9835. Paul Sanders, Microsoft
  9836.  
  9837.  
  9838. #: 16011 S13/Windows NT DDK   
  9839.     28-Oct-92  17:45:43
  9840. Sb: KD won't show local Symb
  9841. Fm: Jim Harford 72350,3705
  9842. To: All
  9843.  
  9844. I am using the July SDK/DDK and am unable to get the Kernel Debugger
  9845. to display local symbols using the "." command as indicated in its
  9846. help screen.  I have also attempted to get the compiler to use the /ZI option
  9847. by setting NTDEBUG=ntsd.  Can you tell me what I am doing wrong?
  9848.  
  9849. #: 15980 S13/Windows NT DDK   
  9850.     28-Oct-92  13:06:19
  9851. Sb: Kernel Debugger question
  9852. Fm: Michel J. Tremblay 72360,132
  9853. To: Michel J. Tremblay, 72360,132 (X)
  9854.  
  9855. Hi
  9856.  
  9857. This is a question about the Kernel debugger. How do I get symbolic
  9858. information for the driver I want to debug ? It looks like the debugger gives
  9859. me symbolic information about ntoskrnl.exe only. If I invoke the debugger with
  9860.   i386kd -v \path\mydriver.exe \path\ntoskrnl.exe I cannot get symbolic
  9861. information for my driver.
  9862.  
  9863. Michel
  9864.  
  9865. There is 1 Reply.
  9866.  
  9867. #: 16064 S13/Windows NT DDK   
  9868.     29-Oct-92  08:09:52
  9869. Sb: #15980-Kernel Debugger question
  9870. Fm: Paul Sanders [Microsoft] 72350,2053
  9871. To: Michel J. Tremblay 72360,132 (X)
  9872.  
  9873. Michael,
  9874.     The directory that the kernel debugger searches for symbols is hard coded,
  9875. unfortunately.  It's not a major problem though.  All you have to do is set
  9876. the environment variable, _NT_SYMBOL_PATH, and then make the following
  9877. directories, ..\nt\system\drivers
  9878.  
  9879.     So, for example :
  9880.  
  9881. set _NT_SYMBOL_PATH=e:\debug
  9882.  
  9883.     Then copy your drivers to e:\debug\nt\system\drivers.  Also, copy HAL.DLL,
  9884. NTDLL.DLL and NTOSKRNL.EXE to e:\debug\nt\system.
  9885.  
  9886.     Then invoke the kernel debugger with :
  9887.  
  9888. i386kd -v e:\debug\nt\system\ntoskrnl.exe
  9889.  
  9890. This should allow you to access your driver symbols.
  9891.  
  9892. Paul Sanders, Microsoft
  9893.  
  9894. #: 15936 S13/Windows NT DDK   
  9895.     27-Oct-92  19:21:15
  9896. Sb: Editor setup
  9897. Fm: jon behrens 71302,3023
  9898. To: sysop (X)
  9899.  
  9900. I have just gotten my mswin32 sdk and am having a bit of trouble gettint
  9901. things set up properly. I am new to pc's (I come from UNIX), so please give me
  9902. help in simple terms. I have a 486 with a non scsi cdrom and a reasonable
  9903. amount of memory and hard disk. If there is an archive of frequently asked
  9904. quesitons about setup, that would be very helpful. My immediate question
  9905. concerns the editor MEP. Mine comes up with a black window and no menu bar.
  9906. Further, it does not respond to any of the key cords described in the file
  9907. tools.ini. Changing the tools.ini file per the instructions has no effect on
  9908. either the appearance or the function of the editor. What am I missing? Thank
  9909. you for the help...
  9910.  Jon
  9911.  
  9912. There are 2 Replies.
  9913.  
  9914. #: 15974 S13/Windows NT DDK   
  9915.     28-Oct-92  11:45:53
  9916. Sb: #15936-Editor setup
  9917. Fm: Dan Knudson [Microsoft] 72350,2055
  9918. To: jon behrens 71302,3023 (X)
  9919.  
  9920. <<My immediate question concerns the editor MEP. Mine comes up with a black
  9921. window and no menu bar. Further, it does not respond to any of the key cords
  9922. described in the file tools.ini. Changing the tools.ini file per the
  9923. instructions has no effect on either the appearance or the function of the
  9924. editor.>>
  9925.  
  9926. mep looks for tools.ini to be in the directory pointed at by the "init"
  9927. environment variable. if you go to the command line & type "set init=c:\init"
  9928. (or whatever directory your tools.ini resides in) then invoke mep, it will be
  9929. able to find tools.ini & make the appropriate key bindings. the "set" command
  9930. i mentioned will only set the environment for the particular command prompt
  9931. instance; to set this variable value system-wide (for the current user) go to
  9932. the control panel & start the "System" applet & add/change the variable(s).
  9933.  
  9934. i'm not sure about the faq status, but your opsys install questions will be
  9935. best answered in WINNT, where MSWIN32 focuses on sdk & ddk (developeroriented)
  9936. issues.
  9937.  
  9938. dan
  9939.  
  9940. #: 16048 S13/Windows NT DDK   
  9941.     29-Oct-92  05:03:01
  9942. Sb: #15936-Editor setup
  9943. Fm: Al Longyear 70165,725
  9944. To: jon behrens 71302,3023 (X)
  9945.  
  9946. Since you came from UNIX, there is an EMACS clone editor called MicroEmacs in
  9947. the download libraries. You might find it more compatable to your brain than
  9948. Microsoft's older C version 4 style editor. (Just though that I'd mention it.)
  9949.  
  9950. There is 1 Reply.
  9951.  
  9952. #: 16070 S13/Windows NT DDK   
  9953.     29-Oct-92  08:57:28
  9954. Sb: #16048-Editor setup
  9955. Fm: jon behrens 71302,3023
  9956. To: Al Longyear 70165,725 (X)
  9957.  
  9958. Thank you both for the help. Jon
  9959.  
  9960. #: 16131 S13/Windows NT DDK   
  9961.     29-Oct-92  15:39:00
  9962. Sb: Device IO control for NT
  9963. Fm: Robert Strickler 71160,2462
  9964. To: ALL
  9965.  
  9966. I know this is a shtupid question, nevertheless here we go. Given a scsi
  9967. toaster device driver which has a browning control whose value is get/put by
  9968. the drivers' public control code
  9969.  
  9970. #: 16032 S13/Windows NT DDK   
  9971.     28-Oct-92  20:16:18
  9972. Sb: Open SCSI w/CreateFile()
  9973. Fm: Jim Gill 70530,1771
  9974. To: Paul Sanders 72350,2053 (X)
  9975.  
  9976. Howdy.
  9977.  
  9978. I'm wanting to send a DeviceIOControl ioctl (a cdb not otherwise supported by
  9979. the standard calls) to my SCSI hard disk.  I've read the thread about the port
  9980. driver making a name available with IOAssignArcName() but since source for the
  9981. SCSI port driver isn't on my DDK disk I don't know what name was assigned.
  9982.  
  9983. For sake of this message assume my drive is the one and only SCSI unit on the
  9984. one and only SCSI adapter (a Future Domain 1660 tho this shouldn't matter), at
  9985. ID 0/LUN 0.
  9986.  
  9987. Two questions:
  9988.  
  9989. (1) What name (in the form I would pass to CreateFile()) will be assigned to
  9990. this unit?  For example, the IDE hard disk driver seems to make names like
  9991. "\ArcName\multi(0)disk(0)rdisk(0)", how much of this gets passed to
  9992. CreateFile()?  The "arcname" part might not be right, don't let this throw
  9993. you.
  9994.  
  9995. (2) Are there any special access flags I mustn't forget when I call
  9996. CreateFile()?
  9997.  
  9998.  
  9999.  
  10000. There is 1 Reply.
  10001.  
  10002. #: 16100 S13/Windows NT DDK   
  10003.     29-Oct-92  13:29:01
  10004. Sb: #16032-Open SCSI w/CreateFile()
  10005. Fm: Paul Sanders [Microsoft] 72350,2053
  10006. To: Jim Gill 70530,1771 (X)
  10007.  
  10008. Jim,
  10009.     SCSI miniport drivers are not designed for an IOCtl interface.  If you
  10010. want to use a unique CDB, I believe you will have to install a filter driver.
  10011. You should have your new DDK by now (if not, then very soon).  Look at the
  10012. code for CDAUDIO.  This is a filter driver that converts SCSI-II audio
  10013. commands to SCSI-I commands that are equivalent for a few select CD players.
  10014.  
  10015.     I know I have glossed over this, but examine the CDAUDIO code and also
  10016. review the documentation about filter drivers.
  10017.  
  10018. Let me know if you need more information,
  10019.  
  10020. Paul Sanders, Microsoft
  10021.  
  10022.  
  10023.  
  10024.  
  10025. There is 1 Reply.
  10026.  
  10027. #: 16165 S13/Windows NT DDK   
  10028.     29-Oct-92  21:48:42
  10029. Sb: #16100-Open SCSI w/CreateFile()
  10030. Fm: Jim Gill 70530,1771
  10031. To: Paul Sanders [Microsoft] 72350,2053 (X)
  10032.  
  10033. Paul, thanks for the quick response.  I'm sorry but I need a little more info
  10034. (well, actually, I'm just hoping for *different* info :-) )
  10035.  
  10036. I think you're right about miniport drivers.  Luckily, I believe I'm supposed
  10037. to send the request to the SCSI class driver, or possibly the port driver. 
  10038. But I haven't been able to find their names, either.
  10039.  
  10040. Section B.4.5 of my DDK guide documents IRP_MJ_DEVICE_CONTROL, and says this
  10041. can be reached when "a Win32 application has called DeviceIoControl, or a
  10042. higher-level driver has set up such a request."
  10043.  
  10044. Then table B-20 documents IOCTL_PASS_THROUGH for the SCSI port driver.  The
  10045. part I don't quite follow is where the description goes "The application must
  10046. specify either the target device if it is controlled by a class driver (and
  10047. this IOCTL must be directed to the class driver), or the application must
  10048. specify the target logical unit if no class driver 'owns' the device (and this
  10049. IOCTL must be directed to the port driver)."
  10050.  
  10051. I figure the SCSI class driver "owns" SCSI hard disks, maybe leaving weird
  10052. devices like a SCSI toaster at the port driver level.  The pass-thru struct
  10053. lets structure lets my app specify path/target/lun info and CDB.
  10054.  
  10055. Could you ask your sources about opening the SCSI class driver from
  10056. CreateFile()?  Thanks in advance.
  10057.  
  10058. #: 16174 S13/Windows NT DDK   
  10059.     30-Oct-92  03:13:27
  10060. Sb: Promiscuous RX Stack?
  10061. Fm: Christian Beaumont 100034,2326
  10062. To: All
  10063.  
  10064. Hi, this is a continuation of something I posted in the Net section.
  10065.  
  10066. I need to do promiscuous receive (assuming the hardware can do it) from the
  10067. ether card. Is it possible to add such a stack to NDIS 3.0 easily? I am
  10068. currently awaiting my DDK CD and hope that I might find something on there to
  10069. help me - am I right?
  10070.  
  10071. Christian Beaumont
  10072.  
  10073. #: 16192 S13/Windows NT DDK   
  10074.     30-Oct-92  09:46:27
  10075. Sb: Updating from July DDK
  10076. Fm: Robert Strickler 71160,2462
  10077. To: SYSOP (X)
  10078.  
  10079. What do we need to do to update from our july DDK to the new october release?
  10080.  
  10081. #: 15798 S13/Windows NT DDK   
  10082.     26-Oct-92  13:57:48
  10083. Sb: #15688-Miniport Ques
  10084. Fm: Paul Sanders [Microsoft] 72350,2053
  10085. To: Bob Roycroft 71431,3206
  10086.  
  10087. Bob,
  10088.    I agree, the NumberOfAccessRanges variable is confusing.  This will
  10089. hopefully be clarified in future documentation.  The value for
  10090. NumberOfAccessRanges will be either a 1 or a 2.  If you use only memory
  10091. addresses then the value is 1.  If you use only I/O adrresses, then the value
  10092. is also 1.  If you use both memory and I/O addresses, then the value is 2.
  10093.  
  10094. I hope this helps to clarify this,
  10095.  
  10096. Paul Sanders, Microsoft
  10097.  
  10098. #: 15891 S13/Windows NT DDK   
  10099.     27-Oct-92  15:15:27
  10100. Sb: #15687-Miniport Ques
  10101. Fm: Paul Sanders [Microsoft] 72350,2053
  10102. To: Bob Roycroft 71431,3206
  10103.  
  10104. Bob,
  10105.     I've been researching this for you.  At this point, I don't have an
  10106. answer.  I was not able to readily answer this by grepping through the source
  10107. code.  I have some outstanding email that I am waiting for. Unfortunately,
  10108. almost everyone is at the conference.  I will get back with you as soon as I
  10109. find out more.
  10110.  
  10111. Thanks for your patience,
  10112.  
  10113. Paul Sanders, Microsoft
  10114.  
  10115. #: 16195 S13/Windows NT DDK   
  10116.     30-Oct-92  10:50:56
  10117. Sb: #15687-Miniport Ques
  10118. Fm: Paul Sanders [Microsoft] 72350,2053
  10119. To: Bob Roycroft 71431,3206
  10120.  
  10121. Bob,
  10122.  
  10123. The flags in the CDB do not do the same thing as the flags in the SRB. The
  10124. flags in the SRB apply to the SCSI adapter; the flags in CDB apply to the
  10125. target device.  The FUA bit is set when necessary if the device indicates that
  10126. the write caching is enabled.  The flag in the SRB is set when necessary if
  10127. the adapter caching bit is set.  Note NT does not use DPO.
  10128.  
  10129. Hope this helps,
  10130.  
  10131. Paul Sanders, Microsoft
  10132.  
  10133. #: 15906 S13/Windows NT DDK   
  10134.     27-Oct-92  15:59:47
  10135. Sb: #15713-October Beta and 8514 ??
  10136. Fm: Charles F. McDevitt 70302,2374
  10137. To: Dan Knudson [Microsoft] 72350,2055 (X)
  10138.  
  10139. C'mon guys, I know you and IBM are constantly fighting, so 8514A
  10140. drivers seem like they should be done "as late as possible",
  10141. but in reality there are LOTS of us out here with ATI Graphics
  10142. Ultra boards that are 8514 compatible, and we need drivers!!!
  10143.   
  10144.  
  10145. There are 3 Replies.
  10146.  
  10147. #: 15912 S13/Windows NT DDK   
  10148.     27-Oct-92  17:08:01
  10149. Sb: #15906-October Beta and 8514 ??
  10150. Fm: Muzaffer KAL [MSC] 70324,2553
  10151. To: Charles F. McDevitt 70302,2374
  10152.  
  10153. it's nothing to do with that. they have XGA drivers already. I think ATI is
  10154. dragging its feet.
  10155.  
  10156. Muzaffer
  10157.  
  10158. #: 16037 S13/Windows NT DDK   
  10159.     28-Oct-92  22:37:23
  10160. Sb: #15906-October Beta and 8514 ??
  10161. Fm: Tony Harris 100010,1360
  10162. To: Charles F. McDevitt 70302,2374
  10163.  
  10164. Are these boards compatible at the hardware level or do they use a software
  10165. 8514 "look-alike" ram resident driver?
  10166.  
  10167. If they are compatible at the hardware level please send me a telephone number
  10168. so I can order one.
  10169.  
  10170. Regards
  10171.  
  10172. Tony Harris
  10173.  
  10174. There is 1 Reply.
  10175.  
  10176. #: 16077 S13/Windows NT DDK   
  10177.     29-Oct-92  10:46:50
  10178. Sb: #16037-October Beta and 8514 ??
  10179. Fm: David Edge 75170,1461
  10180. To: Tony Harris 100010,1360
  10181.  
  10182. The ATI boards are hardware level compatible.  You can use the IBM 8514 driver
  10183. in Windows 3.1 with them.  Look in a PC Magazine, or other to find the phone
  10184. number of ATI - I don't have it here.  They have two versions, the 8514 Ultra
  10185. and the Graphics Ultra.  The 8514 Ultra requires a VGA card.  This is nice for
  10186. Win 3.1 development because codeview can use the VGA for 50 line color
  10187. debugging output.  The Graphics Ultra combines the VGA onto the board but only
  10188. provides one connector so you don't get dual monitor support.
  10189.  
  10190. #: 16221 S13/Windows NT DDK   
  10191.     30-Oct-92  15:02:36
  10192. Sb: #15906-October Beta and 8514 ??
  10193. Fm: Frank Guenther 72360,2752
  10194. To: Charles F. McDevitt 70302,2374
  10195.  
  10196. Here Here! The new ATI VESA local bus cards are sizzling hot!
  10197. They also will support 8514 in reg. compatible mode!
  10198. The old ATI Ultras have been the Win3x ticket for over a year now,
  10199. and no support even for the built-in VGA Wonder.
  10200.  
  10201. #: 16238 S13/Windows NT DDK   
  10202.     30-Oct-92  16:49:32
  10203. Sb: DDK Rollout
  10204. Fm: Steve Mastrianni [PSS] 71501,1652
  10205. To: MS
  10206.  
  10207. Let me be the first to thank Microsoft for a bang-up DDK rollout in LA. The
  10208. beach party was a "don't miss" event, and the technical content was just
  10209. great. If you didn't go, you missed a good one. Only one hour or so of
  10210. marketing hype, and the rest was pure technical stuff. Worth the trip.
  10211.  
  10212. --Steve
  10213.  
  10214.  
  10215.  
  10216.  
  10217. #: 15738 S14/Win32s Specific   
  10218.     24-Oct-92  14:42:24
  10219. Sb: GDI in Win32s
  10220. Fm: Wim Bonner 72561,3135
  10221. To: microsoft
  10222.  
  10223. I've read the bit in my july SDK CDrom about Win32s, but I couldn't quite
  10224. figure out what I needed to know about Win32s.
  10225.  
  10226. Will I be able to use the 32 bit wide GDI interface, and run under Win32s, or
  10227. will I have to run under Win32?  I'm just using functions that were available
  10228. under 3.1, but I am using 32 bit coordinates.
  10229.  
  10230. Wim
  10231.  
  10232. There are 2 Replies.
  10233.  
  10234.  
  10235. #: 15759 S14/Win32s Specific   
  10236.     25-Oct-92  22:00:08
  10237. Sb: #15738-GDI in Win32s
  10238. Fm: Lee Hart [Microsoft] 76150,2536
  10239. To: Wim Bonner 72561,3135
  10240.  
  10241. >>>Will I be able to use the 32 bit wide GDI interface, and run under Win32s,
  10242.    or will I have to run under Win32?  I'm just using functions that were
  10243.    available under 3.1, but I am using 32 bit coordinates.
  10244.  
  10245. A good rule of thumb is that if the function you are using is available in
  10246. both 16 and 32 bit forms, it is fully supported under Win32s.  For all other
  10247. functions, you will still dynalink properly, but calls to those APIs will
  10248. return an appropriate error code.  So as long as you restrict your GDI usage
  10249. to those APIs available in Windows 3.1, you will work in Win32s under Windows
  10250. 3.1 as well as in Windows NT.  If you come across any API where this is not
  10251. the case, please be sure to report it here so that it can either be fully
  10252. documented, or fixed, as the case may be.
  10253.  
  10254. Lee Microsoft Developer Support
  10255.  
  10256. #: 15797 S14/Win32s Specific   
  10257.     26-Oct-92  13:56:23
  10258. Sb: #15738-GDI in Win32s
  10259. Fm: Lee Hart [Microsoft] 76150,2536
  10260. To: Wim Bonner 72561,3135
  10261.  
  10262. >>>Will I be able to use the 32 bit wide GDI interface, and run under
  10263.    Win32s, or will I have to run under Win32?  I'm just using functions
  10264.    that were available under 3.1, but I am using 32 bit coordinates.
  10265.  
  10266. As stated in the Win32s release notes, you will need to constrain yourself to
  10267. 16 bit coordinates.
  10268.  
  10269. Lee
  10270.  
  10271. #: 15890 S14/Win32s Specific   
  10272.     27-Oct-92  14:33:55
  10273. Sb: Win32s (help)
  10274. Fm: Robert Zeff 70323,1251
  10275. To: All
  10276.  
  10277. Am I to assume that the the win32s\floppy could be copied to a floppy and
  10278. installed (as a test) on a Win3.1 system.  (Doesn't work for me) Where are the
  10279. docs?
  10280.  
  10281. Thanks,
  10282.  
  10283. -Robert
  10284.  
  10285.  
  10286.  
  10287.  
  10288. There is 1 Reply.
  10289.  
  10290. #: 15917 S14/Win32s Specific   
  10291.     27-Oct-92  18:14:26
  10292. Sb: #15890-Win32s (help)
  10293. Fm: Lee Hart [Microsoft] 76150,2536
  10294. To: Robert Zeff 70323,1251 (X)
  10295.  
  10296. >Am I to assume that the the win32s\floppy could be copied to a floppy and
  10297. >installed (as a test) on a Win3.1 system.  (Doesn't work for me) Where are
  10298. the >docs?
  10299.  
  10300. You should have recieved, along with your new CD, October Release Notes, a new
  10301. HCL, and a Win32s Programmer's Reference.  Page 3 of the Win32s Programmer's
  10302. Reference documents how to setup the floppy.
  10303.  
  10304. Lee Microsoft Developer Support
  10305.  
  10306. #: 15858 S14/Win32s Specific   
  10307.     27-Oct-92  08:27:53
  10308. Sb: U. Thunks Now
  10309. Fm: richard c. allen 71621,2420
  10310. To: all
  10311.  
  10312. The need for 32 Bit and 16 bits apps to communicate is essential. The
  10313. Universal Thunk Proposal is fine, but I would like to be trying it out. The
  10314. earlier some code can be made available to play with, the sooner the
  10315. ramifications will be aparent.
  10316.  
  10317. Cheers Richard C. Allen
  10318.  
  10319. There is 1 Reply.
  10320.  
  10321. #: 15886 S14/Win32s Specific   
  10322.     27-Oct-92  13:19:34
  10323. Sb: #15858-U. Thunks Now
  10324. Fm: Lee Hart [Microsoft] 76150,2536
  10325. To: richard c. allen 71621,2420 (X)
  10326.  
  10327. As mentioned in the release notes, the Universal Thunks are not available yet.
  10328. At this time I do not have any information on when they will be available, but
  10329. I am looking into it.  Does the design proposal in the Win32s Programmer's
  10330. Reference look good to you?
  10331.  
  10332. Lee Microsoft Developer Support
  10333.  
  10334.  
  10335.  
  10336.  
  10337. There is 1 Reply.
  10338.  
  10339. #: 15949 S14/Win32s Specific   
  10340.     28-Oct-92  05:54:23
  10341. Sb: #15886-U. Thunks Now
  10342. Fm: richard c. allen 71621,2420
  10343. To: Lee Hart [Microsoft] 76150,2536 (X)
  10344.  
  10345. The first look seems fine, I don't really like the idea that a 16-DLL needs 2
  10346. new functions (UT16Init and UT16Proc) since no DLL's out there has them.
  10347. Appears that to use existing DLL's a thin layer will be repuired by me to
  10348. provide these Procedures. If the layer is necessary and all "normal" dll's
  10349. require the layer, help define the layer cleanly (Tools, demos, etc.) Perhaps
  10350. a RPC-Like generator for the stubs.
  10351.  
  10352. Really need to play with the technology to understand and appreciate all the
  10353. good and bad points. Richard C. Allen
  10354.  
  10355. #: 16050 S14/Win32s Specific   
  10356.     29-Oct-92  05:47:07
  10357. Sb: WIN32s
  10358. Fm: Eric M. Guli 70272,3627
  10359. To: sysop (X)
  10360.  
  10361. Please help!  I just received the october release of WIN32 NT at this point I
  10362. only want to load the WIN32s portion of the program
  10363.   However, I cannot load it on to either of my two computers, 1) is a Gateway
  10364. 486DX/2 50 E and the other is a Gateway 486SX 25.  I know this is not a lot of
  10365. info but can anyone help.  The EISA machine loads the files or I should say
  10366. copies the files to the correct directories then gives me a fail message.  The
  10367. SX25 machine copies the files then gave me an error it could not open
  10368. WINSPOOL.DRV, so I re-copied it to the floppy and re-installed only to get a
  10369. divide by zero error or stack overflow.  My main concern is to get the EISA
  10370. machine running with WIN32s. Thanks Eric
  10371.  
  10372. #: 16128 S14/Win32s Specific   
  10373.     29-Oct-92  15:05:55
  10374. Sb: INSTALL PROBLEM
  10375. Fm: Steve Woolley 75570,1620
  10376. To: ALL
  10377.  
  10378. HELP I AM TRYING TO INSTALL WIN32S. I HAVE 4M RAM PLENTRY OF DISK SPACE I
  10379. COPIED THE FILES IN MSTOOLS/WIN32S/FLOPPY ONTO A 3.5 FLOPPY, TYPED SETUP.
  10380. WINDOWS CAME UP TOLD ME IT WAS INSTALLING WIN32S AND THEN GAVE ME THE
  10381. FOLLOWING ERROR:
  10382.  
  10383. APPLICATION ERROR DSHELL CAUSED SEGMENT LOAD FAILURE IN MODULE _MSTEST.EXE AT
  10384. 0009:0371
  10385.  
  10386. I BELIEVE I HAVE FOLLOWED ALL THE CORRECT PROCEDURES. HAVE ANY IDEAS?
  10387. SUGGESTIONS?
  10388.  
  10389. P.S. I USE STACKER, IS THIS THE PROBLEM?
  10390.  
  10391. #: 16175 S14/Win32s Specific   
  10392.     30-Oct-92  04:44:13
  10393. Sb: Win32s - C7 link problem
  10394. Fm: Eric V. Smith 70621,3367
  10395. To: all
  10396.  
  10397. I have a problem running link from C7 when a Win32s app is running.  When link
  10398. starts, the entire DOS box that link is running in just vanishes. There are no
  10399. error messages.
  10400.  
  10401. I've actually just tried this with FreeCell, so I'm not sure if it applies to
  10402. all Win32s apps or just FreeCell.  If you can't duplicate this, let me know
  10403. and I'll try to get more info on it.
  10404.  
  10405. Eric.
  10406.  
  10407. #: 15941 S14/Win32s Specific   
  10408.     27-Oct-92  21:00:15
  10409. Sb: Win32s fails
  10410. Fm: Robert Zeff 70323,1251
  10411. To: all
  10412.  
  10413. I get a failed message when I attempt to install Win32s per page 3 of the
  10414. WIn32s Programmer's Reference.  I get this message on two different computers.
  10415. I am running Workgroups for Windows RC2.
  10416.  
  10417. Any suggestions?
  10418.  
  10419. -Robert
  10420.  
  10421.  
  10422.  
  10423.  
  10424. There is 1 Reply.
  10425.  
  10426. #: 15956 S14/Win32s Specific   
  10427.     28-Oct-92  07:35:32
  10428. Sb: #15941-Win32s fails
  10429. Fm: Andreas Klein 100063,1637
  10430. To: Robert Zeff 70323,1251 (X)
  10431.  
  10432. Please change to the final version of Windows for Workgroups. I have
  10433. successfully installed Win32s on WfW using setup (without .ini file hacking
  10434. <g>).
  10435.  
  10436. ciao,
  10437.    Andreas
  10438.  
  10439.  
  10440. There are 2 Replies.
  10441.  
  10442. #: 16016 S14/Win32s Specific   
  10443.     28-Oct-92  18:31:11
  10444. Sb: #15956-Win32s fails
  10445. Fm: Robert Zeff 70323,1251
  10446. To: Andreas Klein 100063,1637
  10447.  
  10448. The last version I received of WFW was RC2.  How do I get a later version?
  10449.  
  10450. Thanks,
  10451.  
  10452. Robert
  10453.  
  10454. #: 16202 S14/Win32s Specific   
  10455.     30-Oct-92  11:21:50
  10456. Sb: #15956-Win32s fails
  10457. Fm: Robert Zeff 70323,1251
  10458. To: Andreas Klein 100063,1637
  10459.  
  10460. > Please change to the final version of Windows for Workgroups. I have >
  10461. successfully installed Win32s on WfW using setup (without .ini file hacking
  10462.  
  10463. I've been informed that I won't get the final release for fout weeks.  Is
  10464. there some hacking on the .ini files that would help?
  10465.  
  10466. Thanks,
  10467.  
  10468. Robert
  10469.  
  10470. #: 16176 S14/Win32s Specific   
  10471.     30-Oct-92  05:07:42
  10472. Sb: Changing file system
  10473. Fm: joe weissman 70473,2346
  10474. To: all
  10475.  
  10476. I have just uploaded the october release of win32 beta on my 386 system.  I
  10477. initially chose the NT file option.  I have a nonsupported cd rom drive that
  10478. from Philips and this drive does not run under win32 as it is not SCSI. I
  10479. would like to go back to the FAT type of file system but am not clear on how
  10480. to uninstall or modify the win32 without reloading both DOS 5.) and win win32.
  10481. Any comments would be appreciated.
  10482.  
  10483. There is 1 Reply.
  10484.  
  10485. #: 16209 S14/Win32s Specific   
  10486.     30-Oct-92  13:04:08
  10487. Sb: #16176-Changing file system
  10488. Fm: Lee Hart [Microsoft] 76150,2536
  10489. To: joe weissman 70473,2346
  10490.  
  10491. >>>I have just uploaded the october release of win32 beta on my 386
  10492.    system.  I initially chose the NT file option.  I have a nonsupported
  10493.    cd rom drive that from Philips and this drive does not run under
  10494.    win32 as it is not SCSI. I would like to go back to the FAT type of
  10495.    file system but am not clear on how to uninstall or modify the win32
  10496.    without reloading both DOS 5.) and win win32.
  10497.  
  10498. This is not a Win32s question - it belongs in the WINNT forum, since it does
  10499. not even involve the SDK.  Please follow up in the filesystems section of
  10500. WINNT (Section 9).
  10501.  
  10502.  Lee
  10503.  Microsoft Developer Support
  10504.  
  10505. #: 15963 S14/Win32s Specific   
  10506.     28-Oct-92  08:50:50
  10507. Sb: win32s octrel outofmem
  10508. Fm: Mark Kumler 70404,261
  10509. To: ALL
  10510.  
  10511. Gentel Peoples:
  10512.    I am experiencing a problem trying to run our application under win32s. The
  10513. program runs fine on the win32 platform but when I attempt to run on my 8 meg
  10514. win 3.1 system I get an out of memory error.
  10515.    I know that we are not requesting THAT much ram for our data so I must
  10516. assume that the problem lies in the loadondemand/discardable type logics for
  10517. code.  I could not find information on how to specify this type of information
  10518. to the new linker on nt.  If the information is somewhere that I have missed
  10519. (quite likely) or if there is a sample program that demonstrates this I would
  10520. be most gratefull if you could point me in the right direction - thanks. Mark
  10521. Z. Kumler Ithaca Software mark@ithaca.com (510) 523-5900 x241
  10522.  
  10523. PS:  The executable in question is 1852928 in size.
  10524.  
  10525. There is 1 Reply.
  10526.  
  10527. #: 16000 S14/Win32s Specific   
  10528.     28-Oct-92  16:17:17
  10529. Sb: #15963-win32s octrel outofmem
  10530. Fm: Lee Hart [Microsoft] 76150,2536
  10531. To: Mark Kumler 70404,261 (X)
  10532.  
  10533. >>>I am experiencing a problem trying to run our application under win32s.
  10534.    The program runs fine on the win32 platform but when I attempt to run
  10535.    on my 8 meg win 3.1 system I get an out of memory error.
  10536.  
  10537. >>>I know that we are not requesting THAT much ram for our data so I
  10538.    must assume that the problem lies in the loadondemand/discardable
  10539.    type logics for code.  I could not find information on how to
  10540.    specify this type of information to the new linker on nt.  If
  10541.    the information is somewhere that I have missed (quite likely) or
  10542.    if there is a sample program that demonstrates this I would
  10543.    be most gratefull if you could point me in the right direction - thanks.
  10544.  
  10545. Several Questions:
  10546.  
  10547.   (1) How large is your Swap File in Windows 3.1?  Is it permanent?
  10548.  
  10549.   (2)Do you know how much stack space your program is using?  It's possible
  10550. you are running out of stack space.
  10551.  
  10552.  Lee
  10553.  Microsoft Developer Support
  10554.  
  10555.  
  10556.  
  10557. There is 1 Reply.
  10558.  
  10559. #: 16121 S14/Win32s Specific   
  10560.     29-Oct-92  14:07:38
  10561. Sb: #16000-win32s octrel outofmem
  10562. Fm: Mark Kumler 70404,261
  10563. To: Lee Hart [Microsoft] 76150,2536 (X)
  10564.  
  10565. Lee:
  10566.   We do run the same program comiled on win 3.1 and don't have any of these
  10567. problems.
  10568.   Our swap file is the recommended maximum size and is permanent. I doubt the
  10569. stack problem since the same code will run when compiled under the 3.1
  10570. platform.
  10571.  
  10572. There is 1 Reply.
  10573.  
  10574. #: 16223 S14/Win32s Specific   
  10575.     30-Oct-92  15:31:19
  10576. Sb: #16121-win32s octrel outofmem
  10577. Fm: Lee Hart [Microsoft] 76150,2536
  10578. To: Mark Kumler 70404,261
  10579.  
  10580. >>>We do run the same program comiled on win 3.1 and don't have any
  10581.    of these problems.
  10582.  
  10583. I'm not trying to pick nits, but due to the larger parameters in Win32, you
  10584. still could be running out of stack space...Fortunately there is an easy way
  10585. to check.   When you link your Win32 app, specify '-stack:128,128' on the link
  10586. command line, which will force your app to have the same stack size under
  10587. Windows NT as under Win32s.
  10588.  
  10589. Lee
  10590.  
  10591. #: 16013 S14/Win32s Specific   
  10592.     28-Oct-92  17:56:20
  10593. Sb: Win32 Applications in Wi
  10594. Fm: Bill Pytlovany 70642,2122
  10595. To: All
  10596.  
  10597. Does anyone know of any applications which are able to run using Win32s
  10598. besides FreeCell?
  10599.  
  10600.  
  10601. I'm was the impression that if I write a Windows NT app, it will run under
  10602. Windows 3.1, if the user has Win32s librarys or if I supply them.  Am I wrong?
  10603. Do I have to create a Windows NT version and then link with libraries to give
  10604. me a Win 3.1 application?
  10605.  
  10606. I tried running a few of the applications included with WinNT like Solitaire,
  10607. Notepad, WinHelp32 and crashed my Win 3.1 system pretty bad.
  10608.  
  10609. Are these bugs?  Does this means Win32s needs alot of work or do I just have
  10610. my information all mixed up.
  10611.  
  10612. Thanks!
  10613. Bill Pytlovany
  10614.  
  10615. There are 2 Replies.
  10616.  
  10617. #: 16042 S14/Win32s Specific   
  10618.     29-Oct-92  01:22:06
  10619. Sb: #16013-Win32 Applications in Wi
  10620. Fm: Peter Handsman[Inmark] 70550,2570
  10621. To: Bill Pytlovany 70642,2122 (X)
  10622.  
  10623. Bill,
  10624.  
  10625. I havn't done much testing of Win32s yet myself, but i've had better results
  10626. then things like your talking about.  A couple of my smaller test programs
  10627. i've ported to NT work ok with Win31 and Win32s, and i've actually taken a
  10628. liking to the WinDiff program (Which also works ok under Win32s)....
  10629.  
  10630. Peter Handsman Inmark Devlopment Corp.
  10631.  
  10632. #: 16231 S14/Win32s Specific   
  10633.     30-Oct-92  16:02:17
  10634. Sb: #16013-Win32 Applications in Wi
  10635. Fm: Lee Hart [Microsoft] 76150,2536
  10636. To: Bill Pytlovany 70642,2122 (X)
  10637.  
  10638. >>>I'm was the impression that if I write a Windows NT app, it will run
  10639.    under Windows 3.1, if the user has Win32s librarys or if I supply them.
  10640.    Am I wrong? Do I have to create a Windows NT version and then link with
  10641.    libraries to give me a Win 3.1 application?
  10642.  
  10643. You are correct, as long as the Win32 application does not use any
  10644. functionality (except the Structed Exception Handling and the FP emulation
  10645. code) that does not exist in Windows 3.1.  It would really help if you try
  10646. running your apps with a 128K stack under Windows NT to eliminate the
  10647. possibility that the reduced stack size is the cause of your problems.
  10648.  
  10649. Also you may want to attach a terminal (or another PC) to your Windows 3.1
  10650. machine and start up wdeb386 w/ additional error logging enabled in Win32s (as
  10651. documented in the Win32s programmer's guide, pages 19-21) andsee what error
  10652. messages get spit out.
  10653.  
  10654. >>>Are these bugs?  Does this means Win32s needs alot of work or do I
  10655.    just have my information all mixed up.
  10656.  
  10657. Yes, these probably are bugs - however the more information you can give us,
  10658. the better.
  10659.  
  10660.  
  10661.  Lee
  10662.  Microsoft Developer Support
  10663.  
  10664.  
  10665.  
  10666. There is 1 Reply.
  10667.  
  10668. #: 16243 S14/Win32s Specific   
  10669.     30-Oct-92  18:07:34
  10670. Sb: #16231-Win32 Applications in Wi
  10671. Fm: Bill Pytlovany 70642,2122
  10672. To: Lee Hart [Microsoft] 76150,2536 (X)
  10673.  
  10674. Thanks for the resonse Lee...
  10675.  
  10676. >>It would really help if you try running your apps with a 128K stack under
  10677. >>Windows NT to eliminate the possibility that the reduced stack size is the
  10678. >>cause of your problems.
  10679.  
  10680. Unfortunately, I'm unable to run Windows NT on machine at this time.  It's
  10681. incompatible because  I've choosen to test some other software at this time
  10682. which currently conflicts.  I'd wonder if this was the reason, but like I say,
  10683. FreeCell works fine.
  10684.  
  10685. >>Also you may want to attach a terminal (or another PC) to your Windows 3.1
  10686. >>machine and start up wdeb386 w/ additional error logging enabled in Win32s
  10687. (as >>documented in the Win32s programmer's guide, pages 19-21) andsee what
  10688. >> error messages get spit out.
  10689.  
  10690. Thanks for pointing out the Debugging pages in the manual  I hadn't gottent
  10691. that far yet since I haven't been able to test with my own applications yet. 
  10692. I'll give it a shot and let you know if I come up with anything.
  10693.  
  10694. Thanks!
  10695. Bill Pytlovany
  10696.  
  10697. #: 16248 S14/Win32s Specific   
  10698.     30-Oct-92  18:27:28
  10699. Sb: Unhandled exception
  10700. Fm: Robert Zeff 70323,1251
  10701. To: All
  10702.  
  10703.  
  10704. I am getting a "unhandeled exception" in my NT application running on Win32s. 
  10705. I also get this message when running freecell.  In freecell, I get this
  10706. message when I select F3 (select new game) twice.  My applcation fails soon
  10707. after loading.  I am using the debugger, but can't figure out where the
  10708. problem is.  Any hints would be appreciated.
  10709.  
  10710. -Robert
  10711.  
  10712. #: 16001 S14/Win32s Specific   
  10713.     28-Oct-92  16:18:34
  10714. Sb: Win32s: Exception ?
  10715. Fm: Robert Zeff 70323,1251
  10716. To: All
  10717.  
  10718. I get an "Unhandled exception detected, application terminated" message when I
  10719. run my NT application with Win32s.  What would be the next step to track down
  10720. this problem?  THe application is in lib 4 of WINNT, Spice1.zip.  The
  10721. executable is "nutmeg32.exe" in case anyone wants to try this.  It runs fine
  10722. in NT.
  10723.  
  10724. Thanks,
  10725.  
  10726. -Robert
  10727.  
  10728.  
  10729.  
  10730.  
  10731. There is 1 Reply.
  10732.  
  10733. #: 16208 S14/Win32s Specific   
  10734.     30-Oct-92  13:04:01
  10735. Sb: #16001-Win32s: Exception ?
  10736. Fm: Lee Hart [Microsoft] 76150,2536
  10737. To: Robert Zeff 70323,1251 (X)
  10738.  
  10739. >>>I get an "Unhandled exception detected, application terminated"
  10740.    message when I run my NT application with Win32s.  What would
  10741.    be the next step to track down this problem?  THe application
  10742.    is in lib 4 of WINNT, Spice1.zip.  The executable is
  10743.    "nutmeg32.exe" in case anyone wants to try this.  It runs fine in NT.
  10744.  
  10745. Does your program run fine (no exceptions) when run under windbg and/or ntsd?
  10746. I am looking on this end to see if there are any outstanding memory
  10747. limitations with win32s right now.
  10748.  
  10749.  Lee
  10750.  Microsoft Developer Support
  10751.  
  10752.  
  10753.  
  10754. There is 1 Reply.
  10755.  
  10756. #: 16259 S14/Win32s Specific   
  10757.     30-Oct-92  20:13:04
  10758. Sb: #16208-Win32s: Exception ?
  10759. Fm: Robert Zeff 70323,1251
  10760. To: Lee Hart [Microsoft] 76150,2536 (X)
  10761.  
  10762. >>Does your program run fine (no exceptions) when run under windbg and/or
  10763. ntsd?
  10764.   I am looking on this end to see if there are any outstanding memory
  10765.   limitations with win32s right now.
  10766.  
  10767. The program runs fine under windbg and ntsd.  When I debug under
  10768. Win32s/wdeb386, I get: KERNAL32: Unhandled exception: c0000005  IP: 809f1c6b
  10769. RaiseException in Kernal Mode
  10770.  
  10771. Also, I can get the same message (Different IP, of course) with freecell if I
  10772. select "select game" twice.
  10773.  
  10774. Another question:  Should a console program work with Win32s? Thanks, -robert
  10775.  
  10776.  
  10777.  
  10778.  
  10779. #: 15729 S15/Unicode/NLS   
  10780.     23-Oct-92  21:22:33
  10781. Sb: #15724-Complete unicode font?
  10782. Fm: Paul Watson [XLsoft] 76056,1751
  10783. To: Steve Firebaugh [MS] 75430,412 (X)
  10784.  
  10785. We all appreciate your reply and responsiveness, Steve.
  10786.  
  10787. From a scenario given earlier...
  10788.  
  10789. The customer should be able to go to the store in any country and buy the NT
  10790. base system and W4W NT with documentation in the local language and the
  10791. Microsoft Hebrew and Arabic IME products.  These should be available or
  10792. orderable in any country.  The NT documentation describes how to install
  10793. Microsoft IME products in the local language.  The IME documentation covering
  10794. configuration and usage of the IME is in the language they support; in this
  10795. case Hebrew and Arabic.
  10796.  
  10797. Support for the IME is in the IME language, not the local language.  If you
  10798. want to use the IME, you must know the language.  If you want to learn Hebrew,
  10799. then buy an education package, a book, or take a class on Hebrew. Third
  10800. parties might create documentation products which describe using the Microsoft
  10801. Hebrew IME written in English, French, or any other language.
  10802.  
  10803. Third party IME products may or may not choose to provide documentation in any
  10804. language other than the one it supports and may or may not use the Microsoft
  10805. standard IME installation procedures.
  10806.  
  10807. The customer should not need to travel to Israel or sneak the Hebrew IME back
  10808. into his home country.  This is a global market.
  10809.  
  10810. [More]
  10811.  
  10812. There is 1 Reply.
  10813.  
  10814.  
  10815. #: 15730 S15/Unicode/NLS   
  10816.     23-Oct-92  21:22:42
  10817. Sb: #15729-Complete unicode font?
  10818. Fm: Paul Watson [XLsoft] 76056,1751
  10819. To: Paul Watson [XLsoft] 76056,1751 (X)
  10820.  
  10821. [Continued]
  10822.  
  10823. The IME documentation will specify contact information for the point of
  10824. support for each IME product.  This should include a mailing address,
  10825. telephone, FAX number, and (*important*) and email address.  Microsoft should
  10826. establish global electronic support mechanism(s) with at least one point of
  10827. access in every country in which it does business.
  10828.  
  10829. If you want an instant product, have Microsoft Mail support the local support
  10830. access point(s).  This strategy will give Microsoft the ability to manage its
  10831. support requirements and give customers access worldwide.  If you don't want
  10832. customers to have access worldwide, that is another problem.
  10833.  
  10834. Microsoft should investigate technologies needed to deliver worldwide product
  10835. such as publishing on demand.  When the odd order for a Thai IME comes into
  10836. Microsoft GmbH, an automated system prepares the disk and prints whatever
  10837. documentation accompanies the package in Thai.  There should be no need for
  10838. the customer to delay his business three (3) weeks for a physical package to
  10839. be shipped from Thailand.
  10840.  
  10841. Regards...Paul
  10842.  
  10843.  
  10844.  
  10845. There is 1 Reply.
  10846.  
  10847. #: 15740 S15/Unicode/NLS   
  10848.     24-Oct-92  19:27:33
  10849. Sb: #15730-Complete unicode font?
  10850. Fm: Paul Watson [XLsoft] 76056,1751
  10851. To: Paul Watson [XLsoft] 76056,1751 (X)
  10852.  
  10853. [Continued]
  10854.  
  10855. Publishing on demand also gives Microsoft quality control over the product it
  10856. delivers around the world.  The only better way would be to deliver the
  10857. product electronically direct to the target system and installed.
  10858.  
  10859. As I have suggested earlier, an environment as complex as NT requires a
  10860. configuration management application which will monitor installed components
  10861. and produce diagnostic reports.  These can be used to insure that the customer
  10862. has current and compatible drivers installed.
  10863.  
  10864. Regards...Paul
  10865.  
  10866. #: 15747 S15/Unicode/NLS   
  10867.     25-Oct-92  07:59:43
  10868. Sb: #15411-Complete unicode font?
  10869. Fm: Neil Robinson 100016,2775
  10870. To: Steve Firebaugh [MS] 75430,412 (X)
  10871.  
  10872. Steve,
  10873.  
  10874. as has been pointed out (very eloquently) by several others, we have no
  10875. argument with MS producing localized versions of NT. I use an English language
  10876. version of Windows 3.1, live in Germany, and write software which is
  10877. user-configurable on the fly into any supported language (in essence, a
  10878. user-configurable localization). Obviously, that is overkill for most users
  10879. with something the size of NT. Still, it should be possible for me to write my
  10880. product to be user-configurable with respect to language, and have the user
  10881. able to implement that language on their version of NT without additional
  10882. fuss.
  10883.  
  10884. -- it should also be possible to acquire only the localization parts of the OS
  10885. as a separate part #, so that a developer can switch localization methods to
  10886. the one needed for the final user of his product. I would like to be able to
  10887. open up the International section of System Configuration and set which
  10888. localized system I am using. This makes it possible to do phone support for
  10889. several localized platforms (German Windows, French Windows, English Windows
  10890. ,...) without having a separate Windows loaded for each version (say bye bye
  10891. to 8MB per version not including configuration hassles).
  10892.  
  10893. --the same goes for IMEs. The input methods for each localized version should
  10894. be hardware independent and should be supplied with the above named *product*
  10895. --- Localization Package For ... as well as separately. They should also be
  10896. useable from *any* version of NT.
  10897.  
  10898. -- it may have proved useful to have built NT on top of Unicode, but unless
  10899. the full capabilities of Unicode are implemented (I know what I am asking, but
  10900. you definitely have more man-power than I do 8-) ), we are going to be losing
  10901. a major opportunity. Even if the support doesn't come immediately, it should
  10902. be planned for.
  10903.  
  10904. Ciao, Neil
  10905.  
  10906. #: 15900 S15/Unicode/NLS   
  10907.     27-Oct-92  15:23:32
  10908. Sb: #15747-Complete unicode font?
  10909. Fm: Steve Firebaugh [MS] 75430,412
  10910. To: Neil Robinson 100016,2775
  10911.  
  10912. Neil,
  10913.  
  10914. Thank you for your suggestions.  You are correct that supporting multiple
  10915. locales incurs a memory cost.  That is one of the arguments given against
  10916. equiping every version of Windows/NT with full unicode support (although it is
  10917. not the dominant one).
  10918.  
  10919. You wrote:
  10920.  
  10921.  >Even if the support doesn't come immediately, it should be planned for.
  10922.  
  10923. You are absolutely correct about this.  Even though my comments should
  10924. probably be taken as empty assurances, there will be greatly expanded unicode
  10925. support in future products.  For example, there is supposed to be a new text
  10926. model in place by Windows/NT "product 2" which will answer many of the complex
  10927. rendering problems (multiple code points mapping to a single, unique glyph). 
  10928. I do not believe that Microsoft has made any official announcement about
  10929. "product 2," so it is not productive for me to say much about it.  Perhaps in
  10930. 6 months, we will be having concrete discussions here about what it will
  10931. provide.
  10932.  
  10933. Steve Firebaugh
  10934.  
  10935. #: 15764 S15/Unicode/NLS   
  10936.     26-Oct-92  04:14:08
  10937. Sb: #15724-Complete unicode font?
  10938. Fm: Tim Hyde-Smith 100023,3320
  10939. To: Steve Firebaugh [MS] 75430,412 (X)
  10940.  
  10941. Your last posting seems to me a good summary of what's been being said here; I
  10942. also want to thank you for your openness.  Since the European Users' Forum in
  10943. July (even though it was a cut-down version of San Francisco) and the help
  10944. I've had here on CIS in the last few months I've been getting more and more
  10945. impressed with MS' evident commitment to its ISVs.  It's very heartening. 
  10946. Thanks.
  10947.  
  10948. - Daryl, masquerading as Tim with his knowledge and consent :->
  10949.  
  10950. #: 15904 S15/Unicode/NLS   
  10951.     27-Oct-92  15:44:19
  10952. Sb: Uniput - input unicode c
  10953. Fm: Steve Firebaugh [MS] 75430,412
  10954. To: All
  10955.  
  10956. I just uploaded a sample program which provides a crude solution for inputing
  10957. unicode characters (uniput.zip).  This program does NOT represent Microsoft's
  10958. intended direction for input methods.  It is simply an interim solution that
  10959. will allow the user to input unicode text, and write it to a file.
  10960.  
  10961. Notice that the October beta includes a unicode enabled version of 'notepad.' 
  10962. This program, named 'unipad,' will display unicode text files.  However,
  10963. unipad does not provide any way to input unicode text.  That is the need which
  10964. 'uniput' was written to address. Comments or problems with this sample program
  10965. should be posted to this section.  Thanks.
  10966.  
  10967. Steve Firebaugh
  10968.  
  10969.  
  10970.  
  10971.  
  10972. #: 16085 S16/Tools-3rd Party   
  10973.     29-Oct-92  11:06:26
  10974. Sb: Dos Apps
  10975. Fm: Don Will 72570,2733
  10976. To: sysop (X)
  10977.  
  10978. I have installed the October Beta and SDK.  All of my usual windows apps run
  10979. OK.  I am having problems with the Borland C++ DOS IDE, Turbo Debugger and
  10980. Tprof.  When I start them Get "OS/2" application caused a general protection
  10981. fault.  CS=0xf  IP=0x14.
  10982.  
  10983. I have tried running them from the PIF that NT generated and from a dos
  10984. session with the same result.  Any ideas or suggestions?
  10985. I have the BC++ IDE set for 1024k of XMS and the pif specifies up to 2000.
  10986.  
  10987.  
  10988.  
  10989.  
  10990.  
  10991. #: 15748 S17/Unmonitored Chat   
  10992.     25-Oct-92  10:11:39
  10993. Sb: #15149-Bad Int. Support
  10994. Fm: GMS 100063,2012
  10995. To: Neil Robinson 100016,2775
  10996.  
  10997. Guess I can learn something here: I struggeled with the 1-800 problem for
  10998. a while now. Some companies just do not have a "normal" number. I do have
  10999. an AT&T card too. How do you dial a 1-800 number from Europe?
  11000.  
  11001. Gerhard
  11002.        
  11003.  
  11004. There is 1 Reply.
  11005.  
  11006.  
  11007. #: 15762 S17/Unmonitored Chat   
  11008.     26-Oct-92  01:13:09
  11009. Sb: #15748-Bad Int. Support
  11010. Fm: Peter A Winskill 70323,2547
  11011. To: GMS 100063,2012
  11012.  
  11013. Neil,
  11014.  
  11015. If you have an AT&T card number, a lot of countries have a USADirect number
  11016. you can call. This allows you (among other things) to call 800 numbers and
  11017. charge them to your USA number. All numbers are at USA rates, with the 800
  11018. number charged like an ordinary area code.
  11019.  
  11020. With USADirect you can also call collect (i.e. if you don't have an AT&T card.
  11021. Calling collect can be a lot cheaper than calling and paying the local country
  11022. rates.
  11023.  
  11024. Some examples of USADirect numbers from these countries are: UK -
  11025. 0800-89-0011; Spain - 900-99-00-11; Taiwan - 0080-10288-0; Germany -
  11026. 0130-0010; Japan - 0039-111.
  11027.  
  11028. Let me know if you need numbers for any other countries. Either that or take
  11029. an international flight and rip a USADirect card outta the flight magazine
  11030. (should be expense accountable right <G>!).
  11031.  
  11032. Pete
  11033.  
  11034. #: 15915 S17/Unmonitored Chat   
  11035.     27-Oct-92  17:44:45
  11036. Sb: Bad Int. Support
  11037. Fm: Ulrich Paul 100022,3315
  11038. To: Sigurdur St. Hjalmarsson 100063,1446
  11039.  
  11040. I am located in Germany and I have expierienced the same problem: For
  11041. Americans we all are "Eurasians" and very far away. Propably they can't
  11042. believe that intelligent life is out there. [A/exit
  11043.  
  11044. #: 15953 S17/Unmonitored Chat   
  11045.     28-Oct-92  07:24:05
  11046. Sb: Friendly Comparisons
  11047. Fm: Paul Pignatelli 76367,2721
  11048. To: Andy Champ 100064,2267 (X)
  11049.  
  11050. Hi, Andy,
  11051.  
  11052. Just checked back on the forum today, sorry for the delay.  (Today is Bill
  11053. Gates' birthday, so I posted a HAPPY BIRTHDAY  message to him in the 1st
  11054. section here.)  You restored my faith in ICL!    I look foreward to receiving
  11055. the info that was sent.  Thanks for your help,     Paolo
  11056.  
  11057. #: 16005 S17/Unmonitored Chat   
  11058.     28-Oct-92  16:25:00
  11059. Sb: Spice32 for October
  11060. Fm: Robert Zeff 70323,1251
  11061. To: All
  11062.  
  11063. I have uploaded Spice32 / Nutmeg32 for the October release to Lib 1. -Robert
  11064.  
  11065. #: 16068 S17/Unmonitored Chat   
  11066.     29-Oct-92  08:47:53
  11067. Sb: ISV Dev'pment Lab
  11068. Fm: Dag Baardsen [PS Norway] 100010,2257
  11069. To: sysop (X)
  11070.  
  11071. Hi any of you ever been to MS ISV Development Lab and would like to share some
  11072. experiences on that one?  A team from my company will be leaving for the lab
  11073. late November, so if you have some tips, let me have them!
  11074.  
  11075. Dag
  11076.  
  11077.  
  11078.  
  11079.