home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 August / CICA.cdr / unzipped / nt / msg1 / mswin32.msg
Encoding:
Text File  |  1992-10-24  |  243.7 KB  |  7,434 lines

  1. #: 15317 S1/NonTech Cust. Serv.   
  2.     17-Oct-92  10:53:21
  3. Sb: Device Driver
  4. Fm: Leon G Rollison 70421,1702
  5. To: David Taniguchi 72350,2054 (X)
  6.  
  7. Will a Device Driver for Always Technology's IN-2000 16 Bit SCSI Controller be
  8. available in the next preliminary release of the Windows NT SDK?
  9.  
  10.  
  11. #: 15320 S1/NonTech Cust. Serv.   
  12.     17-Oct-92  15:48:21
  13. Sb: SB,SCSI, and NT
  14. Fm: Chris Conlon 72401,1553
  15. To:  70744,20 (X)
  16.  
  17. Thanks Nancy.
  18.  
  19. I'll try the NT setup/Install area
  20.  
  21. #: 15358 S1/NonTech Cust. Serv.   
  22.     19-Oct-92  09:43:53
  23. Sb: Beta site for NT
  24. Fm: Swamy 74230,2520
  25. To: sysop (X)
  26.  
  27. Hi there - I would like to get on the Beta program for WINDOWS NT. We are
  28. developers of fax and modem software and were involved in the C++ 7.0 beta
  29. program.  The Company ID assigned to us is 06032.  We would to make our
  30. software compatible with the operating systems of the future and we strongly
  31. feel that WINDOWS NT will be the one for the fu So please do enroll us in the
  32. beta program.  If you have any questions please do let me know and I will be
  33. happy to provide the answers. Looking forward to an early response. - Swamy
  34. Prabhakar
  35.  
  36. #: 15355 S1/NonTech Cust. Serv.   
  37.     19-Oct-92  08:33:57
  38. Sb: NT DDK in Canada????
  39. Fm: David Johnson 73557,1223
  40. To: SYSOP (X)
  41.  
  42. Will somebody at MS USA please inform MS Canada what the part number is for
  43. the NT DDK.  MS Canada won't take orders unless they have a part number and,
  44. if history is any guide, this might take quite along time ie: it only took
  45. them 3 months to realize that there was such a thing as a Windows MDK.
  46.  
  47. sigh.
  48. dwj
  49.  
  50.  
  51. There is 1 Reply.
  52.  
  53. #: 15359 S1/NonTech Cust. Serv.   
  54.     19-Oct-92  09:48:45
  55. Sb: #15355-NT DDK in Canada????
  56. Fm: Dwight Matheny/Microsoft 70750,2340
  57. To: David Johnson 73557,1223 (X)
  58.  
  59. I've passed this on to MS Canada.
  60.  
  61. -Dwight (MS)
  62.  
  63. #: 15338 S1/NonTech Cust. Serv.   
  64.     19-Oct-92  03:50:33
  65. Sb: #15218-Sections?
  66. Fm: Lee Hart [Microsoft] 76150,2536
  67. To: Andrew Bradnan 70402,63 (X)
  68.  
  69. It sounds like you don't have your forum options set properly.  From the Forum
  70. ! prompt, type OPT, and at the Options menu, type SECT.  Select all sections,
  71. and you should be able to see all sections from that point on.
  72.  
  73. If you have further questions about forum access, please ask.
  74.  
  75. Lee Microsoft Developer Support
  76.  
  77.  
  78.  
  79.  
  80. There is 1 Reply.
  81.  
  82. #: 15386 S1/NonTech Cust. Serv.   
  83.     19-Oct-92  14:59:05
  84. Sb: #15338-Sections?
  85. Fm: Andrew Bradnan [Erudite 70402,63
  86. To: Lee Hart [Microsoft] 76150,2536 (X)
  87.  
  88. Lee
  89.  
  90.         Cool!  Must have been set that way from before the PDC when there was
  91. only one section.
  92.  
  93.         Thanks much,
  94.  
  95.         Andy
  96.  
  97. #: 15417 S1/NonTech Cust. Serv.   
  98.     19-Oct-92  21:41:00
  99. Sb: #15260-WIN32
  100. Fm: Al Longyear 70165,725
  101. To: Dan  Sodhi 71212,2333
  102.  
  103. You might also check out the MS Developer Relations CDROM. There is a tool
  104. there to aid in the porting from 16 to 32 bit windows code should you decide
  105. to port to Windows NT or Win32s.
  106.  
  107. #: 15330 S1/NonTech Cust. Serv.   
  108.     18-Oct-92  08:20:59
  109. Sb: #15274-compuserve support
  110. Fm: Scott Wheeler 100022,2005
  111. To: John Oellrich 72611,1452 (X)
  112.  
  113. Thanks for the advice - I hadn't expected that you would watch the forums.
  114. I'll try what you advise but I have tried several similar things in the past.
  115. Basically the modem responds as expected if I talk to it manually (eg
  116. Terminal, or CIM with direct connect) but ignores automatic controls (eg. CIM
  117. or Terminal doing the dialling). I've pretty well given up on it now, since
  118. I've found that I can do downloads from Kermit, but I'll have another rummage
  119. in the CMOS and see what I can find. Thanks again,
  120.  
  121. Scott
  122.  
  123. There is 1 Reply.
  124.  
  125. #: 15348 S1/NonTech Cust. Serv.   
  126.     19-Oct-92  06:09:01
  127. Sb: #15330-compuserve support
  128. Fm: John Oellrich 72611,1452
  129. To: Scott Wheeler 100022,2005
  130.  
  131. Scott,
  132.  
  133. AT&V (dump parameters) can be a life saver. One other thing I forgot. With
  134. OzCIS I found that the COM port settings in Control Panel had to exactly match
  135. OzCIS's settings, otherwise it just kinda sat there and stared at me.
  136.  
  137. John
  138.  
  139. #: 15447 S1/NonTech Cust. Serv.   
  140.     20-Oct-92  09:29:26
  141. Sb: #15263-compuserve support
  142. Fm: John Mueller [DBA] 75300,576
  143. To: Scott Wheeler 100022,2005
  144.  
  145. That's really strange.  Are MODEMs designed for a Sun machine physically
  146. different than those designed for DOS machines?  Just wondering in case I run
  147. across one someday.
  148.  
  149. John Mueller
  150.  
  151. #: 15395 S1/NonTech Cust. Serv.   
  152.     19-Oct-92  16:22:38
  153. Sb: WinNT SDK in S'pore
  154. Fm: Ricardo Nuqui 71203,1103
  155. To: all
  156.  
  157. I'd like to know if the Windows SNT SDK is available in Singapore, and how I
  158. could get one.  I haven't tried contacting the local Microsoft office so I
  159. don't know if they can help.
  160.  
  161. There is 1 Reply.
  162.  
  163. #: 15481 S1/NonTech Cust. Serv.   
  164.     20-Oct-92  14:22:20
  165. Sb: #15395-WinNT SDK in S'pore
  166. Fm: Dwight Matheny/Microsoft 70750,2340
  167. To: Ricardo Nuqui 71203,1103
  168.  
  169. I sent SDK product info to our subsidiary in Singapore last week, so they
  170. might be set up to place orders. You can reach them at 65-227-6833. Let me
  171. know if you have problems ordering.
  172.  
  173. -Dwight (MS)
  174.  
  175. #: 15506 S1/NonTech Cust. Serv.   
  176.     21-Oct-92  07:03:57
  177. Sb: Hi Jerry!
  178. Fm: Arthur Knowles 71041,2613
  179. To: Jerry Drain [Microsoft] 72350,2056 (X)
  180.  
  181. Jerry,
  182.  
  183. Good to see you back here. i hope your vacation was a relaxing one. My last
  184. vacation was the PDK conference. <g>
  185.  
  186. TTYL...
  187.  
  188. Art
  189.  
  190. #: 15514 S1/NonTech Cust. Serv.   
  191.     21-Oct-92  09:16:48
  192. Sb: WINNT DDK
  193. Fm: Walter R Hoesch 70402,2145
  194. To: SYSOP (X)
  195.  
  196. I have received the DDK and would appreciate access to the section for
  197. support.
  198.  
  199. Thanks, Walt
  200.  
  201. #: 15508 S1/NonTech Cust. Serv.   
  202.     21-Oct-92  08:33:46
  203. Sb: 2nd SDK Ship Date
  204. Fm: prieur  3 71127,2447
  205. To: Sysop (X)
  206.  
  207. Do y'all still plan to ship the 2nd SDK before the end of October or has it
  208. changed yet again. How 'bout an exact date y'all will start shipping it ??
  209.  
  210. Thanks,
  211.  
  212. Prieur Leary
  213.  
  214. There is 1 Reply.
  215.  
  216. #: 15528 S1/NonTech Cust. Serv.   
  217.     21-Oct-92  12:52:20
  218. Sb: #15508-2nd SDK Ship Date
  219. Fm: Dwight Matheny/Microsoft 70750,2340
  220. To: prieur  3 71127,2447 (X)
  221.  
  222. We still plan on shipping the October release of the Win32 SDK to all US
  223. customers before the end of the month.
  224.  
  225. -Dwight  (MS)
  226.  
  227.  
  228.  
  229.  
  230. There is 1 Reply.
  231.  
  232. #: 15535 S1/NonTech Cust. Serv.   
  233.     21-Oct-92  13:16:20
  234. Sb: #15528-2nd SDK Ship Date
  235. Fm: prieur  3 71127,2447
  236. To: Dwight Matheny/Microsoft 70750,2340 (X)
  237.  
  238. Anytime soon ??
  239.  
  240. There is 1 Reply.
  241.  
  242. #: 15560 S1/NonTech Cust. Serv.   
  243.     21-Oct-92  15:52:56
  244. Sb: #15535-2nd SDK Ship Date
  245. Fm: Dwight Matheny/Microsoft 70750,2340
  246. To: prieur  3 71127,2447 (X)
  247.  
  248. >>>> Anytime soon ??
  249.  
  250. Yes, before the end of the month <grin> which is ten days away.
  251.  
  252. -Dwight
  253.  
  254. #: 15356 S1/NonTech Cust. Serv.   
  255.     19-Oct-92  08:39:33
  256. Sb: #15291-Printer Spoolers
  257. Fm: Centre File 100015,3565
  258. To: Stu Wiley 70473,1351 (X)
  259.  
  260. Thanks for the information. I shall be going to the DDK conference in London
  261. on the 5th and 6th of November.
  262.  
  263. There is 1 Reply.
  264.  
  265. #: 15426 S1/NonTech Cust. Serv.   
  266.     20-Oct-92  00:22:07
  267. Sb: #15356-Printer Spoolers
  268. Fm: Peter A Winskill 70323,2547
  269. To: Centre File 100015,3565 (X)
  270.  
  271. Bonfire night at the DDK! Hope Guy isn't going too <g>.
  272.  
  273. #: 15570 S1/NonTech Cust. Serv.   
  274.     21-Oct-92  18:42:07
  275. Sb: #15356-Printer Spoolers
  276. Fm: Stu Wiley 70473,1351
  277. To: Centre File 100015,3565 (X)
  278.  
  279. Excellent.  You will receive a boatload of pertinent info there.  Enjoy.
  280.  Stu Wiley
  281.  
  282. #: 15561 S1/NonTech Cust. Serv.   
  283.     21-Oct-92  15:53:05
  284. Sb: MS: Oct SDK ships!!
  285. Fm: Dwight Matheny/Microsoft 70750,2340
  286. To: ALL
  287.  
  288. Attention all US SDK customers:
  289.  
  290. Since there's been lots of discussion about this, I'll make it official. The
  291. October release of the Win32 Preliminary SDK for Windows NT started shipping
  292. to US customers today, 10/21. (Int'l customers: there is usually about a two
  293. week delay due to the fact that we ship first to the subsidiaries and that
  294. they in turn ship to you: contact your local MS office if you need more
  295. specific information.) There are two important things you need to know:
  296.  
  297. 1. This release will be sent to you automatically. 2. We have more than 25,000
  298. updates to ship, and we will be shipping several
  299.    thousand each day. We hope to have all the updates shipped by the end of
  300.    next week. If you do not receive your update by then I will post a phone #
  301.    you can call to check status. Please do not call until then.
  302.  
  303. This release of the Win32 SDK represents a significant improvement over the
  304. July release.  Here is a brief list of the new features for this release. If
  305. you have specific questions, please ask them in the appropriate section on
  306. this forum or on WINNT.
  307.  
  308.  - Improved C++ compiler
  309.  - Improved debugging with C++ support
  310.  - A preliminary version of Win32s
  311.  - Improved online Help
  312.  - Tools for source code (call) and API profiling
  313.  - Improved porting tool
  314.  - Better sample applications
  315.  - Documentation is now provided in both PostScript and Write formats
  316.  - New file comparison program-WINDIFF.EXE
  317.  - POSIX development support
  318.  - New UNICODE development support
  319.  - Setup toolkit
  320.  
  321. This version of Windows NT also has significant enhancements relative to the
  322. July release.
  323.  
  324.  - Improved MS-DOS and 16-bit Windows application support
  325.  - Performance improvements such as console output and scrolling
  326.  - Fully functional Windows NT File System (NTFS)
  327.  - Feature complete except for Network DDE, Schedule+, and Mail
  328.  - Greater hardware compatibility
  329.  - New video support such as high-resolution S3 VGA video support
  330.  
  331. Good luck on developing great 32-bit Windows applications! I'm off to the DDK
  332. conference, be back on Thurs 10/29.
  333.  
  334. -Dwight Matheny SDK Product Manager
  335.  
  336.  
  337.  
  338.  
  339. There are 4 Replies.
  340.  
  341. #: 15568 S1/NonTech Cust. Serv.   
  342.     21-Oct-92  18:04:47
  343. Sb: #15561-MS: Oct SDK ships!!
  344. Fm: Graham Welland 70023,1267
  345. To: Dwight Matheny/Microsoft 70750,2340 (X)
  346.  
  347. Excellent......
  348.  
  349. oh well, 14 days to go.......... (in UK)
  350.  
  351. #: 15580 S1/NonTech Cust. Serv.   
  352.     21-Oct-92  23:47:35
  353. Sb: #15561-MS: Oct SDK ships!!
  354. Fm: Mike Walsh (Helsinki) 72557,3170
  355. To: Dwight Matheny/Microsoft 70750,2340 (X)
  356.  
  357. I'm not happy about the upgrade coming "via your local MS office".
  358.  Based on past experience your 14 days is likely to be way off mark, and I
  359. will probably have at least of month of reading messages here from US
  360. developers about it before it arrives on my desk.
  361.  (I'll post to you when it does arrive - don't hold your breath)  Mike
  362.  
  363. #: 15589 S1/NonTech Cust. Serv.   
  364.     22-Oct-92  03:00:04
  365. Sb: #15561-MS: Oct SDK ships!!
  366. Fm: Peter A Winskill 70323,2547
  367. To: Dwight Matheny/Microsoft 70750,2340 (X)
  368.  
  369. Please personally mail the october release to helsinki_mike...I'm tired of his
  370. whining!
  371.  
  372. #: 15602 S1/NonTech Cust. Serv.   
  373.     22-Oct-92  10:24:38
  374. Sb: #15561-MS: Oct SDK ships!!
  375. Fm: John Mueller [DBA] 75300,576
  376. To: Dwight Matheny/Microsoft 70750,2340 (X)
  377.  
  378. That's fantastic news!  I'm looking forward to receiving the new update.  BTW,
  379. is that going to be Friday of this week (the 23rd) or Friday of next week? 
  380. What should we expect in regards to DOS and Windows support?  TIA.
  381.  
  382. John Mueller
  383.  
  384. There is 1 Reply.
  385.  
  386. #: 15617 S1/NonTech Cust. Serv.   
  387.     22-Oct-92  12:58:08
  388. Sb: #15602-MS: Oct SDK ships!!
  389. Fm: Dwight Matheny/Microsoft 70750,2340
  390. To: John Mueller [DBA] 75300,576
  391.  
  392. >>is that going to be Friday of this week (the 23rd) or Friday of next week?
  393.  
  394. We hope to have all the updates shipped by the end of next week, Fri 10/30.
  395. We're shipping 10,000 today.
  396.  
  397. >>What should we expect in regards to DOS and Windows support?
  398.  
  399. This is not something I'm really involved with, except from a user standpoint.
  400. My perception is that the Windows apps that I use run quite a bitfaster. I 
  401. don't really use DOS apps, so I haven't tried any. I especially like the
  402. faster scrolling in the command-line box.
  403.  
  404. -Dwight
  405.  
  406. #: 15593 S1/NonTech Cust. Serv.   
  407.     22-Oct-92  07:24:29
  408. Sb: Win32 release
  409. Fm: David Botton 71043,2465
  410. To: ALL
  411.  
  412. I currently have the July 1992  Preliminary release of Win32 when is the next
  413. release due and will it have the DLLs for Windows 3.1 to suport the Win32 SDK?
  414.  
  415.         David Botton
  416.  
  417. There is 1 Reply.
  418.  
  419. #: 15656 S1/NonTech Cust. Serv.   
  420.     22-Oct-92  17:31:19
  421. Sb: #15593-Win32 release
  422. Fm: Jerry Drain [Microsoft] 72350,2056
  423. To: David Botton 71043,2465
  424.  
  425. Hi David,
  426.  
  427.  << I currently have the July 1992  Preliminary release of Win32 when is the
  428. next
  429.   release due>>
  430.  
  431. They're being shipped now.  We're reproducing them and shipping them just as
  432. fast as the machines can dupplicate them, but with about 25,000 copies to
  433. make, and the time to mail them, it will probably take a couple of weeks to
  434. get to you.  If you don't have your copies within a couple of weeks, let us
  435. know.
  436.  
  437.  << and will it have the DLLs for Windows 3.1 to suport the Win32 SDK?>>
  438.  
  439. If you are asking about Win32S: yes, it is supported with this release.
  440.  
  441.  
  442. Thanks,
  443.   -- Jerry [@Microsoft]
  444.  
  445. #: 15659 S1/NonTech Cust. Serv.   
  446.     22-Oct-92  17:31:38
  447. Sb: #15309-Windows NT
  448. Fm: Jerry Drain [Microsoft] 72350,2056
  449. To: Egbert 100113,1011
  450.  
  451. Hi Egbert,
  452.  
  453.  <<After installing the primary release of Windows NT by the alternate method,
  454. I
  455.   mentioned two problems:
  456.  
  457.   1) My SoundBlaster Pro was whistling all the time.
  458.      Settings: INT 10, Port 220, DMA 1
  459.  
  460.   2) At the DOS-Prompt, I always got an US-Keyboard-Driver, although
  461.      I changed by the Online-Setup to German.
  462.  
  463.   Do You know a solution to this problems?>>
  464.  
  465. Let me please direct you to the WINNT forum, Section 3.  They handle the OS
  466. setup issues, and will be most familiar with your problem.
  467.  
  468. Thanks,
  469.   -- Jerry [@Microsoft]
  470.  
  471. #: 15488 S1/NonTech Cust. Serv.   
  472.     20-Oct-92  15:41:22
  473. Sb: Where to post?
  474. Fm: Otto Fung 76260,631
  475. To: Sysop (X)
  476.  
  477. Hello Sysop,
  478.  
  479.         I now have my system ready to produce MSWIN32 archived messages. I
  480. need some information. 1) Which section should I post it? 2) Any suggestion
  481. for naming the file? My plan is to use WIN32_##.ZIP while ## is the number of
  482. weeks. And therefore, I also need the number of week this forum has been
  483. operated.  I will post starting this week and will do so weekly.
  484.  
  485.         Otto Fung
  486.  
  487. There is 1 Reply.
  488.  
  489. #: 15664 S1/NonTech Cust. Serv.   
  490.     22-Oct-92  17:38:23
  491. Sb: #15488-Where to post?
  492. Fm: Stu Wiley 70473,1351
  493. To: Otto Fung 76260,631
  494.  
  495. Great!  I'm sure your peers are very pleased, and we all thank you. Your
  496. efforts are appreciated. I would suggest a library, but let me check with all
  497. parties and see what the concensus is.  Stu Wiley Developer Service Team
  498.  
  499. #: 15498 S1/NonTech Cust. Serv.   
  500.     20-Oct-92  21:11:56
  501. Sb: For Jerry Drain
  502. Fm: Jerry Drain [Microsoft] 72350,2056
  503. To: Mike Walsh (Helsinki) 72557,3170 (X)
  504.  
  505. Hi Mike,
  506.  
  507. Sorry for not getting back to you quickly, I've been away from my office for
  508. about the last week.  You may note for the future, that when you address
  509. something specifically to an individual (as you addressed this to me), other
  510. Microsoft folks may not jump in to answer your question.  They may figure that
  511. this is an on going dialog between the two of us, where I'm researching your
  512. questions or something.  I might just actually be away for a few days (as I
  513. was).  So you might not get your questions answered.  In the future, you might
  514. address any questions you want any Microsoft people to jump in on, to sysop or
  515. to Microsoft.
  516.  
  517. Regarding your question:
  518.  
  519.  << Last week I asked here (WINNT) about the UK price for the Dev. CDROM
  520. saying
  521.   that I wanted to answer an Internet meesage. >>
  522.  
  523. I'm confused when you say the "Dev. CDROM".  This might be part of the problem
  524. with your other contacts too.  Are you talking about the MSDN CD (Microsoft
  525. Developer's Network CD.)?
  526.  
  527. I'm not sure what the confusion between the two different people came from.
  528. You will find me starting to visit the other sections handling more technical
  529. issues, and that will cause me to lose touch with the details of some of these
  530. issues.  If this is important to you, I can try and contact people regarding
  531. this.  More than likely I think there is some sort of a communication problem
  532. of some kind.  You haven't given me enough details to work with.  If you want
  533. me to pursue this, you can send me a private post with the names of the folks
  534. you talked to and how you were in touch with them etc.
  535.  
  536.  << To date (Thursday) I have had no reply to any of my points.
  537.   To me this shows a willingness to react quickly if money is likely to come
  538.   in, but no willingness to improve what I think you could agree is pretty
  539.   terrible service. (i.e. Sales - great !; Support - what ?) >>
  540.  
  541. I think you've drawn some wrong conclusions here, and I can't agree with you
  542. about the service being terrible.  Again, let me say, these guys have a tough
  543. job, and they don't have some of the luxuries that I can rely on.  I
  544.  
  545. [More]
  546.  
  547. There is 1 Reply.
  548.  
  549. #: 15499 S1/NonTech Cust. Serv.   
  550.     20-Oct-92  21:12:02
  551. Sb: #15498-For Jerry Drain
  552. Fm: Jerry Drain [Microsoft] 72350,2056
  553. To: Jerry Drain [Microsoft] 72350,2056 (X)
  554.  
  555. [Continued]
  556.  
  557. can't answer the "why" part of this question without talking to some people
  558. and finding out the details.  Like as not though, again there are some
  559. communication problems.
  560.  
  561.  << P.S. My questions were fairly simple like - whether the "local" newsletter
  562.   would be in English; why they did not simply send us the US newsletter; why
  563.   the price still hadn't been set; nothing aggressive !>>
  564.  
  565. You?!  Not being aggresive ?!  Just kidding.  Let me check into these
  566. questions for you.  I'll try and get back to you tomorrow or the next day.
  567.  
  568. Thanks,
  569.   -- Jerry [@Microsoft]
  570.  
  571. #: 15542 S1/NonTech Cust. Serv.   
  572.     21-Oct-92  13:58:41
  573. Sb: For Jerry Drain
  574. Fm: Jerry Drain [Microsoft] 72350,2056
  575. To: Mike Walsh (Helsinki) 72557,3170 (X)
  576.  
  577. Hi Mike,
  578.  
  579. Found some more information for you.
  580.  
  581. I'm not sure who it was you talked to in Sweden, but I understand the person
  582. heading up MSDN CD distribution responsibilities there is Magnus Anderson
  583. (MS-SCANDANAVIA).  I haven't found out yet what the prices of the CD there has
  584. been set to yet, or even if it has been set.  I believe MS-UK is set by
  585. different people (probably Brian Iddon, but I'm not sure).  If this is the
  586. case, they may be two different prices, set at two different times.  If you
  587. find otherwise, please let me know, but this sounds like the source of some of
  588. your confusion.
  589.  
  590. Regarding the language the newspaper will be printed in, I understand that it
  591. will depend on the local offices.  We will not be sending the paper directly
  592. to international developers, so it will be up to the local offices if they
  593. will distribute a translated copy or the US copy.  They may not have decided
  594. on this at MS SCANDANAVIA yet.  Again, Magnus should be able to help you.
  595.  
  596. I hope this helps you to understand things better.  If you have more MSDN
  597. questions, there is an MSDN forum called MSDNLIB.  Perhaps you can find more
  598. information there.
  599.  
  600. Thanks,
  601.   -- Jerry [@Microsoft]
  602.  
  603.  
  604.  
  605. There is 1 Reply.
  606.  
  607. #: 15584 S1/NonTech Cust. Serv.   
  608.     21-Oct-92  23:51:18
  609. Sb: #15542-For Jerry Drain
  610. Fm: Mike Walsh (Helsinki) 72557,3170
  611. To: Jerry Drain [Microsoft] 72350,2056 (X)
  612.  
  613. No confusion, Jerry. Magnus Andersson *is* the guy who has ignored my
  614. questions since the 4th and Brian Iddon hasn't posted the UK price officially
  615. here either (as far as I have read all messages). As for local language, many
  616. many more EDP Finns speak English than Swedish, even though Swedish is an
  617. official language here. Anything other than an English-language newsletter
  618. would be an unfortunate sign of Swedish arrogance - Sweden being the largest
  619. Nordic country tends to throw its weight around; Canadians might see some
  620. similarities). Mike
  621.  
  622. There is 1 Reply.
  623.  
  624. #: 15667 S1/NonTech Cust. Serv.   
  625.     22-Oct-92  17:56:16
  626. Sb: #15584-For Jerry Drain
  627. Fm: Jerry Drain [Microsoft] 72350,2056
  628. To: Mike Walsh (Helsinki) 72557,3170 (X)
  629.  
  630. Hi Mike,
  631.  
  632. I'm not sure if you are somehow singularly experiencing these difficulties, or
  633. if you are looking at them with a negative light, or what?  I've sent mail to
  634. Magnus, and he has not yet responded to me.  This suggests to me that he may
  635. be away from his office or tied up in some other respect.  I'm fairly sure
  636. he's not ignoring me, and I doubt that he means to be ignoring you.  Please
  637. try and contact him again.  If he is not available, ask for someone else that
  638. can help you.
  639.  
  640. Regarding the MS-UK, again, give them a call and ask them your questions
  641. directly.  I wouldn't have expected them to make a global announcement about
  642. local prices on this  forum, but they should be able to answer your questions
  643. if you ask them.  If they haven't set a price yet, ask them when it will be
  644. set.
  645.  
  646. Regarding the issue of local language, again, make your needs known to MS
  647. SCANDANAVIA.
  648.  I'm sure that they are interested in your input, but please don't word it in
  649. such a way as to accuse them of throwing their weight around or suggest they
  650. are about to commit an act of "Swedish arrogance".  I'm sure this will only
  651. tend to alienate the person you talk to.
  652.  
  653. Thanks,
  654.   -- Jerry [@Microsoft]
  655.  
  656. #: 15701 S1/NonTech Cust. Serv.   
  657.     23-Oct-92  11:35:11
  658. Sb: Oracle and NT
  659. Fm: Paul Sutter 70451,1500
  660. To: Jerry Drain [Microsoft] 72350,2056 (X)
  661.  
  662.  
  663. Jerry,
  664.  
  665. Thanks for checking into Oracle ODBC support for NT. I will see what I can
  666. find out from Oracle.
  667.  
  668. I would like to point out that having ODBC drivers that support *local* (that
  669. is *efficient*) access to the major databases servers running under NT would
  670. be a very powerful argument for us to completely ditch our Unix server
  671. development plans and concentrate on NT as a server platform for our products.
  672.  
  673. Paul Sutter
  674. Voila! Software
  675.  
  676. #: 15558 S1/NonTech Cust. Serv.   
  677.     21-Oct-92  15:21:55
  678. Sb: Lan Manager licensing
  679. Fm: William Lees 75300,250
  680. To: All
  681.  
  682. This is a fragment of a message from another section:
  683.  
  684.  mswin32/S12_API-RPC_WinNet #15392, from 
  685.    Bruce_Ramsey/Microsoft, 2183 chars, 20-Oct-92  00:03:37
  686.  Fm: Bruce Ramsey/Microsoft 70324,2742
  687.  To: Guy Eddon 71172,1014 (X)
  688.  
  689. ------------------------------------------------------------------------
  690. Microsoft LAN Manager 2.0 and 2.1 servers used to be licensed to
  691.   allow 10 client machines to attach, and then additional user
  692.   packs could be used to increase the number of users a server
  693.   could support
  694.  
  695. With Windows NT and the recently announced LAN manager 2.2,
  696.   servers support as many licensed client machines as you have
  697.   licensed on your network
  698. ------------------------------------------------------------------------
  699.  
  700. OK, here's the question: what's the licensing position going to be if there 
  701. are clients on the network that aren't supplied directly from Microsoft, 
  702. for example DEC Pathworks clients.  At the moment DEC insist that 
  703. every cleint on the net that is going to access a Vax server must be 
  704. licensed for Pathworks.  Are you also going to insist that of the client is 
  705. going to access an NT server, it must be licensed for Microsoft LAN 
  706. Manager?
  707.  
  708. thanks
  709.  
  710. William
  711.  
  712.  
  713. There is 1 Reply.
  714.  
  715. #: 15657 S1/NonTech Cust. Serv.   
  716.     22-Oct-92  17:31:26
  717. Sb: #15558-Lan Manager licensing
  718. Fm: Jerry Drain [Microsoft] 72350,2056
  719. To: William Lees 75300,250 (X)
  720.  
  721. Hi William,
  722.  
  723. Let me answer you real generally, since I'm not in the sales or legal
  724. departments.  If you need more information, you might try the MSNET forum, or
  725. wait for a couple of days and ask your question again when some of the
  726. regulars get back to our office (some of them are out of town right now).
  727.  
  728.   << OK, here's the question: what's the licensing position going to be if
  729. there
  730.   are clients on the network that aren't supplied directly from Microsoft,
  731.   for example DEC Pathworks clients.  At the moment DEC insist that
  732.   every cleint on the net that is going to access a Vax server must be
  733.   licensed for Pathworks.  Are you also going to insist that of the client is
  734.   going to access an NT server, it must be licensed for Microsoft LAN
  735.   Manager?>>
  736.  
  737. As I understand it, the answer is no.  If you are going to install for
  738. instance a DOS LanMan client package, and you need to install for x number of
  739. machines; well then you need to buy x number of licenses.  However, if you
  740. already have a client that will talk to an NT server, you do not have to
  741. purchase a license to allow it to.
  742.  
  743. Thanks,
  744.   -- Jerry [@Microsoft]
  745.  
  746.  
  747.  
  748. There is 1 Reply.
  749.  
  750. #: 15718 S1/NonTech Cust. Serv.   
  751.     23-Oct-92  15:29:54
  752. Sb: #15657-Lan Manager licensing
  753. Fm: William Lees 75300,250
  754. To: Jerry Drain [Microsoft] 72350,2056
  755.  
  756. Jerry,
  757.  
  758. Thanks for your reassurance and advice.  I'll ask the question again in MSNET
  759. next week.
  760.  
  761. William
  762.  
  763. #: 15728 S1/NonTech Cust. Serv.   
  764.     23-Oct-92  19:47:27
  765. Sb: Oct Win32SDK Docs
  766. Fm: John Reece 70153,2077
  767. To: Sysop
  768.  
  769. Just received the new Oct/92 Win32 SDK, and all is well with one exception.
  770. The 'Release Notes - October 1992' manual is so physically mangled as to be
  771. unusable. The pages are all bound together across the top, and the bottom is
  772. cut off at an angle, such that the bottom 1/4 of each page is missing.
  773. Clearly, QC missed this one...
  774.  
  775. Is there any way for me to get another copy of this manual ? I don't need new
  776. disks/CD's, just the manual.
  777.  
  778. If it helps, the packing list details are:
  779.  
  780. Ship Date: 21-Oct-92 Pkg. ID: 335010719A2 Ship To: Reece, John
  781.          1567 Willard St., Apt. B
  782.          San Francisco, CA 94117
  783.  
  784. If you need more info, let me know ... I have posted this message in section 1
  785. of both MSWIN32 and WINNT.
  786.  
  787. Thanks, John
  788.  
  789.  
  790.  
  791.  
  792. #: 15329 S2/SDK-MSTOOLS Setup   
  793.     18-Oct-92  07:56:18
  794. Sb: UK Keyboard
  795. Fm: Keith MacDonald 100041,235
  796. To: SYSOP (X)
  797.  
  798. When I run a DOS program, such as CIM the layout of my UK keyboard
  799. is not recognised.  It is handled at the DOS command prompt correctly.
  800. Is there anything I can do to fix this?
  801.  
  802. Thanks in advance,
  803. Keith
  804.  
  805.  
  806. #: 15346 S2/SDK-MSTOOLS Setup   
  807.     19-Oct-92  04:28:44
  808. Sb: Chinon CD Rom ignore
  809. Fm: Lee Hart [Microsoft] 76150,2536
  810. To: Randy Subers 72707,1040
  811.  
  812. It sounds like your SCSI card is not supported by Windows NT.  Double check
  813. that your controller appears on the Hardware Compatibility List (0992hw.txt)
  814. and for further information please followup to the WINNT forum, Section 3
  815. 'Windows NT Setup'.  (Supported hardware is not a SDK question, it's an
  816. operating system question.)
  817.  
  818. Lee Microsoft Developer Support
  819.  
  820. #: 15389 S2/SDK-MSTOOLS Setup   
  821.     19-Oct-92  15:18:56
  822. Sb: #15276-"ostream.h" and cl386...
  823. Fm: Paul Tissue [Microsoft] 70744,24
  824. To: Bill Cheng 75460,32
  825.  
  826. Hello Bill,
  827.  
  828. OSTREAM.H did not make it into the July release.  It is included with the
  829. October release that you should be getting really soon now.
  830.  
  831. - Paul, Win32 SDK Developer Support
  832.  
  833. #: 15318 S2/SDK-MSTOOLS Setup   
  834.     17-Oct-92  13:18:24
  835. Sb: #15290-NT debuging Kernal infor
  836. Fm: Jake Kirk 76207,1403
  837. To: Peter G. Johansson 71023,557 (X)
  838.  
  839. Peter.
  840.  
  841. Do you really mean "DDK"?  Is it not also documented in the "SDK"?  If it is
  842. only documented in the DDK then how can I get these release notes?  Are the
  843. release notes posted here?  (How about it MS? are you listening?, could these
  844. be made up in a tech ref notes?).  Does this mean I need to get the DDK CDROM?
  845.  
  846.                                         Thanks,                 //Jake.
  847.  
  848. #: 15345 S2/SDK-MSTOOLS Setup   
  849.     19-Oct-92  04:28:39
  850. Sb: #15288-NT debuging Kernal infor
  851. Fm: Lee Hart [Microsoft] 76150,2536
  852. To: Jake Kirk 76207,1403 (X)
  853.  
  854. >How do I get the debugging kernal to give me some useful information?
  855.  
  856. To run a kernel debugger you need to have a second machine running Windows NT.
  857. This is documented on page 310 of Chapter 7 of the Tools manual. Please
  858. disregard the section on the stand alone kernel debugger, as this
  859. functionality is no longer available.
  860.  
  861. You may find that the kernel debugger is not quite what you are expecting.
  862. WinDbg should provide you with all of the functionality that you will need
  863. (particularly in upcoming releases) and the kernel debugger is aimed at DDK
  864. customers more than SDK customers.  (In fact the closest thing to the debug
  865. libraries of Windows development is only available in the DDK - /NODEBUG in
  866. boot.ini only refers to the kernel debugger, not to the availability of
  867. debugging information.)
  868.  
  869. For more information on the kernel debugger please go to Section 7,
  870. Tools-Microsoft.
  871.  
  872. Lee Microsoft Developer Support
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879. There is 1 Reply.
  880.  
  881. #: 15376 S2/SDK-MSTOOLS Setup   
  882.     19-Oct-92  12:52:59
  883. Sb: #15345-NT debuging Kernal infor
  884. Fm: Jake Kirk 76207,1403
  885. To: Lee Hart [Microsoft] 76150,2536 (X)
  886.  
  887. Thanks for the reply Lee,  It will be nice to get the new WinDbg.
  888.  
  889. But I am still not clear on what the /NODEBUG switch is actually doing or what
  890. if refers to.  What does it imply?
  891.  
  892.                         Thanks,                 //Jake.
  893.  
  894. There is 1 Reply.
  895.  
  896. #: 15391 S2/SDK-MSTOOLS Setup   
  897.     19-Oct-92  15:19:07
  898. Sb: #15376-NT debuging Kernal infor
  899. Fm: Paul Tissue [Microsoft] 70744,24
  900. To: Jake Kirk 76207,1403 (X)
  901.  
  902. Hello Jake,
  903.  
  904. The /NODEBUG switch found in BOOT.INI disables portions of the built-in kernel
  905. debugger that pose problems when a debug terminal (another Windows NT machine)
  906. is not attached.  For example, if the system generates an assert, the user
  907. must interact with the debug terminal to continue execution otherwise the
  908. system will remain halted.  With the /NODEBUG switch, the system does an
  909. automatic 'continue' operation is this occurs.
  910.  
  911. The services provided by the kernel debugger are only useful to those writing
  912. device drivers and other system services.  Most of the features found in the
  913. Windows 3.1 kernel debugger are available to the application developer via
  914. WinDebug thus those using the kernel debugger would only gain unnecesary
  915. information at the cost of performance degradation.
  916.  
  917. - Paul, Win32 SDK Developer Support
  918.  
  919. #: 15396 S2/SDK-MSTOOLS Setup   
  920.     19-Oct-92  16:23:23
  921. Sb: #15221-oldnames gone in winnt
  922. Fm: Eric Sassaman/Microsoft 75430,411
  923. To: Nicholas Duane 71044,1076
  924.  
  925. << We are porting our windows 3.0 application to windows nt and the linker
  926. keeps complaining "Oldnames.lib" does not exist. We read the help file and it
  927. said the we can use the "oldnames.lib" to keep our code compatible with unix.
  928. We can not find old names. >>
  929.  
  930. Oldnames.lib is not supplied with the SDK. You need to stop linking with
  931. oldnames.lib to avoid this error message. I'm not sure which helpfile you are
  932. referring to, but it may be that this is old information, possibly from the C7
  933. product, that was mistakenly not removed. If you can forward where you found
  934. this info, I'll make sure that it is corrected. For more information on
  935. oldnames.lib, please followup in section 7, MS tools.
  936.  
  937.   Eric Sassaman
  938.   Microsoft NT Support
  939.  
  940. #: 15416 S2/SDK-MSTOOLS Setup   
  941.     19-Oct-92  20:50:34
  942. Sb: #15221-oldnames gone in winnt
  943. Fm: Eric Sassaman/Microsoft 75430,411
  944. To: Nicholas Duane 71044,1076
  945.  
  946. << The linker keeps complaining "Oldnames.lib" does not exist. >>
  947.  
  948. Nicholas, the help file you were reading was definitely in error; there are no
  949. plans to supply a version of oldnames.lib with the SDK nor with any C language
  950. product for NT.
  951.  
  952.   Eric Sassaman
  953.   Microsoft NT Support
  954.  
  955. #: 15443 S2/SDK-MSTOOLS Setup   
  956.     20-Oct-92  07:13:57
  957. Sb: Which CD-ROM for WIN32?
  958. Fm: Mark Gibbons 76216,1032
  959. To: all
  960.  
  961.        Now that the CD's have started arriving, I need to decide what CD drive
  962. meets my needs and has the most bang per buck.  Does anyone have an opinion on
  963. the Chinon drive available by special offer in the WIN32 CD package?  The
  964. Sound Blaster CD-ROM drive kit includes a 380 ms drive that is controlled by
  965. the Sound Blaster card included, all for around $299 street price. Is 380 ms
  966. fast enough for using the SDK?  What are other people using, and are you happy
  967. with it?  Any advice is appreciated.
  968.                                        Mark
  969.  
  970. #: 15495 S2/SDK-MSTOOLS Setup   
  971.     20-Oct-92  19:31:15
  972. Sb: #15443-Which CD-ROM for WIN32?
  973. Fm: Eric Sassaman/Microsoft 75430,411
  974. To: Mark Gibbons 76216,1032 (X)
  975.  
  976. << Now that the CD's have started arriving, I need to decide what CD drive
  977. meets my needs and has the most bang per buck.  Does anyone have an opinion on
  978. the Chinon drive available by special offer in the WIN32 CD package?  The
  979. Sound Blaster CD-ROM drive kit includes a 380 ms drive that is controlled by
  980. the Sound Blaster card included, all for around $299 street price. Is 380 ms
  981. fast enough for using the SDK?  What are other people using, and are you happy
  982. with it?  Any advice is appreciated. >>
  983.  
  984. Mark, you might also want to ask around in the WINNT forum, perhaps in section
  985. 3 (NT setup) or 8 (hardware compatibility) - you might get some good opinions
  986. there as well.
  987.  
  988.   Eric Sassaman
  989.   Microsoft NT Support
  990.  
  991. #: 15507 S2/SDK-MSTOOLS Setup   
  992.     21-Oct-92  07:11:59
  993. Sb: #15443-Which CD-ROM for WIN32?
  994. Fm: Arthur Knowles 71041,2613
  995. To: Mark Gibbons 76216,1032 (X)
  996.  
  997. mark,
  998.  
  999. <<Does anyone have an opinion on the Chinon drive available by special offer
  1000. in the WIN32 CD package?>>
  1001.  
  1002. If you mean the CD technology offer, that's a Toshiba CD-ROM drive. As to a
  1003. recommendation I'll tell you two things...
  1004.  
  1005. 1) Do not consider any non SCSI-2 CD-ROM drives. I say thins beacuse currently
  1006. only SCSI-2 CD-ROM drives will play audio CD's under NT. This may change
  1007. later. Also do not consider any proprietary CD-ROM drives. No IDE or other
  1008. propietary (SoundBlaster) interfaces. Only SCSI CD-ROM drives are curretnly
  1009. supported.
  1010.  
  1011. 2) Make sure you get a SCSI adapter which is supported. Look at the hardware
  1012. compatability list to verify that the SCSI card is supported. If you can get a
  1013. 16 bit SCSI card that can use high end IRQs. NT cannot share IRQs on an ISA
  1014. bus.
  1015.  
  1016. If you do not mind waiting 6 months for a driver. You might consider the MM
  1017. upgrade kits. Some have SCSI-2 CD-ROM drives. Some do not. The Media Vision
  1018. Pro-16 currently is being shipped with the NEC drives. They are not SCSI-2
  1019. complient, but MV has mentioned that NT drivers will be made available by
  1020. years end. That might include a filter driver to convert the SCSI-2 command
  1021. set to the NEC audio commands. You could ask MV about it in the MULTIVEN
  1022. forum, section 12.
  1023.  
  1024. Art
  1025.  
  1026. #: 15634 S2/SDK-MSTOOLS Setup   
  1027.     22-Oct-92  14:53:55
  1028. Sb: Asm / C var sharing
  1029. Fm: Fred Schempp 70421,1262
  1030. To: All
  1031.  
  1032. I am having trouble locating information on declaring shared variables between
  1033. c and assembly files. Could anyone supply me with a resource or an example asm
  1034. / c file set. Thanks
  1035.  
  1036. #: 15727 S2/SDK-MSTOOLS Setup   
  1037.     23-Oct-92  19:03:53
  1038. Sb: ULTRASTOR
  1039. Fm: ROBERT ROBINSON 71076,226
  1040. To: ALL
  1041.  
  1042. IS A DRIVER AVAILABLE YET FOR THE ULTRASTOR 24F 32 BIT SCSI CONTROLLER - FOR
  1043. ACCESS TO A CD-ROM
  1044.  
  1045. THANK YOU. ROBERT ROBINSON
  1046.  
  1047.  
  1048.  
  1049.  
  1050. #: 15445 S3/SQL Svr SDK (WINNT)   
  1051.     20-Oct-92  08:02:14
  1052. Sb: #15283-SQLServer/NT/WIN16
  1053. Fm: Joe Marler 71075,416
  1054. To: Oscar M. Herrera 71174,1204
  1055.  
  1056. I'll look into this and get back to you.  It should work.  If I haven't
  1057. responded in about 2 days, email me as a reminder.  -- Joe Marler
  1058.  
  1059.  
  1060. #: 15515 S3/SQL Svr SDK (WINNT)   
  1061.     21-Oct-92  09:21:10
  1062. Sb: #15445-SQLServer/NT/WIN16
  1063. Fm: John Stoddard 72400,2551
  1064. To: Joe Marler 71075,416 (X)
  1065.  
  1066. I am quite curious about this too. I have an application that uses ODS, and
  1067. thus looks just like SQL Server, running under Win32. I can connect fine from
  1068. the NT version of ISQL, but the OS/2 version tells me it can't find the named
  1069. pipe. Also, 16-bit Windows applications that use dblib give the same message -
  1070. SQL Server Not Found. It would seem that programs running under the non-native
  1071. subsystems can't connect to named pipes published by win32 apps... or, maybe
  1072. there's some setup magic I don't know about...
  1073.  
  1074. John Stoddard Micro Decisionware
  1075.  
  1076. There is 1 Reply.
  1077.  
  1078. #: 15600 S3/SQL Svr SDK (WINNT)   
  1079.     22-Oct-92  09:37:01
  1080. Sb: #15515-SQLServer/NT/WIN16
  1081. Fm: Joe Marler 71075,416
  1082. To: John Stoddard 72400,2551
  1083.  
  1084. Oscar and John -
  1085.  
  1086. DOS, Win16, and OS/2 DB-Lib apps generally don't work on the July Windows NT
  1087. SDK. This release was of course targeted primarily at Win32 developers.
  1088.  
  1089. The good news is that the October beta 1 relase of Windows NT is now shipping
  1090. (as of yesterday) to all registered SDK users.  I have tested DOS, Win16 and
  1091. OS/2 DB-Lib apps on this release, and they all work.  You will likely be
  1092. pleasantly surprised at the overall improvements in this area.
  1093.  
  1094. Unfortunately, you must manually install the 4.2 OS/2 version of SQL Server on
  1095. this release of Windows NT.  We are working to correct this.  I will email you
  1096. both a document that describes this manual installation procedure.
  1097.  
  1098. Joe Marler
  1099.  
  1100. #: 15679 S3/SQL Svr SDK (WINNT)   
  1101.     23-Oct-92  08:12:06
  1102. Sb: SQL 4.2 Install on WinNT
  1103. Fm: James McDaniel [MS] 71075,415
  1104. To: all
  1105.  
  1106. I posted the file SQLOS2.TXT in section 3 (SQL Srv SDK) of the Library.  This
  1107. text file is a section from the SQL Server SDK for Windows NT release notes. 
  1108. It states that installing SQL Server for OS/2 version 4.2 on the OS/2
  1109. subsystem of the July pre-release of Windows NT often fails, and it contains a
  1110. "manual install" procedure for completing the install by hand.
  1111.  
  1112. Sincerely,
  1113. James McDaniel
  1114. Microsoft SQL Server Support
  1115.  
  1116.  
  1117.  
  1118.  
  1119. #: 15369 S4/API-User Interface   
  1120.     19-Oct-92  11:22:45
  1121. Sb: #15286-LoadResource return val
  1122. Fm: Paul Tissue [Microsoft] 70744,24
  1123. To: neil colvin 71650,3517 (X)
  1124.  
  1125. Hello Neil,
  1126.  
  1127. Please download the file DLGFMT.ZIP for library 4.  This may be what you are
  1128. looking for.
  1129.  
  1130. - Paul, Win32 SDK Developer Support
  1131.  
  1132.  
  1133. #: 15380 S4/API-User Interface   
  1134.     19-Oct-92  13:31:21
  1135. Sb: #15243-dynamic icon changes
  1136. Fm: Paul Tissue [Microsoft] 70744,24
  1137. To: Ralph Smith 76376,3150 (X)
  1138.  
  1139. Hello Ralph,
  1140.  
  1141. I concur that it does seem logical to simply set a new class icon and
  1142. invalidate the rectangle.  I have escalated this issue to development.  I'll
  1143. let you know what I find out.
  1144.  
  1145. - Paul, Win32 SDK Developer Support
  1146.  
  1147. #: 15444 S4/API-User Interface   
  1148.     20-Oct-92  07:28:11
  1149. Sb: iostream.h on NT
  1150. Fm: Christian Betrisey 76600,1450
  1151. To:  72350,2635 (X)
  1152.  
  1153. Where is the header file "iostream.h" located ?
  1154.  
  1155. Thanks,
  1156.  
  1157. Nick
  1158.  
  1159. There is 1 Reply.
  1160.  
  1161. #: 15468 S4/API-User Interface   
  1162.     20-Oct-92  12:53:31
  1163. Sb: #15444-iostream.h on NT
  1164. Fm: Paul Tissue [Microsoft] 70744,24
  1165. To: Christian Betrisey 76600,1450 (X)
  1166.  
  1167. Hello Nick,
  1168.  
  1169. IOSTREAM.H did not make it into the July release.  It is in the October
  1170. release that will be out very soon now.  Thank you.
  1171.  
  1172. - Paul, Win32 SDK Developer Support
  1173.  
  1174. #: 15440 S4/API-User Interface   
  1175.     20-Oct-92  06:32:14
  1176. Sb: System object limits
  1177. Fm: Mark L Hornick 70413,1717
  1178. To: Microsoft
  1179.  
  1180.         Can anyone tell me whether NT imposes any limits on the number of
  1181. threads that are allowed under one process, or the number of semaphores that
  1182. one process can create? We are porting a large industrial control application
  1183. from UNIX to NT that requires 30 threads under one process and about 100
  1184. semaphores. Thanks.
  1185.  
  1186. Mark Hornick    
  1187.  
  1188. There is 1 Reply.
  1189.  
  1190. #: 15469 S4/API-User Interface   
  1191.     20-Oct-92  12:53:35
  1192. Sb: #15440-System object limits
  1193. Fm: Paul Tissue [Microsoft] 70744,24
  1194. To: Mark L Hornick 70413,1717 (X)
  1195.  
  1196. Hello Mark,
  1197.  
  1198. I do not know what the exact limits for the maximum number of threads and
  1199. semphores is per process but I do know that these number are _very_ large and
  1200. the upper bounds you mention are no problem.  Please ask the folks in section
  1201. 6: "API-Base/Security" for the exact limits and they will be happy to look
  1202. into it.
  1203.  
  1204. - Paul, Win32 SDK Developer Support
  1205.  
  1206.  
  1207.  
  1208.  
  1209. There is 1 Reply.
  1210.  
  1211. #: 15477 S4/API-User Interface   
  1212.     20-Oct-92  13:50:20
  1213. Sb: #15469-System object limits
  1214. Fm: Mark L Hornick 70413,1717
  1215. To: Paul Tissue [Microsoft] 70744,24
  1216.  
  1217. Paul,
  1218. Thanks for the info. The reason I was asking is that the defaults
  1219. are rather meager in the version of UNIX that we are porting from;
  1220. you have to rebuild the kernel in order to increase them.
  1221.  
  1222. Mark Hornick
  1223.  
  1224. #: 15433 S4/API-User Interface   
  1225.     20-Oct-92  04:32:17
  1226. Sb: Common Dialogs and Win32
  1227. Fm: Wim Bonner 72561,3135
  1228. To: Microsoft
  1229.  
  1230. Common Dialogs wih the July pre-release?
  1231.  
  1232. I want to know if anyone has had problems with the common dialog boxes in the
  1233. July release of Windows NT?
  1234.  
  1235. I am using the Openfile box, and everything is set up exactly as I have set up
  1236. for using windows 3.1.
  1237.  
  1238. Under the Files of Type combo box, it lists the correct thing as the default
  1239. extension, but it doesn't properly use the default Extension to fill the box
  1240. with possible file names.  Also, my string that I pass for that entry includes
  1241. an entry for All Files with *.* as the filspec, but that entry doesn't show up
  1242. at all.
  1243.  
  1244. I I manually go into the file selection editbox and add *.* it lists the files
  1245. and hands back the right stuff to my program, but it seems to be missing out
  1246. on the setup of the dialog box.
  1247.  
  1248. What should I be looking for?
  1249.  
  1250. #: 15522 S4/API-User Interface   
  1251.     21-Oct-92  12:22:38
  1252. Sb: #15433-Common Dialogs and Win32
  1253. Fm: Bob Landau [Microsoft] 70744,21
  1254. To: Wim Bonner 72561,3135 (X)
  1255.  
  1256. Wim,
  1257.  
  1258. I just tried a sample of mine on the PDC build it does work for ASCII strings.
  1259. The OPENFILENAME structure did not support UNICODE in that build; it does now.
  1260.  
  1261. As for suggestions about all I can offer is double check that the fields in
  1262. OPENFILENAME are initialized correctly. In particular lpstrFile must either be
  1263. NULL or point to a asciiz string and lpstrFilter must contain NULL terminated
  1264. filters and have 2 NULL charactors at the end.
  1265.  
  1266. i.e. "C files\0*.c\0All Files\0*.*\0\0
  1267.  
  1268. If neither of these suggestion point to the problem I can either send you my
  1269. sample or you could get a similar sample off the CD ( \Q_A\SAMPLES\CMNDLG )
  1270.  
  1271. Microsoft Developer Support
  1272.  
  1273. Bob Landau
  1274.  
  1275. #: 15373 S4/API-User Interface   
  1276.     19-Oct-92  12:06:50
  1277. Sb: WaitMessage and DDEML
  1278. Fm: Bill Baker 76300,2150
  1279. To: sysop (X)
  1280.  
  1281. We're having a problem with WaitMessage and DDEML.  We have a 16-bit app
  1282. talking to a 32-bit app using DDEML.  We use WaitMessage in our 32-bit app
  1283. (which acts like a server) to stop spinning when we're not doing anything.
  1284. This server app was ported to NT from UNIX, so the command processing is not
  1285. geared towards a Get/Dispatch Message loop; to make a long story short, we
  1286. need WaitMessage.  The problem occurs with the first DDEML transaction from
  1287. the 16-bit app to the 32-bit app.  Nothing happens until we put the cursor
  1288. over the server app (iconizied).  In other words, the first time through, it
  1289. seems as if the DDEML transaction is not enough to wake up the app; it takes a
  1290. mouse move message, and then everything works fine.
  1291.  
  1292. Any ideas, solutions, suggestions would be GREATLY appreciated.  We under a
  1293. tight schedule for a demo.
  1294.  
  1295. There is 1 Reply.
  1296.  
  1297. #: 15382 S4/API-User Interface   
  1298.     19-Oct-92  13:51:01
  1299. Sb: #15373-WaitMessage and DDEML
  1300. Fm: Paul Tissue [Microsoft] 70744,24
  1301. To: Bill Baker 76300,2150 (X)
  1302.  
  1303. Hello Bill,
  1304.  
  1305. There are some known problems with DDE between Win16 and Win32 applications in
  1306. the July release.  This may be the cause of the problem.  The October release
  1307. has fixed all known Win16 <-> Win32 DDE problems.  Please check this on the
  1308. October release when it arrives.
  1309.  
  1310. Also, how are you updating the mimimized icon?  You may want to follow the
  1311. "dyanamic icon changes" thread in this section (starts with message #15047).
  1312.  Currently this situation is being looked into but in the meantime I posted
  1313. one method which does work correctly for updating the icon.
  1314.  
  1315. - Paul, Win32 SDK Developer Support
  1316.  
  1317.  
  1318.  
  1319.  
  1320. There is 1 Reply.
  1321.  
  1322. #: 15442 S4/API-User Interface   
  1323.     20-Oct-92  07:06:21
  1324. Sb: #15382-WaitMessage and DDEML
  1325. Fm: Bill Baker 76300,2150
  1326. To: Paul Tissue [Microsoft] 70744,24 (X)
  1327.  
  1328. This problem still exists in the special pre-release of the October beta
  1329. (which we received because of our participation in the porting lab).  Any
  1330. other suggestions? Thanks...
  1331.  
  1332. #: 15543 S4/API-User Interface   
  1333.     21-Oct-92  14:03:44
  1334. Sb: #15442-WaitMessage and DDEML
  1335. Fm: Paul Tissue [Microsoft] 70744,24
  1336. To: Bill Baker 76300,2150
  1337.  
  1338. Hello Bill,
  1339.  
  1340. Attempting to write a Windows program without using the standard Dispatch
  1341. message loop is a bit out of my league; the issues and problems that can
  1342. result from this are unknown to me.  Do you have a small sample which
  1343. reproduces the problem you are seeing?
  1344.  
  1345. Have you used SPY and DDESPY to determine if the application is really getting
  1346. the DDE notification?  The WaitMessage API will suspend the thread until a new
  1347. message is received in the queus.  If, for some reason, the DDE notification
  1348. is not getting into the thread's message queue then the mouse event surely
  1349. will "wake-up" the thread.  Either way, it is not clear whether this is a
  1350. problem the Win32 subsystem or your application.  Sample code would surely
  1351. help to pin point the fault.
  1352.  
  1353. - Paul, Win32 SDK Developer Support
  1354.  
  1355. #: 15523 S4/API-User Interface   
  1356.     21-Oct-92  12:23:26
  1357. Sb: error from cvpack
  1358. Fm: Christian Betrisey 76600,1450
  1359. To:  72350,2635 (X)
  1360.  
  1361. When I compile and link a C++ program, I got the following error (linker)
  1362. messages: CVPACK: Fatal error, ek1001: out of   memory. CVPACK::Warning
  1363. ckc001: file already packed.
  1364.  
  1365. Could you tell me what  the problem was ?
  1366.  
  1367. Nick
  1368.  
  1369. There is 1 Reply.
  1370.  
  1371. #: 15565 S4/API-User Interface   
  1372.     21-Oct-92  16:49:18
  1373. Sb: #15523-error from cvpack
  1374. Fm: Bob Landau [Microsoft] 70744,21
  1375. To: Christian Betrisey 76600,1450 (X)
  1376.  
  1377. Nick,
  1378.  
  1379. Please post this in the tools section MS2WIN32 section 7. When you re-post
  1380. this please let us know a little more about the build process such as
  1381.  
  1382. 1) Size of C++ file 2) Is this a MFC application or Windows 3) Are you basing
  1383. the makefile on NTWIN32.MAK 4) CVPACK is really only used for WinDbg which did
  1384.    not support C++ source debugging in the July release
  1385.    you should be able to remove this entirely without
  1386.    causing any problems running this.
  1387.  
  1388. Microsoft Developer Support
  1389.  
  1390. Bob Landau
  1391.  
  1392. #: 15677 S4/API-User Interface   
  1393.     23-Oct-92  07:04:10
  1394. Sb: SetWindowsHook Bug
  1395. Fm: Keith MacDonald 100041,235
  1396. To: SYSOP (X)
  1397.  
  1398. It's possible to abort any process on the system, that accepts keyboard input
  1399. in a dialog box, by running a program that makes the following call:
  1400.  
  1401. hHook = SetWindowsHookEx(WH_KEYBOARD, (HOOKPROC)&kbdproc, hInstance, 0);
  1402.  
  1403.  
  1404. and then activating the program you want to abort (such as winhelp or winfile)
  1405. and typing one character in one of its dialog boxes.
  1406.  
  1407. The manual states that this use of SetWindowsHook is only valid in a DLL, but
  1408. nothing stops you from actually doing it in an application.
  1409.  
  1410. I hit upon this problem in converting a C++ application from Windows 3.1.  I
  1411. couldn't get it's DLL working due to a bug in LIB.EXE, so I merged it into the
  1412. .EXE file.
  1413.  
  1414. The solution is to set the 3rd argument to NULL, and the 4th to
  1415. GetCurrentThreadId(), but CAPS LOCK and NUM LOCK don't get propagated as
  1416. intended by doing this.
  1417.  
  1418.  
  1419.   
  1420.  
  1421. There is 1 Reply.
  1422.  
  1423. #: 15693 S4/API-User Interface   
  1424.     23-Oct-92  11:06:33
  1425. Sb: #15677-SetWindowsHook Bug
  1426. Fm: Bob Landau [Microsoft] 70744,21
  1427. To: Keith MacDonald 100041,235
  1428.  
  1429. Keith,
  1430.  
  1431. You're right SetWindowsHookEx() should not behave like this. Can you please
  1432. answer the following info
  1433.  
  1434. 1) hHook is not null right? 2) You're using CallNexHookEx() right? 3) What is
  1435. your hook procedure doing/returning? 4) Have you tried this on the Oct
  1436. release?
  1437.  
  1438. Microsoft Developer Support
  1439.  
  1440. Bob Landau
  1441.  
  1442.  
  1443.  
  1444. There is 1 Reply.
  1445.  
  1446. #: 15706 S4/API-User Interface   
  1447.     23-Oct-92  11:55:22
  1448. Sb: #15693-SetWindowsHook Bug
  1449. Fm: neil colvin 71650,3517
  1450. To: Bob Landau [Microsoft] 70744,21 (X)
  1451.  
  1452. You keep asking people if they have tried things on the october release.  I
  1453. have yet to hear from one person who I know with the WINNT SDK who has the
  1454. October release.  I guess someone must, or you wouldn't ask.  When will the
  1455. majority of us get it (especially the 4000 of us who went to the PDC)???
  1456.  
  1457. #: 15710 S4/API-User Interface   
  1458.     23-Oct-92  12:49:55
  1459. Sb: DDE
  1460. Fm: Howard Myers 76711,462
  1461. To: Microsoft
  1462.  
  1463. I set up a DDE_ADVISE in my app. on the Count variable of the DDE Server
  1464. Sample Appl.  A c0000005 (Access Violation) is generated in WinDbg when I
  1465. actually get advised of the change.  The following sequence of messages were
  1466. captured with DDESpy when receiving the sequence that caused the problem:
  1467.  
  1468. ask: 0x4c Time: 7255470 Callback:
  1469.    Type=Advreq, fmt=0x1("CF_TEXT"), hConv=0x7c02200, hsz1=0xc002("Test")
  1470.    hsz2=0xc001("Count"), hData=0x0, dwData1=0x0, dwData2=0x0
  1471.    return=0x8c03600
  1472.    Output data=
  1473.    "4"
  1474.    ... ask: 0x4c Time:7255485 hwndTo=0xb00f8 Message(Posted)=Data:
  1475.    hwndFrom=0x90094, status=a000(fRelease ) fmt=0x1("CF_TEXT")
  1476.    Data=          "4"
  1477.    Item=0xc00a("Count") ask:0x87 Time:7255500 Callback:
  1478.    Type=Advdata, fmt=0x1("CF_TEXT"), hConv=0x801300, hsz1=0xc001("Test")
  1479.    hsz2=0xc002("Count"), hData=0x1802600, dwData1=0x0, dwData2=0x0
  1480.    return=0x8000
  1481.    Input data=
  1482.    "4"
  1483.    ...
  1484.  
  1485. The call trace from WinDbg appears as follows:
  1486.  
  1487. _CISpontAdviseData@8 _SpontaneousClientMessage@12 _ProcessSyncDDEMessage@12
  1488. _ProcessAsyncDDEMsg@16 _DDEMLClientWndProc@16 _DispatchMessageWorker@8
  1489. _DispatchMessageA@4 MyAppsRoutine()
  1490. ..
  1491.  
  1492. My code is simply doing the following at this point:
  1493.  
  1494. GetMessage(&msg,NULL,0,0); TranslateMessage(&msg); DispatchMessage(&msg);
  1495.  
  1496. This code works under 3.1 and under the July release.  This problem (and
  1497. unfortunately many others) just started with the October Beta release.
  1498.  
  1499. [more]
  1500.  
  1501. There is 1 Reply.
  1502.  
  1503. #: 15711 S4/API-User Interface   
  1504.     23-Oct-92  12:51:12
  1505. Sb: #15710-DDE
  1506. Fm: Howard Myers 76711,462
  1507. To: Howard Myers 76711,462 (X)
  1508.  
  1509. A similar problem happens when I try to connect the Client sample to my
  1510. application (again, this worked under 3.1 and with the July release). I get
  1511. the same exception and the DDESpy dump for the last couple of messages is:
  1512.  
  1513. Task:0x5b Time:3458655 hwndTo=0x240108 Message(Sent)=Initiate:
  1514.    hwndFrom=0x1b0173, App=0xc009("PW")
  1515.    Topic=0x0("#0") Task:0x4c Time:3458670 Callback:
  1516.    Type=Wildconnect, fmt=0x0("?"), hConv=0x0, hsz1=0x0("")
  1517.    hsz2=0xc000("PW"), hData=0x0, dwData1=0x0, dwData2=0x0
  1518.    return=0x400600
  1519.    Output data=
  1520.    00 c0 00 00 02 c0 00 00 00 c0 00 00 00 00 00 00    ...........
  1521.    .....
  1522.  
  1523. There are a number of Similar messages to the Initiate: listed above
  1524. immediately preceding it.  They are identical except for the time and hwndTo
  1525. fields.
  1526.  
  1527. The Call Trace in this case is:
  1528.  
  1529. __ClientDDEMLInitiateServers@24 ___ClientDDEMLInitiateServers@4
  1530. _CsrpProcessCallbackRequest@4 _CsrClientSendMessage@0 _CCSMakeCall@4
  1531. _ServerGetMEssage@20 _GetMessageA@16
  1532.  
  1533. This happens during the same GetMessage() call shown above.
  1534.  
  1535. The DDEML Client Sample generates a dialog box with the following: DDEML
  1536. Error-No_conv_established
  1537.  
  1538. Any ideas on these problems?  I can get the Server and Client apps. to talk to
  1539. each other, but my app. that worked with the July release is totally hosed
  1540. now.
  1541.  
  1542. #: 15674 S4/API-User Interface   
  1543.     23-Oct-92  06:34:14
  1544. Sb: DLGTEMPLATE structure
  1545. Fm: Malinda Adams 72410,412
  1546. To: Microsoft
  1547.  
  1548. I am trying to find some correct documentation on the DLGITEMTEMPLATE and the
  1549. DLGTEMPLATE structures. In the pre-release doc (Programmer's Reference: API
  1550. Part 2 - pages 721-723), there is no description of the fields for the
  1551. DLGITEMTEMPLATE structure and the description for the DLGTEMPLATE fields does
  1552. not match the structure. Thanks for any help. Malinda Adams
  1553.  
  1554. There is 1 Reply.
  1555.  
  1556. #: 15716 S4/API-User Interface   
  1557.     23-Oct-92  14:03:46
  1558. Sb: #15674-DLGTEMPLATE structure
  1559. Fm: Steve Firebaugh [MS] 75430,412
  1560. To: Malinda Adams 72410,412
  1561.  
  1562. Malinda Adams.   Please try downloading the file DLGFMT.ZIP from library 4. I
  1563. believe it contains the information that you are looking for.
  1564.  
  1565. Steve Firebaugh
  1566.  
  1567.  
  1568.  
  1569.  
  1570. #: 15478 S5/API-GDI/Graphics   
  1571.     20-Oct-92  14:07:38
  1572. Sb: #15265-Metafiles from clipboard
  1573. Fm: Petrus Wong [Microsoft] 70743,3355
  1574. To: Howard Myers 76711,462 (X)
  1575.  
  1576.  Hi Howard:
  1577.  
  1578.  Here is some code that works...
  1579.  
  1580.             case MM_COPY:   {
  1581.  
  1582.  #ifndef W3X_FORMAT
  1583.                 if (ghMetaf == 0) {
  1584.                     SetWindowText(ghTextWnd, "No Metafile for copying");
  1585.                     return 0L;
  1586.                 }
  1587.  #else
  1588.                 if (ghmf == 0) {
  1589.                     SetWindowText(ghTextWnd, "No Metafile for copying");
  1590.                     return 0L;
  1591.                 }
  1592.  #endif
  1593.                 OpenClipboard(ghwndMain);
  1594.                 EmptyClipboard();
  1595.  
  1596.  #ifndef W3X_FORMAT
  1597.                 {
  1598.                     HENHMETAFILE hEmfTmp;
  1599.  
  1600.                     hEmfTmp = CopyEnhMetaFile(ghMetaf, NULL);
  1601.  
  1602.                     if (hEmfTmp) {
  1603.                         SetClipboardData(CF_ENHMETAFILE, hEmfTmp);
  1604.                         DeleteEnhMetaFile(hEmfTmp);
  1605.                     }
  1606.                 }
  1607.  #else
  1608.                 {
  1609.                     HGLOBAL          hmem;
  1610.                     LPMETAFILEPICT  lpmfp;
  1611.                     RECT            rcClientDS;
  1612.                     DWORD           x, y, mm;
  1613.                     HDC             hDCDrawSurf;
  1614.  
  1615.                     if ((hmem = GlobalAlloc(GMEM_ZEROINIT | GMEM_MOVEABLE |
  1616. GMEM_DDESHARE,
  1617.                                         sizeof(METAFILEPICT))) == NULL) {
  1618.  
  1619.                         SetWindowText(ghTextWnd, "Failed in allocating
  1620. memory");
  1621.                         goto COPY_EXIT;
  1622.  
  1623.                     }
  1624.  
  1625.                     hDCDrawSurf = GetDC(ghwndDrawSurf);
  1626.  
  1627.                     lpmfp = (LPMETAFILEPICT)GlobalLock(hmem);
  1628.                     lpmfp->mm = mm = MM_ANISOTROPIC;
  1629.  
  1630.                     GetClientRect(ghwndDrawSurf, &rcClientDS);
  1631.                     x = rcClientDS.right - rcClientDS.left;
  1632.                     x *= 2540;
  1633.                     x /= GetDeviceCaps(hDCDrawSurf, LOGPIXELSX);
  1634.                     lpmfp->xExt = x;
  1635.  
  1636.                     y = rcClientDS.bottom - rcClientDS.top;
  1637.                     y *= 2540;
  1638.                     y /= GetDeviceCaps(hDCDrawSurf, LOGPIXELSY);
  1639.                     lpmfp->yExt = y;
  1640.  
  1641.  
  1642. [More]
  1643.  
  1644. There is 1 Reply.
  1645.  
  1646.  
  1647. #: 15479 S5/API-GDI/Graphics   
  1648.     20-Oct-92  14:07:52
  1649. Sb: #15478-Metafiles from clipboard
  1650. Fm: Petrus Wong [Microsoft] 70743,3355
  1651. To: Petrus Wong [Microsoft] 70743,3355
  1652.  
  1653. [Continued]
  1654.  
  1655.                     lpmfp->hMF = CopyMetaFile(ghmf, NULL);
  1656.  
  1657.                     GlobalUnlock(hmem);
  1658.                     SetClipboardData(CF_METAFILEPICT, hmem);
  1659.                     ReleaseDC(ghwndDrawSurf, hDCDrawSurf);
  1660.  
  1661.                 }
  1662.  COPY_EXIT:
  1663.  #endif
  1664.                 CloseClipboard();
  1665.                 return 0L;
  1666.             }
  1667.  
  1668.             case MM_PASTE:  {
  1669.                 OpenClipboard(ghwndMain);
  1670.  
  1671.  #ifndef W3X_FORMAT
  1672.             {
  1673.                 HENHMETAFILE hEmfTmp;
  1674.                 ENHMETAHEADER EnhMetaHdr;
  1675.  
  1676.                 hEmfTmp = GetClipboardData(CF_ENHMETAFILE);
  1677.                 if (hEmfTmp) {
  1678.                   DeleteEnhMetaFile(ghMetaf);
  1679.                   ghMetaf = CopyEnhMetaFile(hEmfTmp, NULL);
  1680.                   DeleteEnhMetaFile(hEmfTmp);
  1681.                   GetEnhMetaFileHeader(ghMetaf, sizeof(EnhMetaHdr),
  1682. &EnhMetaHdr);
  1683.                   SetDlgItemInt(ghwndCtrlPanel, DID_COUNTER,
  1684. EnhMetaHdr.nRecords, FALSE);
  1685.                   bReset = TRUE;
  1686.                 }
  1687.             }
  1688.  #else
  1689.             {
  1690.                 HANDLE      hmem;
  1691.                 DWORD       dwXSugExt, dwYSugExt, dwMM;
  1692.                 HDC         hDCDrawSurf;
  1693.                 RECT        rc;
  1694.                 INT         iSavedDC;
  1695.  
  1696.  
  1697.                 hmem = GetClipboardData(CF_METAFILEPICT);
  1698.  
  1699.                 if (hmem)
  1700.                 {
  1701.                     LPMETAFILEPICT lpmfp;
  1702.  
  1703.                     lpmfp = (LPMETAFILEPICT)GlobalLock(hmem);
  1704.                     ghmf  = lpmfp->hMF;
  1705.                     dwMM  = lpmfp->mm;
  1706.                     dwXSugExt = lpmfp->xExt;
  1707.                     dwYSugExt = lpmfp->yExt;
  1708.                     GlobalUnlock(hmem);
  1709.  
  1710.                     hDCDrawSurf = GetDC(ghwndDrawSurf);
  1711.  
  1712.                     iSavedDC = SaveDC(hDCDrawSurf);
  1713.  
  1714.                     GetClientRect(ghwndDrawSurf, &rc);
  1715.  
  1716.                     SetMapMode(hDCDrawSurf, dwMM);
  1717.                     if (dwXSugExt && dwYSugExt)
  1718.                     {
  1719.                         DWORD x;
  1720.                         DWORD y;
  1721.  
  1722.                         x = dwXSugExt;
  1723.  
  1724. [More]
  1725.  
  1726. There is 1 Reply.
  1727.  
  1728. #: 15480 S5/API-GDI/Graphics   
  1729.     20-Oct-92  14:08:03
  1730. Sb: #15479-Metafiles from clipboard
  1731. Fm: Petrus Wong [Microsoft] 70743,3355
  1732. To: Petrus Wong [Microsoft] 70743,3355
  1733.  
  1734. [Continued]
  1735.  
  1736.                         x *= GetDeviceCaps(hDCDrawSurf,LOGPIXELSX);
  1737.                         x /= 2540;                  // inch/millimeter
  1738.  
  1739.  
  1740.                         y = dwYSugExt;
  1741.                         y *= GetDeviceCaps(hDCDrawSurf,LOGPIXELSY);
  1742.                         y /= 2540;                  // inch/millimeter
  1743.  
  1744.                         SetWindowExtEx(hDCDrawSurf, x, y, NULL);
  1745.                     } else {
  1746.  
  1747.                         SetWindowExtEx(hDCDrawSurf, rc.right, rc.bottom,
  1748. NULL);
  1749.  
  1750.                     }
  1751.  
  1752.                     SetViewportExtEx(hDCDrawSurf, rc.right, rc.bottom, NULL);
  1753.  
  1754.                     SetViewportOrgEx(hDCDrawSurf, 0, 0, NULL);
  1755.                     SetWindowOrgEx(hDCDrawSurf, 0, 0, NULL);
  1756.  
  1757.                     PlayMetaFile(hDCDrawSurf, ghmf);
  1758.                     RestoreDC(hDCDrawSurf, iSavedDC);
  1759.                     ReleaseDC(ghwndDrawSurf, hDCDrawSurf);
  1760.                 }
  1761.  
  1762.             }
  1763.  #endif
  1764.                 CloseClipboard();
  1765.                 EnableMenuItem(hMenu, MM_COPY,  MF_ENABLED);
  1766.                 return 0L;
  1767.             }
  1768.  
  1769.  petrus...
  1770.  
  1771.  
  1772.  
  1773. There is 1 Reply.
  1774.  
  1775. #: 15484 S5/API-GDI/Graphics   
  1776.     20-Oct-92  14:38:49
  1777. Sb: #15480-Metafiles from clipboard
  1778. Fm: Howard Myers 76711,462
  1779. To: Petrus Wong [Microsoft] 70743,3355
  1780.  
  1781. Petrus,
  1782.  
  1783. Thanks for the info.  I'll give it a try on Thursday when I'm back in the
  1784. office.
  1785.  
  1786. Thanks again! Howard Myers
  1787.  
  1788. #: 15349 S5/API-GDI/Graphics   
  1789.     19-Oct-92  06:40:05
  1790. Sb: BITMAP sample
  1791. Fm: Paul Ligeski 76636,1166
  1792. To: Sysop (X)
  1793.  
  1794. Hi,
  1795.  
  1796. In both the 3.0 and the 3.1 SDK there was a sample program called BITMAP which
  1797. showed how to use BitBlt.  Is there a BITMAP for NT?
  1798.  
  1799. I ask because the previous SDK samples used LoadBitmap with a string.  Under
  1800. NT, I have to assign a #define statement to the symbol in the resource file
  1801. and use MAKEINTRESOURCE in the code.  This is kinda cumbersome since I was
  1802. previously displaying the string name of the current resource.
  1803.  
  1804. --Paul
  1805.  
  1806.  
  1807.  
  1808.  
  1809. There is 1 Reply.
  1810.  
  1811. #: 15409 S5/API-GDI/Graphics   
  1812.     19-Oct-92  18:08:45
  1813. Sb: #15349-BITMAP sample
  1814. Fm: Petrus Wong [Microsoft] 70743,3355
  1815. To: Paul Ligeski 76636,1166
  1816.  
  1817. Hello Paul:
  1818.  
  1819.  >>In both the 3.0 and the 3.1 SDK there was a sample program called BITMAP
  1820. which showed how to use BitBlt.  Is there a BITMAP for NT?<<
  1821.  
  1822.  No, there is a similar sample called "Streblt" in the Q_A directory on the
  1823. CD.
  1824.  
  1825.  >>I ask because the previous SDK samples used LoadBitmap with a string. 
  1826. Under NT, I have to assign a #define statement to the symbol in the resource
  1827. file and use MAKEINTRESOURCE in the code.  This is kinda cumbersome since I
  1828. was previously displaying the string name of the current resource.<<
  1829.  
  1830.  Check out the "Streblt" sample, it calls the LoadIcon() API as follows:
  1831.  
  1832.            LoadIcon(hInstance, "strebltIcon");
  1833.  
  1834.  In the RC file, the resource is defined as:
  1835.  
  1836.            strebltIcon ICON streblt.ico
  1837.  
  1838.  thanks,
  1839.  petrus
  1840.  
  1841. #: 15511 S5/API-GDI/Graphics   
  1842.     21-Oct-92  09:05:40
  1843. Sb: #15409-BITMAP sample
  1844. Fm: Paul Ligeski 76636,1166
  1845. To: Petrus Wong [Microsoft] 70743,3355 (X)
  1846.  
  1847. Hi Petrus,
  1848.  
  1849. Thanks for directing me to the StreBlt sample in the Q_A area.  I didn't get
  1850. that far.
  1851.  
  1852. --Paul
  1853.  
  1854. P.S.  Is this on the October release as well and do you know if I should be
  1855. getting that soon? (today's 10/21/92)
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861. There is 1 Reply.
  1862.  
  1863. #: 15577 S5/API-GDI/Graphics   
  1864.     21-Oct-92  21:34:05
  1865. Sb: #15511-BITMAP sample
  1866. Fm: Petrus Wong [Microsoft] 70743,3355
  1867. To: Paul Ligeski 76636,1166 (X)
  1868.  
  1869. Hi Paul:
  1870.  
  1871.  >>P.S.  Is this on the October release as well and do you know if I should be
  1872. getting that soon? (today's 10/21/92)<<
  1873.  
  1874.  Yes, it is also on the October release.  Well, everybody on this program will
  1875. be getting the release.  But, it is hard to say how long does it take to get
  1876. to your place.
  1877.  
  1878.  thanks, petrus
  1879.  
  1880. #: 15353 S5/API-GDI/Graphics   
  1881.     19-Oct-92  08:13:35
  1882. Sb: #15268-Making .FON files
  1883. Fm: Howard Myers 76711,462
  1884. To: Steve Firebaugh [MS] 75430,412 (X)
  1885.  
  1886. Steve,
  1887.  
  1888. Thanks for your pro-active help on this.  Your strategy makes a lot of sense.
  1889.  
  1890. Howard Myers
  1891.  
  1892. #: 15482 S5/API-GDI/Graphics   
  1893.     20-Oct-92  14:36:18
  1894. Sb: #15268-Making .FON files
  1895. Fm: Howard Myers 76711,462
  1896. To: Steve Firebaugh [MS] 75430,412
  1897.  
  1898. Steve,
  1899.  
  1900. I received the October release yesterday and installed it today.  So, anytime
  1901. you can upload the font building procedure for this release, it would be
  1902. greatly appreciated!
  1903.  
  1904. Thanks! Howard Myers
  1905.  
  1906. #: 15489 S5/API-GDI/Graphics   
  1907.     20-Oct-92  15:43:32
  1908. Sb: #15482-Making .FON files
  1909. Fm: Jeong Ho Lee 70253,1244
  1910. To: Howard Myers 76711,462 (X)
  1911.  
  1912. >> I received the Oct release yesterday ....
  1913.  
  1914. PMJI, are you a kind of special developer ? Or an ordinary SDK owner or SF
  1915. conference attendee ? Can I expect that I will receive it tomorrow ? ;-)
  1916.  
  1917. Thabks
  1918. jLee
  1919.  
  1920. #: 15521 S5/API-GDI/Graphics   
  1921.     21-Oct-92  11:04:20
  1922. Sb: #15482-Making .FON files
  1923. Fm: Steve Firebaugh [MS] 75430,412
  1924. To: Howard Myers 76711,462 (X)
  1925.  
  1926. Howard,   I just uploaded MAKFON.ZIP to library 5. Let me know if you have any
  1927. problems with it.
  1928.  
  1929. Steve Firebaugh
  1930.  
  1931.  
  1932.  
  1933. There is 1 Reply.
  1934.  
  1935. #: 15597 S5/API-GDI/Graphics   
  1936.     22-Oct-92  08:54:16
  1937. Sb: #15521-Making .FON files
  1938. Fm: Howard Myers 76711,462
  1939. To: Steve Firebaugh [MS] 75430,412 (X)
  1940.  
  1941. Steve,
  1942.  
  1943. Thanks for being so prompt in uploading this... I'll give it a try!
  1944.  
  1945. #: 15502 S5/API-GDI/Graphics   
  1946.     20-Oct-92  21:24:36
  1947. Sb: #15223-Enhanced Meta Files
  1948. Fm: Petrus Wong [Microsoft] 70743,3355
  1949. To: Howard Myers 76711,462 (X)
  1950.  
  1951. Hello Howard:
  1952.  
  1953.  >>...enhanced meta file.  The entire meta file does appear properly in MFEDIT
  1954. when pasted in.  However, if I then copy it out to the clipboard, it seems to
  1955. exhibit similar problems. <<
  1956.  
  1957.  I've just tried to reproduce this on our beta build.  The clipboard does
  1958. seems to have no problem displaying the entire enhanced metafile (created by
  1959. paintbrush as you described.)  So, perhaps, it was a bug in either paintbrush
  1960. or clipboard that has been fixed.
  1961.  
  1962.  Let us know again if you still have the same problem when you get your beta.
  1963.  
  1964.  thanks,
  1965.  petrus
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971. There is 1 Reply.
  1972.  
  1973. #: 15631 S5/API-GDI/Graphics   
  1974.     22-Oct-92  14:39:16
  1975. Sb: #15502-Enhanced Meta Files
  1976. Fm: Howard Myers 76711,462
  1977. To: Petrus Wong [Microsoft] 70743,3355 (X)
  1978.  
  1979. Well Petrus, I got my beta and it's still the same.
  1980.  
  1981. Specifically how I re-create it is to open paintbrush and load
  1982. \winnt\winnt.bmp Next, I select the rectangular Cutting option.  I select a
  1983. rectangle that includes the entire flag icon plus some additional "gray" on
  1984. each side.  Next, I copy it to the clipboard.  When I open the Clipboard
  1985. Viewer, the bitmap and picture versions are fine.  However, the enhanced
  1986. metafile version is cut off just to the right of where the green and yellow
  1987. squares start and at the bottom before the blue square ends.
  1988.  
  1989. I definitely feel like it is either a paintbrush or clipboard problem,
  1990. although I first discovered it when I tried to load it into my app.  It's not
  1991. that critical of a problem, but 1) thought you might want to know about it,
  1992. and 2) it's hard to test this aspect of my app. without getting good metafiles
  1993. on clipboard.
  1994.  
  1995. #: 15633 S5/API-GDI/Graphics   
  1996.     22-Oct-92  14:43:15
  1997. Sb: #15223-Enhanced Meta Files
  1998. Fm: Petrus Wong [Microsoft] 70743,3355
  1999. To: Howard Myers 76711,462 (X)
  2000.  
  2001. Hello Howard:
  2002.  
  2003.  > from my last response to you...
  2004.  >I've just tried to reproduce this on our beta build.  The clipboard does
  2005. seems to have no problem displaying the entire enhanced metafile (created by
  2006. paintbrush as you described.)  So, perhaps, it was a bug in either paintbrush
  2007. or clipboard that has been fixed.<
  2008.  
  2009.  I was playing around with paintbrush again this morning and this time I was
  2010. able to reproduce the problem you mentioned.  It does seem like paintbrush was
  2011. not creating the metafile correctly.  I am looking into this right now...I'll
  2012. get back to you when I nail down the problem.
  2013.  
  2014.  thanks,
  2015.  petrus
  2016.  
  2017.  
  2018.  
  2019.  
  2020. There is 1 Reply.
  2021.  
  2022. #: 15675 S5/API-GDI/Graphics   
  2023.     23-Oct-92  06:35:27
  2024. Sb: #15633-Enhanced Meta Files
  2025. Fm: Howard Myers 76711,462
  2026. To: Petrus Wong [Microsoft] 70743,3355 (X)
  2027.  
  2028. Thanks. Look forward to hearing from you.
  2029.  
  2030.  
  2031.  
  2032.  
  2033. #: 15332 S6/API-Base/Security   
  2034.     18-Oct-92  16:18:21
  2035. Sb: #15179-Timeslice Duration
  2036. Fm: Ben Laurie 100014,1235
  2037. To: Eric Sassaman/Microsoft 75430,411 (X)
  2038.  
  2039. Eric,
  2040.  
  2041. << If the balance set manager sees that a process that it's been stealing
  2042. pages from is incurring more page faults it will bump that process's working
  2043. set size back up.>>
  2044.  
  2045. I like it. An algorithm that recognises the S-shape of cache hits vs. cache
  2046. size. My compliments to the chef.
  2047.  
  2048. Ben.
  2049.        
  2050.  
  2051.  
  2052. #: 15339 S6/API-Base/Security   
  2053.     19-Oct-92  03:57:14
  2054. Sb: NTFS data attrib size
  2055. Fm: David A. Solomon 71561,3603
  2056. To: sysop sysop (X)
  2057.  
  2058. An NTFS question:
  2059.  
  2060. One of the performance features described at the July PDC was that if the data
  2061. attribute of a file was small, it could fit with the other 'file header'
  2062. information in the MFT and thus the entire file (header data as well as file
  2063. data) could be accessed in a single I/O.  The same was said to be true for
  2064. small directory files (the index attribute fitting with the file header in the
  2065. MFT record).
  2066.  
  2067. What was not mentioned was the appx size of the data attribute that would
  2068. fit... I realize this depends on the size of the other attributes (e.g. the
  2069. file name, security description), which are variable length -- but, can you
  2070. give a ballpark figure?
  2071.  
  2072. #: 15361 S6/API-Base/Security   
  2073.     19-Oct-92  09:56:48
  2074. Sb: Thread "ON EXIT"
  2075. Fm: Koby 71172,2722
  2076. To: Pete Grey [Microsoft] 70744,22 (X)
  2077.  
  2078. Thanks  Pete,
  2079. I'll try to find a way to handle it. However it will be nice to let a thread
  2080. to do some clean up work before it terminated by some one. Maybe you can
  2081. consider it in the future API.
  2082. Koby
  2083.  
  2084. #: 15340 S6/API-Base/Security   
  2085.     19-Oct-92  03:57:21
  2086. Sb: HPFS on all platforms?
  2087. Fm: David A. Solomon 71561,3603
  2088. To: sysop sysop (X)
  2089.  
  2090. Someone recently mentioned they had heard that HPFS is only supported on Intel
  2091. platforms -- my understanding was that it was supported on all NT hardware
  2092. platforms...
  2093.  
  2094. Could one of the MS folks confirm (or correct) this?
  2095.  
  2096. Thanks...
  2097.  
  2098. There is 1 Reply.
  2099.  
  2100. #: 15364 S6/API-Base/Security   
  2101.     19-Oct-92  10:41:11
  2102. Sb: #15340-HPFS on all platforms?
  2103. Fm: Pete Grey [Microsoft] 70744,22
  2104. To: David A. Solomon 71561,3603 (X)
  2105.  
  2106. >> Someone recently mentioned they had heard that HPFS is only supported on
  2107. Intel platforms -- my understanding was that it was supported on all NT
  2108. hardware platforms... <<
  2109.  
  2110. Not true, I just formatted one of my MIPS' box drives to HPFS.  'Course you
  2111. need to use NT format the drive as HPFS, unless you're going to remove the
  2112. drive and move it to another machine.
  2113.  
  2114. -pete
  2115.  
  2116. #: 15342 S6/API-Base/Security   
  2117.     19-Oct-92  03:57:38
  2118. Sb: user-defined rights?
  2119. Fm: David A. Solomon 71561,3603
  2120. To: sysop sysop (X)
  2121.  
  2122. Is there any way for one to add their own rights to the list of valid user
  2123. rights?  I am trying to ascertain if NT provides something like the VMS
  2124. user-defined identifiers, where the system manager can add named identifiers
  2125. to the 'rights database' and then use those for security control in ACLs, etc.
  2126.  
  2127. I suppose Groups in NT mimick the above capability in VMS, but wanted to ask
  2128. this anyway...  if you need more info on the VMS capability, I can provide
  2129. more detail.
  2130.  
  2131. Thanks!
  2132.    Dave Solomon
  2133.  
  2134. There is 1 Reply.
  2135.  
  2136. #: 15367 S6/API-Base/Security   
  2137.     19-Oct-92  11:01:12
  2138. Sb: #15342-user-defined rights?
  2139. Fm: Pete Grey [Microsoft] 70744,22
  2140. To: David A. Solomon 71561,3603 (X)
  2141.  
  2142. >> Is there any way for one to add their own rights to the list of valid user
  2143. rights?  I am trying to ascertain if NT provides something like the VMS
  2144. user-defined identifiers, where the system manager can add named identifiers
  2145. to the 'rights database' and then use those for security control in ACLs, etc.
  2146. <<
  2147.  
  2148. It is definitely possible to assign access rights on a per-group basis to
  2149. individual objects such as files, directories, etc.
  2150.  
  2151. >> I suppose Groups in NT mimick the above capability in VMS, but wanted to
  2152. ask this anyway...  if you need more info on the VMS capability, I can provide
  2153. more detail. <<
  2154.  
  2155. Not real familiar with the VMS stuff, but if the above didn't answer your
  2156. question, please provide more info.
  2157.  
  2158. -pete
  2159.  
  2160. #: 15374 S6/API-Base/Security   
  2161.     19-Oct-92  12:07:21
  2162. Sb: RPC
  2163. Fm: Koby 71172,2722
  2164. To: sysop (X)
  2165.  
  2166.  
  2167. We are porting a distributed realtime system to WinNT and plan to use the
  2168. built-in RPC (current version 1.0a) as the main communucation tool. 
  2169.  
  2170. 1.  Apparently there is a mismatch between the on-line documentation and the
  2171. implementation of RpcMgmtIsServerListening() function.  When the server does
  2172. not listen, the function returns RPC_S_SERVER_NOT_LISTENING (code 1738( rather
  2173. then RPC_S_NOT_LISTENING  (code 1715).
  2174.  
  2175. 2.  I wrote a prototype with two processes and bi-directional RPC connection
  2176. (the reversed connection is to avoid the use of the callback mechanism). Let
  2177. A, B denote the to processes and A.foo and B.bar two remote function exported
  2178. by A and B respectively.  I tried recursive call sequence in which A.foo calls
  2179. B.bar which calls A.foo ...
  2180. The sequence seems to hang up after a single call in each direction. 
  2181.  
  2182. Thanks Koby     
  2183.  
  2184. There is 1 Reply.
  2185.  
  2186. #: 15385 S6/API-Base/Security   
  2187.     19-Oct-92  14:12:19
  2188. Sb: #15374-RPC
  2189. Fm: Pete Grey [Microsoft] 70744,22
  2190. To: Koby 71172,2722
  2191.  
  2192. >> We are porting a distributed realtime system to WinNT and plan to use the
  2193. built-in RPC (current version 1.0a) as the main communucation tool.  <<
  2194.  
  2195. Please repost to section 12 API-RCP/WinNet.
  2196.  
  2197. Thanks,
  2198.  
  2199. -pete
  2200.  
  2201. #: 15394 S6/API-Base/Security   
  2202.     19-Oct-92  16:03:51
  2203. Sb: Application Licencing
  2204. Fm: Bruce Ramsey/Microsoft 70324,2742
  2205. To: Kenneth Nicolson 100113,304 (X)
  2206.  
  2207. Hi Ken - Regarding your question on plans for serialization, we
  2208.   have no plans to provide a serial number unique to each copy of
  2209.   Windows NT which can be used in the ways you mentioned
  2210.  
  2211. Bruce
  2212.  
  2213. #: 15328 S6/API-Base/Security   
  2214.     18-Oct-92  07:56:12
  2215. Sb: Clobbering Memory
  2216. Fm: Keith MacDonald 100041,235
  2217. To: SYSOP (X)
  2218.  
  2219. Under what circumstances can one process overwrite the memory state of
  2220. another?
  2221.  
  2222. I have a program written using the MFC library which causes other
  2223. processes to fail whilst it is running.  In particular WINHELP and
  2224. WINFILE both abort with the following dialog box message if I use them
  2225. when my program is running:
  2226.  
  2227.         "The instruction at 0x0013108a referenced memory at 0x0013108a".
  2228.         The memory could not be "read".
  2229.  
  2230. My program is not doing anything unusual (unless MFC is doing something
  2231. on its behalf).  It just has to sit there waiting for input for this
  2232. problem to occur.  It happens consistently the first time I type a
  2233. chcracter in WINHELP's Search dialog.  WINHELP has been started by the
  2234. Program Manager, not by my program.
  2235.  
  2236. Thanks in advance for any enlightenment on this.
  2237. Keith
  2238.   
  2239.  
  2240. There is 1 Reply.
  2241.  
  2242. #: 15354 S6/API-Base/Security   
  2243.     19-Oct-92  08:20:38
  2244. Sb: #15328-Clobbering Memory
  2245. Fm: Keith MacDonald 100041,235
  2246. To: Keith MacDonald 100041,235 (X)
  2247.  
  2248. Upon closer inspection, the problem is caused by calling
  2249. SetWindowsHookEx from my application (not a DLL) thus:
  2250.  
  2251. hHook = SetWindowsHookEx(WH_KEYBOARD, (HOOKPROC)&kbdproc,
  2252.                          hInstance, 0);
  2253.  
  2254. The solution was to set the 3rd argument to NULL, and the
  2255. 4th to GetCurrentThreadId().
  2256.  
  2257. This error occurred in the conversion from Windows 3.1, when
  2258. I merged a DLL into the application to minimize the conversion
  2259. effort, and that slipped through.
  2260.  
  2261. It would be safer if SetWindowsHookEx did not return a usable
  2262. HANDLE in this circumstance.
  2263.  
  2264. There is 1 Reply.
  2265.  
  2266. #: 15413 S6/API-Base/Security   
  2267.     19-Oct-92  20:12:27
  2268. Sb: #15354-Clobbering Memory
  2269. Fm: Eric Sassaman/Microsoft 75430,411
  2270. To: Keith MacDonald 100041,235 (X)
  2271.  
  2272. << Upon closer inspection, the problem is caused by calling SetWindowsHookEx
  2273. from my application (not a DLL) thus:
  2274.  
  2275. hHook = SetWindowsHookEx(WH_KEYBOARD, (HOOKPROC)&kbdproc,
  2276.                          hInstance, 0);
  2277.  
  2278. The solution was to set the 3rd argument to NULL, and the 4th to
  2279. GetCurrentThreadId().
  2280.  
  2281. This error occurred in the conversion from Windows 3.1, when I merged a DLL
  2282. into the application to minimize the conversion effort, and that slipped
  2283. through.
  2284.  
  2285. It would be safer if SetWindowsHookEx did not return a usable HANDLE in this
  2286. circumstance. >>
  2287.  
  2288. Keith, it would be great if you could let the folks in section 4 know about
  2289. this problem. Personally I don't know if you were calling the SetWindowsHookEx
  2290. correctly or not the first time; the folks in section 4 have much more
  2291. expertise in this area than we do here, us being more nuts 'n bolts base-ish
  2292. type of folks <g>. It would be even more wonderful if you could forward some
  2293. code snippets or a small sample app so that they could reproduce the problem -
  2294. it looks like SetWindowsHookEx should return an error in this case so that it
  2295. doesn't cause the interference with other applications that you've seen, and
  2296. if this is the case, we should get this fixed. If the folks in section 4 can
  2297. have a posting of yours there to reply to, they can keep you informed as to
  2298. what happens with this problem. As well as the fact that others may run into
  2299. this problem and may find your info very helpful. Thanks for your help.
  2300.  
  2301.   Eric Sassaman
  2302.   Microsoft NT Support
  2303.  
  2304. #: 15378 S6/API-Base/Security   
  2305.     19-Oct-92  13:27:13
  2306. Sb: #15289-get_ftime() -> ??
  2307. Fm: Pete Grey [Microsoft] 70744,22
  2308. To: Jake Kirk 76207,1403 (X)
  2309.  
  2310. >> I a little confused,  per page 44 of the "Programming Techniques" guide it
  2311. is implied that I should replace _dos_getftime() and _dos_setftime() with
  2312. GetDateAndTimeFile() and SetDateAndTimeFile().  I think that I really should
  2313. use GetFileTime(), but I can only use GetFileTime if I open my file with
  2314. CreateFile().  But does CreateFile(), CloseHandle() and GetFileTime() do
  2315. things in a manner that allow my application to share the same file in both
  2316. the dos and NT environments?  My app has to share the same file "database"
  2317. format in both dos and NT, is there anything I should be aware of?  Will my
  2318. dos app still be able to use _dos_getftime() on files created under NT? <<
  2319.  
  2320. You should be able to use the CreateFile(), GetFileTime() combination to
  2321. access the file times with NT, and still be able to use the same DOS functions
  2322. to access it.  There are even two calls, FileTimeToDosDateTime() and
  2323. DosDateTimeToFileTime() that converts to the old style format, if you chose to
  2324. share some date/time manipulation code.
  2325.  
  2326. -pete
  2327.  
  2328.  
  2329.  
  2330.  
  2331. There is 1 Reply.
  2332.  
  2333. #: 15424 S6/API-Base/Security   
  2334.     19-Oct-92  23:29:01
  2335. Sb: #15378-get_ftime() -> ??
  2336. Fm: Jake Kirk 76207,1403
  2337. To: Pete Grey [Microsoft] 70744,22 (X)
  2338.  
  2339. Thanks Pete. 
  2340.  
  2341. Will the documentation be corrected for the October release?   
  2342.  
  2343.                                                 //Jake.
  2344.  
  2345. There is 1 Reply.
  2346.  
  2347. #: 15459 S6/API-Base/Security   
  2348.     20-Oct-92  12:05:40
  2349. Sb: #15424-get_ftime() -> ??
  2350. Fm: Pete Grey [Microsoft] 70744,22
  2351. To: Jake Kirk 76207,1403
  2352.  
  2353. >> Will the documentation be corrected for the October release?  <<
  2354.  
  2355. The online documentation has been greatly revised and corrected for this
  2356. release, with many new overviews.  There won't be a new hard-copy release of
  2357. the docs. at this time.  I think you'll be pleased with the new docs. and the
  2358. contained overviews.
  2359.  
  2360. -pete
  2361.  
  2362. #: 15472 S6/API-Base/Security   
  2363.     20-Oct-92  13:26:17
  2364. Sb: #15198-NT File System Questions
  2365. Fm: Eric Sassaman/Microsoft 75430,411
  2366. To: Anthony L. Iams 71175,2463
  2367.  
  2368. << 2) Are block fragments supported? >>
  2369.  
  2370. The information that I've just recently received is that block fragments are
  2371. not supported by NTFS.
  2372.  
  2373. Concerning file journalling, this cannot be disabled.
  2374.  
  2375. <<> There are no APIs that will allocate and guarantee a contiguous file.
  2376.  
  2377. Here is a quote from the WINNT Forum a few weeks ago:
  2378.  
  2379.  >     29-Sep-92  13:46:00
  2380.  > Sb: #9582-De-Frag for NT
  2381.  > Fm: Terence Hosken [MS] 71075,643
  2382.  > ...HPFS and NTFS both have features that, if implemented
  2383.  > and used correctly, can minimize file fragmentation,
  2384.  > however.  Under both file systems, for example, it is possible to
  2385.  > "pre-allocate" file space.  If an application knows how much
  2386.  > disk space it will evenutally need, passes this information to the
  2387.  > file system, and the file system uses the information to allocate
  2388.  > a contiguous region, then subsequent output to the file will not
  2389.  > fragment the file...
  2390.  
  2391. So does NTFS have preallocated files? How do you create one? >>
  2392.  
  2393. Terence is correct. NTFS supports preallocated space. However, no Win32 API
  2394. exists that takes advantage of this feature. The common technique to
  2395. approximate this under Win32 is to create a file, SetEndOfFile to the size you
  2396. wish, then write a 0 to the last position. NTFS will attempt to make your file
  2397. as contiguous as possible, as HPFS does.
  2398.  
  2399. Hope this cleared up any confusion on this issue.
  2400.  
  2401.   Eric Sassaman
  2402.   Microsoft NT Support
  2403.  
  2404. #: 15377 S6/API-Base/Security   
  2405.     19-Oct-92  12:58:08
  2406. Sb: DLL
  2407. Fm: Christian Betrisey 76600,1450
  2408. To: sysop (X)
  2409.  
  2410.                                         19-OCT-92
  2411.  
  2412. - DLL / shared global variables
  2413.  
  2414. I would like to share the global variables of a DLL 'mydll.dll'. I wrote the
  2415. following into my 'mydll.def' file:
  2416.  
  2417. DATA READ WRITE SHARED
  2418.  
  2419. If two processes attach to 'mydll' ,then I still have 2 different sets of
  2420. global variables! Did I forget to do something? Could you please give me a
  2421. hint?
  2422.  
  2423. Thank you for your help
  2424.                 Christian Betrisey
  2425.  
  2426. There is 1 Reply.
  2427.  
  2428. #: 15414 S6/API-Base/Security   
  2429.     19-Oct-92  20:12:38
  2430. Sb: #15377-DLL
  2431. Fm: Eric Sassaman/Microsoft 75430,411
  2432. To: Christian Betrisey 76600,1450 (X)
  2433.  
  2434. << I would like to share the global variables of a DLL 'mydll.dll'. >>
  2435.  
  2436. Christian, below is an article from the knowledgebase (go mskb) on how to do
  2437. this:
  2438.  
  2439. To have both shared and nonshared data in a dynamic-link library (DLL), you
  2440. need to use the new #pragma data_seg directive to set up a new named section.
  2441. You then specify the sharing attributes for this new named data section in
  2442. your .DEF file.
  2443.  
  2444. The #pragma directive applies only to 80x86 systems; it is not supported on
  2445. MIPS systems.
  2446.  
  2447. Below is a sample of how to define a named data section in your DLL. The first
  2448. line directs the compiler to include all the data declared in this section in
  2449. the MYSECTION data segment. This means that the iSharedVar variable would be
  2450. considered part of the MYSECTION data segment. By default, data will be
  2451. nonshared.
  2452.  
  2453. The third line, "#pragma data_seg()", directs the compiler to reset the data
  2454. to its previous setting. In this case, it is the default data section.
  2455.  
  2456.    #pragma data_seg("MYSECTION")
  2457.    int iSharedVar;
  2458.    #pragma data_seg()
  2459.  
  2460. Below is a sample of the .DEF file that supports the shared and nonshared
  2461. segments. This definition will set the default data section, DATA, to be
  2462. nonshared and the section MYSECTION to be shared.
  2463.  
  2464.    LIBRARY
  2465.    DATA READ WRITE
  2466.    SECTIONS
  2467.      MYSECTION READ WRITE SHARED
  2468.    EXPORTS
  2469.     ...
  2470.  
  2471. Hope this helps. Let me know if you run into any problems getting this to
  2472. work.
  2473.  
  2474.   Eric Sassaman
  2475.   Microsoft NT Support
  2476.  
  2477. #: 15513 S6/API-Base/Security   
  2478.     21-Oct-92  09:15:26
  2479. Sb: #15377-DLL
  2480. Fm: John Stoddard 72400,2551
  2481. To: Christian Betrisey 76600,1450 (X)
  2482.  
  2483. Christian,
  2484.  
  2485. Also remember that when you use the variable from the .EXE that attaches to
  2486. your .DLL, you will be referencing a POINTER TO the variable, not the
  2487. variable.  That is, if you have "int i" in your data_seg, you'll have "extern
  2488. int *i" in your .EXE.  This had me stumped for a while - see "global data in
  2489. .DLLs" elsewhere in this section, Eric gave a very good explanation of the
  2490. situation.
  2491.  
  2492. John
  2493.  
  2494. #: 15546 S6/API-Base/Security   
  2495.     21-Oct-92  14:14:15
  2496. Sb: DLL
  2497. Fm: Christian Betrisey 76600,1450
  2498. To:  72400,2551 (X)
  2499.  
  2500. Hi John Thank you for your hints. If you are using shared global data in a
  2501. DLL, then look at my message #15545. I have another problem with that.
  2502.  
  2503. Christian.
  2504.  
  2505. #: 15562 S6/API-Base/Security   
  2506.     21-Oct-92  15:57:23
  2507. Sb: RegQueryKeyValue
  2508. Fm: Marc Singer 72130,2546
  2509. To: Sysop (X)
  2510.  
  2511. It appears that the RegQueryKeyValue () API has different types in the Windows
  2512. 3.1 API than it does for the Win32 API.  Neither compiler does not like
  2513. converting unsigned long to long (nor vice versa).  Should these not be the
  2514. same for both APIs?
  2515.  
  2516. Marc Singer -- Straylight Software
  2517.  
  2518. #: 15585 S6/API-Base/Security   
  2519.     22-Oct-92  01:20:46
  2520. Sb: Event Time Stamps
  2521. Fm: dan white 70324,3147
  2522. To: sysop (X)
  2523.  
  2524.  
  2525. Is there any way to control the time stamp of an event written with
  2526. ReportEvent?  If there isn't, is there a way to find out what time stamp was
  2527. used, and is there a maximum latency between the time ReportEvent is called
  2528. and the time stamp?
  2529.  
  2530.         This is important because we track and time stamp events internally,
  2531. but would like to write them to the event log.  The only way to be sure the
  2532. logged time matches our internal time is to either set the log time to match
  2533. the internal time, or vise versa.  Right now I see no way to do either.
  2534.  
  2535.                                         Thanks, Dan
  2536.  
  2537. #: 15404 S6/API-Base/Security   
  2538.     19-Oct-92  18:03:46
  2539. Sb: #15173-Communications timeouts
  2540. Fm: Pete Grey [Microsoft] 70744,22
  2541. To: Bruce Cowan 73650,32
  2542.  
  2543. >> The rationale is that this would let a communications application read all
  2544. the data that is available immediately with no delays *and* wait for data for
  2545. a timeout period, all with a single instance of FileRead and the app does not
  2546. require the complexity of doing a WaitCommEvent or something else to avoid
  2547. overhead when no data is available.  With a WaitCommEvent the app would have
  2548. to do its own total timeout timing, which seems contrary to the spirit of
  2549. providing all these fancy timing facilities. <<
  2550.  
  2551. How about using an interval timeout with a fairly short interval. This would
  2552. wait for the first character, and if you didn't get one real-soon (short
  2553. timeout) would complete.  I think this is what you are trying to achieve here.
  2554.  
  2555. -pete
  2556.  
  2557. #: 15579 S6/API-Base/Security   
  2558.     21-Oct-92  21:41:49
  2559. Sb: #15404-Communications timeouts
  2560. Fm: Bruce Cowan 73650,32
  2561. To: Pete Grey [Microsoft] 70744,22 (X)
  2562.  
  2563. That doesn't work (at least in the current release) because the shortest
  2564. timeout you can specify is 1ms. and the internal interpretation of that seems
  2565. to be that it will wait until the next timer tick, which, on an Intel 486
  2566. machine seems to be about 10ms.  I know this because I have tried it and this
  2567. is the behavior it exhibits.
  2568.  
  2569. I really would like you to seriously consider the extension.  It should be
  2570. easy to implement and it does provide significant additional functionality.
  2571. I suppose you could fix the interval timeout to actually work at 1 ms which
  2572. would work for me, but I can't see an efficient way to do that.
  2573.  
  2574. Bruce
  2575.  
  2576. #: 15590 S6/API-Base/Security   
  2577.     22-Oct-92  04:18:51
  2578. Sb: #15404-Communications timeouts
  2579. Fm: Bruce Cowan 73650,32
  2580. To: Pete Grey [Microsoft] 70744,22 (X)
  2581.  
  2582. Further, if I use the short interval, then I can't read all the data that
  2583. has already arrived with a single call, since any read that specifies a count
  2584. greater than the available data will wait until a new character arrives and
  2585. then the timeout interval.  It could possibly be a *LONG* time until the next
  2586. character arrives.  I suppose I could use a call to find out how much data has
  2587. arrived and then read exactly that much, but that is getting complex and it
  2588. will suffer from the problem that because there are two separate calls, some
  2589. data could possibly arrive between the calls and it won't be read.
  2590.  
  2591. BTW, lots of communications port stuff is broken in the July release, but I am
  2592. not bothering to report it because I am expecting the next release any moment
  2593. now and thought I'd test things there before reporting problems.
  2594.  
  2595. Bruce
  2596.  
  2597. #: 15448 S6/API-Base/Security   
  2598.     20-Oct-92  09:31:15
  2599. Sb: #14948-Win32 Critical Sections
  2600. Fm: David Edge 75170,1461
  2601. To: John Ballinger 73747,2703
  2602.  
  2603. I had the same problem.  I posted a question about this a long time ago and
  2604. the reply that I received was that there is a bug in the critical section
  2605. code.  The filer sample that is referred to in the response to your message
  2606. exhibits the problem.  If you put some extra space after the critical section
  2607. structure and call the function to initialize it, you will notice that the
  2608. critical section structure is unmodified but the extra space is.  It seems
  2609. that the address is getting messed up some how.  Apparently if you just define
  2610. that extra space for now you can work around the problem.
  2611.  
  2612. There is 1 Reply.
  2613.  
  2614. #: 15458 S6/API-Base/Security   
  2615.     20-Oct-92  11:01:31
  2616. Sb: #15448-Win32 Critical Sections
  2617. Fm: neil colvin 71650,3517
  2618. To: David Edge 75170,1461
  2619.  
  2620. If you read the July release notes, page 33, you will find the solution to
  2621. maing critical sections work properly.  The really work perfectly!!! (the
  2622. solution is to define DEVL during compilation.)
  2623.  
  2624. #: 15609 S6/API-Base/Security   
  2625.     22-Oct-92  12:28:49
  2626. Sb: #15458-Win32 Critical Sections
  2627. Fm: Bob Landau [Microsoft] 70744,21
  2628. To: neil colvin 71650,3517 (X)
  2629.  
  2630. Thanks Neil,
  2631.  
  2632. This is fixed in the Oct release.
  2633.  
  2634. bob
  2635.  
  2636. #: 15608 S6/API-Base/Security   
  2637.     22-Oct-92  12:28:45
  2638. Sb: #15448-Win32 Critical Sections
  2639. Fm: Bob Landau [Microsoft] 70744,21
  2640. To: David Edge 75170,1461 (X)
  2641.  
  2642. As Neil stated you need to define -DEVL; sorry it was buried so deep in the
  2643. doc's. The good news is we've fixed the problem in the Oct release so others
  2644. won't get bitten by this now.
  2645.  
  2646. Microsoft Developer Support
  2647.  
  2648. Bob Landau
  2649.  
  2650. #: 15572 S6/API-Base/Security   
  2651.     21-Oct-92  19:12:36
  2652. Sb: ReadFile as a port
  2653. Fm: Koby 71172,2722
  2654. To: sysop (X)
  2655.  
  2656. Hi
  2657. I am working on serial port read and write. The serial was opened
  2658. as a file with an overlepped flag (as in the example tty.c).
  2659. While I am reading the file I am getting a read error (return error == 0)
  2660. and the GetLastError() reports error #998  ERROR_NOACCESS Invalid access to a
  2661. memory location. All the parameter that are passed to the function are OK, I
  2662. can watch their's values while debugging and the file creating, events, port
  2663. setting where correct with no errors.
  2664. Can You give me a clue how to solve this problem.
  2665. Koby
  2666.  
  2667.  
  2668.  
  2669. There is 1 Reply.
  2670.  
  2671. #: 15613 S6/API-Base/Security   
  2672.     22-Oct-92  12:31:50
  2673. Sb: #15572-ReadFile as a port
  2674. Fm: David Taniguchi [MS] 72350,2054
  2675. To: Koby 71172,2722 (X)
  2676.  
  2677. Hi Koby,
  2678.   It's difficult to pin down what might be wrong without more specifics.
  2679.   However, one thing you might check is the the second, third and fourth
  2680.   parameters.  Make sure that the length of the receiving buffer (parm
  2681.   2) is the length specified by parm 3.  Also notice in TTY they are using
  2682.   the minimum value of to value what ClearCommError() returns back in the
  2683.   ComStat structure.  If you aren't already doing so, you might try directly
  2684.   using the ReadCommBlock() function in your program, until you figure out
  2685.   what is causing the error.
  2686.   Hope this helps,
  2687.   Dave
  2688.  
  2689. #: 15635 S6/API-Base/Security   
  2690.     22-Oct-92  14:58:32
  2691. Sb: ExitWindowsEx?
  2692. Fm: Ralph Smith 76376,3150
  2693. To: All
  2694.  
  2695. Has anyone had any success with ExitWindowsEx?  Using EWX_LOGOFF works fine,
  2696. but EWX_REBOOT and EWX_SHUTDOWN don't do anything.  If progman can do it, why
  2697. not me <g>??  I just want to make a quick-shutdown icon program.  TIA.  -
  2698. Ralph
  2699.  
  2700. #: 15545 S6/API-Base/Security   
  2701.     21-Oct-92  14:08:58
  2702. Sb: DLL: shared data
  2703. Fm: Christian Betrisey 76600,1450
  2704. To: sysop (X)
  2705.  
  2706.                                                      21-OCT-92
  2707.  
  2708. I am stuck with the following problem:
  2709.  
  2710. I would like to share some global data of a DLL. I have done what you told me
  2711. in message #15377-DLL.
  2712.  
  2713. in mydll.c
  2714.   #pragma data_seg("MYSHAREDDATA")
  2715.   int   iVal1 = 1;    // initialized variable
  2716.   int   iVal2;        // non-initialized variable
  2717.   #pragma data_seg()
  2718.   ...
  2719.   iVal2 = 2;
  2720.  
  2721. in mydll.def
  2722.   SECTIONS
  2723.   MYSHAREDDATA READ WRITE SHARED
  2724.  
  2725. Now only the variable iVal1 is shared among my two applications. iVal2 is not
  2726. shared. Program A (which initialized iVal2) reads iVal2=2 and program B reads
  2727. iVal2=0! Note that the variables are only accessed by procedures. It seems to
  2728. me that a non-initialized variable is not shared. I cannot explain myself why
  2729. ?
  2730.  
  2731. Thank you for your help.
  2732.  
  2733. Christian
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739. There are 2 Replies.
  2740.  
  2741. #: 15563 S6/API-Base/Security   
  2742.     21-Oct-92  16:15:00
  2743. Sb: #15545-DLL: shared data
  2744. Fm: John Stoddard 72400,2551
  2745. To: Christian Betrisey 76600,1450 (X)
  2746.  
  2747. Christian,
  2748.  
  2749. The Microsoft folks did tell me elsewhere that you need to initialize the
  2750. data... however my experiments show this isn't the case.  I think the part you
  2751. may be missing is an EXPORTS entry for the variable in your .DEF file, with
  2752. the keyword CONSTANT, i.e. "i CONSTANT". That works for me.
  2753.  
  2754. John
  2755.  
  2756. There is 1 Reply.
  2757.  
  2758. #: 15646 S6/API-Base/Security   
  2759.     22-Oct-92  17:21:39
  2760. Sb: #15563-DLL: shared data
  2761. Fm: Eric Sassaman/Microsoft 75430,411
  2762. To: John Stoddard 72400,2551
  2763.  
  2764. << The Microsoft folks did tell me elsewhere that you need to initialize the
  2765. data... however my experiments show this isn't the case.  I think the part you
  2766. may be missing is an EXPORTS entry for the variable in your .DEF file, with
  2767. the keyword CONSTANT, i.e. "i CONSTANT". That works for me. >>
  2768.  
  2769. Hm, my experience was the opposite - if you don't init the variable, it won't
  2770. be shared. You won't need an export statement for the data in your
  2771. def file unless you wanted to access the shared data by name from your
  2772. exe, and the CONSTANT is only needed if you need to change the value of the
  2773. data in the DLL directly from the .exe.
  2774.  
  2775.   Eric Sassaman
  2776.   Microsoft NT Support
  2777.  
  2778. #: 15619 S6/API-Base/Security   
  2779.     22-Oct-92  13:53:47
  2780. Sb: #15545-DLL: shared data
  2781. Fm: Eric Sassaman/Microsoft 75430,411
  2782. To: Christian Betrisey 76600,1450 (X)
  2783.  
  2784. << I am stuck with the following problem:
  2785.  
  2786. I would like to share some global data of a DLL. I have done what you told me
  2787. in message #15377-DLL.
  2788.  
  2789. in mydll.c
  2790.   #pragma data_seg("MYSHAREDDATA")
  2791.   int   iVal1 = 1;    // initialized variable
  2792.   int   iVal2;        // non-initialized variable
  2793.   #pragma data_seg()
  2794.   ...
  2795.   iVal2 = 2;
  2796.  
  2797. in mydll.def
  2798.   SECTIONS
  2799.   MYSHAREDDATA READ WRITE SHARED
  2800.  
  2801. Now only the variable iVal1 is shared among my two applications. iVal2 is not
  2802. shared. Program A (which initialized iVal2) reads iVal2=2 and program B reads
  2803. iVal2=0! Note that the variables are only accessed by procedures. It seems to
  2804. me that a non-initialized variable is not shared. I cannot explain myself why?
  2805. >>
  2806.  
  2807. Christian, you are correct, non-initialized data will not be shared correctly.
  2808. You must be sure to initialize all data that you want to share. I'm not sure
  2809. why this is, but I'll look into it and let you know.
  2810.  
  2811.   Eric Sassaman
  2812.   Microsoft NT Support
  2813.  
  2814. #: 15419 S6/API-Base/Security   
  2815.     19-Oct-92  22:46:41
  2816. Sb: #15267-global data in .DLLs
  2817. Fm: Eric Sassaman/Microsoft 75430,411
  2818. To: John Stoddard 72400,2551 (X)
  2819.  
  2820. << I will mail you a set of examples - they're too long to upload in the
  2821. limited space available for a forum message. >>
  2822.  
  2823. John, for future reference please note that it is very difficult for us to
  2824. read our personal mail here on CIS. The software that we use to interface to
  2825. CIS does not download our mail (at least right now). Please follow the
  2826. instructions in the release notes on how and where to upload things like this.
  2827. I'll see if I can get your mail downloaded - if I can't, I'll get back to you.
  2828. Thanks!
  2829.  
  2830.   Eric Sassaman
  2831.   Microsoft NT Support
  2832.  
  2833. #: 15420 S6/API-Base/Security   
  2834.     19-Oct-92  22:46:46
  2835. Sb: #15267-global data in .DLLs
  2836. Fm: Eric Sassaman/Microsoft 75430,411
  2837. To: John Stoddard 72400,2551 (X)
  2838.  
  2839. John, I found it. It was the #pragma data_seg("") line. It should be: #pragma
  2840. data_seg(). It looks like a null string as a data segment name is different
  2841. than no string at all... which makes sense.
  2842.  
  2843. I'll send this off to the language folks to deal with - the least the compiler
  2844. could do is give you a warning so you know where to poke around <g>! Thanks
  2845. for reporting this problem - let me know where you get stuck next <g>! BTW
  2846. this is _not_ fixed in the version of the compiler going out with the October
  2847. release...
  2848.  
  2849.   Eric Sassaman
  2850.   Microsoft NT Support
  2851.  
  2852.  
  2853.  
  2854. There is 1 Reply.
  2855.  
  2856. #: 15449 S6/API-Base/Security   
  2857.     20-Oct-92  09:37:54
  2858. Sb: #15420-global data in .DLLs
  2859. Fm: John Stoddard 72400,2551
  2860. To: Eric Sassaman/Microsoft 75430,411 (X)
  2861.  
  2862. Great! Thanks, I'll try that. I have some suspicions that the structure
  2863. alignment problems I have may disappear once I get the compile step to
  2864. complete; if I remember correctly structure packing gets done on the last
  2865. pass. I'll let you know how it works.
  2866.  
  2867. John
  2868.  
  2869. #: 15512 S6/API-Base/Security   
  2870.     21-Oct-92  09:08:14
  2871. Sb: #15420-global data in .DLLs
  2872. Fm: John Stoddard 72400,2551
  2873. To: Eric Sassaman/Microsoft 75430,411 (X)
  2874.  
  2875. Eric,
  2876.  
  2877. This did indeed fix my compile problems. I had the #pragma line correct in two
  2878. places in my code, but incorrect (with the NULL string) in another.  It was
  2879. apparently left over from an incorrect example I tried to follow from
  2880. elsewhere in this forum.
  2881.  
  2882. However, the structure alignment problem did not go away. Maybe in the next
  2883. release of the tools...
  2884.  
  2885. John
  2886.  
  2887. There is 1 Reply.
  2888.  
  2889. #: 15647 S6/API-Base/Security   
  2890.     22-Oct-92  17:21:49
  2891. Sb: #15512-global data in .DLLs
  2892. Fm: Eric Sassaman/Microsoft 75430,411
  2893. To: John Stoddard 72400,2551
  2894.  
  2895. << This did indeed fix my compile problems. I had the #pragma line correct in
  2896. two places in my code, but incorrect (with the NULL string) in another.  It
  2897. was apparently left over from an incorrect example I tried to follow from
  2898. elsewhere in this forum.
  2899.  
  2900. However, the structure alignment problem did not go away. Maybe in the next
  2901. release of the tools... >>
  2902.  
  2903. Your "foobar" tests that you sent worked fine on both the 297 and the build
  2904. you will be receiving shortly, structure alignment and all (after the null
  2905. string fix). I used -Zp4 and it worked fine. Did you use a different structure
  2906. than the one you sent in the tests? I'm not sure what the problem could be, it
  2907. worked ok here...
  2908.  
  2909.   Eric Sassaman
  2910.   Microsoft NT Support
  2911.  
  2912. #: 15322 S6/API-Base/Security   
  2913.     17-Oct-92  18:34:41
  2914. Sb: new "windowsx.h" for 3.1
  2915. Fm: Jake Kirk 76207,1403
  2916. To: sysop (X)
  2917.  
  2918. I can't seem to find the update to the win3.1 sdk.  I though I saw it here. 
  2919. Can you please tell me what forum the update is in?  I need the update as it
  2920. contains macros that are used in NT to solve the parameter packing issues
  2921. w/NT.  I know I saw it someware on compuserve.
  2922.  
  2923.                                                         Thank you.
  2924. //Jake.
  2925.  
  2926. There is 1 Reply.
  2927.  
  2928. #: 15403 S6/API-Base/Security   
  2929.     19-Oct-92  18:03:40
  2930. Sb: #15322-new "windowsx.h" for 3.1
  2931. Fm: Pete Grey [Microsoft] 70744,22
  2932. To: Jake Kirk 76207,1403 (X)
  2933.  
  2934. >> I can't seem to find the update to the win3.1 sdk.  I though I saw it here.
  2935. Can you please tell me what forum the update is in?  I need the update as it
  2936. contains macros that are used in NT to solve the parameter packing issues
  2937. w/NT.  I know I saw it someware on compuserve. <<
  2938.  
  2939. Not sure where to tell you to look for this.  I would ask someone in the
  2940. Windows 3.1 SDK forum for starters.
  2941.  
  2942. -pete
  2943.  
  2944.  
  2945.  
  2946. There is 1 Reply.
  2947.  
  2948. #: 15423 S6/API-Base/Security   
  2949.     19-Oct-92  23:27:22
  2950. Sb: #15403-new "windowsx.h" for 3.1
  2951. Fm: Jake Kirk 76207,1403
  2952. To: Pete Grey [Microsoft] 70744,22 (X)
  2953.  
  2954. Guess what, they asked me to look here and over in the WINNT forum.
  2955. Gee, I know I saw that file some where.....?
  2956.  
  2957.                                                 //Jake.
  2958.  
  2959. There is 1 Reply.
  2960.  
  2961. #: 15428 S6/API-Base/Security   
  2962.     20-Oct-92  01:02:53
  2963. Sb: #15423-new "windowsx.h" for 3.1
  2964. Fm: Brad Hines 76520,3314
  2965. To: Jake Kirk 76207,1403
  2966.  
  2967. The file you are looking for is called WIN16X.ZIP and is in lib 7, Tools.
  2968.  
  2969. #: 15672 S6/API-Base/Security   
  2970.     23-Oct-92  06:09:56
  2971. Sb: #15428-new "windowsx.h" for 3.1
  2972. Fm: Jake Kirk 76207,1403
  2973. To: Brad Hines 76520,3314
  2974.  
  2975. Thank you very much for the location and the name of WIN16x.zip
  2976.  
  2977.                                 //Jake.
  2978.  
  2979. #: 15673 S6/API-Base/Security   
  2980.     23-Oct-92  06:28:20
  2981. Sb:  -1 = DialogBox(....);
  2982. Fm: Jake Kirk 76207,1403
  2983. To: ALL
  2984.  
  2985. I have just ported 95% of an app to NT.  But out of 25 or so dialog boxes I
  2986. have 1 dialog box that refuses to come up!  I don't know why this dialog box
  2987. should fail, but it does.  DialogBox() returns -1 when trying to create it. 
  2988. Any suggestions or explainations?
  2989. (The instance handle was OK, the dialog rc file looked ok, this is a puzzle!)
  2990. //Jake.
  2991.  
  2992. There are 2 Replies.
  2993.  
  2994. #: 15684 S6/API-Base/Security   
  2995.     23-Oct-92  09:33:05
  2996. Sb: #15673- -1 = DialogBox(....);
  2997. Fm: David Edge 75170,1461
  2998. To: Jake Kirk 76207,1403
  2999.  
  3000. My experience with dialog box problems is that there is something wrong with
  3001. one of the controls.  Can you load the dialog template into the dialog editor?
  3002. If the dialog editor can load it and resave it then perhaps this would help. 
  3003. Also, custom controls can cause problems.  Does the dialog proc ever get
  3004. called?
  3005.  
  3006. #: 15689 S6/API-Base/Security   
  3007.     23-Oct-92  11:06:08
  3008. Sb: #15673- -1 = DialogBox(....);
  3009. Fm: Bob Landau [Microsoft] 70744,21
  3010. To: Jake Kirk 76207,1403
  3011.  
  3012. Jack,
  3013.  
  3014. This is the wrong section to be posting user info. We try to keep all related
  3015. threads in one spot i.e. User API's in the 4 section ( API-User Interface ).
  3016. This way users of this forum can minimize their CIS cost by downloading only
  3017. the sections their interested in *and* be guarentted that the have not missed
  3018. out in some important detail.
  3019.  
  3020. Post this in the User section and I or someone else will answer this. And
  3021. since your re-posting this please give us the following info
  3022.  
  3023. 1) Please double check the parameters to DialogBox().
  3024.  
  3025. 2) What does GetLastError(). In general when any Win32 API fails this call
  3026. will give both you and us more details as to why.
  3027.  
  3028. 3) Will pasting the code and resource into say Generic generate the same
  3029. failure?
  3030.  
  3031. 4) Is the dialog template create with in the resource file as the rest? a
  3032. different file? or on the fly?
  3033.  
  3034. 5) Anything unusual about the Dialog template? i.e. user defined controls? or
  3035. private dialog?
  3036.  
  3037. Thanks
  3038.  
  3039. Microsoft Developer Support
  3040.  
  3041. Bob Landau
  3042.  
  3043. #: 15539 S6/API-Base/Security   
  3044.     21-Oct-92  13:53:16
  3045. Sb: Redirected I/O & Pipes
  3046. Fm: Keith MacDonald 100041,235
  3047. To: SYSOP (X)
  3048.  
  3049. I'm trying to programmatically achieve the same end as a
  3050. batch file command such as:
  3051.  
  3052.         grep "pattern" file1 file2 2>&1 | more
  3053.  
  3054. ie. to redirect both the standard output and standard error
  3055. of a child process to the same pipe.
  3056.  
  3057. Here, courtesy of the online help example (and stripped of
  3058. declarations and error handling), is how I'm trying to do it:
  3059.  
  3060.     // Create an anonymous pipe:
  3061.     sec.nLength = sizeof(SECURITY_ATTRIBUTES);
  3062.     sec.bInheritHandle = INHERIT;
  3063.     sec.lpSecurityDescriptor = NULL;
  3064.  
  3065.     CreatePipe(&hChildStdoutRd, &hChildStdoutWr, &sec, 0);
  3066.  
  3067.     // Redirect child's stdout to the pipe:
  3068.     DuplicateHandle(GetCurrentProcess(),
  3069.                     GetStdHandle(STD_OUTPUT_HANDLE),
  3070.                     GetCurrentProcess(),
  3071.                     &hSaveStdout, 0, FALSE,
  3072.                     DUPLICATE_SAME_ACCESS);
  3073.  
  3074.     SetStdHandle(STD_OUTPUT_HANDLE, hChildStdoutWr);
  3075.  
  3076.     // Redirect child's stderr to the pipe:
  3077.     DuplicateHandle(GetCurrentProcess(),
  3078.                     GetStdHandle(STD_ERROR_HANDLE),
  3079.                     GetCurrentProcess(),
  3080.                     &hSaveStderr, 0, FALSE,
  3081.                     DUPLICATE_SAME_ACCESS);
  3082.  
  3083.     SetStdHandle(STD_ERROR_HANDLE, hChildStdoutWr);
  3084.  
  3085.     // Create the child process:
  3086.     sInfo.cb = sizeof(STARTUPINFO);
  3087.     sInfo.lpReserved = sInfo.lpReserved2 = NULL;
  3088.     sInfo.cbReserved2 = sInfo.lpDesktop = NULL;
  3089.     sInfo.lpTitle = NULL; sInfo.dwFlags = 0;
  3090.  
  3091.     CreateProcess(NULL, lpszCommand, NULL, NULL, TRUE,
  3092.                   0, NULL, NULL, &sInfo, &procinfo);
  3093.     
  3094.     // Restore saved stdout & stderr:
  3095.     SetStdHandle(STD_OUTPUT_HANDLE, hSaveStdout);
  3096.     SetStdHandle(STD_ERROR_HANDLE, hSaveStderr);
  3097.  
  3098.     // Close our write end of pipe:
  3099.     CloseHandle(hChildStdoutWr);
  3100.  
  3101.     // Read the child's output from the pipe:
  3102.     readFromPipe(hChildStdoutRd);
  3103.  
  3104. This works for a single child process, but if the child
  3105. creates its own sub-processes (such as cl386.exe does),
  3106. the second generation's output disappears into the ether.
  3107. Since cmd.exe can achieve it, it's obviously possible.
  3108.  
  3109. Please can anyone help me with this?
  3110. Keith
  3111.   
  3112.  
  3113. There is 1 Reply.
  3114.  
  3115. #: 15690 S6/API-Base/Security   
  3116.     23-Oct-92  11:06:14
  3117. Sb: #15539-Redirected I/O & Pipes
  3118. Fm: Bob Landau [Microsoft] 70744,21
  3119. To: Keith MacDonald 100041,235
  3120.  
  3121. Hi Keith,
  3122.  
  3123. The problem I see right off is sixth parameter is set to FALSE which means
  3124. processes created by child process will not inherit the handle; set this to
  3125. TRUE and you will get the behavior you desire
  3126.  
  3127.     DuplicateHandle(GetCurrentProcess(),
  3128.                     GetStdHandle(STD_ERROR_HANDLE),
  3129.                     GetCurrentProcess(),
  3130.                     &hSaveStderr, 0, FALSE,
  3131.                                      ^^^^^
  3132.                     DUPLICATE_SAME_ACCESS);
  3133.  
  3134. Microsoft Developer Support
  3135.  
  3136. Bob Landau
  3137.  
  3138. #: 15454 S6/API-Base/Security   
  3139.     20-Oct-92  10:01:30
  3140. Sb: C++ Exports in DLLs
  3141. Fm: Keith MacDonald 100041,235
  3142. To: SYSOP (X)
  3143.  
  3144. I'm trying to create a DLL from my C++ source that works fine in
  3145. Windows 3.1.  My problem is that I need to specify the exported
  3146. names in my .DEF file, in their decorated form, so that COFF can
  3147. generate a .EXP file.  I've tried two approaches to getting the
  3148. decorated names:
  3149.  
  3150. 1) Link my application and use the names from the undefined externals
  3151.         error messages.
  3152.  
  3153. 2) Extract the names from the .OBJ file for the DLL.
  3154.  
  3155. In either case, I get "name is undefined" messages whenever I get
  3156. COFF to link my DLL.
  3157.  
  3158. Can somebody PLEASE help me?
  3159.  
  3160. #: 15606 S6/API-Base/Security   
  3161.     22-Oct-92  12:28:34
  3162. Sb: #15454-C++ Exports in DLLs
  3163. Fm: Bob Landau [Microsoft] 70744,21
  3164. To: Keith MacDonald 100041,235 (X)
  3165.  
  3166. Keith,
  3167.  
  3168. Sorry for not getting to this sooner. I will look into this today. I believe
  3169. that simply listing the OBJ.s on the LIB line will do this. Try this is the
  3170. makefile.
  3171.  
  3172. lib -machine:$(cpu) \
  3173.     -def:<file>.def <file.obj> \
  3174.     -out:<file>.lib \
  3175.  
  3176. Please let me know whether you are exporting classes or functions I believe
  3177. the former is more difficult. Again I'll look into this today and post another
  3178. response by tomorrow.
  3179.  
  3180. Microsoft Developer Support
  3181.  
  3182. Bob Landau
  3183.  
  3184.  
  3185.  
  3186. There are 3 Replies.
  3187.  
  3188. #: 15629 S6/API-Base/Security   
  3189.     22-Oct-92  14:31:01
  3190. Sb: #15606-C++ Exports in DLLs
  3191. Fm: Keith MacDonald 100041,235
  3192. To: Bob Landau [Microsoft] 70744,21 (X)
  3193.  
  3194. Bob,
  3195.  
  3196. Thanks for the suggestion.
  3197.  
  3198. If I add the names to the EXPORTS section in the .DEF file and the
  3199. object files as you suggest, it works.  All I need now is for the
  3200. MAP output file option to work to simplify getting the decorated
  3201. names.
  3202.  
  3203. Thanks again.
  3204. Keith 
  3205.  
  3206. #: 15676 S6/API-Base/Security   
  3207.     23-Oct-92  07:03:58
  3208. Sb: #15606-C++ Exports in DLLs
  3209. Fm: Keith MacDonald 100041,235
  3210. To: Bob Landau [Microsoft] 70744,21 (X)
  3211.  
  3212. Bob,
  3213.  
  3214. Further to my apparent success yesterday.  By including the .OBJ file
  3215. in the LIB command, I actually got a static library, which linked successfully
  3216. with my program, but did not give me the DLL that I wanted.
  3217.  
  3218. The real problem is that LIB takes the names in the EXPORTS section
  3219. of my .DEF file (which I have manually extracted from the .OBJ file)
  3220. and writes a .EXP file with the names prepended with an underscore.
  3221. This is OK for C, but not for C++.
  3222.  
  3223. I've tried declaring the subroutines as __cdecl in my source, but
  3224. they still get translated to the C++ decorated form.
  3225.  
  3226. I'm in a Catch 22 situation here, because COFF won't allow me to
  3227. use my application's .DEF file to use the alternate technique of
  3228. specifying the names in an IMPORTS section.
  3229.  
  3230. Since discovering this, your colleague Doug Olson has sent a message
  3231. confirming that this is a known problem.
  3232.  
  3233. Any further help would be very gratefully accepted!
  3234. Keith
  3235.  
  3236. #: 15691 S6/API-Base/Security   
  3237.     23-Oct-92  11:06:20
  3238. Sb: #15606-C++ Exports in DLLs
  3239. Fm: Bob Landau [Microsoft] 70744,21
  3240. To: Bob Landau [Microsoft] 70744,21 (X)
  3241.  
  3242. Keith,
  3243.  
  3244. I neglected to mention you needed "decorate" the dll EntryPoint also. There is
  3245. a manifest constant in the Oct release "DLLENTRY" which on a i386 platform
  3246. will appended a @12 which is signature that the compiler puts on the entry
  3247. point.
  3248.  
  3249. Please let me know if you are still having any difficulties, and again are you
  3250. exporting function or a class.
  3251.  
  3252. Microsoft Developer Support
  3253.  
  3254. Bob Landau
  3255.  
  3256. #: 15544 S6/API-Base/Security   
  3257.     21-Oct-92  14:06:04
  3258. Sb: Messages to other app.
  3259. Fm: Christian Betrisey 76600,1450
  3260. To: sysop (X)
  3261.  
  3262.                                                  21-OCT-92
  3263.  
  3264. Hi!
  3265.  
  3266. Is it possible in NT to post a message from one application to another?
  3267.  
  3268. I am trying to port one of our programs from Windows 3.1 to NT. This program
  3269. is a DLL wich allows an application (*.exe) to send Windows' messages to
  3270. another application. The receiver then retrieves the data stored in the DLL by
  3271. the sender. I plan to use the NT mailslots or pipes but I also would like to
  3272. be able to port our DLL as a try (our benchmarks show that our 3.1 DLL is
  3273. faster than the NT mailslots/pipes). It seems to me that this is not possible
  3274. because in Windows 3.1 we are using 'GetCurrentTask' to store the handles of
  3275. all our applications in the DLL. In Windows NT, 'GetCurrentProcess' returns
  3276. 0xFF..FF for all applications!
  3277.  
  3278. Thank you for your help
  3279.  
  3280. Christian
  3281.  
  3282.  
  3283.  
  3284.  
  3285.  
  3286.  
  3287. There is 1 Reply.
  3288.  
  3289. #: 15692 S6/API-Base/Security   
  3290.     23-Oct-92  11:06:27
  3291. Sb: #15544-Messages to other app.
  3292. Fm: Bob Landau [Microsoft] 70744,21
  3293. To: Christian Betrisey 76600,1450 (X)
  3294.  
  3295. Christian,
  3296.  
  3297. I'd hoped to get to this today unfortunately will not be able to get to this.
  3298. My understanding is you can do the following to get a "real" handle. Note that
  3299. GetCurrentProcess() only returns a psuedo handle which *only* has meaning in
  3300. the context of the calling process.
  3301.  
  3302.  hpsuedoHandle = GetCurrentProcess();
  3303.  retCode = DuplcateHandle( hpsuedoHandle,
  3304.                            hpsuedoHandle,
  3305.                            <handle of target process> // Must be a "real"
  3306. handle with at least PROCESS_DUP_HANDLE priviledge.
  3307.                            &hRealHandle,
  3308.                            <desired access>, // Ignored if
  3309. DUPLICATE_SAME_ACCESS is specified below
  3310.                            <inhert handle>, // TRUE means a child process of
  3311. the target process can inherit the handle.
  3312.                            DUPLICATE_SAME_ACCESS )
  3313.  
  3314. I am going to generate a quick sample but I can't get to this today. I
  3315. there're any more issues which I've not mentioned above I will post a follow
  3316. up on Monday.
  3317.  
  3318. Microsoft Developer Support
  3319.  
  3320. Bob Landau
  3321.  
  3322. #: 15362 S6/API-Base/Security   
  3323.     19-Oct-92  09:59:55
  3324. Sb: #15298-Multi-user / X Support?
  3325. Fm: Paul Sutter 70451,1500
  3326. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  3327.  
  3328.  
  3329. Bruce,
  3330.  
  3331. Thanks for your response; it certainly clarified what NT will and will not
  3332. allow.
  3333.  
  3334. When I was referring to an Xclient for NT, I did not mean just port the XLIB
  3335. over, I meant to create a driver so that GDI calls would be emulated as X
  3336. messages,... so that any Windows application could run on a remote X terminal;
  3337. the remote X terminal would be a 'remote' display device for standard Windows
  3338. programs.
  3339.  
  3340. This would have tremendous value, particularly in IS shops. If NT is going to
  3341. stomp on Unix, this should be addressed.
  3342.  
  3343. But since the first release of NT wont have multiuser capability, let it stand
  3344. as a suggestion.
  3345.  
  3346. Paul Sutter
  3347. Voila! Software
  3348.  
  3349. #: 15703 S6/API-Base/Security   
  3350.     23-Oct-92  11:52:30
  3351. Sb: Multi-user / X Support?
  3352. Fm: Bruce Ramsey/Microsoft 70324,2742
  3353. To: John Richardson 70541,672
  3354.  
  3355. Hi Paul, and John - All of the third parties we've talked to who
  3356.   are working on Xlib (although not a huge list) have asked us not
  3357.   to discuss their activities, as they wish to make their own
  3358.   announcements.  You might, if you haven't already, try
  3359.   contacting some third parties yourself.  They might be willing
  3360.   to discuss their plans one-on-one with you, or under NDA
  3361.  
  3362. I don't think it's going to be possible to write a device driver
  3363.   for Windows NT that does what you suggest regarding redirecting
  3364.   GDI calls to a remote X terminal.  At least not in the first
  3365.   commercial release of Windows NT.  I may, however, have
  3366.   misunderstood what you meant
  3367.  
  3368. Redirecting GDI calls isn't something a video driver will be able
  3369.   to do, because the Win32 subsystem will already have rendered
  3370.   GDI calls (as well as USER calls), into lower level calls that
  3371.   the video driver must implement as GRE (GRaphics Engine) calls
  3372.  
  3373. Also, even if such a driver were possible, it would not address
  3374.   issues of getting keyboard/mouse input from the X terminal back
  3375.   to the X client app
  3376.  
  3377. While I would agree that it would be of benefit for any X terminal
  3378.   to be able to run any arbitrary app for Windows that is
  3379.   installed on a machine running Windows NT, or that remoting the
  3380.   desktop to an X terminal would be of benefit, unless I've
  3381.   misunderstood this isn't going to be doable in the first
  3382.   commercial release
  3383.  
  3384. Shouldn't people who port existing Xlib apps to Windows NT using a
  3385.   third party version of Xlib for Windows NT be able to provide
  3386.   benefits to users of that ported app similar to the benefits the
  3387.   users now enjoy with the app?  I state this as a question
  3388.   because I still have a lot to learn about Xlib :)
  3389.  
  3390. The first commercial release of Windows NT will have multi-user
  3391.   capability, but only in the ways I explained previously:
  3392.   multiple users accessing it as clients of a named-pipes or RPC
  3393.   client-server app.  Multiple users accessing it by connecting to
  3394.   shared disk directories or shared printers.  And, by installing
  3395.   applications as services under the Service Control Manager
  3396.  
  3397. [More]
  3398.  
  3399. There is 1 Reply.
  3400.  
  3401. #: 15705 S6/API-Base/Security   
  3402.     23-Oct-92  11:52:39
  3403. Sb: #15703-Multi-user / X Support?
  3404. Fm: Bruce Ramsey/Microsoft 70324,2742
  3405. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  3406.  
  3407. [Continued]
  3408.  
  3409.   (possibly on the fly using the CreateService api), applications
  3410.   can be made to run under more than one user id at the same time
  3411.  
  3412. Also, the ability to remotely administer Windows NT will be in the
  3413.   first commercial release.  How soon remote admin would be
  3414.   possible via an X terminal I have no idea, but certainly from
  3415.   day one this will be possible from any machine on the net
  3416.   running Windows NT.  And there will be dial-up facilities
  3417.   allowing Windows NT machines to, over dial-up lines, become full
  3418.   participants on the net
  3419.  
  3420. In terms of remoting the interface of an arbitrary app for Windows
  3421.   installed on a machine running Windows NT, for new apps there is
  3422.   the option of making the interface an RPC client, and anything
  3423.   behind the interface RPC server code.  Then the RPC client code
  3424.   can be run from any machine running a software platform for
  3425.   which we support RPC clients.  Currently this includes Windows
  3426.   3.1, MS-DOS, and Windows NT.  And the RPC client code could be
  3427.   ported to any machine that runs DCE RPC client programs
  3428.  
  3429. Yes! :-)  I realize the facilities I've mentioned in the above
  3430.   three paragraphs aren't what you're looking for.  I don't
  3431.   mention them to try to over-sell you on what will be there in
  3432.   preference to what you're after.  The reason I mention them is
  3433.   for the benefit of other forum readers who may read this without
  3434.   being previously aware of what Windows NT does provide in these
  3435.   areas
  3436.  
  3437. Regarding the company you asked about, I believe their name is
  3438.   Citrix and their number is 1-800-437-7503
  3439.  
  3440. Bruce
  3441.  
  3442. #: 15450 S6/API-Base/Security   
  3443.     20-Oct-92  09:39:35
  3444. Sb: DLL addresses
  3445. Fm: David Edge 75170,1461
  3446. To: all
  3447.  
  3448. I have a question about where DLLs reside in the address space.  As I
  3449. understand it, a DLL has a separate data space that resides in the address
  3450. space of the process that is using the DLL.  If this is true, then the data
  3451. addresses would be different within the DLL.   Does a DLL share the same code
  3452. for different processes or is it loaded again?
  3453.  
  3454. #: 15494 S6/API-Base/Security   
  3455.     20-Oct-92  19:25:01
  3456. Sb: #15450-DLL addresses
  3457. Fm: John Hall [MS SDE] 70750,2341
  3458. To: David Edge 75170,1461 (X)
  3459.  
  3460. The code is shared, except for a small fix up table which points to any other
  3461. DLL's that the dll uses.
  3462.  
  3463. #: 15607 S6/API-Base/Security   
  3464.     22-Oct-92  12:28:41
  3465. Sb: #15450-DLL addresses
  3466. Fm: Bob Landau [Microsoft] 70744,21
  3467. To: David Edge 75170,1461 (X)
  3468.  
  3469. David as John stated the code is shared amongst processes. The data in the DLL
  3470. *will* be different (copy will be made) for each process that hooks to this
  3471. DLL. This is normally what one wants; you are able to override this behavior
  3472. if you need the static data in the DLL to be shared between *all* processes
  3473. that hook to the DLL. To do this one would first wrap the data in the DLL as
  3474. follows
  3475.  
  3476. // global data. <segname> is the name of your data section. #pragma
  3477. data_seg("<segname>","")
  3478.  
  3479. .. data
  3480. .. #pragma data_seg(".data","")    // instance data
  3481. ...
  3482.  
  3483. Next in the DLL's def file add the following line
  3484.  
  3485. SECTIONS
  3486.    <segname> READ WRITE SHARED
  3487.  
  3488. Microsoft Developer Support
  3489.  
  3490. Bob Landau
  3491.  
  3492.  
  3493.  
  3494. There are 2 Replies.
  3495.  
  3496. #: 15682 S6/API-Base/Security   
  3497.     23-Oct-92  09:19:50
  3498. Sb: #15607-DLL addresses
  3499. Fm: David Edge 75170,1461
  3500. To: Bob Landau [Microsoft] 70744,21 (X)
  3501.  
  3502. If the data is separate for each process, how does the DLL resolve its data
  3503. addresses.  Won't the data addresses be different for the different instances
  3504. of the DLL since the data has to map into the address space of the caller's
  3505. process?
  3506.  
  3507. #: 15707 S6/API-Base/Security   
  3508.     23-Oct-92  11:58:22
  3509. Sb: #15607-DLL addresses
  3510. Fm: neil colvin 71650,3517
  3511. To: Bob Landau [Microsoft] 70744,21 (X)
  3512.  
  3513. All the discussion about sharing static data has been clear.  However, how
  3514. does one share dynamic data (GlobalAlloc).  The GMEM_SHARE option doesn't work
  3515. anymore, so what is the solution?
  3516.  
  3517. #: 15627 S6/API-Base/Security   
  3518.     22-Oct-92  14:00:36
  3519. Sb: File Name Associations
  3520. Fm: Andrew Potter 71075,614
  3521. To: All
  3522.  
  3523. Currently, Microsoft uses the file name extension to predict which
  3524. application should be invoked when the file is double-clicked. Will this
  3525. continue to be the method, or will files have well-defined announcement
  3526. information embedded into them?
  3527.  
  3528. If the current scheme is to be perpetuated, name-space collisions could
  3529. become an issue.  Will Microsoft provide a clearinghouse for well-known
  3530. file extensions, and can developers reserve a range of names for their
  3531. applications?
  3532.  
  3533.  
  3534. There is 1 Reply.
  3535.  
  3536. #: 15683 S6/API-Base/Security   
  3537.     23-Oct-92  09:30:28
  3538. Sb: #15627-File Name Associations
  3539. Fm: David Edge 75170,1461
  3540. To: Andrew Potter 71075,614
  3541.  
  3542. Here's my two cents on this issue.  I know that you can't really add stuff to
  3543. the data portion of a file to recognize it, however, now that we have new file
  3544. systems, will there be an extended attribute for the application name?  Since
  3545. HPFS and NTFS do not really have file extensions, the extension scheme is
  3546. really a poor method of detecting file types.
  3547.  
  3548. There is 1 Reply.
  3549.  
  3550. #: 15714 S6/API-Base/Security   
  3551.     23-Oct-92  13:22:21
  3552. Sb: #15683-File Name Associations
  3553. Fm: Marc Singer 72130,2546
  3554. To: David Edge 75170,1461
  3555.  
  3556. Amen.  But there is also the problem of portability.  How will me send files
  3557. from machine to machine (via floppy) and retain these special attributes. Can
  3558. we expect a new floppy format?
  3559.  
  3560.  
  3561.  
  3562.  
  3563. #: 15351 S7/Tools-Microsoft   
  3564.     19-Oct-92  06:52:46
  3565. Sb: #15285-ODBC Availability
  3566. Fm: David Van Camp 70740,366
  3567. To: David Taniguchi [MS] 72350,2054 (X)
  3568.  
  3569. Thanks, Dave.
  3570.  
  3571. That's what I expected you to say!  I'll be looking foward to an announcement
  3572. about ODBC NT sometime in the future.
  3573.  
  3574. until then....
  3575. dvc
  3576.  
  3577.  
  3578. #: 15365 S7/Tools-Microsoft   
  3579.     19-Oct-92  10:43:22
  3580. Sb: #15259-RC PUSHBOX Statement
  3581. Fm: David Taniguchi [MS] 72350,2054
  3582. To: Samuel Feldman 70403,432 (X)
  3583.  
  3584. Hi Samuel,
  3585.   Sorry for the delay.  You are correct.  The BS_PUSHBOX was not defined
  3586.   in Win 3.1 and it was only left in 3.0 for compatibility reasons.
  3587.   Thanks for pointing this out.  This should be changed after the Oct.
  3588.   release.
  3589.   Thanks,
  3590.   Dave
  3591.  
  3592. #: 15366 S7/Tools-Microsoft   
  3593.     19-Oct-92  10:43:27
  3594. Sb: #15278-DLL
  3595. Fm: David Taniguchi [MS] 72350,2054
  3596. To: Christian Betrisey 76600,1450 (X)
  3597.  
  3598. Hi Christian,
  3599.   This question would be better suited for the base section (section 6 - API
  3600.   Base/Security).  They are more experienced with these types of issues.
  3601.   Thanks,
  3602.   Dave
  3603.  
  3604. #: 15341 S7/Tools-Microsoft   
  3605.     19-Oct-92  03:57:29
  3606. Sb: Pview/Pstat in base?
  3607. Fm: David A. Solomon 71561,3603
  3608. To: sysop sysop (X)
  3609.  
  3610. I asked this a month or so ago but never got a reply -- the question is: why
  3611. are Pview, Pstat, and the CPU Thermometer only in the SDK vs. in the base NT
  3612. operating system?
  3613.  
  3614. Pview at least seems to merit going into the base OS since it is a general
  3615. system mgmt tool, and especially because there is no way in the base OS to
  3616. display all processes, kill a process, etc.
  3617.  
  3618. But all 3 of these utilities would make sense in the base vs in the SDK. Could
  3619. someone from MS get an answer on this one?
  3620.  
  3621. Thanks!
  3622.  
  3623. There is 1 Reply.
  3624.  
  3625. #: 15372 S7/Tools-Microsoft   
  3626.     19-Oct-92  12:05:42
  3627. Sb: #15341-Pview/Pstat in base?
  3628. Fm: David Taniguchi [MS] 72350,2054
  3629. To: David A. Solomon 71561,3603 (X)
  3630.  
  3631. Hi David,
  3632.   (For some reason this must not have made it up on to CIS.  This is from
  3633.   Sept 1! Sorry for the delay)
  3634.   Yes, we want to incorporate Pview into the system.  The information in
  3635.   pstat and cputherm will be part of other tools.
  3636.  
  3637.   Thanks,
  3638.   Dave
  3639.  
  3640. #: 15384 S7/Tools-Microsoft   
  3641.     19-Oct-92  14:07:39
  3642. Sb: #14943-C++ debug
  3643. Fm: Denis Gilbert (MS) 75230,1570
  3644. To: Urban Karlsson 100022,620 (X)
  3645.  
  3646. Hi, Urban. I can answer your question about a Microsoft IDE for NT.
  3647.  
  3648. Yes, we'll have a graphical IDE for Windows NT. And, yes, there
  3649. are many developers working on this project.
  3650.  
  3651. I can't give you a specific date but it's a VERY high priority project
  3652. for us.
  3653.  
  3654.  
  3655. -Denis // Microsoft Team C++ Development
  3656.  
  3657. There is 1 Reply.
  3658.  
  3659. #: 15432 S7/Tools-Microsoft   
  3660.     20-Oct-92  02:35:28
  3661. Sb: #15384-C++ debug
  3662. Fm: Urban Karlsson 100022,620
  3663. To: Denis Gilbert (MS) 75230,1570
  3664.  
  3665. Thanks for this refreshing info, Denis! I kind of suspected that this project
  3666. is a high priority projcet and I'm real glad that it is. Looking forward to
  3667. having this killer app installed in my machine. Thanks again, -Urban
  3668.  
  3669. #: 15441 S7/Tools-Microsoft   
  3670.     20-Oct-92  06:56:10
  3671. Sb: Compiler bug - alloca
  3672. Fm: Jeff Thomson 71460,3222
  3673. To: All
  3674.  
  3675. While attempting to compile some C code that contains a call to _alloca(), I
  3676. encountered the following error message:
  3677.  
  3678. memtest.c
  3679. Compiler error (assertion : INTRINSIC not yet): file @(#)cgintrin.c:1.54, line 468 source=8
  3680. INTRINSIC NYI: IV_ALLOCA
  3681.  
  3682. It looked as though the compiler was attempting to make the _alloca()
  3683. call intrinsic (even though I wasn't using -Oi), so I tried adding
  3684.  
  3685. #: 15466 S7/Tools-Microsoft   
  3686.     20-Oct-92  12:51:12
  3687. Sb: #15441-Compiler bug - alloca
  3688. Fm: Doug Olson [Microsoft] 72350,2635
  3689. To: Jeff Thomson 71460,3222 (X)
  3690.  
  3691. Jeff:
  3692.  
  3693. Thanks for reporting these problems.  The _alloca function will be available
  3694. in up coming release.
  3695.  
  3696. You will still encounter the C2163 error if you use #pragma function(_alloca),
  3697. however since the first problem will go away, you will not need to use this
  3698. pragma.
  3699.  
  3700.  Sincerely,
  3701.  
  3702.  Doug Olson
  3703.  Microsoft Developer Support
  3704.  
  3705. #: 15471 S7/Tools-Microsoft   
  3706.     20-Oct-92  13:22:45
  3707. Sb: Common dialog include
  3708. Fm: Marc Singer 72130,2546
  3709. To: Sysop (X)
  3710.  
  3711. The July SDK includes the common dialog code without restraint.  If I set the
  3712. NOTEXTMETRIC or NOGDI defines to exclude parts of the windows include
  3713. structure, I receive an error when it compiler gets to looking at the common
  3714. dialog header.  The structures there require LOGFONT, but do not check for the
  3715. presence of it.
  3716.  
  3717. What I would prefer is to have a define to exclude the common dialog
  3718. structures.
  3719.  
  3720. Marc Singer -- Straylight Software
  3721.  
  3722. #: 15473 S7/Tools-Microsoft   
  3723.     20-Oct-92  13:34:55
  3724. Sb: linker bug?
  3725. Fm: Mark L Hornick 70413,1717
  3726. To: Microsoft
  3727.  
  3728. Can anyone out there tell me if I am suffering from a basic
  3729. misunderstanding or if I have found a bug in the linker? The
  3730. situation is as follows: I'm porting a multi-process UNIX
  3731. application to a single-process multi-thread NT application, and
  3732. I've accidentally stumbled onto a phenomenon that I can't
  3733. explain.
  3734. I've got two files: TEST1.C and TEST2.C.  Inside TEST1.C are the
  3735. routines main(), subA(), sub1(), and sub2(), where main() calls
  3736. subA() and subA() calls sub1() and sub2().
  3737. Inside TEST2.C are subB() and ALSO sub1() and sub2(), where
  3738. subB() calls sub1() and sub2(). TEST2.C's sub1() and sub2() are
  3739. substatially different in structure from TEST1.C's sub1() and
  3740. sub2().
  3741. In TEST1.C's main(), CreateThread() is called with TEST2.C's
  3742. subB() as the start address of the new thread. After the
  3743. CreateThread() call, main() then calls subA().
  3744. The two files are compiled and linked into one executable. The
  3745. strange thing about it is that the linker gives no warning or
  3746. error messages regarding multiple definitions of sub1() and
  3747. sub2(). Even stranger, however, is that the resulting program
  3748. seems to run OK. So my questions are: Why doesn't the linker
  3749. complain? and How and why does it work?
  3750. I'm compiling with cl386 with flags -W4 -Di386=1 -Od -G3d. I'm
  3751. linking with coff with flags /link -subsystem:console -entry:mainCRTStartup
  3752.  
  3753. Thanks,
  3754. Mark Hornick
  3755.  
  3756. #: 15347 S7/Tools-Microsoft   
  3757.     19-Oct-92  04:41:35
  3758. Sb: MFC Compiling
  3759. Fm: RAYMOND MILTON WOOD 76550,404
  3760. To:  74375,313 (X)
  3761.  
  3762. Bill, I checked my environment variables with the SYSTEM icon under the NT
  3763. Control Panel. I appear to be configured okay. I then looked at the makefile
  3764. for the MFC Helloapp sample. It uses CL instead of CL386 for a compiler.
  3765. Doesn't NT require CL386? Ray
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771. There are 2 Replies.
  3772.  
  3773. #: 15352 S7/Tools-Microsoft   
  3774.     19-Oct-92  08:02:40
  3775. Sb: #15347-MFC Compiling
  3776. Fm: Bill Cohagan 74375,313
  3777. To: RAYMOND MILTON WOOD 76550,404 (X)
  3778.  
  3779. Raymond-
  3780.   I just ran nmake for the MFC Hello sample with no problems.  I ran both with
  3781. and without the debug=1 argument.  So -- we'll just have to figure out what's
  3782. different in you makefile (or environment.)
  3783.  
  3784.   One thought occurred to me that might be a quick fix.  You aren't, by any
  3785. chance, running the MFC examples from a non NT version of C++, SDK, or
  3786. whatever are you?  The ones I'm running came on the NT distribution CD and are
  3787. different (at least the makefiles) than the pre NT versions.  Since I don't
  3788. actually have the pre NT versions I can't say whether there are other
  3789. differences.
  3790.  
  3791.   One way to tell, I suppose, is to look at your makefile and see if you find
  3792. the line:
  3793.  
  3794.  #include ..\ntsample.mak
  3795.  
  3796. If so, then I don't know why you are getting cl rather than cl386 because, in
  3797. the above include file is the line:
  3798.  
  3799.  CC=cl386
  3800.  
  3801. which redefines the default C compiler to be the NT version.  If, in fact, you
  3802. *do* have this line but still don't get cl386 then it must be that NTMFC is
  3803. *not* defined in your environment, causing the path in the makefile to skip
  3804. the include file altogether.
  3805.  
  3806. One last longshot... Are you logged in the same way when you check the
  3807. environment as you are when you actually run the nmake?  I believe that
  3808. environment settings are local to a particular login -- so you might have set
  3809. them up under one login and are running under another.  Just a thought.
  3810.  
  3811. Good Luck,
  3812.  Bill
  3813.  
  3814. #: 15370 S7/Tools-Microsoft   
  3815.     19-Oct-92  11:39:01
  3816. Sb: #15347-MFC Compiling
  3817. Fm: Doug Olson [Microsoft] 72350,2635
  3818. To: RAYMOND MILTON WOOD 76550,404 (X)
  3819.  
  3820. Raymond:
  3821.  
  3822. Sorry to hear that you are having problems building the MFC samples.  Below
  3823. are my general notes on building these applications.  I also suggest typing
  3824. SET and enter at the command prompt to verify the settings of the environment
  3825. variables.   Please let me know if this problem continues.
  3826.  
  3827. The MFC samples that are included with the Developers Release of Windows NT
  3828. can be compiled with the provided NMAKE files. A batch file named
  3829. BLDSAMPLE.BAT can be used to build all of the MFC samples.  Before executing
  3830. BLDSAMPLE.BAT or any of the individual NMAKE files set the following
  3831. environment variables:
  3832.  
  3833.  SET LIB=C:\MSTOOLS\LIB
  3834.  SET INCLUDE=C:\MSTOOLS\MFC\INCLUDE;C:\MSTOOLS\H
  3835.  SET NTMFC=1
  3836.  SET RETAIL=1
  3837.  
  3838. After setting these environment variables you can execute the BLDSAMPLES.BAT
  3839. batch file or change to any of the sample directories and simply execute NMAKE
  3840. with no parameters.
  3841.  
  3842. More Information:
  3843.  
  3844. When running the BLDSAMPLES.BAT batch file you need to execute it in one of
  3845. the following ways:
  3846.  
  3847.  BLDSAMP retail
  3848.  BLDSAMP debug
  3849.  
  3850. The first example performs a release build where the second performs a build
  3851. with debug information.
  3852.  
  3853. Please note that the LIB environment variable must be set to C:\MSTOOLS\LIB
  3854. because NTSAMPLE.MAK uses it to build the paths to all the libraries.  You
  3855. CANNOT have more than one subdirectory listed on the LIB environment variable
  3856. when using the provided NMAKE files.
  3857.  
  3858.  Sincerely,
  3859.  
  3860.  Doug Olson
  3861.  Microsoft Developer Support
  3862.  
  3863.  
  3864.  
  3865.  
  3866. There is 1 Reply.
  3867.  
  3868. #: 15436 S7/Tools-Microsoft   
  3869.     20-Oct-92  05:40:08
  3870. Sb: #15370-MFC Compiling
  3871. Fm: RAYMOND MILTON WOOD 76550,404
  3872. To: Doug Olson [Microsoft] 72350,2635 (X)
  3873.  
  3874. Doug,
  3875. I just uploaded a file called MFCHELP.TXT into the New Uploads section which
  3876. contains the results of running SET<cr>, the contents of the makefile for one
  3877. of my MFC samples, and the error msgs I get when I try to nmake that makefile.
  3878. I would be curious to get your input on this. Thanks,
  3879.  
  3880. Ray
  3881.  
  3882.  
  3883. There is 1 Reply.
  3884.  
  3885. #: 15474 S7/Tools-Microsoft   
  3886.     20-Oct-92  13:36:45
  3887. Sb: #15436-MFC Compiling
  3888. Fm: Doug Olson [Microsoft] 72350,2635
  3889. To: RAYMOND MILTON WOOD 76550,404
  3890.  
  3891. Raymond:
  3892.  
  3893. I will retrieve the file and take a look at it.  I will let you know what I
  3894. find.
  3895.  
  3896. Thanks,
  3897.  
  3898.  Doug Olson
  3899.  Microsoft Developer Support
  3900.  
  3901. #: 15323 S7/Tools-Microsoft   
  3902.     18-Oct-92  02:04:29
  3903. Sb: #15161-Compiler err (assertion)
  3904. Fm: Brad Hines 76520,3314
  3905. To: Doug Olson [Microsoft] 72350,2635 (X)
  3906.  
  3907. Thanks for your reply.  I decided to make a concerted effort to
  3908. determine what circumstances cause this bug.  After several hours
  3909. of whittling down my code, I have a small sample program that
  3910. demonstrates the bug.
  3911.  
  3912. Meanwhile, I also came up with a workaround for the bug so that I can
  3913. keep going.  Of course, then I uncovered some problem with the
  3914. librarian, but that'll be the subject of another message.
  3915.  
  3916. There is also another problem that I am having with the compiler
  3917. disallowing certain forward declaration/typedef combinations that
  3918. should be allowed.  Basically, I think the following should be
  3919. allowed, but it is flagged as an error by the compiler (programs
  3920. using this syntax compile and run fine under Zortech and Borland
  3921. C++):
  3922.  
  3923. class myClass;
  3924. typedef void (myclass::*PMYCLASSPROC)(int);
  3925.  
  3926. At any rate, I have example code and descriptions for both these
  3927. problems, but it's a little large to put in a mail message.  I'm
  3928. pretty new to Compuserve, so I don't know what the standard procedure
  3929. is here.  I assume that I can just upload a zip file to you, but I'm
  3930. not quite sure where to put it or even what the options are.
  3931.  
  3932. So just let me know what you'd like me to do.
  3933.  
  3934. Thanks,
  3935.  
  3936. Brad
  3937.  
  3938. #: 15429 S7/Tools-Microsoft   
  3939.     20-Oct-92  01:02:57
  3940. Sb: #15161-Compiler err (assertion)
  3941. Fm: Brad Hines 76520,3314
  3942. To: Doug Olson [Microsoft] 72350,2635 (X)
  3943.  
  3944. Doug,
  3945.  
  3946. I found the section in the NT release notes on uploading a file to Compuserve.
  3947. I have made a file called CMPBG1.ZIP that I am uploading to lib 7, Tools, that
  3948. contains sample programs for the two CL386 compiler bugs that I have mentioned
  3949. in my posts.  Let me know if you have any problem reproducing these errors.
  3950.  
  3951. Thanks,
  3952.  
  3953. Brad
  3954.  
  3955. There is 1 Reply.
  3956.  
  3957. #: 15475 S7/Tools-Microsoft   
  3958.     20-Oct-92  13:36:50
  3959. Sb: #15429-Compiler err (assertion)
  3960. Fm: Doug Olson [Microsoft] 72350,2635
  3961. To: Brad Hines 76520,3314
  3962.  
  3963. Brad:
  3964.  
  3965. Thanks for uploading the samples.  I will work with these to determine the
  3966. cause of the problem and then get back with you.
  3967.  
  3968. Thanks again for your help,
  3969.  
  3970.  Doug Olson
  3971.  Microsoft Developer Support
  3972.  
  3973. #: 15496 S7/Tools-Microsoft   
  3974.     20-Oct-92  19:40:58
  3975. Sb: #15085- Possible Compiler Bug
  3976. Fm: Doug Olson [Microsoft] 72350,2635
  3977. To: Andrew Potter 71075,614 (X)
  3978.  
  3979. Andrew:
  3980.  
  3981. Thanks for waiting on this problem.  The reason the time value is being
  3982. rounded up has to do with the way the FAT file system stores time values. 
  3983. When a time is stored along with a date in a FAT directory entry, it is in
  3984. 2-second increments.  In this case, when the NT FAT file system writes the
  3985. time and date to the file, the odd number of seconds is being rounded up.
  3986.  
  3987. Here is another item that you may have discovered.  Under NT it is necessary
  3988. to fill in both the .actime and .modtime members of the utimbuf structure
  3989. before calling _utime. The validation of the .actime member by _utime is due
  3990. to the possibility that the installed file system may keep track of the last
  3991. access to the file.
  3992.  
  3993. I hope this clears up the confusion regarding the file time stamp.
  3994.  
  3995.  Sincerely,
  3996.  
  3997.  Doug Olson
  3998.  Microsoft Developer Support
  3999.  
  4000. #: 15519 S7/Tools-Microsoft   
  4001.     21-Oct-92  10:13:51
  4002. Sb: Errors with C/C++ (C7)
  4003. Fm: Ken Joyner 75140,256
  4004. To: Sysop (X)
  4005.  
  4006. Is there a way of getting more info on a compiler error through the
  4007.   compiler itself?  Were do I find the "Comprehensive Index and Errors
  4008. Reference" referenced on Page 67 of the "Tools"
  4009.  
  4010.  
  4011. Where can I get a bug report on the C/C++ compiler?
  4012.  
  4013. I'm having problems with some code the works under AT&T, Borland, and
  4014. MetaWare?
  4015.  
  4016. Bryan
  4017.  
  4018. #: 15485 S7/Tools-Microsoft   
  4019.     20-Oct-92  14:43:53
  4020. Sb: CDPlayer
  4021. Fm: Howard Myers 76711,462
  4022. To: Microsoft
  4023.  
  4024. I just received the October release.  Unfortunately, I can no longer get the
  4025. CD Player to work.  It detects the drive (and in fact will eject the disk),
  4026. but constantly gets read errors when trying to read it.
  4027.  
  4028. The install program obviously read from it okay.
  4029.  
  4030. The install brochure that came with the disk says that CDAUDIO.SYS must be
  4031. installed, but isn't by default.  Unfortunately, it doesn't tell you how to
  4032. install it (I'm assuming this is my problem).
  4033.  
  4034. How do I get CDAUDIO.SYS to load on statup?
  4035.  
  4036. #: 15524 S7/Tools-Microsoft   
  4037.     21-Oct-92  12:25:19
  4038. Sb: #15485-CDPlayer
  4039. Fm: David Taniguchi [MS] 72350,2054
  4040. To: Howard Myers 76711,462 (X)
  4041.  
  4042. Hi Howard,
  4043.   This section is for developer tools.  For setup problems, please post in
  4044.   Forum WinNT, section 3 (Windows NT Setup).  They are more experienced with
  4045.   setup issues.
  4046.   Thanks,
  4047.   Dave
  4048.  
  4049. #: 15350 S7/Tools-Microsoft   
  4050.     19-Oct-92  06:40:08
  4051. Sb: Dialog Editor
  4052. Fm: Paul Ligeski 76636,1166
  4053. To: Sysop (X)
  4054.  
  4055. Hi,
  4056.  
  4057. Why does the Dialog Editor not recognize RES files?  I recompiled my RC file
  4058. under NT and tried to modify a dialog in the subsequent RES file with the
  4059. Dialog Editor.  I got "The Dialog Editor does not recognize this resource
  4060. format."
  4061.  
  4062. --Paul
  4063.  
  4064.  
  4065.  
  4066. There is 1 Reply.
  4067.  
  4068. #: 15368 S7/Tools-Microsoft   
  4069.     19-Oct-92  11:22:40
  4070. Sb: #15350-Dialog Editor
  4071. Fm: Paul Tissue [Microsoft] 70744,24
  4072. To: Paul Ligeski 76636,1166
  4073.  
  4074. Hello Paul,
  4075.  
  4076. There are two RES files generated by the resource compiling process.  The
  4077. first pass (running RC.EXE) compiles to a RES file that is not properly
  4078. aligned for linking into a Win32 application.  This first RES file is the one
  4079. recognizable by the Dialog Editor.  The second pass (running CVTRES.EXE)
  4080. properly aligns the RES file for inclusion (linking) into a Win32 application.
  4081.  
  4082. We recommend that you use the extension RES for the first pass and RBJ
  4083. (Resource Object) for the second pass.  Our new SDK codes samples, found in
  4084. the October release of the Win32 SDK, reflect this new naming convention.
  4085.  
  4086. - Paul, Win32 SDK Developer Support
  4087.  
  4088. #: 15510 S7/Tools-Microsoft   
  4089.     21-Oct-92  09:05:38
  4090. Sb: #15368-Dialog Editor
  4091. Fm: Paul Ligeski 76636,1166
  4092. To: Paul Tissue [Microsoft] 70744,24 (X)
  4093.  
  4094. Hi Paul,
  4095.  
  4096. Thank you for clearing up this issue of the Dialog Editor.  I appreciate
  4097. knowing that the October release follows the RES and RBJ conventions.
  4098.  
  4099. Also, should I be expecting the October release soon (today is 10/21/92) or is
  4100. that a question for Developer Services (if so can you give me the phone number
  4101. again?)
  4102.  
  4103. Thanks,
  4104.  
  4105. --Paul
  4106.  
  4107.  
  4108.  
  4109. There is 1 Reply.
  4110.  
  4111. #: 15526 S7/Tools-Microsoft   
  4112.     21-Oct-92  12:32:58
  4113. Sb: #15510-Dialog Editor
  4114. Fm: Paul Tissue [Microsoft] 70744,24
  4115. To: Paul Ligeski 76636,1166 (X)
  4116.  
  4117. Hello Paul,
  4118.  
  4119. With over 25,000 kit that must be manufactured and shipped it will take us a
  4120. couple weeks to pull this off.  Please ask the folks in section 1: "Non-tech
  4121. Cust. Serv." for further details; us technical support engineers are typically
  4122. not informed about such marketing issues.
  4123.  
  4124. - Paul, Win32 SDK Developer Support
  4125.  
  4126. #: 15534 S7/Tools-Microsoft   
  4127.     21-Oct-92  13:16:02
  4128. Sb: Beta mip2coff error
  4129. Fm: Martin Heller 74000,2447
  4130. To: Andy Thomas 73650,50
  4131.  
  4132. I just installed a MIPS Magnum and put the Beta on it.
  4133.  
  4134. When I try to build my C programs I get:
  4135. mip2coff -c *.obj
  4136. fatal: unsupported language found in file (language code 6)
  4137.  
  4138. I'm a little surprised -- I built these same programs with the same make files
  4139. last week on another MIPS machine running build 3.23.
  4140.  
  4141. Any ideas? I don't even know where to start.
  4142.  
  4143. There is 1 Reply.
  4144.  
  4145. #: 15549 S7/Tools-Microsoft   
  4146.     21-Oct-92  14:38:18
  4147. Sb: #15534-Beta mip2coff error
  4148. Fm: Martin Heller 74000,2447
  4149. To: Martin Heller 74000,2447 (X)
  4150.  
  4151. Arggh. I found my problem--a change I made to a master make file for Intel had
  4152. the effect of suppressing the -g2 flag for MIPS. All better now.
  4153.  
  4154. For future reference, language code 6 from mip2coff means you forgot the -g2
  4155. switch.
  4156.  
  4157. #: 15427 S7/Tools-Microsoft   
  4158.     20-Oct-92  00:43:15
  4159. Sb: Problems debugging C++ p
  4160. Fm: Centre File 100015,3565
  4161. To: all
  4162.  
  4163.  
  4164.  
  4165. I'm trying to develop C++ classes on NT.  I have just got a first cut port of
  4166. my GUI library set compiled and built, to test my HELLO WORLD program.
  4167.  
  4168. I have encountered two problems:
  4169.  
  4170. 1.  At the end of the link phase, the linker invokes CVPACK.  CVPACK then
  4171. falls over with the message
  4172.         'The instruction at "0x00011644" referenced memory at
  4173.          "0x00000108".  The memory could not be read.
  4174.  
  4175.  
  4176. 2.  I tried renaming CVPACK, so that it wouldn't get found at the link stage. 
  4177. This left me with a .exe (albeit a big one!).  I then found that the debugger
  4178. (windbg) didn't seem to get any symbols from the .exe when loaded. The upshot
  4179. of this being that I can't debug my programs!
  4180.  
  4181. Could anybody tell me if windbg works with C++ programs at all?  If so, should
  4182. it recognise unpacked .exe formats?  If it has to be packed, is there a fix
  4183. available for CVPACK?
  4184.  
  4185. Incidently I'm using '-debug:notmapped,full' option with type set to 'cv'
  4186.  
  4187. And finally, does anyone have an inkling of the latest beta release date?
  4188.  
  4189. Thanks in advance for any assitance
  4190.  
  4191. Stuart A. Murray
  4192.  
  4193. #: 15566 S7/Tools-Microsoft   
  4194.     21-Oct-92  16:53:19
  4195. Sb: #15427-Problems debugging C++ p
  4196. Fm: Doug Olson [Microsoft] 72350,2635
  4197. To: Centre File 100015,3565 (X)
  4198.  
  4199. Stuart:
  4200.  
  4201. Sorry to hear that you have ran into problems debugging. We have seen the
  4202. memory error occur when CVPACKing large applications.  To work around this
  4203. problem I suggest compiling with debug information in only the modules that
  4204. you need to debug.  This will cut down the amount of information that CVPACK
  4205. needs to process. As a last resort, I suggest compiling with the -Zd switch
  4206. instead of -Zi.  This switch will provide only line number information, but
  4207. should allow you to CVPACK successfully.
  4208.  
  4209. The current (July) version of WINDBG does not support C++ symbols.  You can
  4210. debug a C++ application, but it will not understand the decorated C++ symbol
  4211. names.  The October WINDBG will support C++ debugging.
  4212.  
  4213. Please let me know if you are unable to work around the CVPACK problem. The
  4214. October release of CVPACK should correct this problem.
  4215.  
  4216.  Sincerely,
  4217.  
  4218.  Doug Olson
  4219.  Microsoft Developer Support
  4220.  
  4221. #: 15578 S7/Tools-Microsoft   
  4222.     21-Oct-92  21:38:22
  4223. Sb: Err Linking C & C++
  4224. Fm: Jim Young 72760,725
  4225. To: Sysop (X)
  4226.  
  4227. I trying to compile and link an application with cl386 and COFF and I'm
  4228. encountering a problem. The application is composed of both C and C++ object
  4229. modules. I'm getting errors during the link indicating that global symbols
  4230. that are defined in the C++ modules and referenced in the C modules are NOT
  4231. defined in the C modules (my.obj : warning 0516 _szPath is undefined).
  4232. Apparently things are working the other way, IOW globals defined in C modules
  4233. are accessable in C++ modules. Is this a known problem? I've tried declaring
  4234. them as extern "C" but this does not work and also makes them unaccessable to
  4235. any other C++ modules. Help!
  4236.  
  4237. --Jim
  4238.  
  4239. #: 15465 S7/Tools-Microsoft   
  4240.     20-Oct-92  12:42:12
  4241. Sb: Casting and addition
  4242. Fm: Marc Singer 72130,2546
  4243. To: Sysop (X)
  4244.  
  4245. I seems to me that this is not appropriate behavior.
  4246.  
  4247.   unsigned a, b, c;
  4248.  
  4249.   a = 1;
  4250.   b = 2;
  4251.   c = 3;
  4252.   if (a < b + c)  /* Generates a warning */
  4253.     ...
  4254.  
  4255. I receive a warning about comparing signed and unsigned numbers.  The code is
  4256. OK if I cast this way:
  4257.  
  4258.   if (a < (unsigned) (b + c))
  4259.     ...
  4260.  
  4261. But, I don't think that the addition of two unsigned values should demote the
  4262. type to signed.  So, tell me.  What's the right way?  The current rule make my
  4263. code much less readable.
  4264.  
  4265. Marc Singer -- Straylight Software
  4266.  
  4267. #: 15576 S7/Tools-Microsoft   
  4268.     21-Oct-92  21:20:51
  4269. Sb: #15465-Casting and addition
  4270. Fm: Doug Olson [Microsoft] 72350,2635
  4271. To: Marc Singer 72130,2546 (X)
  4272.  
  4273. Marc:
  4274.  
  4275. Thanks for reporting this problem.  You should not be receive a warning from
  4276. the code you provided.
  4277.  
  4278. This problem has been corrected in the October SDK.
  4279.  
  4280.  Sincerely,
  4281.  
  4282.  Doug Olson
  4283.  Microsoft Developer Support
  4284.  
  4285.  
  4286.  
  4287.  
  4288. There is 1 Reply.
  4289.  
  4290. #: 15588 S7/Tools-Microsoft   
  4291.     22-Oct-92  02:53:21
  4292. Sb: #15576-Casting and addition
  4293. Fm: Marc Singer 72130,2546
  4294. To: Doug Olson [Microsoft] 72350,2635 (X)
  4295.  
  4296. Well, that's the thing.  This has not been corrected in the October release. I
  4297. have it and I receive the same error message I have always received.  In fact,
  4298. I am finding some new problems with the development tools that were not
  4299. previously there (or I have not yet discovered).  I posted other messages
  4300. about these troubles earlier in the week.
  4301.  
  4302. So, has it been fixed or not?  Will it be fixed if it has not already been?
  4303.  
  4304. Marc Singer -- Straylight Software
  4305.  
  4306.  
  4307.  
  4308.  
  4309. There is 1 Reply.
  4310.  
  4311. #: 15614 S7/Tools-Microsoft   
  4312.     22-Oct-92  12:33:11
  4313. Sb: #15588-Casting and addition
  4314. Fm: Doug Olson [Microsoft] 72350,2635
  4315. To: Marc Singer 72130,2546 (X)
  4316.  
  4317. Marc:
  4318.  
  4319. I cannot reproduce this warning with the Oct. Compiler. In fact, I compiled
  4320. the same sample using the July release and did not receive the warning.
  4321.  
  4322. I believe the difference may be our compiler switches, would you provide me
  4323. with yours?
  4324.  
  4325. To make things even more generic, I striped my sample down to the following:
  4326.  
  4327.  void main(void)
  4328.  {
  4329.  unsigned a,b,c;
  4330.  a=1; b=2; c=3;
  4331.  if(a < b + c) a=b;
  4332.  }
  4333.  
  4334. Please note that there are no include files.  I compiled with the following
  4335. command:
  4336.  
  4337.  CL386 -c -Od -W5 test.c
  4338.  
  4339. And did not receive any warning or errors.  Please give this a try, if you do
  4340. not get the warning you can build back up to what you previously had and see
  4341. where the warning is introduced.
  4342.  
  4343. Please let me know what happens.
  4344.  
  4345.  Sincerely,
  4346.  
  4347.  Doug Olson
  4348.  Microsoft Developer Support
  4349.  
  4350. #: 15325 S7/Tools-Microsoft   
  4351.     18-Oct-92  03:27:02
  4352. Sb: Librarian error (COMDAT)
  4353. Fm: Brad Hines 76520,3314
  4354. To: Sysop (X)
  4355.  
  4356.  
  4357. I have managed to get my project to successfully compile under Windows NT,
  4358. but now I am having a problem with the librarian.  The majority of my
  4359. object files have the following problem.  Does anyone know what this means
  4360. or what a workaround is?
  4361.  
  4362. Thanks,
  4363.  
  4364. Brad
  4365.  
  4366. =================================
  4367. Example CL386 and LIB runs follow
  4368. =================================
  4369.  
  4370. E:\winpp\nt>cl386 -c -G3d -W3 -Di386=1 -Zi -Od -DWIN32 -DSTRICT /Foobj\mdimain.obj mdimain.cpp 
  4371. mdimain.cpp
  4372.  
  4373. E:\winpp\nt>LIB -out:winpp.lib obj\mdimain.obj 
  4374. Microsoft(R) Windows NT Librarian Version 2.10
  4375. (C) 1989-1992 Microsoft Corp. All rights reserved.
  4376.  
  4377. cvtomf() : error : continuation of COMDAT not supported yet
  4378. obj\mdimain.obj() : error 0123: Can't convert object to Windows NT format
  4379.  
  4380. There are 2 Replies.
  4381.  
  4382. #: 15379 S7/Tools-Microsoft   
  4383.     19-Oct-92  13:29:45
  4384. Sb: #15325-Librarian error (COMDAT)
  4385. Fm: Doug Olson [Microsoft] 72350,2635
  4386. To: Brad Hines 76520,3314 (X)
  4387.  
  4388. Brad:
  4389.  
  4390. I will find out what causes this error.
  4391.  
  4392.  Sincerely,
  4393.  
  4394.  Doug Olson
  4395.  Microsoft Developer Support
  4396.  
  4397. #: 15467 S7/Tools-Microsoft   
  4398.     20-Oct-92  12:51:18
  4399. Sb: #15325-Librarian error (COMDAT)
  4400. Fm: Doug Olson [Microsoft] 72350,2635
  4401. To: Brad Hines 76520,3314
  4402.  
  4403. Brad:
  4404.  
  4405. This error is caused by large in-line functions.  The record that is currently
  4406. used to instantiating an in-line function has a limit of 955 bytes.
  4407.  
  4408. Please try reducing the size of your larger in-line functions to see if the
  4409. problem corrects.  This limit should go away in later releases of the
  4410. compiler.
  4411.  
  4412. Please let me know if this solves the problem.
  4413.  
  4414.  Sincerely,
  4415.  
  4416.  Doug Olson
  4417.  Microsoft Developer Support
  4418.  
  4419. #: 15586 S7/Tools-Microsoft   
  4420.     22-Oct-92  01:26:36
  4421. Sb: #15467-Librarian error (COMDAT)
  4422. Fm: Brad Hines 76520,3314
  4423. To: Doug Olson [Microsoft] 72350,2635 (X)
  4424.  
  4425. Doug,
  4426.  
  4427. I carefully examined my code, and my largest inline function consisted of a
  4428. 3-liner which did one subroutine call (not to an inline function) and two
  4429. assignments.  So, I once again began whittling my code away until I came up
  4430. with the sample code that I am uploading as LIBBG3.ZIP.  Basically, the
  4431. problem appears to occur when there are more than 150 virtual functions in a
  4432. class.  The readme file gives more detail.
  4433.  
  4434. Unfortunately, this is functionality that I don't think I can do without for
  4435. my program.  I can eliminate some of the virtual functions for the time being,
  4436. but I will need more and more of them as time goes on, so I will definitely be
  4437. waiting on the edge of my chair for an update if there's any way to get one to
  4438. me any time soon.
  4439.  
  4440. Hopefully we'll hit the bottom of this well of problems soon :).  Thanks for
  4441. your time and trouble,
  4442.  
  4443. Brad
  4444.  
  4445. There is 1 Reply.
  4446.  
  4447. #: 15615 S7/Tools-Microsoft   
  4448.     22-Oct-92  12:33:15
  4449. Sb: #15586-Librarian error (COMDAT)
  4450. Fm: Doug Olson [Microsoft] 72350,2635
  4451. To: Brad Hines 76520,3314 (X)
  4452.  
  4453. Brad:
  4454.  
  4455. Thanks for putting together a sample, I will retrieve it now.  I will forward
  4456. it to our Language Development team and let you know the outcome.
  4457.  
  4458.  Sincerely,
  4459.  
  4460.  Doug Olson
  4461.  Microsoft Developer Support
  4462.  
  4463. #: 15538 S7/Tools-Microsoft   
  4464.     21-Oct-92  13:33:51
  4465. Sb: C compiler bug
  4466. Fm: Jeff Robbins 70303,1570
  4467. To: Microsoft
  4468.  
  4469. To Microsoft,
  4470.  
  4471.        Here's a makefile, c file, and asm output.  The asm code is wrong. It
  4472. looks like the compiler noticed something clever here, like all it had to do
  4473. was compare ah to 9, but the asm code cmp eax to 9, not at all what the c code
  4474. says.  We don't know if the .obj code is right or not.
  4475.  
  4476. Jeff Robbins Cycle Software, Inc.
  4477.  
  4478.  
  4479.  
  4480. <makefile begin> all:
  4481.    cl386 -c -Gs -W2 -nologo -Fa shift.c <makefile end>
  4482.  
  4483.  
  4484. <source begin> main () {
  4485.    unsigned  num;
  4486.    unsigned  x;
  4487.  
  4488.  
  4489.    num = 1388;
  4490.  
  4491.    if (((unsigned char) ((num & 0x00000F00) >> 8)) > 9)
  4492.       x = num;
  4493.    else
  4494.       x = num + 1;
  4495.  
  4496. } <source end>
  4497.  
  4498.  
  4499. <asm output begin>
  4500.         TITLE   shift.c
  4501.         .386P include listing.inc _TEXT   SEGMENT DWORD USE32 PUBLIC 'CODE'
  4502. _TEXT   ENDS _DATA   SEGMENT DWORD USE32 PUBLIC 'DATA' _DATA   ENDS CONST  
  4503. SEGMENT DWORD USE32 PUBLIC 'CONST' CONST   ENDS _BSS    SEGMENT DWORD USE32
  4504. PUBLIC 'BSS' _BSS    ENDS FLAT    GROUP _DATA, CONST, _BSS
  4505.         ASSUME  CS: FLAT, DS: FLAT, SS: FLAT PUBLIC  _main EXTRN  
  4506. __acrtused:NEAR _TEXT   SEGMENT DWORD USE32 PUBLIC 'CODE' ; File shift.c _num$
  4507. = -8 _x$ = -4 _main   PROC NEAR ; Line 2
  4508.         push    ebp
  4509.         mov     ebp, esp
  4510.         sub     esp, 8
  4511.         push    ebx
  4512.         push    esi
  4513.         push    edi ; Line 7
  4514.         mov     DWORD PTR _num$[ebp], 1388              ; 0000056cH ; Line 9
  4515.         mov     eax, DWORD PTR _num$[ebp]
  4516.         and     eax, 3840                               ; 00000f00H
  4517.         cmp     eax, 9
  4518.         jle     $L109 ; Line 10
  4519.         mov     eax, DWORD PTR _num$[ebp]
  4520.         mov     DWORD PTR _x$[ebp], eax ; Line 11
  4521.         jmp     $L110 $L109: ; Line 12
  4522.         mov     eax, DWORD PTR _num$[ebp]
  4523.         inc     eax
  4524.         mov     DWORD PTR _x$[ebp], eax $L110: ; Line 14 $L106:
  4525.         pop     edi
  4526.         pop     esi
  4527.         pop     ebx
  4528.         leave
  4529.         ret     0 _main   ENDP _TEXT   ENDS END <asm output end>
  4530.  
  4531. There is 1 Reply.
  4532.  
  4533. #: 15616 S7/Tools-Microsoft   
  4534.     22-Oct-92  12:33:20
  4535. Sb: #15538-C compiler bug
  4536. Fm: Doug Olson [Microsoft] 72350,2635
  4537. To: Jeff Robbins 70303,1570
  4538.  
  4539. Jeff:
  4540.  
  4541. Thanks for the report.  I will examine the output and let you know what I
  4542. find.
  4543.  
  4544.  Sincerely,
  4545.  
  4546.  Doug Olson
  4547.  Microsoft Developer Support
  4548.  
  4549. #: 15618 S7/Tools-Microsoft   
  4550.     22-Oct-92  13:48:54
  4551. Sb: COFF out of memory error
  4552. Fm: Brad Hines 76520,3314
  4553. To: Sysop (X)
  4554.  
  4555. Hello.
  4556.  
  4557. Unfortunately, it looks like I've run into yet another problem with COFF.
  4558. There is one object file that I have that, when I try to link it or load
  4559. it into a library, COFF aborts with an out of memory error.  The object
  4560. file is only about 40K in size.  Does anyone know what's going on here?
  4561.  
  4562. Thanks,
  4563.  
  4564. Brad
  4565.  
  4566. =====================================================
  4567.  
  4568. Sample LIB run:
  4569.  
  4570.  
  4571. E:\winpp>lib -out:foo.lib msg.obj
  4572.  
  4573. Microsoft(R) Windows NT Librarian Version 2.10
  4574. (C) 1989-1992 Microsoft Corp. All rights reserved.
  4575.  
  4576.  
  4577. LIB() : error 0102: Out of memory
  4578. Extended Error: No such file or directory
  4579.  
  4580. #: 15319 S7/Tools-Microsoft   
  4581.     17-Oct-92  15:20:47
  4582. Sb: #15264-FAT file names
  4583. Fm: Jeff Thomson 71460,3222
  4584. To: Dan Sullivan 76327,1534 (X)
  4585.  
  4586. Dan,
  4587.  
  4588. > My editor (CodeWright) will sometimes not be able to open a file that the
  4589. > Open File common dialog it uses sees.
  4590.  
  4591. I've been having the same problem w/ Codewright under NT, and have reported
  4592. this and several other problems to Premia. They replied that the next
  4593. release of NT should allow CW to run *much* better, as a number of NT
  4594. developers are using CW, and *they* want it to run well as much as you and I
  4595. do <g>.
  4596.  
  4597. > In fact is I run nmake with -p I can see the the inference rule properly
  4598. > specifies the file, nmake won't use the inference file in NT, but it will
  4599. > in DOS.
  4600.  
  4601. I haven't seen this problem myself. One thing that I would recommend
  4602. checking is the .SUFFIXES list under both NT and DOS (by redirecting the
  4603. output of 'nmake -n -p' into a file, for example). My experience has been
  4604. that when an inference rule isn't getting invoked, and you'd *swear* that it
  4605. should be, the .SUFFIXES list is often the cause.
  4606.  
  4607. Hope this helps.
  4608.  
  4609.        -- Jeff
  4610.  
  4611.  
  4612.  
  4613. There is 1 Reply.
  4614.  
  4615. #: 15327 S7/Tools-Microsoft   
  4616.     18-Oct-92  05:23:21
  4617. Sb: #15319-FAT file names
  4618. Fm: Dan Sullivan 76327,1534
  4619. To: Jeff Thomson 71460,3222 (X)
  4620.  
  4621. Thanks for the CW info, however the nmake problem has nothing to do with the
  4622. suffixes being incorrect. I can run the same make file under DOS and it works
  4623. fine. Also by using -n -p I can see the suffix list and the expanded inference
  4624. rule, and it should be seeing the files to be built. There don't seem to be
  4625. any tools for poking at what NT sees as file names and types, I that is the
  4626. only kind of problem I can think of that might be causing this response from
  4627. NT.
  4628.  
  4629. Dan
  4630.  
  4631. #: 15624 S7/Tools-Microsoft   
  4632.     22-Oct-92  13:56:53
  4633. Sb: #15264-FAT file names
  4634. Fm: Colin Stuart [Microsoft] 70744,25
  4635. To: Dan Sullivan 76327,1534 (X)
  4636.  
  4637. Dan, I'm looking into this. Colin
  4638.  
  4639. #: 15625 S7/Tools-Microsoft   
  4640.     22-Oct-92  13:56:58
  4641. Sb: Nested CTLS in DLGEDIT
  4642. Fm: Colin Stuart [Microsoft] 70744,25
  4643. To: neil colvin 71650,3517 (X)
  4644.  
  4645. Neil, I'll forward your suggestion to the DlgEdit developer. Colin
  4646.  
  4647. #: 15628 S7/Tools-Microsoft   
  4648.     22-Oct-92  14:01:54
  4649. Sb: WinDbg
  4650. Fm: Howard Myers 76711,462
  4651. To: Microsoft
  4652.  
  4653. I'm having major problems with WinDbg. (October Beta release)
  4654.  
  4655. The July release wouldn't let me load some source files -- no errors, they
  4656. just won't load.  This problem was reported quite a while ago, but
  4657. unfortunately is not fixed in the beta.
  4658.  
  4659. Now to make matters worse, there is a new bug that won't let me set
  4660. breakpoints in my code.  I have at least one file that loads into WinDbg, but
  4661. it won't let me set breakpoints on any lines in the file.  It was compiled
  4662. with the /Zi option and has been properly linked (as attested to by the fact
  4663. that other files don't have this problem).  It is also in sync with the .EXE
  4664. file, not an old version.  I recompiled all the files when I got the beta
  4665. release.
  4666.  
  4667. Any ideas how to avoid/fix either of these?  I'm getting less and less done as
  4668. I can debug less and less code without the use of breakpoints!
  4669.  
  4670. #: 15638 S7/Tools-Microsoft   
  4671.     22-Oct-92  15:16:29
  4672. Sb: MS Knowledge Base
  4673. Fm: Colin Stuart [Microsoft] 70744,25
  4674. To: ALL
  4675.  
  4676.  
  4677. The following list consists of titles and unique identifiers of Win32 SDK
  4678. technical articles contained in the Microsoft Knowledge Base used by Microsoft
  4679. support staff. For access to the most up-to-date information, access the
  4680. Microsoft Knowledge Base by typing 'go mskb' at the prompt. A feedback-only
  4681. email alias has been set up to take any comments on the Microsoft Knowledge
  4682. Base: 'y-kbfeed@microsoft.com'  Thank you.
  4683.  
  4684. -----------------------------------------------------------------------INF:
  4685. OS/2-to-Windows Migration Information                    [P_W32dev] Q89058
  4686. -----------------------------------------------------------------------SDK9209:
  4687. ScrollConsoleScreenBuffer Scrolls Foreground Buffer  [P_W32dev] Q89372
  4688. -----------------------------------------------------------------------INF:
  4689. Replacing the Windows NT Task Manager                    [P_W32dev] Q89373
  4690. -----------------------------------------------------------------------INF:
  4691. Byte-Ordering in a Data Packet Under NDIS                [P_W32dev] Q89374
  4692. -----------------------------------------------------------------------INF:
  4693. Transparent Blts in Windows NT                           [P_W32dev] Q89375
  4694. -----------------------------------------------------------------------INF:
  4695. How to Specify Shared and Nonshared Data in a DLL        [P_W32dev] Q89817
  4696. -----------------------------------------------------------------------INF:
  4697. Writing Multiple-Language Resources                      [P_W32dev] Q89866
  4698. -----------------------------------------------------------------------INF:
  4699. Using DocumentProperties() Instead of ExtDeviceMode()    [P_W32dev] Q89867
  4700. -----------------------------------------------------------------------INF:
  4701. Background Information on POSIX and XPG                  [P_W32dev] Q89899
  4702. -----------------------------------------------------------------------INF:
  4703. System Error 2: ERROR_FILE_NOT_FOUND                     [P_W32dev] Q89988
  4704. -----------------------------------------------------------------------INF:
  4705. CreateFile() Using CONOUT$ or CONIN$                     [P_W32dev] Q90088
  4706.  
  4707. [More]
  4708.  
  4709. There is 1 Reply.
  4710.  
  4711. #: 15639 S7/Tools-Microsoft   
  4712.     22-Oct-92  15:16:35
  4713. Sb: #15638-MS Knowledge Base
  4714. Fm: Colin Stuart [Microsoft] 70744,25
  4715. To: Colin Stuart [Microsoft] 70744,25 (X)
  4716.  
  4717. [Continued]
  4718.  
  4719.  
  4720. -----------------------------------------------------------------------SDK9210:
  4721. MS-DOS-Basedand WOW Applications Won't Run on PS/2s [P_W32dev] Q90501
  4722.  
  4723. #: 15551 S7/Tools-Microsoft   
  4724.     21-Oct-92  14:47:08
  4725. Sb: C and C++ linkage
  4726. Fm: Christian Betrisey 76600,1450
  4727. To: Microsoft
  4728.  
  4729. What are the (major) differences between C linkage and C++ linkage in C 7 ?
  4730.  
  4731. There is 1 Reply.
  4732.  
  4733. #: 15655 S7/Tools-Microsoft   
  4734.     22-Oct-92  17:29:54
  4735. Sb: #15551-C and C++ linkage
  4736. Fm: Doug Olson [Microsoft] 72350,2635
  4737. To: Christian Betrisey 76600,1450 (X)
  4738.  
  4739. Christian:
  4740.  
  4741. The most important thing that I believe you should be aware of is that we
  4742. decorate our C++ symbols.  This allows type safe linkage, where functions with
  4743. the same name will never be mistaken for one other.
  4744.  
  4745. For a very detailed description of how linkage is achieved with C7, I suggest
  4746. reading the following pages:
  4747.  
  4748.  C Language Reference page 34-39
  4749.  C++ Language Reference page 33-37
  4750.  
  4751. I am going to leave you with this since linkage is such a broad topic.  If you
  4752. have specific questions about certain types of linkage (such linkage in names
  4753. of a particular scope) I'd be happy to answer them.
  4754.  
  4755.  Sincerely,
  4756.  
  4757.  Doug Olson
  4758.  Microsoft Developer Support
  4759.  
  4760. #: 15574 S7/Tools-Microsoft   
  4761.     21-Oct-92  19:50:41
  4762. Sb: DLL/FP/Linker
  4763. Fm: Doug Olson [Microsoft] 72350,2635
  4764. To: Julius Oklamcak 76004,2246 (X)
  4765.  
  4766. Julius:
  4767.  
  4768. Thanks for waiting, this problem has been interesting.
  4769.  
  4770. To prevent the linker from attempting to resolve _main, use -entry:_CRT_INIT
  4771. on your DLL link line.  Also, please make sure to define _MT (-D_MT on the
  4772. CL386 command line) when compiling.
  4773.  
  4774. When you upgrade to the October SDK, you will need to change -entry:_CRT_INIT
  4775. to -entry:_CRT_INIT@12.
  4776.  
  4777. Please let me know if you have any further problems or questions.
  4778.  
  4779.  Sincerely,
  4780.  
  4781.  Doug Olson
  4782.  Microsoft Developer Support
  4783.  
  4784.  
  4785.  
  4786.  
  4787. There is 1 Reply.
  4788.  
  4789. #: 15663 S7/Tools-Microsoft   
  4790.     22-Oct-92  17:37:47
  4791. Sb: #15574-DLL/FP/Linker
  4792. Fm: Julius Oklamcak 76004,2246
  4793. To: Doug Olson [Microsoft] 72350,2635 (X)
  4794.  
  4795. Thanks, Doug, I'll pass it on...
  4796.  
  4797. #: 15476 S7/Tools-Microsoft   
  4798.     20-Oct-92  13:43:03
  4799. Sb: Exporting C++ Names
  4800. Fm: Keith MacDonald 100041,235
  4801. To: SYSOP (X)
  4802.  
  4803. I'm trying to create a DLL from my C++ source that works fine in
  4804. Windows 3.1.  My problem is that I need to specify the exported
  4805. names in my .DEF file, in their decorated form, so that COFF can
  4806. generate a .EXP file.  I've tried two approaches to getting the
  4807. decorated names:
  4808.  
  4809. 1) Link my application and use the names from the undefined externals
  4810.         error messages.
  4811.  
  4812. 2) Extract the names from the .OBJ file for the DLL.
  4813.  
  4814. In either case, I get "_name is undefined" messages for each "name" I export
  4815. in the .DEF file,  whenever I get COFF to link my DLL.
  4816.  
  4817. Can somebody PLEASE help me?
  4818.  
  4819. #: 15665 S7/Tools-Microsoft   
  4820.     22-Oct-92  17:54:45
  4821. Sb: #15476-Exporting C++ Names
  4822. Fm: Doug Olson [Microsoft] 72350,2635
  4823. To: Keith MacDonald 100041,235 (X)
  4824.  
  4825. Keith:
  4826.  
  4827. This is a known problem with COFF.  It is adding a leading underscore to the
  4828. exported symbol names.  Let me look into this further and get back with you.
  4829.  
  4830.  Sincerely,
  4831.  
  4832.  Doug Olson
  4833.  Microsoft Developer Support
  4834.  
  4835. #: 15375 S7/Tools-Microsoft   
  4836.     19-Oct-92  12:10:17
  4837. Sb: CVW3 under NT?
  4838. Fm: Michael Ward 71053,3717
  4839. To: all
  4840.  
  4841. Is it possible to run codeview for windows under NT?  I'm trying to get my
  4842. Windows application to run under WOW in NT.  It comes very close but segs in a
  4843. couple of places.  I suspect that these may be problems in my code but without
  4844. a source level debugger it is hard to tell.  Any suggestions?  By the way this
  4845. is the October release of Win NT.
  4846.  
  4847. There are 2 Replies.
  4848.  
  4849. #: 15421 S7/Tools-Microsoft   
  4850.     19-Oct-92  22:56:24
  4851. Sb: #15375-CVW3 under NT?
  4852. Fm: Bill Cohagan 74375,313
  4853. To: Michael Ward 71053,3717 (X)
  4854.  
  4855. Michael-
  4856.  
  4857.  |                            ... Any suggestions?  By the way this
  4858.  |is the October release of Win NT.
  4859.          ^^^^^^^^^^^^^^^^^^^^^^^^^
  4860.  
  4861. Did you really mean that? Be careful now -- you don't want to start a riot!
  4862. Seriously, if you have the October release, I'd be interested to know when/how
  4863. you got it.
  4864.  
  4865. Thanks,
  4866.  Bill
  4867.  
  4868. #: 15422 S7/Tools-Microsoft   
  4869.     19-Oct-92  23:26:37
  4870. Sb: #15375-CVW3 under NT?
  4871. Fm: Doug Olson [Microsoft] 72350,2635
  4872. To: Michael Ward 71053,3717 (X)
  4873.  
  4874. Michael:
  4875.  
  4876. Unfortunately Codeview for Windows will not run under WOW. I can only suggest
  4877. more traditional methods of debugging, such as using output to trace the
  4878. execution.
  4879.  
  4880.  Sincerely,
  4881.  
  4882.  Doug Olson
  4883.  Microsoft Developer Support
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890. There is 1 Reply.
  4891.  
  4892. #: 15437 S7/Tools-Microsoft   
  4893.     20-Oct-92  05:47:48
  4894. Sb: #15422-CVW3 under NT?
  4895. Fm: Michael Ward 71053,3717
  4896. To: Doug Olson [Microsoft] 72350,2635 (X)
  4897.  
  4898. Well Doug, that's an interesting answer.  In all this hoop-pa-la about NT
  4899. running DOS apps in never occured to anyone that someone might need to run a
  4900. source-level debugger on 16 bit code?  I was kind-of hoping that I'd be able
  4901. to develop 16bit windows under NT where I would have a protected environment
  4902. and all.  Guess I just shot that in the foot. I'll give one example of why
  4903. this is so important.  The SetTimer() call in Windows 3.1 will accept 0 as a
  4904. timer ID.  Windows NT will not.  What is even worse, is WOW will not accept 0
  4905. as a valid timer ID.  So here I have perfectly acceptable code that runs under
  4906. 3.1 but won't run under WOW or as a native NT app.  The documentation for NT
  4907. does not say 0 is an invalid value for a timer ID.  I found this bug using
  4908. "traditional" methods and it only took about 2.5 hours.  Something that would
  4909. of taken 2.5 minutes had I had a source-level debugger.  Can Microsoft really
  4910. be serious about running 16 bit apps without some type of source-level
  4911. debugger support?
  4912.  
  4913. There is 1 Reply.
  4914.  
  4915. #: 15470 S7/Tools-Microsoft   
  4916.     20-Oct-92  13:22:39
  4917. Sb: #15437-CVW3 under NT?
  4918. Fm: Marc Singer 72130,2546
  4919. To: Michael Ward 71053,3717
  4920.  
  4921. Doug,
  4922.  
  4923. I, too, feel that we will need some debugging tools for Windows 3.1 apps
  4924. running as NT clients.  My current project runs as both a Windows NT and a
  4925. Windows 3.1 application.  In the October build, I am still finding some sticky
  4926. errors in the WOW subsystem's emulation.  Though this version is significantly
  4927. better than the July release, I could benefit tremendously from a debugger
  4928. that shows me exactly why some of the dysfunctional behaviors occur.
  4929.  
  4930. Marc Singer -- Straylight Software
  4931.  
  4932. #: 15559 S7/Tools-Microsoft   
  4933.     21-Oct-92  15:28:55
  4934. Sb: #15470-CVW3 under NT?
  4935. Fm: Doug Olson [Microsoft] 72350,2635
  4936. To: Marc Singer 72130,2546 (X)
  4937.  
  4938. Marc:
  4939.  
  4940. Thanks for the suggestion.  I will forward your comments on and keep you
  4941. informed of any new information on this topic. (see previous message)
  4942.  
  4943.  Sincerely,
  4944.  
  4945.  Doug Olson
  4946.  Microsoft Developer Support
  4947.  
  4948. #: 15541 S7/Tools-Microsoft   
  4949.     21-Oct-92  13:57:10
  4950. Sb: #15437-CVW3 under NT?
  4951. Fm: Doug Olson [Microsoft] 72350,2635
  4952. To: Michael Ward 71053,3717 (X)
  4953.  
  4954. Michael:
  4955.  
  4956. Thanks for all your input on this topic.
  4957.  
  4958. >>In all this hoop-pa-la about NT running DOS apps it never occured to anyone
  4959. that someone might need to run a source-level debugger on 16 bit code?
  4960.  
  4961. We are very aware of this issue.  The problem you had with SetTimer is a good
  4962. example of a situation where a 16-bit debugger would have been very useful.  I
  4963. currently don't know the exact cause of the problem or the details behind
  4964. running the 16-bit CVW inside WOW.  A debugger, of course, is not a typical
  4965. 16-bit application.
  4966.  
  4967. I will look further into this issue and post any useful information here.
  4968.  
  4969. I have also forwarded your comments on to our Language Program Management.
  4970.  
  4971.  Sincerely,
  4972.  
  4973.  Doug Olson
  4974.  Microsoft Developer Support
  4975.  
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981. There is 1 Reply.
  4982.  
  4983. #: 15591 S7/Tools-Microsoft   
  4984.     22-Oct-92  05:00:46
  4985. Sb: #15541-CVW3 under NT?
  4986. Fm: Michael Ward 71053,3717
  4987. To: Doug Olson [Microsoft] 72350,2635 (X)
  4988.  
  4989. I wonder if it would be possible to write an NT hosted debugger that could
  4990. work on 16 bit code?  I realize that debuggers are radical programs in an
  4991. operating system sense but having the 16 bit debuggers running under NT-DOS
  4992. emulation would be one heck of a benchmark to aim for.  I hold high hopes for
  4993. NT as a host environment for development of Windows, OS/2, and of course NT
  4994. apps.  But for now it still remains something of a toy.  Also, next release
  4995. lets get some SuperVGA drivers guys.  The few that are on there don't work on
  4996. my Gateway and the MIPS (R4000) is even worse.
  4997.  
  4998. There is 1 Reply.
  4999.  
  5000. #: 15666 S7/Tools-Microsoft   
  5001.     22-Oct-92  17:54:50
  5002. Sb: #15591-CVW3 under NT?
  5003. Fm: Doug Olson [Microsoft] 72350,2635
  5004. To: Michael Ward 71053,3717 (X)
  5005.  
  5006. Michael:
  5007.  
  5008. Yes, it would be possible to write a NT hosted debugger that could debug
  5009. 16-bit DOS/Windows applications, it would most likely be a Win32 application. 
  5010. Having the existing 16-bit debugger work under NT WOW is, however, a different
  5011. problem. WOW does not currently support the debugging APIs needed to run CVW.
  5012.  
  5013.  Sincerely,
  5014.  
  5015.  Doug Olson
  5016.  Microsoft Developer Support
  5017.  
  5018. #: 15567 S7/Tools-Microsoft   
  5019.     21-Oct-92  16:55:36
  5020. Sb: #15437-CVW3 under NT?
  5021. Fm: Graham Welland 70023,1267
  5022. To: Michael Ward 71053,3717 (X)
  5023.  
  5024. Michael,
  5025.  
  5026. Were you waiting for that idea of the ideal NT product????  Well, I guess a
  5027. source level debugger might just fit the bill.  A trek along to the Device
  5028. Driver Developer conference could pay back handsomely for somebody.  The only
  5029. thing to look out for is MS secretly working on one, and then giving it away
  5030. free to all NT developers in the future :(
  5031.  
  5032. Graham
  5033.  
  5034. There is 1 Reply.
  5035.  
  5036. #: 15592 S7/Tools-Microsoft   
  5037.     22-Oct-92  05:04:49
  5038. Sb: #15567-CVW3 under NT?
  5039. Fm: Michael Ward 71053,3717
  5040. To: Graham Welland 70023,1267
  5041.  
  5042. Graham,
  5043.  
  5044. Interesting idea about the debugger but I'm just not that much of a system
  5045. nut.  Also, I have my hands quite full with work on two other plateforms.  Ah,
  5046. if it were as easy as saying "Make it so!", like they do on Star Trek.  I
  5047. don't think programmers will go wanting for a job anytime soon.
  5048.  
  5049. #: 15431 S7/Tools-Microsoft   
  5050.     20-Oct-92  02:19:39
  5051. Sb: Porttool
  5052. Fm: Simon Moore 100014,1357
  5053. To: Simon Moore 100014,1357 (X)
  5054.  
  5055. Correction to my previous message - I did find the WIN32API.DAT file, and
  5056. added a line to WIN.INI as instructed in ch5 of ProgTech,  but PORTTOOL does
  5057. not seem to be taking any notice - any ideas?
  5058.  
  5059. (I must admit, I'm slightly confused about updating WIN.INI as everything else
  5060. I've seen implies that you cannot just go and edit INI files but I'm not sure
  5061. what else you are supposed to do.)
  5062.  
  5063. Thanks
  5064.  
  5065. #: 15548 S7/Tools-Microsoft   
  5066.     21-Oct-92  14:35:28
  5067. Sb: #15431-Porttool
  5068. Fm: Cameron Ferroni [MS] 72360,2300
  5069. To: Simon Moore 100014,1357 (X)
  5070.  
  5071. PORTTOOL uses the PORT.INI file, not the WIN32API.DAT file, which is provided
  5072. only as a reference.  If you have made changes to WIN32API.DAT, then see the
  5073. PORT.INI for comments on how to incorporate your changes.
  5074.  
  5075. -Cam
  5076.  
  5077.  
  5078.  
  5079. There is 1 Reply.
  5080.  
  5081. #: 15595 S7/Tools-Microsoft   
  5082.     22-Oct-92  08:30:36
  5083. Sb: #15548-Porttool
  5084. Fm: Simon Moore 100014,1357
  5085. To: Cameron Ferroni [MS] 72360,2300 (X)
  5086.  
  5087. There is no sign of PORT.INI on my installation or the CDRom (July 92
  5088. version). Any ideas?
  5089.  
  5090. #: 15623 S7/Tools-Microsoft   
  5091.     22-Oct-92  13:56:48
  5092. Sb: Porttool
  5093. Fm: Colin Stuart [Microsoft] 70744,25
  5094. To: Simon Moore 100014,1357 (X)
  5095.  
  5096. Simon, The dat file is \mstools\bin\win32api.dat.  The FIND utility, in the
  5097. \system directory, is a good tool for locating files in a tree structure.
  5098. Colin
  5099.  
  5100.  
  5101.  
  5102.  
  5103. There is 1 Reply.
  5104.  
  5105. #: 15671 S7/Tools-Microsoft   
  5106.     23-Oct-92  05:49:19
  5107. Sb: #15623-Porttool
  5108. Fm: Simon Moore 100014,1357
  5109. To: Colin Stuart [Microsoft] 70744,25 (X)
  5110.  
  5111. Thanks. As I said in my subsequent message, I have found it, but don't seem to
  5112. be able to get PORTTOOL to find it. The lines I added to WIN.INI seem to be
  5113. ignored.
  5114.  
  5115. #: 15550 S7/Tools-Microsoft   
  5116.     21-Oct-92  14:42:04
  5117. Sb: WINDBG (COMDEX/MS!)
  5118. Fm: Bill Carswell 74230,3710
  5119. To: MICROSOFT
  5120.  
  5121. COMDEX MICROSOFT BOOTH TIME SENSITIVE Several developers in our conversion
  5122. group are having difficulty with WINDBG. In particular, we are unable to set
  5123. breakpoints without getting an 'uninstantiated breakpoint' message. Also, the
  5124. locals and watch windows do not consistently work. We get locals in some
  5125. functions and not in others. Watch does not want to watch most variables. All
  5126. modules have been compiled with -Zi. Are we omitting a preparation step or is
  5127. WINDBG just not ready for prime time yet? Thanks for your help!
  5128.  
  5129. There are 2 Replies.
  5130.  
  5131. #: 15637 S7/Tools-Microsoft   
  5132.     22-Oct-92  15:15:56
  5133. Sb: #15550-WINDBG (COMDEX/MS!)
  5134. Fm: Kevin Quinn 75430,255
  5135. To: Bill Carswell 74230,3710 (X)
  5136.  
  5137. Bill -
  5138.  
  5139. Are you using the JulyJunk, or the new OctoberSuprise?
  5140.  
  5141. I'm asking 'cause we're loading the 'real beta', and windbg is gonna be
  5142. _real_ important to us also...
  5143.  
  5144.  
  5145. Kevin Quinn
  5146. Desktop Systems
  5147. Ingres
  5148.  
  5149. There is 1 Reply.
  5150.  
  5151. #: 15678 S7/Tools-Microsoft   
  5152.     23-Oct-92  07:20:24
  5153. Sb: #15637-WINDBG (COMDEX/MS!)
  5154. Fm: Bill Carswell 74230,3710
  5155. To: Kevin Quinn 75430,255 (X)
  5156.  
  5157. We are using the July version and anxiously? waiting for the Octoberfest
  5158. version. We have since found that the only reliable way to set breakpoints is
  5159. by using the hand on the toolbar. The bp command and the breakpoints dialog
  5160. are not yet reliable. Still waiting for news about the watch and locals
  5161. windows.
  5162.  
  5163. #: 15649 S7/Tools-Microsoft   
  5164.     22-Oct-92  17:23:24
  5165. Sb: #15550-WINDBG (COMDEX/MS!)
  5166. Fm: Colin Stuart [Microsoft] 70744,25
  5167. To: Bill Carswell 74230,3710 (X)
  5168.  
  5169. Bill, Are you compiling with /Od?  I assume that you're building on the
  5170. October release.  If you have any optimizations on, It can seriously confuse
  5171. debuggers.
  5172.  
  5173. -Colin
  5174.  
  5175. #: 15461 S7/Tools-Microsoft   
  5176.     20-Oct-92  12:11:11
  5177. Sb: NT CL386 Compiler Errors
  5178. Fm: Steve Milton 70760,1665
  5179. To: all
  5180.  
  5181. I have recently installed the NT SDK but I am having problems compiling the
  5182. GENERIC Sample.  I get the following error:
  5183.  
  5184.      fatal error c1001:
  5185.        Internal Compiler Error
  5186.      (Compiler file 'msc1.cpp', line 555)
  5187.      Contact Microsoft Product Support Services
  5188.  
  5189. Please help, i cannot get anything to compile.
  5190.  
  5191. #: 15490 S7/Tools-Microsoft   
  5192.     20-Oct-92  15:53:59
  5193. Sb: #15461-NT CL386 Compiler Errors
  5194. Fm: Cameron Ferroni [MS] 72360,2300
  5195. To: Steve Milton 70760,1665 (X)
  5196.  
  5197. The problem is with the SETENV.BAT file.  It tries to prepend new environment
  5198. variables onto old ones, but if there are no old ones, it leaves a ; at the
  5199. end of the environment variable, which causes the compiler error:
  5200.  
  5201. set Include=c:\mstools\h;%
  5202.  
  5203.  
  5204.  
  5205. There is 1 Reply.
  5206.  
  5207. #: 15669 S7/Tools-Microsoft   
  5208.     22-Oct-92  18:49:59
  5209. Sb: #15490-NT CL386 Compiler Errors
  5210. Fm: Steve Milton 70760,1665
  5211. To: Cameron Ferroni [MS] 72360,2300 (X)
  5212.  
  5213. I tried to set the include statement as you suggested, then I ran the
  5214. setenv.bat file.  I got exactly the same message.  I checked the set list, and
  5215. the include statement looked fine, i.e. no ; at the end. I still don't get it.
  5216.  
  5217. There is 1 Reply.
  5218.  
  5219. #: 15686 S7/Tools-Microsoft   
  5220.     23-Oct-92  10:17:04
  5221. Sb: #15669-NT CL386 Compiler Errors
  5222. Fm: Cameron Ferroni [MS] 72360,2300
  5223. To: Steve Milton 70760,1665
  5224.  
  5225. How about the Lib variable?  Acutally, what you really should do is the
  5226. following:
  5227.  
  5228. Start up the Control Panel. Choose the System applet.
  5229.  
  5230. Within the system applet set the following in the User Variables section,
  5231. assuming an x86 machine with the SDK installed into C:\MSTOOLS:
  5232.  
  5233. Cpu = i386 Include = c:\mstools\h;c:\mstools\mfc\include Path = c:\mstools\bin
  5234. Lib = c:\mstools\lib;c:\mstools\mfc\lib
  5235.  
  5236. You must then log off and log back on, but you will never have to set the
  5237. variables again.
  5238.  
  5239. #: 15533 S7/Tools-Microsoft   
  5240.     21-Oct-92  13:05:18
  5241. Sb: #15461-NT CL386 Compiler Errors
  5242. Fm: Cameron Ferroni [MS] 72360,2300
  5243. To: Steve Milton 70760,1665 (X)
  5244.  
  5245. Sorry, this is my first time replying.
  5246.  
  5247. Anyways, the problem was that setenv.bat leaves ; at the end of the
  5248. environment variables.  The best way to avoid this is to set the user
  5249. environment variables in the Systems applet in the Control Panel.
  5250.  
  5251. #: 15486 S7/Tools-Microsoft   
  5252.     20-Oct-92  15:03:02
  5253. Sb: Beta and windbg question
  5254. Fm: Kevin Quinn 75430,255
  5255. To: Microsoft
  5256.  
  5257. Yo, Microsoft types:
  5258.  
  5259. We're installing the October Beta on a 'spare' machine for evaluation.
  5260. Before we consider installing it _quickly_ on our production machines and
  5261. recompiling all 3 thousand or so files, can you tell me if windbg has in
  5262. fact been fixed up?  Of most immediate interest is can the sob show local
  5263. variables way down in the guts of a large program? (it can't currently).
  5264.  
  5265. Any insights greatly appreciated.
  5266.  
  5267.  
  5268.  
  5269. Kevin Quinn
  5270. Desktop Systems
  5271. Ingres
  5272.  
  5273. #: 15648 S7/Tools-Microsoft   
  5274.     22-Oct-92  17:23:19
  5275. Sb: #15486-Beta and windbg question
  5276. Fm: Colin Stuart [Microsoft] 70744,25
  5277. To: Kevin Quinn 75430,255 (X)
  5278.  
  5279. Kevin, I haven't encountered any problems with watching local variables in the
  5280. October release of WinDbg.  It is much more robust than the July release, but
  5281. probably not 100% bug-free; hence the term 'beta.'  :)
  5282.  
  5283. -Colin
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289. There is 1 Reply.
  5290.  
  5291. #: 15694 S7/Tools-Microsoft   
  5292.     23-Oct-92  11:06:52
  5293. Sb: #15648-Beta and windbg question
  5294. Fm: Kevin Quinn 75430,255
  5295. To: Colin Stuart [Microsoft] 70744,25 (X)
  5296.  
  5297. Colin -
  5298.  
  5299. Thanks for the response.
  5300.  
  5301. Believe me - I understand 'beta'.  My principal concern was driven by the
  5302. degredation of the debugging tools at each release - any world
  5303. be truly up the creek...
  5304.  
  5305. ONce we get the new compiler to shut seems somewhat stricter - and I
  5306. compile and link a couple thousand files, I'll give it a shot.
  5307.  
  5308. Now if I can only crack the seeming bug in _ftol on the fistp
  5309. instruction....
  5310.  
  5311.  
  5312. Kevin Quinn
  5313. Desktop Systems
  5314. Ingres
  5315.  
  5316. #: 15643 S7/Tools-Microsoft   
  5317.     22-Oct-92  15:56:20
  5318. Sb: Sockets
  5319. Fm: Carl Ziglin 76550,123
  5320. To: MS Support
  5321.  
  5322. We are trying to use Sockets with Win 3.1.  We took the WINSOCK.LIB and
  5323. WINSOCK.DLL from our NT SDK & tried to link with the .LIB.  We got the
  5324. following link error:
  5325.  
  5326. LINK : fatal error L1104: e:\windev\lib\winsock.lib : not valid library
  5327.  
  5328. Does this mean that we need a WIN 3.1 version of WINSOCK.LIB and WINSOCK.DLL?
  5329.  
  5330. If so, where do we get these?
  5331.  
  5332. Thanks for the help,
  5333.  
  5334. Carl
  5335.  
  5336. There is 1 Reply.
  5337.  
  5338. #: 15695 S7/Tools-Microsoft   
  5339.     23-Oct-92  11:07:57
  5340. Sb: #15643-Sockets
  5341. Fm: David Taniguchi [MS] 72350,2054
  5342. To: Carl Ziglin 76550,123
  5343.  
  5344. Hi Carl,
  5345.    >Does this mean that we need a WIN 3.1 version of WINSOCK.LIB and
  5346.   WINSOCK.DLL?
  5347.  
  5348.   Yes.
  5349.  
  5350.   >If so, where do we get these?
  5351.  
  5352.   Third party vendors.  Off the top of my head, I believe Frontier
  5353.   Technologies, Distinct, NetManage and others are working on implementations.
  5354.   However, none of them are considered "Windows Sockets Compliant" until
  5355.   after the conformance testing conducted before Interop and the specification
  5356.   will be revised based on input given there.
  5357.  
  5358.   You can get a "feel" for the winsock specific calls (WSA calls) with what
  5359.   is provided in the SDK.  If you have any further questions concerning
  5360.   Winsock, please post in Section 12 (API-RPC/WinNet).
  5361.  
  5362.   Hope this helps,
  5363.   Dave
  5364.  
  5365. #: 15381 S7/Tools-Microsoft   
  5366.     19-Oct-92  13:49:09
  5367. Sb: #15244-RC Anomaly
  5368. Fm: David Taniguchi [MS] 72350,2054
  5369. To: Samuel Feldman 70403,432
  5370.  
  5371. Hi Samuel,
  5372.   Here is some info:
  5373.   An accelerator table is stored as a single resource.  Multiple accelerator
  5374.   tables are also allowed.  The format of an accelerator table is very simple.
  5375.   No header for the table is used.  Each entry in the table has a single five
  5376.   byte entry.  The last entry in the table has its flag word high bit set
  5377.   (fFlags |= 0x8000).  Since all entryies are fixed length, random access
  5378.   can be done because the number of elements in the table can be computed
  5379.   by dividing the length of the resource by eight.
  5380.   Hope this helps,
  5381.   Dave
  5382.  
  5383. #: 15503 S7/Tools-Microsoft   
  5384.     20-Oct-92  22:47:01
  5385. Sb: #15381-RC Anomaly
  5386. Fm: Samuel Feldman 70403,432
  5387. To: David Taniguchi [MS] 72350,2054 (X)
  5388.  
  5389. David,
  5390.  
  5391.  >> Each entry in the table has a single five byte entry.  The last entry in
  5392.  >>  the table has its flag word high bit set (fFlags |= 0x8000).
  5393.  
  5394. This ain't right.  In Win32, each entry is eight bytes.
  5395.  
  5396. Also, the flag word seems to use 0x0080 instead of 0x8000.
  5397.  
  5398. Take a look at a .RES file if you don't believe me.
  5399.  
  5400. So, my question is still outstanding:  is the format of the flags a bug?
  5401.  
  5402.  -- Samuel
  5403.  
  5404. There is 1 Reply.
  5405.  
  5406. #: 15697 S7/Tools-Microsoft   
  5407.     23-Oct-92  11:08:07
  5408. Sb: #15503-RC Anomaly
  5409. Fm: David Taniguchi [MS] 72350,2054
  5410. To: Samuel Feldman 70403,432 (X)
  5411.  
  5412. Hi Samuel,
  5413.   I am checking into this. Will post more later.
  5414.   Thanks
  5415.   Dave
  5416.  
  5417. #: 15698 S7/Tools-Microsoft   
  5418.     23-Oct-92  11:12:15
  5419. Sb: Portable .EXE format
  5420. Fm: Samuel Feldman 70403,432
  5421. To: Sysop (X)
  5422.  
  5423. Hello MS --
  5424.  
  5425. Can you tell me if the Portable Executable file format is published, or going
  5426. to be published?
  5427.  
  5428. I need to update resources in PE-format .EXE files.  I realize that there are
  5429. functions to do this in the Win32 API (UpdateResource, etc.).  However, I need
  5430. to also be able to do this from a DOS program or from a NT console
  5431. command-line program.
  5432.  
  5433. An even better way to accomplish this of course would be for MS to provide a
  5434. library that could be linked into a program that would contain the equivalent
  5435. of the Win32 API functionality for updating resources.  Or if MS were to
  5436. publish the code that implements that part of the API, then it could be fairly
  5437. easily massaged into library format by people like me.
  5438.  
  5439. I'll take whatever I can get, needless to say!  Can you help?
  5440.  
  5441.  -- Samuel
  5442.  
  5443. #: 15630 S7/Tools-Microsoft   
  5444.     22-Oct-92  14:34:02
  5445. Sb: Default Arg Values
  5446. Fm: David J. Plunkett 71163,2122
  5447. To: Microsoft
  5448.  
  5449. // With the October release, this program fails.
  5450. // The value of a.c should be 3.0, not 1.0.
  5451. // This worked in the July release of NT.
  5452. // We are hoping to demo at Autofact and Comdex using the new NT
  5453. // release.  This may be impossible if this bug isn't fixed.
  5454.  
  5455. #: 15708 S7/Tools-Microsoft   
  5456.     23-Oct-92  12:04:40
  5457. Sb: #15630-Default Arg Values
  5458. Fm: Paul Tissue [Microsoft] 70744,24
  5459. To: David J. Plunkett 71163,2122 (X)
  5460.  
  5461. Hello David,
  5462.  
  5463. Thank you for reporting this bug.  We have verified the problem with default
  5464. argument initialization with the October release and are busy working on a
  5465. solution.  We will post additional information here.
  5466.  
  5467. In the meantime, the workaround is to explicitly initialize the variables
  5468. during instantiation.  If you have other circumstance which makes this
  5469. workaround difficult, if not impossible, then please indicate what those are.
  5470.  
  5471. - Paul, Win32 SDK Developer Support
  5472.  
  5473. #: 15464 S7/Tools-Microsoft   
  5474.     20-Oct-92  12:42:05
  5475. Sb: cvtres
  5476. Fm: Marc Singer 72130,2546
  5477. To: Sysop (X)
  5478.  
  5479. The resource conversion tool terminates when it reads a RES file that contains
  5480. multiple dlginclude records.  This was fine in the previous version of the
  5481. tool, but now it will not work.  I would like to have either the resource file
  5482. format (so I can extract the records myself) or a new version of cvtres that
  5483. does not have this problem.  Or, the best solution would be to receive a
  5484. simple work-around, but I will take whatever I can get.
  5485.  
  5486. Marc Singer -- Straylight Software
  5487.  
  5488. #: 15610 S7/Tools-Microsoft   
  5489.     22-Oct-92  12:31:34
  5490. Sb: #15464-cvtres
  5491. Fm: David Taniguchi [MS] 72350,2054
  5492. To: Marc Singer 72130,2546 (X)
  5493.  
  5494. Hi Marc,
  5495.   Have you tried using #include instead of dlginclude?
  5496.  
  5497.   >I would like to have either the resource file format (so I can extract
  5498.   >the records myself) ..
  5499.  
  5500.   I am looking into this.  I'll post when I get more information.
  5501.   Thanks,
  5502.   Dave
  5503.  
  5504.  
  5505.  
  5506.  
  5507. There is 1 Reply.
  5508.  
  5509. #: 15636 S7/Tools-Microsoft   
  5510.     22-Oct-92  15:03:50
  5511. Sb: #15610-cvtres
  5512. Fm: Marc Singer 72130,2546
  5513. To: David Taniguchi [MS] 72350,2054 (X)
  5514.  
  5515. David,
  5516.  
  5517. I use dlgedit to create dialog templates (separate) for each dialog.  My
  5518. master RC file includes them using #include statements.  How else am I
  5519. expected to do this?
  5520.  
  5521. This is one of those problems that just does not occur in Windows 3.1.  In the
  5522. samples files, none of the dialogs appear to have been generated using this
  5523. fragmentation scheme even though it has been the 'approved' technique since
  5524. Windows 2.x.
  5525.  
  5526. Marc Singer -- Straylight Software
  5527.  
  5528.  
  5529.  
  5530. There is 1 Reply.
  5531.  
  5532. #: 15670 S7/Tools-Microsoft   
  5533.     22-Oct-92  19:39:40
  5534. Sb: #15636-cvtres
  5535. Fm: Paul Tissue [Microsoft] 70744,24
  5536. To: Marc Singer 72130,2546 (X)
  5537.  
  5538. Hello Marc,
  5539.  
  5540. The Debug Event Browser (DEB) includes a single separate DLG file which is
  5541.  
  5542. #: 15712 S7/Tools-Microsoft   
  5543.     23-Oct-92  13:08:15
  5544. Sb: #15670-cvtres
  5545. Fm: Marc Singer 72130,2546
  5546. To: Paul Tissue [Microsoft] 70744,24 (X)
  5547.  
  5548. Paul, try this... === FOO.RC === #include <windows.h> #include "foo1.dlg"
  5549.  
  5550.  
  5551.  
  5552.  
  5553. #: 15457 S9/CPU-x86 Specific   
  5554.     20-Oct-92  10:53:16
  5555. Sb: Re: CR3 & NT
  5556. Fm: Hseuh-Lin Kung 72350,2426
  5557. To: NT Experts
  5558.  
  5559. Dear NT Expert:
  5560.  
  5561.         Thanks for replying my question regarding the CR3 and NT.
  5562. The CIS cleaned the message and I cannot remember your name, so...
  5563. I think "NT Expert" is quite appropriate name for you.
  5564.  
  5565.         Let me answer the question why I need to know the information
  5566. about if NT will change CR3 from time to time.
  5567.  
  5568.         We are considering turn on the busmaster and virtual memory mode
  5569. of XGA coprocessor in our Windows 3.x (& NT) display driver. To keep the
  5570. page table consistency, let the XGA's 2 way paging system shares the same
  5571. page tables that NT provided seems a good idea. In that case, the most
  5572. intuitive way to do it is to copy the content of the CR3 to PDBR (Page
  5573. Dirctory Base Register) of XGA's, so XGA can reference the page table
  5574. that NT provided.
  5575.  
  5576.         Ok, now, if the content of the CR3 will change from time to time,
  5577. XGA has to keep track of the content of CR3 and update the PDBR in run time;
  5578. if CR3 will not change, then we can simply copy that value in initilization.
  5579.  
  5580.         If the CR3 will not change, we will be very happy. If that is not
  5581. the case, we are forced to write some kind of VxD service to get that
  5582. information and suffer from the penalty of ring transition. Of course, there
  5583. is an alternative way to do it: Microsoft can keep an updated CR3 value in
  5584. a ring 3 variable, so we can access it directly without ring transition
  5585. penalty. Only Microsoft can do this! I don't know if this will violate the
  5586. security of the NT. Anyway, this is only a read operation, and you can hide
  5587. it behind a server-clint protocol or something like.
  5588.  
  5589.         Since the NT DDK is not yet available, my suggestion is based on my
  5590. understanding of Window 3.x. Probably there is a even better way to solve
  5591. the question. What is your opinions and suggestions?
  5592.  
  5593.         Henri C. Chen
  5594.         Software Engineer
  5595.         ULSI Systems Inc.
  5596.         (408)943-0562 ext 254
  5597.  
  5598.  
  5599. #: 15517 S9/CPU-x86 Specific   
  5600.     21-Oct-92  09:31:53
  5601. Sb: #15457-Re: CR3 & NT
  5602. Fm: David Taniguchi [MS] 72350,2054
  5603. To: Hseuh-Lin Kung 72350,2426 (X)
  5604.  
  5605. Hi Henri,
  5606.   I am awaiting more feedback on your approach.  Here are a few comments
  5607.   I have received.
  5608.  
  5609.         1] You would have to modify the HAL or the memory manager to
  5610.            provide a copy of the page tables for the XGA.
  5611.  
  5612.         2] Item 1 will not and should not be done on NT due to security
  5613.            and basic system stability issues.
  5614.  
  5615.         3] With the ability to map a 4 meg aperture from the XGA directly
  5616.            into the linear address space of GDISRV the need for the bus
  5617.            mastership the XGA provides is questionable.
  5618.  
  5619.         4] The XGA can not do GIQ correct lines, so the only thing we could
  5620.            hope to do would be some blit operations into host memory,
  5621.            directly into the users address space.  I think the 486/586
  5622.            is faster than the XGA when all the setup time is taken into
  5623.            account.
  5624.  
  5625.   If I get more information, i'll post here.  If you have any comments or
  5626.   other ideas feel free to post.
  5627.  
  5628.   Thanks,
  5629.   Dave
  5630.  
  5631. #: 15540 S9/CPU-x86 Specific   
  5632.     21-Oct-92  13:55:47
  5633. Sb: #15457-Re: CR3 & NT
  5634. Fm: David Taniguchi [MS] 72350,2054
  5635. To: Hseuh-Lin Kung 72350,2426 (X)
  5636.  
  5637. Hi Henri,
  5638.   I received another response.  It is simply "We change CR3".
  5639.   Hope this helps,
  5640.   Dave
  5641.  
  5642. #: 15451 S9/CPU-x86 Specific   
  5643.     20-Oct-92  09:54:12
  5644. Sb: Help on help
  5645. Fm: Kenneth Gladden 72301,2627
  5646. To: sysop (X)
  5647.  
  5648. I left a message here yesterday and it loks like someone cleaned house
  5649. afterwards and deleted my message.  Does that mean I am not going to get help
  5650. with my install problems?
  5651.  
  5652. There is 1 Reply.
  5653.  
  5654. #: 15463 S9/CPU-x86 Specific   
  5655.     20-Oct-92  12:15:04
  5656. Sb: #15451-Help on help
  5657. Fm: David Taniguchi [MS] 72350,2054
  5658. To: Kenneth Gladden 72301,2627
  5659.  
  5660. Hi Kenneth,
  5661.   This is the CPU-x86 specific section.  General installs should go to
  5662.   section 3 of the WINNT forum, and SDK installs should go to section
  5663.   2 of MSWIN32 forum.
  5664.   You might be looking in the wrong sections (which could be the source
  5665.   of confusion).
  5666.   Thanks,
  5667.   Dave
  5668.  
  5669. #: 15573 S9/CPU-x86 Specific   
  5670.     21-Oct-92  19:14:14
  5671. Sb: #15463-Help on help
  5672. Fm: Kenneth Gladden 72301,2627
  5673. To: David Taniguchi [MS] 72350,2054 (X)
  5674.  
  5675. Thanks ... someone told me the same thing so I am now on WINNT forum. Sorry
  5676. for the confusion!
  5677.  
  5678. #: 15652 S9/CPU-x86 Specific   
  5679.     22-Oct-92  17:28:22
  5680. Sb: FYI: Knowledge Base
  5681. Fm: David Taniguchi [MS] 72350,2054
  5682. To: All
  5683.  
  5684. The following list consists of titles and unique identifiers of Win32 SDK
  5685. technical articles contained in the Microsoft Knowledge Base used by Microsoft
  5686. support staff. For access to the most up-to-date information, access the
  5687. Microsoft Knowledge Base by typing 'go mskb' at the prompt. A feedback-only
  5688. email alias has been set up to take any comments on the Microsoft Knowledge
  5689. Base: 'y-kbfeed@microsoft.com'  Thank you.
  5690.  
  5691. -----------------------------------------------------------------------INF:
  5692. OS/2-to-Windows Migration Information                    [P_W32dev] Q89058
  5693. -----------------------------------------------------------------------SDK9209:
  5694. ScrollConsoleScreenBuffer Scrolls Foreground Buffer  [P_W32dev] Q89372
  5695. -----------------------------------------------------------------------INF:
  5696. Replacing the Windows NT Task Manager                    [P_W32dev] Q89373
  5697. -----------------------------------------------------------------------INF:
  5698. Byte-Ordering in a Data Packet Under NDIS                [P_W32dev] Q89374
  5699. -----------------------------------------------------------------------INF:
  5700. Transparent Blts in Windows NT                           [P_W32dev] Q89375
  5701. -----------------------------------------------------------------------INF:
  5702. How to Specify Shared and Nonshared Data in a DLL        [P_W32dev] Q89817
  5703. -----------------------------------------------------------------------INF:
  5704. Writing Multiple-Language Resources                      [P_W32dev] Q89866
  5705. -----------------------------------------------------------------------INF:
  5706. Using DocumentProperties() Instead of ExtDeviceMode()    [P_W32dev] Q89867
  5707. -----------------------------------------------------------------------INF:
  5708. Background Information on POSIX and XPG                  [P_W32dev] Q89899
  5709. -----------------------------------------------------------------------INF:
  5710. System Error 2: ERROR_FILE_NOT_FOUND                     [P_W32dev] Q89988
  5711. -----------------------------------------------------------------------INF:
  5712. CreateFile() Using CONOUT$ or CONIN$                     [P_W32dev] Q90088
  5713.  
  5714. [More]
  5715.  
  5716. There is 1 Reply.
  5717.  
  5718. #: 15653 S9/CPU-x86 Specific   
  5719.     22-Oct-92  17:28:27
  5720. Sb: #15652-FYI: Knowledge Base
  5721. Fm: David Taniguchi [MS] 72350,2054
  5722. To: David Taniguchi [MS] 72350,2054 (X)
  5723.  
  5724. [Continued]
  5725.  
  5726.  
  5727. -----------------------------------------------------------------------SDK9210:
  5728. MS-DOS-Basedand WOW Applications Won't Run on PS/2s [P_W32dev] Q90501
  5729.  
  5730. #: 15594 S9/CPU-x86 Specific   
  5731.     22-Oct-92  08:27:44
  5732. Sb: Multi processing NT
  5733. Fm: Jeff Nuccio 76547,2342
  5734. To:  76547,2342 (X)
  5735.  
  5736. To:      Windows NT Product Support Group From :   Anthony J. Campisi Company:
  5737. Hauppauge Computer Works Inc. Phone:   516-434-1600  EXT 325 Fax:    
  5738. 516-434-3198
  5739.  
  5740.  
  5741.  
  5742.    We at Hauppauge are Microsoft Windows NT developers.  I was successful In
  5743. installing WINDOWS NT on a Hauppauge MUTI-Processor computer (486DX50 x 3).
  5744. However I can only run NT with a single 486 processor. I have the Microsoft
  5745. Win32 Preliminary Software Development Kit for Windows NT.  What I need is a
  5746. Hardware Development kit or at least a architectural overview of what is
  5747. required to do this Port for Muti-processors (inter-processor communication). 
  5748. I cannot find this type of information on the CD ROM.
  5749.  
  5750.    I would like to show three processor modules running Windows NT at COMDEX
  5751. so I am in a rush.
  5752.  
  5753.                         Thank you
  5754.  
  5755.                         Anthony J.  Campisi
  5756.  
  5757.  
  5758.  
  5759. There are 2 Replies.
  5760.  
  5761. #: 15611 S9/CPU-x86 Specific   
  5762.     22-Oct-92  12:31:39
  5763. Sb: #15594-Multi processing NT
  5764. Fm: David Taniguchi [MS] 72350,2054
  5765. To: Jeff Nuccio 76547,2342 (X)
  5766.  
  5767. Hi Anthony,
  5768.   I am checking into this.  I'll post when I get more info.  Basically,
  5769.   you will have to write a HAL (Hardware Abstraction Layer) for your
  5770.   machine. (This is definitely not included in the Developers SDK.)
  5771.  
  5772.   Thanks,
  5773.   Dave
  5774.  
  5775. #: 15702 S9/CPU-x86 Specific   
  5776.     23-Oct-92  11:38:02
  5777. Sb: #15594-Multi processing NT
  5778. Fm: Paul Sutter 70451,1500
  5779. To: Jeff Nuccio 76547,2342 (X)
  5780.  
  5781.  
  5782. Anthony,
  5783.  
  5784. Three (3) processors? Short on bus bandwidth?
  5785.  
  5786. Paul Sutter
  5787.  
  5788. #: 15704 S9/CPU-x86 Specific   
  5789.     23-Oct-92  11:52:38
  5790. Sb: DDK
  5791. Fm: Frank Natoli [Discovery] 70744,3705
  5792. To: all
  5793.  
  5794. I have just received the Windows NT October 1992 update/CD. There is still no
  5795. info regarding DDK. When will it be available and what cost?
  5796.  
  5797.  
  5798.  
  5799.  
  5800. #: 15722 S10/Porting from OS/2   
  5801.     23-Oct-92  17:15:46
  5802. Sb: New KB Articles
  5803. Fm: Nancy Cluts - Microsoft 70744,20
  5804. To: ALL
  5805.  
  5806. The following list consists of titles and unique identifiers of Win32 SDK
  5807. technical articles contained in the Microsoft Knowledge Base used by Microsoft
  5808. support staff. For access to the most up-to-date information, access the
  5809. Microsoft Knowledge Base by typing 'go mskb' at the prompt. A feedback-only
  5810. email alias has been set up to take any comments on the Microsoft Knowledge
  5811. Base: 'y-kbfeed@microsoft.com'  Thank you.
  5812.  
  5813. -----------------------------------------------------------------------INF:
  5814. OS/2-to-Windows Migration Information                    [P_W32dev] Q89058
  5815. -----------------------------------------------------------------------SDK9209:
  5816. ScrollConsoleScreenBuffer Scrolls Foreground Buffer  [P_W32dev] Q89372
  5817. -----------------------------------------------------------------------INF:
  5818. Replacing the Windows NT Task Manager                    [P_W32dev] Q89373
  5819. -----------------------------------------------------------------------INF:
  5820. Byte-Ordering in a Data Packet Under NDIS                [P_W32dev] Q89374
  5821. -----------------------------------------------------------------------INF:
  5822. Transparent Blts in Windows NT                           [P_W32dev] Q89375
  5823. -----------------------------------------------------------------------INF:
  5824. How to Specify Shared and Nonshared Data in a DLL        [P_W32dev] Q89817
  5825. -----------------------------------------------------------------------INF:
  5826. Writing Multiple-Language Resources                      [P_W32dev] Q89866
  5827. -----------------------------------------------------------------------INF:
  5828. Using DocumentProperties() Instead of ExtDeviceMode()    [P_W32dev] Q89867
  5829. -----------------------------------------------------------------------INF:
  5830. Background Information on POSIX and XPG                  [P_W32dev] Q89899
  5831. -----------------------------------------------------------------------INF:
  5832. System Error 2: ERROR_FILE_NOT_FOUND                     [P_W32dev] Q89988
  5833. -----------------------------------------------------------------------INF:
  5834. CreateFile() Using CONOUT$ or CONIN$                     [P_W32dev] Q90088
  5835.  
  5836. [More]
  5837.  
  5838. There is 1 Reply.
  5839.  
  5840.  
  5841. #: 15723 S10/Porting from OS/2   
  5842.     23-Oct-92  17:15:51
  5843. Sb: #15722-New KB Articles
  5844. Fm: Nancy Cluts - Microsoft 70744,20
  5845. To: Nancy Cluts - Microsoft 70744,20
  5846.  
  5847. [Continued]
  5848.  
  5849.  
  5850. -----------------------------------------------------------------------SDK9210:
  5851. MS-DOS-Basedand WOW Applications Won't Run on PS/2s [P_W32dev] Q90501
  5852.  
  5853.  
  5854.  
  5855.  
  5856. #: 15632 S11/Porting from Unix   
  5857.     22-Oct-92  14:41:21
  5858. Sb: Sun/cfront vs MS C++ 7.0
  5859. Fm: Alex Bronstein 75070,2452
  5860. To: sysop (X)
  5861.  
  5862.  
  5863. My (naive) understanding is that Microsoft C++ 7.0 is based on the quasi
  5864. de-facto standard in the Un*x world: cfront.
  5865.  
  5866. Could someone from Microsoft either confirm or correct me?  And if I'm wrong,
  5867. does someone know the major differences?
  5868.  
  5869. Thank you,
  5870.  
  5871.                                Alex (aka internet:alex@gain.com)
  5872.  
  5873.  
  5874.  
  5875.  
  5876. There is 1 Reply.
  5877.  
  5878.  
  5879. #: 15660 S11/Porting from Unix   
  5880.     22-Oct-92  17:32:50
  5881. Sb: #15632-Sun/cfront vs MS C++ 7.0
  5882. Fm: Steve Firebaugh [MS] 75430,412
  5883. To: Alex Bronstein 75070,2452 (X)
  5884.  
  5885. Alex,   I forwarded your question to one of the people who works on the C/C++
  5886. 7.0 compiler.  His response follows.  I hope that it is helpful to you.  
  5887. -Steve Firebaugh
  5888.  
  5889.  
  5890.  "C 7.00 is not 'based' on cfront. No code was derived from cfront. Microsoft
  5891. C++ is a native C++ compiler, not a "translator". Microsoft C++ follows the
  5892. draft ANSI C++ standard.
  5893.  
  5894. It fully implements the language as of cfront version 2.1. At this time, it
  5895. does not implement cfront 3.0. What's missing is basically nested classes,
  5896. templates, and exception handling. We're working on these.
  5897.  
  5898. Microsoft is committed to implementing ANSI-standard C++."
  5899.  
  5900.  
  5901.  
  5902.  
  5903. #: 15336 S12/API-RPC/WinNet   
  5904.     18-Oct-92  22:16:29
  5905. Sb: Networking under WOW
  5906. Fm: Ravi Pandya 71461,404
  5907. To: Microsoft
  5908.  
  5909. What sorts of network services are available to programs running under WOW? I
  5910. have a network client application which I am developing under Windows 3.1, and
  5911. would like to run it under NT. Are any of the following APIs available to WOW
  5912. programs?
  5913.  
  5914.    - Windows Sockets
  5915.  
  5916.    - NetBIOS
  5917.  
  5918.    - Named Pipes
  5919.  
  5920.    - Mailslots
  5921.  
  5922. Thanks!
  5923.     --ravi
  5924.  
  5925. There is 1 Reply.
  5926.  
  5927.  
  5928. #: 15460 S12/API-RPC/WinNet   
  5929.     20-Oct-92  12:10:23
  5930. Sb: #15336-Networking under WOW
  5931. Fm: Lee Hart [Microsoft] 76150,2536
  5932. To: Ravi Pandya 71461,404
  5933.  
  5934. >>>What sorts of network services are available to programs running under
  5935.    WOW? I have a network client application which I am developing under
  5936.    Windows 3.1, and would like to run it under NT. Are any of the following
  5937.    APIs available to WOW programs?
  5938.  
  5939. The general plan is to support everything that is supported under Windows 3.1.
  5940.  
  5941. >>>- Windows Sockets
  5942.  
  5943. Not in the October release, planned for final release.
  5944.  
  5945. >>>- NetBIOS >>>- Named Pipes
  5946.  
  5947. These are available in the October release (And I believe they were in the
  5948. July release as well, although maybe not fully stable)
  5949.  
  5950. >>>- Mailslots
  5951.  
  5952. I am not sure about this, primarily because I am not familiar with mailslots
  5953. under Win16.  I am looking into this (it should be there, I just want to
  5954. verify)
  5955.  
  5956.  
  5957. Lee Microsoft Developer Support
  5958.  
  5959. #: 15371 S12/API-RPC/WinNet   
  5960.     19-Oct-92  11:42:53
  5961. Sb: Net protocols and NT
  5962. Fm: gary liming 71760,3221
  5963. To: ALL
  5964.  
  5965. I have the challenge to port a protocol stack to NT.  I am assuming that NT
  5966. provides an Ethernet adapter interface, and I need to write some kind of
  5967. loadable module with some kind of standard API interface.
  5968.  
  5969. Question 1: How does the Ethernet interface relate to NDIS on DOS?
  5970.  
  5971. Question 2: Is the API interface I need to provide WINSOCK or what?
  5972.  
  5973. Question 3: Does the WIN32 SDK provide everything I need for this port, or do
  5974. I need to order something else?
  5975.  
  5976. Question 4: Do you have any advice about the best way to go about it (in
  5977. general terms)?
  5978.  
  5979. I would appreciate any advice you may have on this matter.  Thanks,
  5980.  
  5981.  
  5982.  
  5983. There are 2 Replies.
  5984.  
  5985. #: 15406 S12/API-RPC/WinNet   
  5986.     19-Oct-92  18:06:20
  5987. Sb: #15371-Net protocols and NT
  5988. Fm: Bruce Ramsey/Microsoft 70324,2742
  5989. To: gary liming 71760,3221
  5990.  
  5991. Hi Gary -
  5992.  
  5993. >> I have the challenge to port a protocol stack to NT.  I am
  5994.   assuming that NT provides an Ethernet adapter interface, and I
  5995.   need to write some kind of loadable module with some kind of
  5996.   standard API interface.
  5997.  
  5998. For a protocol stack, you'll be writing a device driver for
  5999.   Windows NT that has an upper interface of TDI and a lower
  6000.   interface of NDIS 3.0
  6001.  
  6002. TDI (Transport Driver Interface) is the interface all protocol
  6003.   stacks for Windows NT must provide as their upper interface
  6004.  
  6005. To be more precise, there are two kinds of protocol stack drivers
  6006.   for Windows NT:  STREAMS, and all others.  STREAMS protocol
  6007.   stack drivers will have as their upper interface part of the
  6008.   STREAMS wrapper.  I'm not sure of the term used to refer to the
  6009.   upper interface a STREAMS protocol stack is written to, but it
  6010.   is a mapping layer between TDI and the upper interface of the
  6011.   STREAMS protocol stack
  6012.  
  6013. As their lower interface, STREAMS protocol stack drivers have
  6014.   S-NDIS, which maps the lower interfaces of STREAMS protocol
  6015.   stack drivers down to NDIS
  6016.  
  6017. Non-STREAMS protocol stack drivers write straight up to TDI, and
  6018.   straight down to NDIS 3.0
  6019.  
  6020. Examples of STREAMS protocol stack drivers would be TCP/IP or
  6021.   DECnet.  An example of a non-STREAMS protocol stack driver would
  6022.   be NETBEUI
  6023.  
  6024. >> How does the Ethernet interface relate to NDIS on DOS?
  6025.  
  6026. Windows NT uses a later revision of the NDIS spec, NDIS 3.0
  6027.  
  6028. Device drivers for network adapter cards for MS-DOS or for OS/2
  6029.   1.x that work with LAN Manager 2.x will need to be rewritten to
  6030.   the NDIS 3.0 spec (and rewritten in C to get portability to
  6031.   Alpha, MIPs)
  6032.  
  6033. When you say Ethernet adapter interface, I'm assumming you mean
  6034.   NDIS 3.0, but please correct me if I misunderstood
  6035.  
  6036. Note that protocol stack drivers for Windows NT will also be
  6037.   written in C for portability
  6038.  
  6039. >> Is the API interface I need to provide WINSOCK or what?
  6040.  
  6041. TDI is the interface that WINSOCK talks down to.  That is, your
  6042.   protocol stack driver is responsible for providing TDI to
  6043.   WINSOCK, and to any other components at the WINSOCK level that
  6044.  
  6045. [More]
  6046.  
  6047. There is 1 Reply.
  6048.  
  6049. #: 15407 S12/API-RPC/WinNet   
  6050.     19-Oct-92  18:06:35
  6051. Sb: #15406-Net protocols and NT
  6052. Fm: Bruce Ramsey/Microsoft 70324,2742
  6053. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  6054.  
  6055. [Continued]
  6056.  
  6057.   are TDI users (such as the redirector, the server, and the
  6058.   NetBIOS driver).  All protocol stacks for Windows NT provide TDI
  6059.   as their upper interface, except STREAMS drivers as noted above
  6060.  
  6061. Device drivers for network adapter cards for Windows NT are
  6062.   written to NDIS 3.0, which provides both an upper and lower
  6063.   interface for the driver, as well as other facilities the driver
  6064.   needs.  All of these facilities considered together are called
  6065.   the NDIS 3.0 wrapper
  6066.  
  6067. STREAMS protocol stack drivers also exist within a wrapper
  6068.   environment that the STREAMS wrapper provides.  STREAMS protocol
  6069.   stack drivers write up to the upper interface provided by the
  6070.   STREAMS wrapper, and write down to the lower interface the
  6071.   STREAMS wrapper provides.  The STREAMS wrapper shields the
  6072.   STREAMS protocol stack driver from writing directly up to TDI
  6073.   and directly down to NDIS
  6074.  
  6075. >> Does the WIN32 SDK provide everything I need for this port, or
  6076.   do I need to order something else?
  6077.  
  6078. Since you'll be writing a device driver, you'll need the device
  6079.   driver kit.  The people in section 13 will have more details on
  6080.   this kit's availability
  6081.  
  6082. >> Do you have any advice about the best way to go about it (in
  6083.   general terms)?  I would appreciate any advice you may have on
  6084.   this matter...
  6085.  
  6086. Look at one of the sample device drivers for a
  6087.   network adapter, start with a copy of its sources, and
  6088.   add/modify code from there.  Needless to say you'll need to have
  6089.   tools to sniff/trace the data on the test network where you're
  6090.   testing your protocol stack (or NDIS 3.0) driver
  6091.  
  6092. Section 13 of MSWIN32 is the section dedicated to device driver
  6093.   development of all types, so you'll be asking your questions as
  6094.   you go in sec 13
  6095.  
  6096. Could you please ask now in sec 13 about availability of support
  6097.   for protocol stack development in the upcoming version of the
  6098.   device driver kit?  I believe the support for doing a STREAMS
  6099.   driver won't be there in the version coming out in the next few
  6100.   weeks, but the people in sec 13 would know better than I on
  6101.  
  6102. [More]
  6103.  
  6104. There are 2 Replies.
  6105.  
  6106. #: 15408 S12/API-RPC/WinNet   
  6107.     19-Oct-92  18:06:41
  6108. Sb: #15407-Net protocols and NT
  6109. Fm: Bruce Ramsey/Microsoft 70324,2742
  6110. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  6111.  
  6112. [Continued]
  6113.  
  6114.   this, as well as on other questions in the areas of protocol
  6115.   stack driver development, and development of NDIS 3.0 device
  6116.   drivers for network adapter cards
  6117.  
  6118. In case it might also help, I'll close by mentioning that
  6119.   Microsoft is offering the first-ever 32-bit device driver
  6120.   Developer's Conference in Anaheim, Calif., Oct. 26-28, 1992
  6121.  
  6122. Developers can register for the conference by calling 800/MS-SHOWS
  6123.   or faxing 800/936-7329 (attention department 747).  Each
  6124.   conference participant will receive a copy of the Windows NT
  6125.   Preliminary DDK.  For international registration, call
  6126.   206/635-6435.  The registration cost is $845.  For developers
  6127.   who attended the Win32 Developer's Conference in July the
  6128.   registration cost is $795
  6129.  
  6130. Bruce
  6131.  
  6132. #: 15412 S12/API-RPC/WinNet   
  6133.     19-Oct-92  19:46:58
  6134. Sb: #15407-Net protocols and NT
  6135. Fm: Sheldon Fox 70162,3422
  6136. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  6137.  
  6138. Bruce,
  6139.  
  6140. You and other MSer's keep telling us to check out Lib/Section 13.  This has
  6141. been closed to the general public for some time and, even tho I've seen
  6142. statements that it "should" be opened up, I just tried it again right now and
  6143. get the "You are not authorized to access that section" message from CI$.
  6144.  
  6145. Did I forget to pay one of my Microsoft bills. <g>
  6146.  
  6147. Thanks/Sheldon
  6148.  
  6149. There is 1 Reply.
  6150.  
  6151. #: 15462 S12/API-RPC/WinNet   
  6152.     20-Oct-92  12:12:38
  6153. Sb: #15412-Net protocols and NT
  6154. Fm: Bruce Ramsey/Microsoft 70324,2742
  6155. To: Sheldon Fox 70162,3422
  6156.  
  6157. Hi Sheldon (and others) - A thousand apologies!  Yes, section 13
  6158.   is still closed except to a few people that have early copies of
  6159.   the DDK.  It should open late this month around the time of the
  6160.   DDK conference.  Again, I apologize for my error and that of my
  6161.   co-workers
  6162.  
  6163. Bruce
  6164.  
  6165. #: 15446 S12/API-RPC/WinNet   
  6166.     20-Oct-92  08:57:48
  6167. Sb: #15371-Net protocols and NT
  6168. Fm: Todd Needham [Microsoft] 73650,240
  6169. To: gary liming 71760,3221
  6170.  
  6171. Gary,
  6172.  
  6173. Send me your mailing address and I'll get the NDIS and transport interface
  6174. specifications sent out to you.
  6175.  
  6176. Todd Needham >internet:toddn@microsoft.com
  6177.  
  6178. #: 15331 S12/API-RPC/WinNet   
  6179.     18-Oct-92  09:45:33
  6180. Sb: RPC
  6181. Fm: Guy Eddon 71172,1014
  6182. To: BRUCE RAMSEY
  6183.  
  6184. To:       Bruce Ramsey From:     Guy Eddon
  6185.           CIS 71172,1014 Subject:  RPC Date:     10/18/92
  6186.  
  6187. Thanks for your help.  Here is an update on where I stand.
  6188.  
  6189. I am able to use the 'NET SHARE' and 'NET USE' commands to share a hard drive
  6190. between two computers running Windows NT.
  6191.  
  6192. I have also been able to run the HELLO program successfully on two diffrent
  6193. computers so long as both are running Windows NT.
  6194.  
  6195. In your message you said that I need to have Microsoft LAN Manager 2.1 or 2.1a
  6196. to use RPC from a DOS computer.  However, the Windows NT prerelease, comes
  6197. with a version of LAN Manager licensed for 10 users. Therefore, it is my
  6198. understanding that all I need is a client kit to login to the LAN Manager
  6199. server which is the Windows NT computer.  Is there any way I can purchase a
  6200. client kit for LAN Manager without buying the entire package, and don't you
  6201. think it would have been nice if the drivers necessary to login from DOS were
  6202. included on the prerelease CD-ROM?
  6203.  
  6204. Aside from RPC, I would like to know if there is any way to switch the Single
  6205. Command Shell to 25 line mode when I make it a full screen window.
  6206.  
  6207. Thanks, Guy.
  6208.  
  6209. There is 1 Reply.
  6210.  
  6211. #: 15392 S12/API-RPC/WinNet   
  6212.     19-Oct-92  16:03:37
  6213. Sb: #15331-RPC
  6214. Fm: Bruce Ramsey/Microsoft 70324,2742
  6215. To: Guy Eddon 71172,1014 (X)
  6216.  
  6217. Hi Guy -
  6218.  
  6219. >> ...Here is an update...  I am able to...  I have also been able
  6220.   to run the HELLO program...
  6221.  
  6222. I'm glad to hear of the progress :)
  6223.  
  6224. >> In your message you said that I need to have Microsoft LAN
  6225.   Manager 2.1 or 2.1a to use RPC from a DOS computer.  However,
  6226.   the Windows NT prerelease, comes with a version of LAN Manager
  6227.   licensed for 10 users
  6228.  
  6229. If you could please point me to where the July docs (or other
  6230.   materials) say this, I'd really appreciate it, as this would be
  6231.   an error we should fix in the docs or other materials.  Windows
  6232.   NT is licensed to run on a single machine
  6233.  
  6234. Microsoft LAN Manager 2.0 and 2.1 servers used to be licensed to
  6235.   allow 10 client machines to attach, and then additional user
  6236.   packs could be used to increase the number of users a server
  6237.   could support
  6238.  
  6239. With Windows NT and the recently announced LAN manager 2.2,
  6240.   servers support as many licensed client machines as you have
  6241.   licensed on your network
  6242.  
  6243. >> Therefore, it is my understanding that all I need is a client
  6244.   kit to login to the LAN Manager server which is the Windows NT
  6245.   computer
  6246.  
  6247. Prior to LAN Manager 2.2, we'd never made LAN Manager client
  6248.   software available separately from a package that also included
  6249.   the server software.  With 2.2 we're changing that.  Here's part
  6250.   of the 2.2 press release
  6251.  
  6252.   ...With LAN Manager 2.2, Microsoft has changed the pricing and
  6253.     packaging to make it easier and more cost-effective for
  6254.     customers to get exactly and only what they need.  LAN Manager
  6255.     prices will be for servers only, with no desktop (client)
  6256.     licenses.  Customers can license desktops separately by
  6257.     acquiring Windows for Workgroups, which includes the client
  6258.     software for LAN Manager.  Microsoft will offer LAN Manager
  6259.     2.2 client software, based on previous LAN Manager clients,
  6260.     for desktops running the MS-DOS, Windows, OS/2 1.3 or 2.0
  6261.     operating systems.  The cost per workstation for this client
  6262.     software is $65.  ...
  6263.  
  6264. >> Is there any way I can purchase a client kit for LAN Manager
  6265.   without buying the entire package...
  6266.  
  6267.  
  6268. [More]
  6269.  
  6270. There is 1 Reply.
  6271.  
  6272. #: 15393 S12/API-RPC/WinNet   
  6273.     19-Oct-92  16:03:44
  6274. Sb: #15392-RPC
  6275. Fm: Bruce Ramsey/Microsoft 70324,2742
  6276. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  6277.  
  6278. [Continued]
  6279.  
  6280. I don't believe it's posible to do so today, however in the next
  6281.   few days or week or two, you should be able to call 800-227-4679
  6282.   and order the forthcoming Windows for Workgroups.  At that
  6283.   number they should soon have more information on the
  6284.   availability dates for LAN Manager 2.2 which will have the
  6285.   clients for MS-DOS and OS/2 available separately
  6286.  
  6287. >> ...and don't you think it would have been nice if the drivers
  6288.   necessary to login from DOS were included on the prerelease
  6289.   CD-ROM?
  6290.  
  6291. Yes I do.  As mentioned above, we're now changing things so that
  6292.   this will be easier in the future.  I do apologize for the
  6293.   inconvenience of the past/present structure
  6294.  
  6295. >> Aside from RPC, I would like to know if there is any way to
  6296.   switch the Single Command Shell to 25 line mode when I make it a
  6297.   full screen window.
  6298.  
  6299. mode 80,25 works for me in the October release that you should
  6300.   receive in the next week or two
  6301.  
  6302. Bruce
  6303.  
  6304. #: 15504 S12/API-RPC/WinNet   
  6305.     21-Oct-92  03:39:42
  6306. Sb: #15393-RPC
  6307. Fm: Jonathan Honeyball 100031,2732
  6308. To: Bruce Ramsey/Microsoft 70324,2742 (X)
  6309.  
  6310. Hi Bruce!
  6311.  
  6312. Presumeably the beta has now gone to production, and you're now running on
  6313. something post-beta? Do you do a weekly build or something like that?
  6314.  
  6315. Jon
  6316.  
  6317. There is 1 Reply.
  6318.  
  6319. #: 15520 S12/API-RPC/WinNet   
  6320.     21-Oct-92  10:54:28
  6321. Sb: #15504-RPC
  6322. Fm: Bruce Ramsey/Microsoft 70324,2742
  6323. To: Jonathan Honeyball 100031,2732 (X)
  6324.  
  6325. Hi Jon -
  6326.  
  6327. >> Presumeably the beta has now gone to production, and you're now
  6328.   running on something post-beta?  Do you do a weekly build or
  6329.   something like that?
  6330.  
  6331. The beta is in production, however we aren't able to predict at
  6332.   this point for customers just how many days it will take for
  6333.   each particular customer to receive their update
  6334.  
  6335. Like any development team, the developers constantly rebuild their
  6336.   part of the system as they develop new code or make corrections.
  6337.   It's more of an on-going thing than a weekly thing
  6338.  
  6339. Although development and test work more with the most recent
  6340.   builds, those of us who work with customers a lot still use the
  6341.   July build so we can see what customers are seeing.  So, when
  6342.   customers get the October build we'll all be on that, with some
  6343.   of us picking up later internal builds to see what problems
  6344.   customers report have already been taken care of
  6345.  
  6346. Bruce
  6347.  
  6348. #: 15509 S12/API-RPC/WinNet   
  6349.     21-Oct-92  08:54:43
  6350. Sb: RPC
  6351. Fm: Koby 71172,2722
  6352. To: sysop (X)
  6353.  
  6354. Hi
  6355.  
  6356. We are porting a distributed realtime system to WinNT and plan to use the
  6357. built-in RPC (current version 1.0a) as the main communucation tool. 
  6358.  
  6359. 1.  Apparently there is a mismatch between the on-line documentation and the
  6360. implementation of RpcMgmtIsServerListening() function.  When the server does
  6361. not listen, the function returns RPC_S_SERVER_NOT_LISTENING (code 1738( rather
  6362. then RPC_S_NOT_LISTENING  (code 1715).
  6363.  
  6364. 2.  I wrote a prototype with two processes and bi-directional RPC connection
  6365. (the reversed connection is to avoid the use of the callback mechanism). Let
  6366. A, B denote the to processes and A.foo and B.bar two remote function exported
  6367. by A and B respectively.  I tried recursive call sequence in which A.foo calls
  6368. B.bar which calls A.foo ...
  6369. The sequence seems to hang up after a single call in each direction. 
  6370.  
  6371. The relevant server initialization function calls are as follows:
  6372.  
  6373.  
  6374.   RpcServerUseProtseqEp(pszProtocolSequence,   /* called from 'main' */
  6375.                                  100, // maximum concurrent calls
  6376.                                  Ser_pszEndpoint,
  6377.                                  0);
  6378.      .....
  6379.   RpcServerRegisterIf(c2s_ServerIfHandle, 0, 0);  /* called from 'main' */
  6380.      .....
  6381.   RpcServerListen(30, 12345);  /* called from a child thread */
  6382.  
  6383.  
  6384. Is this is the way RPC should behave ?  If not, any idea what causes the
  6385. problem ?
  6386.  
  6387.  
  6388. Thanks in advance, Jacob "Koby" Avital
  6389.  
  6390. #: 15598 S12/API-RPC/WinNet   
  6391.     22-Oct-92  09:07:22
  6392. Sb: #15231-TTY to TELNET
  6393. Fm: Howard Myers 76711,462
  6394. To: David Taniguchi [MS] 72350,2054 (X)
  6395.  
  6396. David,
  6397.  
  6398. I've been waiting to see you TELNET enabled TTY program (TTY32.ZIP).  This has
  6399. not yet been posted and from your message I was expecting long before now.  Is
  6400. there a problem?  Should we see it soon?
  6401.  
  6402. Thanks!
  6403.  
  6404. #: 15537 S12/API-RPC/WinNet   
  6405.     21-Oct-92  13:29:58
  6406. Sb: RPC error code
  6407. Fm: Koby 71172,2722
  6408. To: sysop (X)
  6409.  
  6410. Hi sysop
  6411.  
  6412. We have two Win/NT systems, both with TCP/IP installed
  6413. and running (can ping to each other or ftp into a Sun/OS),
  6414. and are updated to RPC 1.0a (comparison of \winnt\system
  6415. with 'comp' command passes with no complains).
  6416.  
  6417. When we run the 'hellos' from \mstools\samples\rpc\hello
  6418. with no parameters (i.e. it uses named pipes as transport
  6419. layer), every thing is fine.
  6420.  
  6421. However, when we run it with the following parameters
  6422.  
  6423.    hellos.exe -p ncacn_ip_tcp -e 300
  6424.  
  6425. It runs ok on one system but fails to create the end point
  6426. on the other (error code 1720 decimal, 6b8 hex).
  6427.  
  6428. Any idea what can cause such a problem (setup,
  6429. registry, black magic, .. ) ?
  6430.  
  6431. Thanks for your help, koby      
  6432.  
  6433. There is 1 Reply.
  6434.  
  6435. #: 15612 S12/API-RPC/WinNet   
  6436.     22-Oct-92  12:31:43
  6437. Sb: #15537-RPC error code
  6438. Fm: David Taniguchi [MS] 72350,2054
  6439. To: Koby 71172,2722 (X)
  6440.  
  6441. Hi Koby,
  6442.   I wasn't able to get TCP working on the July Release either.  Later builds
  6443.   work fine (NT to NT).
  6444.  
  6445.   Make sure you have both the server and client listed in the hosts file
  6446.   (\<ntroot>\system\drivers\etc\hosts)  Even if you specify an IP address
  6447.   (ie 1.2.3.4) it appears to do a getXbyY database call.
  6448.  
  6449.   Hope this helps,
  6450.   Dave
  6451.  
  6452. #: 15680 S12/API-RPC/WinNet   
  6453.     23-Oct-92  08:20:30
  6454. Sb: RPC error status
  6455. Fm: Christian Betrisey 76600,1450
  6456. To: Microsoft
  6457.  
  6458. When I use the RPC call RpcServerUseAllProtseqs (), I got a returned error
  6459. status 0x6b7. I could find where these error status are defined.
  6460.  
  6461. Nick Gao
  6462.  
  6463. There is 1 Reply.
  6464.  
  6465. #: 15696 S12/API-RPC/WinNet   
  6466.     23-Oct-92  11:08:03
  6467. Sb: #15680-RPC error status
  6468. Fm: David Taniguchi [MS] 72350,2054
  6469. To: Christian Betrisey 76600,1450 (X)
  6470.  
  6471. Hi Nick,
  6472.   >When I use the RPC call RpcServerUseAllProtseqs (), I got a returned error
  6473.   >status 0x6b7.
  6474.  
  6475.   Here's what the error means:
  6476.  
  6477.   MessageId: RPC_S_NO_PROTSEQS
  6478.   MessageText:
  6479.     There are no protocol sequences.
  6480.  
  6481.   >I could find where these error status are defined.
  6482.  
  6483.   Look in \mstools\h\winerror.h
  6484.   Note, all the error codes are in decimal -- you will have to convert any
  6485.   hex return codes to decimal (or print out the error codes in decimal)
  6486.  
  6487.   Hope this helps,
  6488.   Dave
  6489.  
  6490. #: 15719 S12/API-RPC/WinNet   
  6491.     23-Oct-92  15:30:45
  6492. Sb: RPC nesting alls
  6493. Fm: Koby 71172,2722
  6494. To: sysop (X)
  6495.  
  6496. Hi I need some help.
  6497.  
  6498. We are porting a distributed realtime system to WinNT and plan to use the
  6499. built-in RPC (current version 1.0a) as the main communucation tool. 
  6500.  
  6501. 1.  Apparently there is a mismatch between the on-line documentation and the
  6502. implementation of RpcMgmtIsServerListening() function.  When the server does
  6503. not listen, the function returns RPC_S_SERVER_NOT_LISTENING (code 1738( rather
  6504. then RPC_S_NOT_LISTENING  (code 1715).
  6505.  
  6506. 2.  I wrote a prototype with two processes and bi-directional RPC connection
  6507. (the reversed connection is to avoid the use of the callback mechanism). Let
  6508. A, B denote the to processes and A.foo and B.bar two remote function exported
  6509. by A and B respectively.  I tried recursive call sequence in which A.foo calls
  6510. B.bar which calls A.foo ...
  6511. The sequence seems to hang up after a single call in each direction. 
  6512.  
  6513. The relevant server initialization function calls are as follows:
  6514.  
  6515.  
  6516.   RpcServerUseProtseqEp(pszProtocolSequence,   /* called from 'main' */
  6517.                                  100, // maximum concurrent calls
  6518.                                  Ser_pszEndpoint, 0);
  6519.      .....
  6520.   RpcServerRegisterIf(c2s_ServerIfHandle, 0, 0);  /* called from 'main'*/     
  6521. .....
  6522.   RpcServerListen(30, 12345);  /* called from a child thread */
  6523.  
  6524.  
  6525. Is this is the way RPC should behave ?  If not, any idea what causes the
  6526. problem ?
  6527.  
  6528. Thanks in advance,Koby
  6529.  
  6530.  
  6531.  
  6532.  
  6533. #: 15527 S14/Win32S Specific Q/A   
  6534.     21-Oct-92  12:41:43
  6535. Sb: Build problems?
  6536. Fm: Ralph Ryan 76702,1544
  6537. To: support
  6538.  
  6539. I ma trying to port my application, but can't get it to run once built. It
  6540. compiles and links with no warnings or errors ... 1 main program and 1 DLL. 
  6541. THe main is linked with the .lib and .exp  outputs of the DEF file.  The DLL
  6542. is linked with the .exp.
  6543.  
  6544. When I run it under windbg, it gets an exception. The module load window shows
  6545. USERRTL.DLL as the last thing loaded. The instruction disassembly shows:
  6546.         push ebp
  6547.                 push evp, esp
  6548.                 mov ebp, esp
  6549.                 sub esp, 000000a8
  6550.                 push ebx        <===== exception occurs Is this a stack
  6551. overrun?
  6552.  
  6553. Registers:
  6554.         cs=1b  ds=32  es=23  esp=00032ffc
  6555.  
  6556. Calltree is:
  6557.         _WriteConsoleInternal
  6558.         WriteConsoleA
  6559.         WriteFile
  6560.         _NMSG_WRITE
  6561.         _FFMSGBANNER
  6562.         _mtinit
  6563.         ... etc.
  6564.  
  6565. There is a loop in the call tree, about 5 times
  6566.         _mtinit
  6567.         LdrShutdownProcess
  6568.         ExitProcess
  6569.         _c_exit
  6570.         _exit
  6571.         _amsg_exit
  6572.         _mtinit
  6573.  
  6574.  
  6575. Development is on a 50MHz Gateway 2000 with 16Meg of memory.
  6576.  
  6577. I can be reached (local Seattle number) at 525-2618.
  6578.                 Thanks
  6579.                 Ralph Ryan
  6580.  
  6581.  
  6582.  
  6583.  
  6584.  
  6585. #: 15525 S15/Unicode/NLS   
  6586.     21-Oct-92  12:31:42
  6587. Sb: #15287-NT Japanese
  6588. Fm: Steve Firebaugh [MS] 75430,412
  6589. To: werner krag 73127,2643 (X)
  6590.  
  6591. Werner.   The latest word that I have is that there will be a preliminary
  6592. (pre-beta) release of NT-J in the next two months. I am trying to track down
  6593. availability information, i.e. how you can get a copy.  I'll post here when I
  6594. know the answer.
  6595.  
  6596. There is no new information on the Japanese input method editor at this point.
  6597. Apparently the code for that will NOT be complete for this first pre-release.
  6598.  
  6599. Steve Firebaugh
  6600.  
  6601.  
  6602.  
  6603. There is 1 Reply.
  6604.  
  6605.  
  6606. #: 15604 S15/Unicode/NLS   
  6607.     22-Oct-92  11:14:46
  6608. Sb: #15525-NT Japanese
  6609. Fm: werner krag 73127,2643
  6610. To: Steve Firebaugh [MS] 75430,412 (X)
  6611.  
  6612. Steve, thanks for the info an NT-J. As soon as you have information on WHEN
  6613. the pre-beta will be ready, please post it here as many are waiting for this
  6614. important NT version. Werner
  6615.  
  6616. #: 15324 S15/Unicode/NLS   
  6617.     18-Oct-92  03:02:44
  6618. Sb: #15313-Complete unicode font?
  6619. Fm: werner krag 73127,2643
  6620. To: Sheldon Fox 70162,3422 (X)
  6621.  
  6622. Sheldon, I wholeheartedly agree totally what you've said about "local NT
  6623. versions". The decision of Microsoft to sell local NT versions only in the
  6624. target country will only make it difficult for the multilingual users (and
  6625. there are many) to get the version they need. It is an outdated condescending
  6626. attitutde on the side of Microsoft. I definitely hope local versions of NT
  6627. will be available to anyone who wants them anywhere. As a minimum requirement
  6628. I would suggest that Microsoft USA will sell any version. Werner
  6629.  
  6630. #: 15326 S15/Unicode/NLS   
  6631.     18-Oct-92  04:07:10
  6632. Sb: #15270-Complete unicode font?
  6633. Fm: Neil Robinson 100016,2775
  6634. To: Steve Firebaugh [MS] 75430,412 (X)
  6635.  
  6636. Answer me a really dumb question then:
  6637.  
  6638. Why bother with UNICODE at all? The whole point is that the people who *want*
  6639. Unicode need to be able to access several different languages and input
  6640. methods on the same OS and in the same document. There are a large number of
  6641. users out there who need to be able to combine Japanese and English and Arabic
  6642. in the same document. It is totally ludicrous to go to all of the trouble to
  6643. implement Unicode and then tell those users that they will not be able to use
  6644. those characters on their systems. That was the whole point! I also don't want
  6645. to buy a Japanese Windows or a Chinese Windows or even an Arabic Windows just
  6646. to type charaters in those languages. That should be possible regardless of
  6647. the current language of the OS. I may need some way of switching input methods
  6648. on the fly, but that should be the only hinderance to using Unicode
  6649. characters. I myself speak, read and write English, German, and Japanese, and
  6650. am learning Hindi and Tibetan. Now you are telling me that I can't write
  6651. letters or theses or whatever in those languages, even though they are
  6652. supported by NT, unless I buy a version of NT for each? And even then I won't
  6653. be able to mix the characters in one document? I might as well buy a MAC! They
  6654. can *currently* do this.
  6655.  
  6656. Ciao, Neil
  6657.  
  6658. #: 15335 S15/Unicode/NLS   
  6659.     18-Oct-92  17:29:39
  6660. Sb: #15270-Complete unicode font?
  6661. Fm: Sheldon Fox 70162,3422
  6662. To: Steve Firebaugh [MS] 75430,412 (X)
  6663.  
  6664. Steve,
  6665.  
  6666. The more I think about your response saying National Language versions will
  6667. only be available in their respective countries, the more upset I get (I
  6668. know--I should just stop thinking about it then! <g>).
  6669.  
  6670. MS has made a major step forward by making NT fully Unicode internally. This
  6671. goes a long ways towards solving many of the problems with making applications
  6672. work in a world-wide market.
  6673.  
  6674. PLEASE don't take 9/10ths of a step back by restricting sales of Nationalized
  6675. versions of NT to specific countries!
  6676.  
  6677.  
  6678. To ALL:
  6679.  
  6680. Let's apply some "Compuserve pressure".  All of you who are developing apps
  6681. for the international market and think that the position of the MS "program
  6682. manager for International Windows/NT" with respect to this issue is a BIG
  6683. mistake, please append a message to this thread so that Steve can take the
  6684. responses back to him/her and see if this type of attitude can't be changed
  6685. before the actual product release.
  6686.  
  6687. Thanks/Sheldon
  6688.  
  6689. There is 1 Reply.
  6690.  
  6691. #: 15439 S15/Unicode/NLS   
  6692.     20-Oct-92  06:29:15
  6693. Sb: #15335-Complete unicode font?
  6694. Fm: David Van Camp 70740,366
  6695. To: Sheldon Fox 70162,3422
  6696.  
  6697. <<Let's apply some "Compuserve pressure".  All of you who are developing apps
  6698. for the international market and think that the position of the MS "program
  6699. manager for International Windows/NT" with respect to this issue is a BIG
  6700. mistake, please append a message to this thread so that Steve can take the
  6701. responses back to him/her and see if this type of attitude can't be changed
  6702. before the actual product release.>>
  6703.  
  6704. Hear, Hear!!  I totally agree!  The ability to work with multiple languages
  6705. simultainously is a *MAJOR* feature advantage of Unicode.  No allowing this in
  6706. an upcomming release of NT will simply push users with multi-lingual
  6707. requirements to the Mac. 
  6708.  
  6709. PLEASE CHANGE YOUR POSITION ON THIS, MS!!
  6710.  
  6711. thank you,
  6712. dvc 
  6713.  
  6714. There is 1 Reply.
  6715.  
  6716. #: 15483 S15/Unicode/NLS   
  6717.     20-Oct-92  14:38:40
  6718. Sb: #15439-Complete unicode font?
  6719. Fm: Kent Olsen 72360,3035
  6720. To: David Van Camp 70740,366
  6721.  
  6722. Our company has looked toward Unicode as an answer to several problems we face
  6723. as we try to roll-out systems to sites around the world.  It is unfortunate
  6724. that MS is making it harder to do so by forcing us to work with many different
  6725. versions of NT.  We would also like to see Unicode capability built into the
  6726. Windows/DOS platform. - Kent
  6727.  
  6728. #: 15360 S15/Unicode/NLS   
  6729.     19-Oct-92  09:53:17
  6730. Sb: #15270-Complete unicode font?
  6731. Fm: Steven Olson 70313,2246
  6732. To: Steve Firebaugh [MS] 75430,412 (X)
  6733.  
  6734.  Steve,
  6735.  
  6736.  I too believe it is a mistake not to include full access to
  6737.  all the unicode fonts.  Individual developers may have to
  6738.  implement such features as right to left ordering or bottom
  6739.  to top, but at least let us have access to the fonts!  As
  6740.  previously mentioned, why are you even bothering with unicode
  6741.  if you are going to localize every version?  Unicode is supposed
  6742.  to simplify the problem of combining Chinese, Japanese, German, etc...
  6743.  in a _single_ document.  Please don't lead us into the Dark Ages.
  6744.  (Remember the Rosetta stone....its value was having three different
  6745.  languages on one tablet, not having three different "localized" tablets.)
  6746.  
  6747.  While I also realize you are unlucky enough to have your name attached
  6748.  to this thread, PLEASE pass on all of our concerns to the "proper"
  6749.  authorities.
  6750.  
  6751.  Thanks!
  6752.  
  6753.  Steven Olson
  6754.  Canon Research Center, America
  6755.  
  6756. #: 15411 S15/Unicode/NLS   
  6757.     19-Oct-92  18:57:12
  6758. Sb: Complete unicode font?
  6759. Fm: Steve Firebaugh [MS] 75430,412
  6760. To: All
  6761.  
  6762. First of all, thank you all for your input on this issue.  It is being
  6763. discussed right now at Microsoft.  I hope to have some more information for
  6764. you in the next few days.  However, for now I would like to make the following
  6765. points:
  6766.  
  6767.  1.  Localization is a valid practice.  A customer in Greece should be able to
  6768. buy a Microsoft product with instructions and message strings written in
  6769. Greek.  If done correctly, it is a service to the people of the targetted
  6770. country, not a hinderance.
  6771.  
  6772.  2.  I personally agree that a font covering all codepoints should be
  6773. available to any international customer.  I am certain that if Microsoft does
  6774. not satisfy this need, then some other company will.  Nevertheless, I will
  6775. continue to argue the point within Microsoft that Microsoft should be doing
  6776. it.
  6777.  
  6778.  3.  There is a difference between localized input methods, and international
  6779. input methods.  In order to appeal to the established customer base within a
  6780. country, it is necessary to provide support for existing (localized) methods
  6781. which people have become accustomed to.  It is not true that the ideal
  6782. international workstation would simply provide access to all of the existing
  6783. input methods.  That would place confusing, inconsistent demands upon both the
  6784. user and upon the hardware.  A true international input method has yet to
  6785. evolve.  I have seen some attempts on the Macintosh, we should expect to see
  6786. an expanded CHARMAP accessory (not yet in the October beta though), and I will
  6787. upload a simple application next week that allows the user to pick any
  6788. character currently covered by a font.
  6789.  
  6790.  4.  Despite the distribution of localized versions of Windows/NT there are
  6791. many advantages to having built the system upon unicode.  Developing
  6792. international applications is easier, the codepage confusion will be cleared
  6793. up, transmitting documents internationally will be simplified, the October
  6794. beta already has coverage of approximately 1100 codepoints, the fact that
  6795. Windows/NT is unicode conformant will make its integration into international
  6796. systems easier, etc.
  6797.  
  6798. Steve Firebaugh
  6799.  
  6800. #: 15501 S15/Unicode/NLS   
  6801.     20-Oct-92  21:19:43
  6802. Sb: #15411-Complete unicode font?
  6803. Fm: Paul Watson [XLsoft] 76056,1751
  6804. To: Steve Firebaugh [MS] 75430,412 (X)
  6805.  
  6806. Please make the base system standard across all localizations.  Any customer
  6807. should be able to add any front end input method.  The entire product line
  6808. should be available worldwide and orderable through any point which Microsoft
  6809. distributes any NT product.
  6810.  
  6811. Are you really saying it is a technical issue.  Yes, there are lots of
  6812. problems in developing a design that will allow multiple language input. You
  6813. are very close to an elegant solution.  Don't give up the battle yet. It is
  6814. worth the fight.
  6815.  
  6816. If it is like most international products, the real issues are accounting and
  6817. support.  The bean counters don't know what to do with themselves if someone
  6818. in France wants to buy a Thai font.  Please see youself past this and develop
  6819. a truly world class global corporation.
  6820.  
  6821. Support is a tough one.  It is reasonable to expect that support for a
  6822. Japanese IME be in Japanese.  Providing developer support in the national
  6823. language and English would help ISV and IHV developers to produce more and
  6824. higher quality product for NT.  The FESDK is a good example.
  6825.  
  6826. #: 15581 S15/Unicode/NLS   
  6827.     21-Oct-92  23:49:45
  6828. Sb: #15411-Complete unicode font?
  6829. Fm: Jon Babcock 72076,567
  6830. To: Steve Firebaugh [MS] 75430,412 (X)
  6831.  
  6832. Steve,
  6833. Appreciated receiving your response and the reaction to your 
  6834. response from others to my question about the availability 
  6835. of a complete unicode font.
  6836.  
  6837. Microsoft's statement confirmed our worst suspicions and, 
  6838. quite frankly, it has taken a few days to get over our 
  6839. initial disappointment, apparently shared by  Sheldon Fox, 
  6840. Werner Krag, Neil Robinson, and others.
  6841.  
  6842. We understand that there are advantages in using unicode FOR 
  6843. MICROSOFT.
  6844.  
  6845. But it is disheartening to hear that the promise of unicode 
  6846. will not be realized in WinNT for the user who wants to 
  6847. incorporate several of the languages covered by the code 
  6848. within one document.
  6849.  
  6850. Again, MS forces us to buy specifically JAPANESE hardware 
  6851. from the likes of NEC, Fujitsu, Epson, and others to run the 
  6852. product. This is not the case with Chinese or Korean, of 
  6853. course. I'm not saying that Microsoft should not produce 
  6854. localized OEM-specific software. But I am extremely curious 
  6855. to know why, without any serious technical obstacle, it has 
  6856. chosen to exclude only Japanese software from IBM PC 
  6857. compatibles. Why are we and Japanese users restricted BY 
  6858. MICROSOFT to buying equipment from Japanese manufactures if 
  6859. we want to run Microsoft Japanese products?
  6860.  
  6861. Note that it is precisely the Japanese Windows 3.0A in the 
  6862. FESDK that is not complete because no IME is included. We 
  6863. have it for Chinese and Korean, but not for Japanese. (In 
  6864. fact, to input Japanese into anything in the FESDK JWIN 
  6865. requires the purchase of an additional product, the Kana-
  6866. Kanji converter, a $249 item from the only U.S.-based source 
  6867. mentioned in the SDK.)
  6868.  
  6869. [continued in reply]
  6870.  
  6871. There is 1 Reply.
  6872.  
  6873. #: 15582 S15/Unicode/NLS   
  6874.     21-Oct-92  23:50:37
  6875. Sb: #15581-Complete unicode font?
  6876. Fm: Jon Babcock 72076,567
  6877. To: Jon Babcock 72076,567 (X)
  6878.  
  6879. [continued]
  6880.  
  6881. Note that Microsoft has not enhanced Chinese Windows by 
  6882. including the approximately 1000 additional characters 
  6883. needed to input Japanese or even the approximately 100 
  6884. needed for katakana and hiragana? These are all included in 
  6885. ET, an alternate Chinese system available in Taiwan, for 
  6886. example,  and there is plenty of room for them in user-
  6887. definable areas of the BIG5 code. The supplied IME for 
  6888. accessing these could be as minimal as allowing the user to 
  6889. input the BIG5 code, leaving complete IMEs for independent 
  6890. developers. Don't forget, in Chinese windows the user can 
  6891. install and then switch from one IME to another easily.
  6892.  
  6893. I mention these points to show that it is not a technical 
  6894. problem that prevents using Japanese on "standard" IBM PCs, 
  6895. but that it seems to represent a pattern of POLICY, of 
  6896. special policy in the case of Japan. Could this have 
  6897. something to do with why Microsoft is not providing a full 
  6898. unicode implementation on WinNT?
  6899.  
  6900. If Microsoft, to protect its share of the market in Japan, 
  6901. has an agreement with the big Japanese companies not to 
  6902. release software that can effectively use Japanese language 
  6903. running on IBM PC compatibles (such compatibles from the 
  6904. U.S., Hong Kong or Taiwan have been often less than half the 
  6905. price of equivalent Japanese hardware, and even the recent 
  6906. price reductions in Japanese machines are probably partly 
  6907. due to pressure from such things as IBM's DOS/V that DOES 
  6908. run on our PC compatibles), then Microsoft's business 
  6909. decision not to provide U.S. PC users access to a font that 
  6910. covers the complete unicode kanji set would be 
  6911. understandable. But it is not acceptable.
  6912.  
  6913. [continued in reply]
  6914.  
  6915. There is 1 Reply.
  6916.  
  6917. #: 15583 S15/Unicode/NLS   
  6918.     21-Oct-92  23:51:08
  6919. Sb: #15582-Complete unicode font?
  6920. Fm: Jon Babcock 72076,567
  6921. To: Jon Babcock 72076,567 (X)
  6922.  
  6923. [continued]
  6924.  
  6925. Re your second response:
  6926.  
  6927. As mentioned above, we have no quarrel whatsoever with 
  6928. Microsoft's intention to produce different versions of its 
  6929. products for different countries. If the menus, dialogs, 
  6930. documentation, etc. is in the local language, great. Our 
  6931. point is that no matter which country's version of the 
  6932. software we are using, we should be able to produce 
  6933. DOCUMENTS that contain all the unicode languages. This 
  6934. involves having access to a font that contains all the 
  6935. characters, and a choice of IMEs.
  6936.  
  6937. Following up on what Sheldon Fox said, the supplied complete 
  6938. font doesn't need to be fancy and there need be only one 
  6939. complete font. But even before such a complete unicode font 
  6940. is available could not Microsoft make available a 
  6941. preliminary version to developers? It could be one size etc. 
  6942. We want to proceed quickly in developing software that can 
  6943. display various language sub-sets of unicode. Is this asking 
  6944. too much?  In the case of kanji, at least, Microsoft already 
  6945. owns some fonts, as seen in JWIN, CWIN, and KWIN.  
  6946.  
  6947. Re your third point that the ideal criterion for an 
  6948. international workstation is not simply to provide access to 
  6949. all of the existing input methods:
  6950.  
  6951. Please remember, with NT as it is now, we are stuck with NO 
  6952. ability to input multilingual text into a document, period. 
  6953. Until an ideal unified input system is invented, a way to 
  6954. install multiple IMEs under WinNT would result in the next 
  6955. best thing.
  6956.  
  6957. Furthermore, we don't expect Microsoft to provide an IME for 
  6958. every language in world. We want the IMEs to be available 
  6959. (whether from Microsoft or others), installable, and 
  6960. switchable. For example, when NT/J is finished, we want to 
  6961. be able to buy the IME that Microsoft licensed and install 
  6962. it in our U.S. WinNT.
  6963.  
  6964. Again, we appreciate the fact that you are keeping the lines 
  6965. of communication open.
  6966.  
  6967. Thank you,
  6968. Jon
  6969.  
  6970. #: 15622 S15/Unicode/NLS   
  6971.     22-Oct-92  13:55:33
  6972. Sb: #15411-Complete unicode font?
  6973. Fm: Andrew Potter 71075,614
  6974. To: Steve Firebaugh [MS] 75430,412 (X)
  6975.  
  6976. Steve,
  6977.  
  6978. Earlier you said:
  6979.  
  6980. >   The Japanese product will have TT Kanji fonts, JIS level II at
  6981. >   a minimum.  The Chinese product TT font will be BIG-5 coverage at a
  6982. >   minimum.  Both will be Unicode encoded."
  6983.  
  6984. Let me assume that every character in the TT kanji fonts, JIS
  6985. level II and BIG5 is in the UNICODE font.  Do you provide a converter
  6986. to convert the existing code-set font to the UNICODE encoded font?
  6987. Is the converter built in the NT?
  6988.  
  6989. Thanks,
  6990.  
  6991. Andrew
  6992.  
  6993.  
  6994. There is 1 Reply.
  6995.  
  6996. #: 15725 S15/Unicode/NLS   
  6997.     23-Oct-92  17:17:40
  6998. Sb: #15622-Complete unicode font?
  6999. Fm: Steve Firebaugh [MS] 75430,412
  7000. To: Andrew Potter 71075,614
  7001.  
  7002. Andrew,
  7003.  
  7004.  >Let me assume that every character in the TT kanji fonts, JIS
  7005.  >level II and BIG5 is in the UNICODE font.  Do you provide a converter
  7006.  >to convert the existing code-set font to the UNICODE encoded font?
  7007.  >Is the converter built in the NT?
  7008.  
  7009. Depending on the definition of the existing True Type font that you have, no
  7010. such conversion may be necessary.  There are optional tables in the True Type
  7011. header, and the fonts you have may already have the table needed to be
  7012. displayed for a unicode string.
  7013.  
  7014. I do not believe that there will be a conversion tool to 'fix' arbitrary fonts
  7015. without this table, such that they'll be useable with unicode.
  7016.  
  7017. However, if the font is currently working with Japanese Windows or Chinese
  7018. Windows, then the design intent of the proper localized Windows/NT will be
  7019. that the font will continue to work.
  7020.  
  7021. Steve Firebaugh
  7022.  
  7023. #: 15685 S15/Unicode/NLS   
  7024.     23-Oct-92  09:55:23
  7025. Sb: #15411-Complete unicode font?
  7026. Fm: Tim Hyde-Smith 100023,3320
  7027. To: Steve Firebaugh [MS] 75430,412 (X)
  7028.  
  7029. Let me add my voice to the clamour against the notion of localisation as
  7030. outlined in previous postings on this thread.  I too work for a company
  7031. producing heavily text-based applications with clients all over the world. In
  7032. the past we developed a proprietary method of allowing them to include
  7033. native-language characters in documents they produced on our system;
  7034. accordingly we have installations in Scandinavia, Germany, France, Benelux,
  7035. Hungary, Singapore, India, Thailand, etc. etc..  Much of our technical support
  7036. work is done from London.  We have been looking at ways to reconcile our
  7037. scheme with that of Unicode so as to enjoy the internationalising benefits of
  7038. Unicode and NT.  It would seem, however, that there's no advantage in that
  7039. since in order to carry on our support work, we would need a separate NT
  7040. installation for each locale in which we have a client.  This seems _very_
  7041. unnecessarily expensive.
  7042.  
  7043. - Daryl, masquerading as Tim with his knowledge and consent :->
  7044.  
  7045. #: 15530 S15/Unicode/NLS   
  7046.     21-Oct-92  12:59:38
  7047. Sb: #15270-Complete unicode font?
  7048. Fm: Sheldon Fox 70162,3422
  7049. To: Steve Firebaugh [MS] 75430,412 (X)
  7050.  
  7051. Steve,
  7052.  
  7053.  >First of all, thank you all for your input on this issue.  It is being
  7054.  >discussed right now at Microsoft.  I hope to have some more information for
  7055. you
  7056.  >in the next few days.  However, for now I would like to make the following
  7057.  >points:
  7058.  >
  7059.  > 1.  Localization is a valid practice.  A customer in Greece should be able
  7060. to
  7061.  >buy a Microsoft product with instructions and message strings written in
  7062. Greek.
  7063.  >If done correctly, it is a service to the people of the targetted country,
  7064. not
  7065.  >a hinderance.
  7066.  >
  7067.  > 2.  I personally agree that a font covering all codepoints should be
  7068. available
  7069.  >to any international customer.  I am certain that if Microsoft does not
  7070. satisfy
  7071.  >this need, then some other company will.  Nevertheless, I will continue to
  7072.  >argue the point within Microsoft that Microsoft should be doing it.
  7073.  >
  7074.  > 3.  There is a difference between localized input methods, and
  7075. international
  7076.  >input methods.  In order to appeal to the established customer base within a
  7077.  >country, it is necessary to provide support for existing (localized) methods
  7078.  >which people have become accustomed to.  It is not true that the ideal
  7079.  >international workstation would simply provide access to all of the existing
  7080.  >input methods.  That would place confusing, inconsistent demands upon both
  7081. the
  7082.  >user and upon the hardware.  A true international input method has yet to
  7083.  >evolve.  I have seen some attempts on the Macintosh, we should expect to see
  7084. an
  7085.  >expanded CHARMAP accessory (not yet in the October beta though), and I will
  7086.  >upload a simple application next week that allows the user to pick any
  7087.  >character currently covered by a font.
  7088.  >
  7089.  > 4.  Despite the distribution of localized versions of Windows/NT there are
  7090.  >many advantages to having built the system upon unicode.  Developing
  7091.  >international applications is easier, the codepage confusion will be cleared
  7092.  >up, transmitting documents internationally will be simplified, the October
  7093. beta
  7094.  
  7095.   [>> Continued in next msg]
  7096.  
  7097. There is 1 Reply.
  7098.  
  7099. #: 15531 S15/Unicode/NLS   
  7100.     21-Oct-92  12:59:53
  7101. Sb: #15530-Complete unicode font?
  7102. Fm: Sheldon Fox 70162,3422
  7103. To: Sheldon Fox 70162,3422 (X)
  7104.  
  7105.  
  7106.   [>> Continued from previous msg]
  7107.  
  7108.  >already has coverage of approximately 1100 codepoints, the fact that
  7109. Windows/NT
  7110.  >is unicode conformant will make its integration into international systems
  7111.  >easier, etc.
  7112.  >
  7113.  >Steve Firebaugh
  7114.  
  7115. I think most all of us would agree with all the points you made above. Perhaps
  7116. I was not clear enough in my original reply to you about what we are asking
  7117. for.
  7118.  
  7119. We are NOT saying that you shouldn't produce localized versions of NT.  What
  7120. we ARE saying is that these localized versions must be made available on an
  7121. international basis, and not just from the Microsoft office in the country for
  7122. which it was localized.
  7123.  
  7124. It is not a valid assumption that the only customers who want a given version
  7125. localized for a specific country are residing in that country and therefore
  7126. can contact the Microsoft rep in that country to get a copy of the localized
  7127. NT.
  7128.  
  7129. There are MANY developers that are developing applications that are to be used
  7130. in more than one country, which obviosuly implies that they need access to
  7131. localized versions of NT for countries other than the one in which they live.
  7132.  
  7133. As you mentioned, there would ideally be one "global" input method editior
  7134. that could be a part of the base version of NT.  Until then, it is very
  7135. important that ALL localized versions of NT be made available to any
  7136. developer, regardless of the country in which that developer happens to have
  7137. his/her mailbox.
  7138.  
  7139. It is also very important that the full Unicode font, when completed, be in
  7140. ALL versions NT so that a document, regardless of what language is was written
  7141. in, can at least be displayed (altho possibly not edited unless the proper IME
  7142. is available) on ANY version of NT.  It is not sufficient to have different
  7143. customized versions of the Unicode font available only with the localized
  7144. versions of NT.  (I'm talking about the "system" Unicode font--not implying
  7145. that every Unicode font in NT have all 35K code points).  If you don't make at
  7146. least one Unicode
  7147.  
  7148.   [>> Continued in next msg]
  7149.  
  7150. There is 1 Reply.
  7151.  
  7152. #: 15532 S15/Unicode/NLS   
  7153.     21-Oct-92  13:00:01
  7154. Sb: #15531-Complete unicode font?
  7155. Fm: Sheldon Fox 70162,3422
  7156. To: Sheldon Fox 70162,3422 (X)
  7157.  
  7158.  
  7159.   [>> Continued from previous msg]
  7160.  
  7161. font available with ALL characters for ALL languages, you will--as many have
  7162. pointed out here--defeat the purpose of having Unicode in the first place
  7163. since there won't be the ability to display any document on all systems.  This
  7164. is the situation we have now with Windows 3.1 and Unicode should be the
  7165. mechanism used to eliminate this restriction in NT.
  7166.  
  7167. Thanks for taking our concerns to the proper people and we look forward to
  7168. your response.
  7169.  
  7170. Sheldon
  7171.  
  7172. There are 2 Replies.
  7173.  
  7174. #: 15640 S15/Unicode/NLS   
  7175.     22-Oct-92  15:21:21
  7176. Sb: #15532-Complete unicode font?
  7177. Fm: David Van Camp 70740,366
  7178. To: Sheldon Fox 70162,3422 (X)
  7179.  
  7180. [continued from previous reply to Sheldon...]
  7181.  
  7182. But, how about simply including all possible glyphs in our unicode font?
  7183.  
  7184. First, at least theoretically, there is an infinite number of permutations of
  7185. all possible valid unicode char code sequences which could represent a unique
  7186. glyph.  In reality, however, only a finite number of these are ever
  7187. encountered in the languages currently represented.  But this is a HUGE
  7188. number.  Add to this the number of characters which are represented multiple
  7189. glyphs depending on the context in which they are used (deterministic
  7190. contextual variants), valid individual chars which are represented by a single
  7191. glyph when found in a specific sequence (ligatures), font and style variants,
  7192. and directional variants, and you would require a font which is far, Far, FAR
  7193. in excess of the 64K glyphs.
  7194.  
  7195. For these reasons, when we speak of a `unicode font', we mean a font that
  7196. supports the unicode character set - not one that actually has any 1-1 mapping
  7197. to unicode.  THERE IS - AND NEVER WILL BE - ANY SUCH THING AS A UNICODE FONT. 
  7198. So I can't just run CHARMAP and copy the character(s) I want to the clipboard.
  7199. So much for that idea.
  7200.  
  7201. The only solution currently available is that I use, in my application, an
  7202. edit field (or whatever) to enter the unicode char code(s) of the character(s)
  7203. (glyphs) that I want - after looking them up in the 2 volumn unicode
  7204. standard), and have the application insert the codes into a unicode string and
  7205. then display it (or copy it to the clipboard, etc.)  As a matter of fact, in
  7206. order to properly test my application in a few weeks, I'm going to have to do
  7207. exactly this.
  7208.  
  7209. but.... NT *NEEDS* A STANDARDIZED WAY TO ENTER ANY UNICODE CHARACTER(S).  As a
  7210. programmer, I can solve the problem for my program - but I can't do anything
  7211. about W4W, or any other application.  And this really should be the
  7212. responsability of the GUI so that all applications handle it in a similar
  7213. maner for the current localized environment.
  7214.  
  7215. dvc
  7216.  
  7217. #: 15641 S15/Unicode/NLS   
  7218.     22-Oct-92  15:21:28
  7219. Sb: #15532-Complete unicode font?
  7220. Fm: David Van Camp 70740,366
  7221. To: Sheldon Fox 70162,3422 (X)
  7222.  
  7223. Sheldon <actually this is directed to MS>,
  7224.  
  7225. I agree that including at a minimum a single font containing the entire
  7226. PRINTABLE Unicode character set is a requirement - I discussed this with
  7227. Microsoft's Asmus Freytag at the Unicode Implementor's Conference #2 in San
  7228. Jose, and he agrees fully. (Asmus also serves as the Vice Pres. of Mktg for
  7229. the Unicode consortium.  Unfortunately, he does not have a CIS account - or
  7230. didn't last I asked him - so you won't see him here :(
  7231.  
  7232. However - I do not believe that this is enough.  ALL localized versions of NT
  7233. MUST provide SOME way of entering ALL possible unicode characters.  While the
  7234. required method might be cumbersome and slow, there must be a way for a user
  7235. to enter text of a radically different nationality.
  7236.  
  7237. Why?  Simple: Let's say I'm a linguist and wish to produce a document,
  7238. primarly written in English, in which I discuss the history of the Arabic and
  7239. Hebrew languages.  I certainly would want to include text examples of these
  7240. languages in my (oh, let's just say..) MS Word for Windows NT document.
  7241.  
  7242. Let's presume that we DO have a complete unicode font to use. Now, how would I
  7243. do this?  Let's see, I could run CHARMAP or some other font viewer, scroll
  7244. through the font and find the character I want, copy it to the clipboard and
  7245. then paste it into my document.  Tedous, but it works - right?
  7246.  
  7247. WRONG! Many glyphs (a single display character) in unicode are constructed
  7248. from multiple unicode characters.  For example, in modern Arabic, Hebrew and
  7249. many other languages, vowel sounds or phonetic tones are not represented by an
  7250. indiviual glyph.  Instead, unicode represents them with `non-spacing marks'
  7251. (accents) which are combined with one or more other characters to produce a
  7252. finished glyph.  And there are some fairly complicated rules about how to
  7253. combine these accents with the consonant to produce a properly displayed glyph
  7254. depending on the language, culture and other factors.
  7255.  
  7256. [continued in next reply to Sheldon's message...]   
  7257.  
  7258. There is 1 Reply.
  7259.  
  7260. #: 15726 S15/Unicode/NLS   
  7261.     23-Oct-92  17:17:51
  7262. Sb: #15641-Complete unicode font?
  7263. Fm: Steve Firebaugh [MS] 75430,412
  7264. To: David Van Camp 70740,366
  7265.  
  7266. David Van Camp,
  7267.  
  7268.  >I agree that including at a minimum a single font containing the entire
  7269.  >PRINTABLE Unicode character set is a requirement
  7270.  >...
  7271.  >However - I do not believe that this is enough.  ALL localized versions of
  7272. NT
  7273.  >MUST provide SOME way of entering ALL possible unicode characters.  While
  7274. the
  7275.  >required method might be cumbersome and slow, there must be a way for a user
  7276.  >to enter text of a radically different nationality.
  7277.  
  7278. I agree strongly with you on these two points.  Unfortunately, for the state
  7279. of the Windows/NT world with respect to unicode, this is all that we are
  7280. arguing for in this thread.
  7281.  
  7282. You are absolutely correct, in so far as unicode works, when you say:
  7283.  
  7284.  >...
  7285.  >WRONG! Many glyphs (a single display character) in unicode are constructed
  7286.  >from multiple unicode characters.  For example, in modern Arabic, Hebrew and
  7287.  >many other languages, vowel sounds or phonetic tones are not represented by
  7288. an
  7289.  >indiviual glyph.  Instead, unicode represents them with `non-spacing marks'
  7290.  >(accents) which are combined with one or more other characters to produce a
  7291.  >finished glyph.  And there are some fairly complicated rules about how to
  7292.  >combine these accents with the consonant to produce a properly displayed
  7293. glyph
  7294.  >depending on the language, culture and other factors.
  7295.  
  7296. However, support for the display of unicode strings, where the mapping between
  7297. the codepoint and the glyph isn't approximately 1:1, will NOT be in Windows/NT
  7298. product 1, nor will it be in NT/J.  (The use of 'approximately' arises from
  7299. the fact that the diacritical marks in the range U+0300 -> U+036f currently
  7300. are supported.)
  7301.  
  7302. The background you've provided is valuable, and I hope that you'll continue to
  7303. post informational messages like this.  I felt that it was important to
  7304. clarify the relation between your comments and the existing system.
  7305.  
  7306. Steve Firebaugh
  7307.  
  7308. #: 15724 S15/Unicode/NLS   
  7309.     23-Oct-92  17:17:34
  7310. Sb: Complete unicode font?
  7311. Fm: Steve Firebaugh [MS] 75430,412
  7312. To: All
  7313.  
  7314. Once again, thank you everybody for the input.  You have presented a strong
  7315. argument which I have been paraphrasing as, "Provide a version of Windows/NT
  7316. to the international market which will have international capabilities." I
  7317. will continue to argue this stance with the people making related decisions at
  7318. Microsoft.
  7319.  
  7320. At this point, I would like to attempt to make a clarification regarding the
  7321. discussion in this thread.  I believe there are two aspects to what people are
  7322. saying.
  7323.  
  7324. The first is primarily technical, and that is the international capabilities
  7325. of Windows/NT.  I.e. move as much as possible of the functionality normally
  7326. left to localization into the base system which is common to all versions.
  7327. Specifically, we need a font that covers all unicode codepoints,  and we
  7328. should have some kind of generalized input method which will allow the user to
  7329. specify any unicode codepoint.
  7330.  
  7331. The second aspect is restricted distribution.  I will not deny that there may
  7332. be business-driven motivations behind the nationally constrained access which
  7333. many of you have experienced in the past with other Windows products. I can
  7334. not say much on this, because I honestly do not know anything about it.  My
  7335. intuition is that if we can solve the problems listed in the paragraph above,
  7336. then these restrictions will be of less consequence to programmers interested
  7337. in unicode.  (I do not mean to downplay the problems arising from restricted
  7338. distribution... Please notice they have been discussed at some length in
  7339. sections 1 and 17 of this forum... Also, please notice that the localized
  7340. versions of Windows 3.x were given away 'free' (price of admission) to all
  7341. attendees of the PDC conference in San Fransisco.)
  7342.  
  7343. Thanks again for for your input.  I am trying hard to see that it makes a
  7344. difference.
  7345.  
  7346. Steve Firebaugh
  7347.  
  7348.  
  7349.  
  7350.  
  7351. #: 15343 S17/Unmonitored Chat   
  7352.     19-Oct-92  04:18:31
  7353. Sb: #15186-Friendly Comparisons
  7354. Fm: Andy Champ 100064,2267
  7355. To: Paul Pignatelli 76367,2721
  7356.  
  7357. Paul, you misunderstand me.  I work for ICL full time - and have done for 13
  7358. years, much to my surprise - and some parts of ICL are very much up to speed
  7359. on NT.  And OS/2!  The people who did not know of NT were the people who send
  7360. out the leaflets, and that's probably just because there aren't any copies
  7361. being sold yet.
  7362.  
  7363. BTW - what important paper?
  7364.  
  7365. Andy.
  7366.  
  7367.  
  7368. #: 15605 S17/Unmonitored Chat   
  7369.     22-Oct-92  11:36:10
  7370. Sb: Where'd everybody go?
  7371. Fm: KENNETH R SCHROCK 70621,1521
  7372. To: All
  7373.  
  7374.   Traffic on this board has dropped to almost nothing. Does this mean:
  7375. A. Everybody is finished with their work?
  7376. B. Everybody is waiting for the beta?
  7377. C. Everybody gave up and went home?
  7378. D. Lot of vacations this time of year?
  7379.  
  7380. There is 1 Reply.
  7381.  
  7382. #: 15645 S17/Unmonitored Chat   
  7383.     22-Oct-92  17:17:10
  7384. Sb: #15605-Where'd everybody go?
  7385. Fm: Anthony Murfet 70602,1634
  7386. To: KENNETH R SCHROCK 70621,1521 (X)
  7387.  
  7388. Ken, Everybody is waiting for the beta Traffic has dropped in WINNT too.
  7389. Tony.
  7390.  
  7391. There is 1 Reply.
  7392.  
  7393. #: 15681 S17/Unmonitored Chat   
  7394.     23-Oct-92  08:39:02
  7395. Sb: #15645-Where'd everybody go?
  7396. Fm: Howard Silver 76675,3476
  7397. To: Anthony Murfet 70602,1634 (X)
  7398.  
  7399. Agreed.  I'm waiting for the BETA as well.  After the NT conference I was on
  7400. these forums almost everyday.  Now, not so much.  In fact, this is the first
  7401. time I've been back here in 3 weeks.
  7402.  
  7403. - Howard Silver
  7404.  
  7405. There is 1 Reply.
  7406.  
  7407. #: 15720 S17/Unmonitored Chat   
  7408.     23-Oct-92  15:57:43
  7409. Sb: #15681-Where'd everybody go?
  7410. Fm: Anthony Murfet 70602,1634
  7411. To: Howard Silver 76675,3476
  7412.  
  7413. Well, having thrown every Win16 and DOS app I had at the July release I am
  7414. kinda hoping that more of them will work this time around, though I am not
  7415. betting too much on apps like winfax or procom for win.
  7416.  
  7417. Tony.
  7418.  
  7419. There is 1 Reply.
  7420.  
  7421. #: 15721 S17/Unmonitored Chat   
  7422.     23-Oct-92  17:00:31
  7423. Sb: #15720-Where'd everybody go?
  7424. Fm: Carl H Bache [PS Norway] 100010,2257
  7425. To: Anthony Murfet 70602,1634
  7426.  
  7427. Well, I'm back - WITH the beta, and boy, is it superb! You guys should be
  7428. looking forward to see some impressing speed coming up...
  7429.  
  7430. Dag Baardsen
  7431.  
  7432.  
  7433.  
  7434.