home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / tools / 866 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  3.7 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!gvgpsa!gvgspd!omega!akh
  2. From: akh@empress.gvg.tek.com (Anna K. Haynes)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: MSC/SDK Beginner's Luck (BAD) -- Reality Check Needed
  5. Message-ID: <2010@gvgspd.GVG.TEK.COM>
  6. Date: 4 Sep 92 19:54:45 GMT
  7. Sender: news@gvgspd.GVG.TEK.COM
  8. Reply-To: akh@empress.gvg.tek.com
  9. Distribution: na
  10. Organization: Grass Valley Group, Grass Valley, CA
  11. Lines: 81
  12.  
  13. I just got Microsoft's Windows 3.1, C/C++ 7.0, SDK 3.1, & have been
  14. trying to use them, & would like to 1) ask a question & 2) let 
  15. off some steam lest I go critical.
  16.  
  17. (
  18. I have a 486 with 8 MB RAM, & am running under MS_DOS
  19. from within Windows (i.e. clicking on the "MS-DOS Prompt" icon); 
  20. I do _not_ have 386Max installed.)  Windows is on C:, C/C++ and SDK
  21. are on D:.  Here is my config.sys:
  22.  
  23. buffers=10
  24. files=30
  25. dos=high,umb
  26. DEVICE=D:\sdk\bin\himem.sys /machine:at
  27. DEVICE=D:\sdk\bin\emm386.exe NOEMS
  28. DEVICE=D:\sdk\bin\smartdrv.exe /double_buffer
  29. lastdrive=v
  30. stacks=9,256
  31. shell=c:\command.com /p /e:1024
  32. )
  33.  
  34. 1. Question.
  35.  
  36. I started working through the MFC tutorial (Class Libraries Users Guide,
  37.     \sdk\mfc\samples\tutorial).  Sample program #1, 
  38.     dmtest.exe, has a few quirks:
  39.  
  40.         When I  nmake  it without the debug flag set, 
  41.         the output shown in the book(p.59) does not match what I get. (Both
  42.         are wrong--in the book, Brian Meyers gets lost in the ether,
  43.         & on my 486, Banipuli is found although s/he does not exist.)
  44.  
  45.         When I  nmake  it _with_ the debug flag set (nmake -F dmtest DEBUG=1), 
  46.         then run it, it dies (Assertion failed: file memory.cpp, line 334,
  47.         AfxAbort called).  If I try to run it under CodeView (cv dmtest --
  48.         I haven't tried to figure out how the $%^& CodeView is supposed to
  49.         work yet, I may be doing it wrong) it comes up in assembly language
  50.         & I don't know how to get it to show source code.
  51.  
  52.         These things (the wrong nmakes) also happen on a co-worker's machine 
  53.         (I'm not sure what his config is; he has a 486 too.)
  54.  
  55.         WHY do we get these results????  I sure hope it is pilot error.
  56.  
  57. 2. 
  58. Steam, low pressure:
  59.  
  60. a) Is it true that the Petzold book (Programming Windows, 2nd ed.) is
  61.     out of print because (for 1 thing, at least) the examples won't work 
  62.     with 3.1?  (they don't work for me)  If so, what does this 
  63.     say about backward compatibility or lack thereof?
  64.  
  65. b) In Microsoft Windows 3.1 Guide To Programming, the first Makefile (on p.16)
  66.     generates error messages when I try to nmake Generic ("too many rules for
  67.     generic.exe").  The 2nd one (p.56) is missing the "all: ..." line & so
  68.     will _not_  "...properly compile and link the files created for Generic",
  69.     despite the manufacturer's claims.
  70.  
  71. c) It would be nice if we got more than 1 page (in Microsoft Windows 3.1
  72.     Programming Tools, SAME 1 page in M.W. SDK Programming Tools) of
  73.     documentation on the Dialog Editor, especially since it _does_ exist
  74.     (27pp in QuickC for Windows Toolkit).  Yes, I know online Help exists,
  75.     but it has major limitations( since everything's in little chunks I
  76.     don't know if I've missed something (AND NEITHER DO YOU--where does
  77.     it explain which of the cute little Toolbox symbols is associated with
  78.     which object?), & my brain needs the continuity of 1-dimensional 
  79.     documentation, otherwise it loses things too quickly). 
  80.  
  81. STOP READING HERE if it's me or my system configuration that's at fault.
  82.  
  83. Steam, higher pressure:
  84.  
  85. I thought Microsoft was supposed to be a reputable company, but if 
  86. they can't even get the BASIC BASIC BEGINNER MORON stuff to 
  87. work, .... does it get any better or is this what I have to 
  88. look forward to?  Are the proofreaders & debuggers awake up there? 
  89.  
  90. -------------------------------------
  91.  
  92. Anna K. Haynes  The Grass Valley Group, Inc. Grass Valley, CA  (916) 478-3691
  93.    <akh@empress.GVG.TEK.COM>  -or-  <...!tektronix!gvgpsa!empress!akh>
  94.