home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 15 Message / 15-Message.zip / UU990918.zip / Uh990917.txt < prev    next >
Text File  |  1999-09-18  |  93KB  |  2,671 lines

  1.  
  2.                    comp.os.os2.programmer.misc      (Usenet)
  3.  
  4.                  Saturday, 11-Sep-1999 to Friday, 17-Sep-1999
  5.  
  6. +----------------------------------------------------------------------------+
  7.  
  8. From: mm2@phototiger.com                                10-Sep-99 23:59:24
  9.   To: All                                               11-Sep-99 04:50:25
  10. Subj: FP10 and Watcom 10.6 Debugger
  11.  
  12. From: "Michael Moegn" <mm2@phototiger.com>
  13.  
  14. Hello,
  15. after installing FP10, my Watcom debugger (10.6) is not longer working.
  16. When I start a program in the debugger, it only can be executed to the
  17. WinCreateMsgQueue statement. Then the program will be stopped and the
  18. debugger shows a "Task Completed" message in the debugger status line.
  19.  
  20. Michael
  21.  
  22. --
  23. P h o t o T i g e r 2.01 Photoeditor for OS/2 Warp
  24. Download: http://www.phototiger.com  Email: info@phototiger.com
  25. *** Support Shareware, Support OS/2, Pay Your Shareware Fee ***
  26.  
  27.  
  28. --- WtrGate+ v0.93.p7 sn 165
  29.  * Origin: Usenet: Customer of UUNET Deutschland GmbH, Dortmund, Ger
  30. (1:109/42)
  31.  
  32. +----------------------------------------------------------------------------+
  33.  
  34. From: mamodeo@stny.rr.com                               10-Sep-99 18:24:26
  35.   To: All                                               11-Sep-99 04:50:25
  36. Subj: Re: FP10 and Watcom 10.6 Debugger
  37.  
  38. From: Marty <mamodeo@stny.rr.com>
  39.  
  40. Michael Moegn wrote:
  41. > Hello,
  42. > after installing FP10, my Watcom debugger (10.6) is not longer working.
  43. > When I start a program in the debugger, it only can be executed to the
  44. > WinCreateMsgQueue statement. Then the program will be stopped and the
  45. > debugger shows a "Task Completed" message in the debugger status line.
  46.  
  47. Same here.  The Watcom debugger has proven to be quite useless to me for PM
  48. apps.  I submitted a bug report on this topic to Sybase back when Watcom
  49. was still in production and was completely ignored.
  50.  
  51. Even without FP10 installed, the debugger frequently locked up my system
  52. and did not handle multithreaded applications correctly.  My advice to you
  53. is start using a lot of printfs for debugging.  ;-)
  54.  
  55. - Marty
  56.  
  57. --- WtrGate+ v0.93.p7 sn 165
  58.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  59.  
  60. +----------------------------------------------------------------------------+
  61.  
  62. From: nolospamoawmg@yesic.com                           10-Sep-99 22:30:18
  63.   To: All                                               11-Sep-99 04:50:26
  64. Subj: Object Desktop 2 - Hacking the LNF
  65.  
  66. From: "andrew g" <nolospamoawmg@yesic.com>
  67.  
  68. The Young Person's Guide to Hacking the LNF:
  69.  
  70. Everybody knows and it's documented in the Stardock
  71. Look 'n Feel kit for OS/2 that you can create new
  72. bitmap looks for your titlebars using VisualAge C++,
  73. and I gave Kris Kwilas the makefile for CSET++ 2.1,
  74. so even if you have an old compiler you can still
  75. change your "look".
  76.  
  77. I may be the only OD2 user to have made an LNF, judging
  78. by the apathy I see around me and on Stardock's part. I
  79. didn't mind using the C Compiler, but I got tired of
  80. waiting for the promised API to turn off those darned
  81. lines on the title bars!
  82.  
  83. If you just want to change your titlebar bitmaps,
  84. and don't want the annoying MacIntosh-like lines on 
  85. your titlebars, you can use the ResMgr package available
  86. from Hobbes, to gut the distributed Windows 95 LNF, and
  87. remake it into something palatable. The Resource Manager
  88. package contains a couple of utilities you will need to
  89. do this, and along with the OS/2 resource compiler and
  90. the icon editor, you're ready to roll your own title
  91. bars.
  92.  
  93. Here's what I did:
  94.  
  95. copy your OBJDWN95.LNF from the \objdesk directory
  96. to an empty \tmp directory. Rename OBJDWN95.LNF 
  97. OBJDWN95.DLL, and use the resource decompiler to 
  98. extract the bitmaps. Like this:
  99.  
  100. [c:\tmp]rdc OBJDWN95.DLL
  101.  
  102. There should be 66 buttons, and here they are, with
  103. descriptions. If you want to distribute your LNF,
  104. then you ought to alter all of them using OS/2
  105. iconedit.exe. But if you know which ones your computer
  106. uses, then just alter the ones you need for your
  107. personal machine if you don't want to share your
  108. customizations with others. For instance, on my
  109. ThinkPad at 800x600, OS/2 uses only the 18x18
  110. titlebar bitmaps, so they're the only ones I ever
  111. change.
  112.  
  113. (note that there's no difference between the
  114. hide and minimize bitmaps in the Windows 95
  115. LNF as published).
  116.  
  117.  Size         eas    filename     purpose
  118. ---------------------------------------------
  119.  290           0  res02514.bmp   18maximize_dn
  120.  290           0  res02515.bmp   18restore__up
  121.  290           0  res02789.bmp   18rollup___up
  122.  218           0  res03064.bmp   scroll button
  123. 1322           0  res03339.bmp   22close____up
  124.  194           0  res05864.bmp   scroll button
  125.  290           0  res08939.bmp   18minimize_dn
  126.  290           0  res09214.bmp   18close____up
  127.  218           0  res09489.bmp   scroll button
  128. 1322           0  res09764.bmp   22minimize_up
  129.  194           0  res12289.bmp   scroll button
  130.  290           0  res15364.bmp   system menu
  131.  170           0  res15639.bmp   scroll button
  132.  290           0  res18714.bmp   18minimize_dn
  133.  242           0  res19264.bmp   scroll button
  134.  170           0  res22064.bmp   scroll button
  135.  314           0  res22339.bmp   20hide_____up
  136.  290           0  res25139.bmp   18minimize_up
  137.  170           0  res28489.bmp   scroll button
  138.  314           0  res28764.bmp   20maximize_up
  139. 1322           0  res29039.bmp   system menu
  140.  290           0  res31839.bmp   18rollup___dn
  141.  314           0  res35464.bmp   20rollup___dn
  142.  290           0  res38264.bmp   18close____dn
  143.  218           0  res38539.bmp   scroll button
  144. 1322           0  res38814.bmp   22minimize_dn
  145.  194           0  res41339.bmp   scroll button
  146.  314           0  res41889.bmp   20close____dn
  147.  290           0  res44414.bmp   18minimize_up
  148.  218           0  res44964.bmp   scroll button
  149. 1322           0  res45239.bmp   22restore__dn
  150.  242           0  res48314.bmp   scroll button
  151.  242           0  res48315.bmp   scroll button
  152.  170           0  res51114.bmp   scroll button
  153.  314           0  res51389.bmp   20minimize_up
  154. 1322           0  res51664.bmp   22maximize_dn
  155. 1322           0  res55014.bmp   22rollup___dn
  156.  290           0  res57264.bmp   system menu
  157. 1322           0  res58089.bmp   22minimize_up
  158. 1322           0  res58090.bmp   22minimize_dn
  159.  290           0  res60614.bmp   18restore__dn
  160.  314           0  res60889.bmp   system menu
  161.  242           0  res61164.bmp   scroll button
  162.  218           0  res67589.bmp   scroll button
  163. 1322           0  res67864.bmp   22close____dn
  164.  194           0  res70389.bmp   scroll button
  165.  314           0  res70939.bmp   20rollup___up
  166.  290           0  res73464.bmp   18maximize_up
  167.  314           0  res77364.bmp   20close____up
  168.  170           0  res80164.bmp   scroll button
  169.  314           0  res80439.bmp   20hide_____dn
  170. 1322           0  res80714.bmp   22restore__up
  171.  194           0  res83239.bmp   scroll button
  172.  314           0  res86864.bmp   20hide_____dn
  173. 1322           0  res87139.bmp   22maximize_up
  174.  314           0  res89939.bmp   20minimize_up
  175.  242           0  res90214.bmp   scroll button
  176.  242           0  res90215.bmp   scroll button
  177. 1322           0  res90489.bmp   22rollup___up
  178.  170           0  res93014.bmp   scroll button
  179.  314           0  res93289.bmp   20maximize_dn
  180.  314           0  res96364.bmp   system menu
  181.  218           0  res96639.bmp   scroll button
  182.  194           0  res99439.bmp   scroll button
  183.  314           0  res99714.bmp   20minimize_dn
  184. 1322           0  res99989.bmp   system menu
  185.        66 file(s)      31908 bytes used
  186.  
  187. Now you edit the titlebar buttons you want to change,
  188. saving them with the same filename they had before.
  189.  
  190. I use a batchfile to call iconedit.exe, like this:
  191. REM -------------------------
  192. REM ED.CMD
  193. iconedit res02514.bmp
  194. REM   18maximize_dn   
  195. iconedit res02515.bmp
  196. REM   18restore__up  
  197. iconedit res02789.bmp
  198. REM   18rollup___up  
  199. iconedit res08939.bmp  
  200. rem  18minimize_dn  
  201. iconedit  res09214.bmp 
  202. rem    18close____up  
  203. iconedit  res18714.bmp 
  204. rem    18minimize_dn  
  205. iconedit  res25139.bmp 
  206. rem    18minimize_up  
  207. iconedit  res31839.bmp 
  208. rem    18rollup___dn  
  209. iconedit  res38264.bmp 
  210. rem    18close____dn  
  211. iconedit  res44414.bmp 
  212. rem    18minimize_up  
  213. iconedit  res60614.bmp 
  214. rem    18restore__dn  
  215. iconedit  res73464.bmp 
  216. rem    18maximize_up  
  217. REM --------------------------
  218.  
  219. After you've made the adjustments to the bitmaps,
  220. and saved them all with their old names, you're
  221. ready to use rc.exe to make your new LNF.
  222.  
  223. In the same \tmp directory, run RC.exe like this:
  224.  
  225. [c:\tmp]rc OBJDWN95.RC2 OBJDWN95.DLL
  226.  
  227. It will grind and mash all those nice bitmaps overtop
  228. the ugly old Windows lookalikes.  Now you copy the
  229. new OBJDWN95.DLL to your \objdesk directory, renaming
  230. it to OBJDWN95.LNF.
  231.  
  232. [c:\tmp]copy OBJDWN95.DLL \objdesk\OBJDWN95.LNF
  233.  
  234. Open up your Master Setup in your Object Desktop folder,
  235. and click the Window Controls tab.  Scroll down the list
  236. of available LNF's to the one that says Windows 95.
  237.  
  238. Select it, and watch your new creation become the titlebar
  239. icons on all your windows. You have successfully hacked
  240. Object Desktop 2, and eradicated the cursed Look 'n Feel
  241. of Windows 95. You are now a local hero.
  242.  
  243. Congratulations.
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252. --- WtrGate+ v0.93.p7 sn 165
  253.  * Origin: Usenet: Introits and Graduals (1:109/42)
  254.  
  255. +----------------------------------------------------------------------------+
  256.  
  257. From: bwardell@mw.mediaone.net                          11-Sep-99 04:23:11
  258.   To: All                                               11-Sep-99 04:50:26
  259. Subj: Re: Object Desktop 2 - Hacking the LNF
  260.  
  261. From: "Brad Wardell" <bwardell@mw.mediaone.net>
  262.  
  263. Cool!  Thanks for posting that, Andrew.
  264.  
  265. Brad
  266. --
  267. Brad Wardell
  268. Stardock - http://www.stardock.com
  269.  
  270. >
  271.  
  272.  
  273. --- WtrGate+ v0.93.p7 sn 165
  274.  * Origin: Origin Line 1 Goes Here (1:109/42)
  275.  
  276. +----------------------------------------------------------------------------+
  277.  
  278. From: rlalla@stepnet.REMOVETHIS.de                      11-Sep-99 08:20:13
  279.   To: All                                               11-Sep-99 04:50:27
  280. Subj: Re: Object Desktop 2 - Hacking the LNF
  281.  
  282. From: "Robert Lalla" <rlalla@stepnet.REMOVETHIS.de>
  283.  
  284. On Fri, 10 Sep 1999 22:30:36 -0400 (EDT), andrew g wrote:
  285.  
  286. >I may be the only OD2 user to have made an LNF, judging
  287. >by the apathy I see around me and on Stardock's part. I
  288.  
  289. Once when OD2-fp1 came out I installed it.
  290. But then is was faced to frequent crashes of WPS.
  291. So I reinstalled ODpro1.5.
  292.  
  293. --
  294. RL
  295.  
  296.  
  297.  
  298.  
  299. --- WtrGate+ v0.93.p7 sn 165
  300.  * Origin: Usenet: Robert Lalla (1:109/42)
  301.  
  302. +----------------------------------------------------------------------------+
  303.  
  304. From: whonea@codenet.net                                11-Sep-99 01:39:06
  305.   To: All                                               11-Sep-99 10:18:22
  306. Subj: Re: FP10 and Watcom 10.6 Debugger
  307.  
  308. From: whonea@codenet.net (Will Honea)
  309.  
  310. On Fri, 10 Sep 1999 21:59:48, "Michael Moegn" <mm2@phototiger.com> 
  311. wrote:
  312.  
  313. You might try backing up to the 10.0 or 10a debugger - that one works 
  314. fine with FP11 here - DOS, OS/2, Win.
  315.  
  316. > Hello,
  317. > after installing FP10, my Watcom debugger (10.6) is not longer working.
  318. > When I start a program in the debugger, it only can be executed to the
  319. > WinCreateMsgQueue statement. Then the program will be stopped and the
  320. > debugger shows a "Task Completed" message in the debugger status line.
  321. >  
  322. > Michael
  323.  
  324. Will Honea <whonea@codenet.net>
  325.  
  326. --- WtrGate+ v0.93.p7 sn 165
  327.  * Origin: Origin Line 1 Goes Here (1:109/42)
  328.  
  329. +----------------------------------------------------------------------------+
  330.  
  331. From: arjen@removethis.hacom.nl                         11-Sep-99 15:04:01
  332.   To: All                                               11-Sep-99 20:32:14
  333. Subj: Re: Object Desktop 2 - Hacking the LNF
  334.  
  335. From: "Arjen Meijer" <arjen@removethis.hacom.nl>
  336.  
  337. On Sat, 11 Sep 1999 08:20:27 +0200 (MEZ), Robert Lalla wrote:
  338.  
  339. Most likely it are problems in the WPS, not OD. So upgrade to fixpack 11 and
  340. try
  341. again!
  342.  
  343. Arjen
  344.  
  345. :>On Fri, 10 Sep 1999 22:30:36 -0400 (EDT), andrew g wrote:
  346. :>
  347. :>>I may be the only OD2 user to have made an LNF, judging
  348. :>>by the apathy I see around me and on Stardock's part. I
  349. :>
  350. :>Once when OD2-fp1 came out I installed it.
  351. :>But then is was faced to frequent crashes of WPS.
  352. :>So I reinstalled ODpro1.5.
  353. :>
  354. :>--
  355. :>RL
  356. :>
  357. :>
  358. :>
  359. :>
  360.  
  361.  
  362.  
  363. --- WtrGate+ v0.93.p7 sn 165
  364.  * Origin: Usenet: Sizzen en Dwan (1:109/42)
  365.  
  366. +----------------------------------------------------------------------------+
  367.  
  368. From: dgraef@ibm.net                                    11-Sep-99 17:32:04
  369.   To: All                                               11-Sep-99 20:32:14
  370. Subj: WinDlgBox(); / WM_INITDLG
  371.  
  372. From: "Detlef Graef" <dgraef@ibm.net>
  373.  
  374. Hello,
  375.  
  376. I've a Dialog-Procedure witch is called like this:
  377.  
  378.         case IDM_FILE_SETTINGS:
  379.                {
  380.  
  381.                WinDlgBox (HWND_DESKTOP,
  382.                           hwnd,
  383.                           NoteBookDlgProc,
  384.                           NULLHANDLE,                  /* Resource in EXE */
  385.                           IDD_SETTINGS_NOTEBOOK,       /* Dialog id */
  386.                           NULL);                       /* No add'l data */
  387.                }
  388.                break;
  389.  
  390. Here the source of NoteBookDlgProc()  :
  391.  
  392. /****************************************************************************/
  393. /* Custom window procedure for "Settings-Notebook" dialog.                  */
  394. /****************************************************************************/
  395.  
  396. MRESULT EXPENTRY  NoteBookDlgProc(HWND hwnd, ULONG msg, MPARAM mp2, MPARAM
  397. mp1)  /* DLG-Proc. fuer Settings-Notebook */
  398.      {
  399.  
  400.     MRESULT mr = 0;      /* Result code */
  401.     HWND hwndOK;         /* Window handle of OK push button */
  402.  
  403.    switch (msg)
  404.        {
  405.        case WM_INITDLG:
  406.                   InitNoteBookDlg();    /* never executed */
  407.       
  408.           break;
  409.  
  410.        /* If the user hits OK, use WinDismissDlg to return TRUE to the main    
  411.   */
  412.        /* window procedure.  Otherwise, return FALSE.  This value is picked up 
  413.   */
  414.        /* as the return value of WinDlgBox.                                    
  415.   */
  416.  
  417.       case WM_COMMAND:
  418.  
  419.         switch (SHORT1FROMMP (mp1))
  420.            {
  421.             case PB_UNDO:
  422.  
  423.                WinDismissDlg (hwnd,      /* Dialog Window Handle */
  424.                               TRUE);     /* UNDO button is TRUE */
  425.                return 0;
  426.  
  427.             case PB_DEFAULT:
  428.  
  429.                WinDismissDlg (hwnd,      /* Dialog Window Handle */
  430.                               TRUE);     /* DEFAULT button is TRUE */
  431.                return 0;
  432.  
  433.             case PB_HELP:
  434.  
  435.                WinDismissDlg (hwnd,      /* Dialog Window Handle */
  436.                               TRUE);     /* HELP button is TRUE */
  437.                return 0;
  438.  
  439.             default:
  440.                mr = WinDefDlgProc(hwnd, msg, mp1, mp2);
  441.                break;
  442.            }
  443.         break;
  444.  
  445.      /* Let the default dialog box window procedure handle any other messages  
  446. */
  447.      /* for this dialog.                                                       
  448. */
  449.      default:
  450.         mr = WinDefDlgProc (hwnd, msg, mp1, mp2);   /* SYS3175 in PMMERGE.DLL  
  451. */
  452.         break;
  453.     }
  454.  return (mr);
  455. }
  456.  
  457. >------------------------------------------------------------------------------
  458. --------------------
  459.  
  460. I've debugged the procedure. 
  461. First       switch (msg)    is executed, and than immediatly WindefDlgProc();
  462. with a crash
  463. in PMMERGE.DLL
  464.  
  465. "mp1" has a value of 0 (zero), and "msg" a value of 83
  466.  
  467. Why the crash? I think the value of zero of mp1 is not correct.
  468. Is it possible to find out which message is assigned to the value of 83?
  469. (header-files)
  470.  
  471. Normally the WM_INITDLG-Msg. is send/posted to the Procedure before
  472. WinDlgBox();
  473. returns. Ist that correct? Why is the code at WM_INITDLG never executed.
  474. In another Prg. the same code works fine.
  475.  
  476. I've found in PMWIN.H th definition of the messages:
  477.  
  478.    #define WM_CALCFRAMERECT           0x0053   /*   dec. 83 should be 0x0053
  479. */
  480. Why is this message posted?
  481. Due the definition in the RC-File?
  482.  
  483. With best regards,
  484.  
  485. D. Graef
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492. --- WtrGate+ v0.93.p7 sn 165
  493.  * Origin: Usenet: Global Network Services - Remote Access Mail & Ne
  494. (1:109/42)
  495.  
  496. +----------------------------------------------------------------------------+
  497.  
  498. From: mckinnis@ibm.net                                  11-Sep-99 10:13:03
  499.   To: All                                               11-Sep-99 20:32:15
  500. Subj: Re: Object Desktop 2 - Hacking the LNF
  501.  
  502. From: Chuck McKinnis <mckinnis@ibm.net>
  503.  
  504. If you are at FP11, you may get bitten by the HPFS change in FP11 that
  505. caused directory entries to get the archive bit set on.  Visit
  506. http://www.os2ss.com/users/mckinnis for a discussion and a workaround. 
  507. I used to get WPS resets with OD2 Object Navigator on a fairly regular
  508. basis until I backed off the HPFS updates.
  509.  
  510. Robert Lalla wrote:
  511. > On Fri, 10 Sep 1999 22:30:36 -0400 (EDT), andrew g wrote:
  512. > >I may be the only OD2 user to have made an LNF, judging
  513. > >by the apathy I see around me and on Stardock's part. I
  514. > Once when OD2-fp1 came out I installed it.
  515. > But then is was faced to frequent crashes of WPS.
  516. > So I reinstalled ODpro1.5.
  517. > --
  518. > RL
  519.  
  520. -- 
  521. Chuck McKinnis
  522. Senior Systems Engineer
  523. Denver Solutions Group, Inc.
  524. IBM Business Partner
  525. IBM Senior Systems Engineer (retired)
  526.  
  527. --- WtrGate+ v0.93.p7 sn 165
  528.  * Origin: Usenet: Denver Solutions Group (1:109/42)
  529.  
  530. +----------------------------------------------------------------------------+
  531.  
  532. From: lampsstgt@aol.com                                 11-Sep-99 16:41:17
  533.   To: All                                               11-Sep-99 20:32:15
  534. Subj: Netscape WWW_RegisterProtocol doesn't work
  535.  
  536. From: lampsstgt@aol.com (Lamps stgt)
  537.  
  538. i am using dde to implement navigation support in my application. i used the
  539. topic 
  540. WWW_RegisterProtocol (with protocol 'file'). 
  541. After a filename was requested by netscape, i get a WM_DDE_INITIATE with topic
  542. 'WWW_OpenURL'. Then i send back WinDdeRespond(HwndNetscape, myHwnd,
  543. myName,"WWW_OpenURL", &Context) and get a WM_DDE_TERMINATE (!). 
  544. But how can i get the requested filename? I'm missing 
  545. something like WM_DDE_REQUEST or WM_DDE_DATA. 
  546.  
  547. The same behaviour when i'm using topic WWW_RegisterURLEcho - i get a
  548. WM_DDE_INITIATE with topic 'WWW_URLEcho' but no data containing the URL.
  549.  
  550. what's wrong? 
  551. Thanks, Thomas
  552.  
  553. --- WtrGate+ v0.93.p7 sn 165
  554.  * Origin: Usenet: AOL Bertelsmann Online GmbH & Co. KG http://www.g
  555. (1:109/42)
  556.  
  557. +----------------------------------------------------------------------------+
  558.  
  559. From: abuse@orac.clara.co.uk                            12-Sep-99 00:06:10
  560.   To: All                                               12-Sep-99 04:17:18
  561. Subj: Re: WinDlgBox(); / WM_INITDLG
  562.  
  563. From: abuse@orac.clara.co.uk (Paul Ratcliffe)
  564.  
  565. On Sat, 11 Sep 1999 17:32:08 +0100 (MEZ), Detlef Graef <dgraef@ibm.net> wrote:
  566.  
  567. >MRESULT EXPENTRY  NoteBookDlgProc(HWND hwnd, ULONG msg, MPARAM mp2, MPARAM
  568. mp1)  /* DLG-Proc. fuer Settings-Notebook */
  569. >
  570. >I've debugged the procedure. 
  571. >First       switch (msg)    is executed, and than immediatly WindefDlgProc(); 
  572. with a crash
  573. >in PMMERGE.DLL
  574. >
  575. >"mp1" has a value of 0 (zero), and "msg" a value of 83
  576. >
  577. >Why the crash? I think the value of zero of mp1 is not correct.
  578.  
  579. You might get better results if you declared your function correctly :-)
  580. mp1 and mp2 are the wrong way round, which is going to cause all sorts of
  581. grief!
  582.  
  583. --- WtrGate+ v0.93.p7 sn 165
  584.  * Origin: Usenet: The Floppy BBS (1:109/42)
  585.  
  586. +----------------------------------------------------------------------------+
  587.  
  588. From: mamodeo@stny.rr.com                               11-Sep-99 20:45:25
  589.   To: All                                               12-Sep-99 04:17:18
  590. Subj: One for the EMX gurus...
  591.  
  592. From: Marty <mamodeo@stny.rr.com>
  593.  
  594. Below is the log of what should be a <really> simple process.  One .c file
  595. calling one library function in one library.  I compile the .c files with
  596. the -g switch because I'm trying to get a bigger application with debug
  597. information so I can use GDB with it.  I create the archive file for the
  598. "library" using ar.  When I try to link with ld (using the gcc frontend) it
  599. tells me that any and all symbols defined in the library are undefined. 
  600. When I use nm to list the contents of the library, the symbol shows up
  601. exactly as specified in the error message.  What am I doing wrong?!?!
  602.  
  603. - Marty
  604.  
  605. epm: I:\gccdev\test >type test.c
  606. #include <stdio.h>
  607.  
  608. extern void sayhello( void );
  609.  
  610. int main( void ) {
  611.     printf( "Hello.\n" );
  612.     sayhello();
  613.     return 0;
  614. }
  615. epm: I:\gccdev\test >type test2.c
  616. #include <stdio.h>
  617.  
  618. void sayhello( void ) {
  619.     printf( "Hello there.\n" );
  620. }
  621. epm: I:\gccdev\test >gcc -g -c test.c
  622.  
  623. epm: I:\gccdev\test >gcc -g -c test2.c
  624.  
  625. epm: I:\gccdev\test >ar cr test2.a test2.o
  626.  
  627. epm: I:\gccdev\test >dir
  628.  
  629. The volume label in drive I is GCC DEV.
  630. The Volume Serial Number is A736:9415.
  631. Directory of I:\gccdev\test
  632.  
  633.  9-11-99   2:58p     <DIR>           0  .
  634.  9-11-99   2:58p     <DIR>           0  ..
  635.  9-11-99   8:13p       179          35  test.c
  636.  9-11-99   8:22p      1813           0  test.o
  637.  9-11-99   8:22p      1812           0  test2.a
  638.  9-11-99   8:21p        79          35  test2.c
  639.  9-11-99   8:22p      1657           0  test2.o
  640.         7 file(s)       5540 bytes used
  641.                    1482752 K bytes free
  642.  
  643. epm: I:\gccdev\test >gcc -g -Zexe -L. -ltest2 test.o
  644. test.c:8 (test.o): Undefined symbol _sayhello referenced from text segment
  645.  
  646. epm: I:\gccdev\test >nm test2.a
  647.  
  648. test2.o:
  649. 00000000 t ___gnu_compiled_c
  650.          U _printf
  651. 0000000e T _sayhello
  652. 00000000 t gcc2_compiled.
  653.  
  654. --- WtrGate+ v0.93.p7 sn 165
  655.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  656.  
  657. +----------------------------------------------------------------------------+
  658.  
  659. From: ian_harvey@do.not.spam.me                         10-Sep-99 18:58:11
  660.   To: All                                               12-Sep-99 04:17:18
  661. Subj: Re: Combo boxes and bitmaps
  662.  
  663. From: Ian Harvey <ian_harvey@do.not.spam.me>
  664.  
  665. The file selection control is a container.  The combo-box like drive
  666. selection control appears to be a custom control.
  667.  
  668. Paul Ratcliffe wrote:
  669. > On 9 Sep 1999 15:07:40 GMT, Glen D <glen@rockyhorror.Zkaroo.co.uk> wrote:
  670. > >I'm trying to do exactly what PMView has done and have a file dialog
  671. > >box with little icons next to each drive item in the combo-box.  It's
  672. > PMView uses an ordinary Container control to do this. There is no magic to
  673. it
  674. > as far as I'm aware.
  675.  
  676. -- 
  677. IanH
  678. Comments and questions welcome at ian_harvey at bigpond dot com
  679. However, do _not_ send me unsolicited commercial email.
  680.  
  681. --- WtrGate+ v0.93.p7 sn 165
  682.  * Origin: Usenet: Completely lacking (1:109/42)
  683.  
  684. +----------------------------------------------------------------------------+
  685.  
  686. From: ian_harvey@do.not.spam.me                         11-Sep-99 07:25:19
  687.   To: All                                               12-Sep-99 04:17:18
  688. Subj: Re: IPF - panels defined by name
  689.  
  690. From: Ian Harvey <ian_harvey@do.not.spam.me>
  691.  
  692. IPF limitation - for *.hlp files or *.inf files that may be
  693. concantenated you can only define a panel by number (must use the res
  694. attribute for heading tags etc.).
  695.  
  696. Or are you asking why IPF has that limitation ?  (Maybe because it is
  697. easier to identify a help panel within application code by a numeric ID
  698. ??)
  699.  
  700. peroy@my-deja.com wrote:
  701. > Sorry for my so poor english...
  702. > I'm trying to convert into IPF a Help file coming
  703. > from Wysihelp. Wysihelp generates a RTF file,
  704. > RTF2IPF tranlates it into an IPF file, and IPFC
  705. > gives me a HLP file for OS/2 (correctly
  706. > generated).
  707. > My problem is the following : why are all the
  708. > panels only "defined by number" and none "defined
  709. > by name"?
  710. > Sent via Deja.com http://www.deja.com/
  711. > Share what you know. Learn what you don't.
  712.  
  713. -- 
  714. IanH
  715. Comments and questions welcome at ian_harvey at bigpond dot com
  716. However, do _not_ send me unsolicited commercial email.
  717.  
  718. --- WtrGate+ v0.93.p7 sn 165
  719.  * Origin: Usenet: Completely lacking (1:109/42)
  720.  
  721. +----------------------------------------------------------------------------+
  722.  
  723. From: jmartin@csr.uvic.ca                               12-Sep-99 03:10:01
  724.   To: All                                               12-Sep-99 05:23:09
  725. Subj: Re: One for the EMX gurus...
  726.  
  727. From: Johannes Martin <jmartin@csr.uvic.ca>
  728.  
  729. Marty <mamodeo@stny.rr.com> wrote:
  730. : Below is the log of what should be a <really> simple process.  One .c file
  731. : calling one library function in one library.  I compile the .c files with
  732. : the -g switch because I'm trying to get a bigger application with debug
  733. : information so I can use GDB with it.  I create the archive file for the
  734. : "library" using ar.  When I try to link with ld (using the gcc frontend) it
  735. : tells me that any and all symbols defined in the library are undefined. 
  736. : When I use nm to list the contents of the library, the symbol shows up
  737. : exactly as specified in the error message.  What am I doing wrong?!?!
  738. Run:
  739.     ar s test.a 
  740. after creating your libary with 'ar cr ...'.
  741. 'ar s' is the equivalent to 'ranlib' - it generates the index for your
  742. archive.
  743.  
  744. Johannes
  745.  
  746. --- WtrGate+ v0.93.p7 sn 165
  747.  * Origin: Usenet: University of Victoria (1:109/42)
  748.  
  749. +----------------------------------------------------------------------------+
  750.  
  751. From: mamodeo@stny.rr.com                               12-Sep-99 00:38:03
  752.   To: All                                               12-Sep-99 05:23:09
  753. Subj: Re: One for the EMX gurus...
  754.  
  755. From: Marty <mamodeo@stny.rr.com>
  756.  
  757. Johannes Martin wrote:
  758. > Marty <mamodeo@stny.rr.com> wrote:
  759. > : Below is the log of what should be a <really> simple process.  One .c file
  760. > : calling one library function in one library.  I compile the .c files with
  761. > : the -g switch because I'm trying to get a bigger application with debug
  762. > : information so I can use GDB with it.  I create the archive file for the
  763. > : "library" using ar.  When I try to link with ld (using the gcc frontend)
  764. it
  765. > : tells me that any and all symbols defined in the library are undefined.
  766. > : When I use nm to list the contents of the library, the symbol shows up
  767. > : exactly as specified in the error message.  What am I doing wrong?!?!
  768. > Run:
  769. >         ar s test.a
  770. > after creating your libary with 'ar cr ...'.
  771. > 'ar s' is the equivalent to 'ranlib' - it generates the index for your
  772. > archive.
  773.  
  774. Didn't work.  :-(
  775.  
  776. [I:\gccdev\test]ar s test2.a
  777.  
  778. [I:\gccdev\test]gcc -g -L. -ltest2 test.o
  779. test.c:8 (test.o): Undefined symbol _sayhello referenced from text segment
  780.  
  781. - Marty
  782.  
  783. --- WtrGate+ v0.93.p7 sn 165
  784.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  785.  
  786. +----------------------------------------------------------------------------+
  787.  
  788. From: ilya@math.ohio-state.edu                          12-Sep-99 07:53:27
  789.   To: All                                               12-Sep-99 10:18:25
  790. Subj: Re: One for the EMX gurus...
  791.  
  792. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  793.  
  794. [A complimentary Cc of this posting was sent to Marty 
  795. <mamodeo@stny.rr.com>],
  796. who wrote in article <37DAF7BF.3CC1F360@stny.rr.com>:
  797. > epm: I:\gccdev\test >gcc -g -Zexe -L. -ltest2 test.o
  798. > test.c:8 (test.o): Undefined symbol _sayhello referenced from text segment
  799.  
  800. But of course!  When test.o is linked, there is an unresolved symbol
  801. sayhello().  There is no library to get it from.
  802.  
  803. Try 
  804.  
  805.  gcc -g -Zexe -o test test.o -L. -ltest2 
  806.  
  807. Ilya
  808.  
  809. --- WtrGate+ v0.93.p7 sn 165
  810.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  811. (1:109/42)
  812.  
  813. +----------------------------------------------------------------------------+
  814.  
  815. From: mamodeo@stny.rr.com                               12-Sep-99 04:05:02
  816.   To: All                                               12-Sep-99 10:18:25
  817. Subj: Re: One for the EMX gurus...
  818.  
  819. From: Marty <mamodeo@stny.rr.com>
  820.  
  821. Ilya Zakharevich wrote:
  822. > [A complimentary Cc of this posting was sent to Marty
  823. > <mamodeo@stny.rr.com>],
  824. > who wrote in article <37DAF7BF.3CC1F360@stny.rr.com>:
  825. > > epm: I:\gccdev\test >gcc -g -Zexe -L. -ltest2 test.o
  826. > > test.c:8 (test.o): Undefined symbol _sayhello referenced from text segment
  827. > But of course!  When test.o is linked, there is an unresolved symbol
  828. > sayhello().  There is no library to get it from.
  829. > Try
  830. >  gcc -g -Zexe -o test test.o -L. -ltest2
  831.  
  832. Bah!  Order of parameters counts?!  <smacks head>
  833.  
  834. Thanks Ilya.  I owe ya one!
  835.  
  836. - Marty
  837.  
  838. --- WtrGate+ v0.93.p7 sn 165
  839.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  840.  
  841. +----------------------------------------------------------------------------+
  842.  
  843. From: mamodeo@stny.rr.com                               12-Sep-99 04:24:11
  844.   To: All                                               12-Sep-99 10:18:25
  845. Subj: Re: One for the EMX gurus...
  846.  
  847. From: Marty <mamodeo@stny.rr.com>
  848.  
  849. Marty wrote:
  850. > Ilya Zakharevich wrote:
  851. > >
  852. > > [A complimentary Cc of this posting was sent to Marty
  853. > > <mamodeo@stny.rr.com>],
  854. > > who wrote in article <37DAF7BF.3CC1F360@stny.rr.com>:
  855. > > > epm: I:\gccdev\test >gcc -g -Zexe -L. -ltest2 test.o
  856. > > > test.c:8 (test.o): Undefined symbol _sayhello referenced from text
  857. segment
  858. > >
  859. > > But of course!  When test.o is linked, there is an unresolved symbol
  860. > > sayhello().  There is no library to get it from.
  861. > >
  862. > > Try
  863. > >
  864. > >  gcc -g -Zexe -o test test.o -L. -ltest2
  865. > Bah!  Order of parameters counts?!  <smacks head>
  866. > Thanks Ilya.  I owe ya one!
  867.  
  868. Nuts... now I'm in real trouble...
  869.  
  870. LD looks like it's happy and doesn't spit out any error messages but it
  871. crashes.  :-(
  872.  
  873. 09-12-1999  04:18:04  SYS3171  PID 00ac  TID 0001  Slot 0080
  874. I:\EMX\BIN\LD.EXE
  875. c0000005
  876. 00015f49
  877. P1=00000002  P2=0002e1b4  P3=XXXXXXXX  P4=XXXXXXXX  
  878. EAX=00000000  EBX=003025a0  ECX=00000004  EDX=00000000
  879. ESI=003025a0  EDI=000af5dc  
  880. DS=0053  DSACC=d0f3  DSLIM=1fffffff  
  881. ES=0053  ESACC=d0f3  ESLIM=1fffffff  
  882. FS=150b  FSACC=00f3  FSLIM=00000030
  883. GS=0000  GSACC=****  GSLIM=********
  884. CS:EIP=005b:00015f49  CSACC=d0df  CSLIM=1fffffff
  885. SS:ESP=0053:0002e1b8  SSACC=d0f3  SSLIM=1fffffff
  886. EBP=0008af44  FLG=00012297
  887.  
  888. LD.EXE 0001:00005f49
  889.  
  890. This happens on the LD from EMX .9d FP2 I believe.
  891.  5-06-99   9:43p     36278           0  ld.exe
  892.  
  893. It probably happens on others as well.  I think I'm overrunning something. 
  894. The total size of everything it's trying to link together comes to about
  895. 41MB with all the debug info enabled.  Is there any option I can pass to
  896. the linker to make it happier?
  897.  
  898. - Marty
  899.  
  900. --- WtrGate+ v0.93.p7 sn 165
  901.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  902.  
  903. +----------------------------------------------------------------------------+
  904.  
  905. From: mamodeo@stny.rr.com                               12-Sep-99 04:48:10
  906.   To: All                                               12-Sep-99 10:18:25
  907. Subj: Re: One for the EMX gurus...
  908.  
  909. From: Marty <mamodeo@stny.rr.com>
  910.  
  911. Marty wrote:
  912. > Marty wrote:
  913. > >
  914. > > Ilya Zakharevich wrote:
  915. > > >
  916. > > > [A complimentary Cc of this posting was sent to Marty
  917. > > > <mamodeo@stny.rr.com>],
  918. > > > who wrote in article <37DAF7BF.3CC1F360@stny.rr.com>:
  919. > > > > epm: I:\gccdev\test >gcc -g -Zexe -L. -ltest2 test.o
  920. > > > > test.c:8 (test.o): Undefined symbol _sayhello referenced from text
  921. segment
  922. > > >
  923. > > > But of course!  When test.o is linked, there is an unresolved symbol
  924. > > > sayhello().  There is no library to get it from.
  925. > > >
  926. > > > Try
  927. > > >
  928. > > >  gcc -g -Zexe -o test test.o -L. -ltest2
  929. > >
  930. > > Bah!  Order of parameters counts?!  <smacks head>
  931. > >
  932. > > Thanks Ilya.  I owe ya one!
  933. > Nuts... now I'm in real trouble...
  934. > LD looks like it's happy and doesn't spit out any error messages but it
  935. > crashes.  :-(
  936.  
  937. Disregard that.  It was a stack space exception.  I bumped up the stack
  938. space to 4MB and it was more than happy to produce my 31MB executable. 
  939. How's that for bloat?  ;-)
  940.  
  941. Thanks for the help from those that replied.
  942.  
  943. - Marty
  944.  
  945. --- WtrGate+ v0.93.p7 sn 165
  946.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  947.  
  948. +----------------------------------------------------------------------------+
  949.  
  950. From: haraldei@bugoff.c2i.net                           12-Sep-99 09:39:22
  951.   To: All                                               12-Sep-99 10:18:25
  952. Subj: Re: KC_KEYUP problem
  953.  
  954. From: haraldei@bugoff.c2i.net (Harald Eilertsen)
  955.  
  956. On Wed, 8 Sep 1999 07:08:53, Sean Myers <sean.myers@qr.com.au> wrote:
  957.  
  958. > I am writing a small PM app, and I have noticed that I am not receiving
  959. > any KC_KEYUP messages.  Is there something I have to do to make OS/2 send 
  960. > me these messages?
  961.  
  962. No, but here's something I figured out when experimenting with this:
  963.  
  964. // Only process messages with valid scancode fields.
  965. //
  966. // Really we only care about the character code, but it seems that PM 
  967. will never send
  968. // a message with both the KC_CHAR & KC_KEYUP flags set. It will 
  969. however send a message
  970. // with KC_SCANCODE & KC_KEYUP set at once. This indicates the uschar 
  971. field in the message
  972. // is not valid. However looking more closely on this message it seems
  973. that the least
  974. // significant byte of the uschar field contains the valid character 
  975. code, while the
  976. // most significant byte holds the scancode. We mask out the scancode,
  977. and is left with the
  978. // valid charcode, that enables us to turn off the right note.
  979.  
  980. Don't know if the assumption that the char code allways will be the 
  981. lower byte in the uschar field will be valid in all NLS versions. But 
  982. for single byte character sets I think it should be fairly safe.
  983.  
  984. Take Care!
  985. -- 
  986. Harald Eilertsen (haraldei@bugoff.c2i.net)
  987. Posted by ProNews/2 on OS/2
  988. (Spammers bug off!)
  989.  
  990. --- WtrGate+ v0.93.p7 sn 165
  991.  * Origin: Usenet: Tele2 Norway AS Public Access (1:109/42)
  992.  
  993. +----------------------------------------------------------------------------+
  994.  
  995. From: kenames@earthlink.net                             12-Sep-99 18:02:02
  996.   To: All                                               12-Sep-99 20:02:00
  997. Subj: Re: One for the EMX gurus...
  998.  
  999. From: kenames@earthlink.net
  1000.  
  1001. damn Marty, thats a big one! are you trying to emulate windows?
  1002.  
  1003.  Ken
  1004.  
  1005. On Sun, 12 Sep 1999 08:48:20, Marty <mamodeo@stny.rr.com> wrote:
  1006.  
  1007. > Marty wrote:
  1008. > > 
  1009. > > Marty wrote:
  1010. > > >
  1011. > > > Ilya Zakharevich wrote:
  1012. > > > >
  1013. > > > > [A complimentary Cc of this posting was sent to Marty
  1014. > > > > <mamodeo@stny.rr.com>],
  1015. > > > > who wrote in article <37DAF7BF.3CC1F360@stny.rr.com>:
  1016. > > > > > epm: I:\gccdev\test >gcc -g -Zexe -L. -ltest2 test.o
  1017. > > > > > test.c:8 (test.o): Undefined symbol _sayhello referenced from text
  1018. segment
  1019. > > > >
  1020. > > > > But of course!  When test.o is linked, there is an unresolved symbol
  1021. > > > > sayhello().  There is no library to get it from.
  1022. > > > >
  1023. > > > > Try
  1024. > > > >
  1025. > > > >  gcc -g -Zexe -o test test.o -L. -ltest2
  1026. > > >
  1027. > > > Bah!  Order of parameters counts?!  <smacks head>
  1028. > > >
  1029. > > > Thanks Ilya.  I owe ya one!
  1030. > > 
  1031. > > Nuts... now I'm in real trouble...
  1032. > > 
  1033. > > LD looks like it's happy and doesn't spit out any error messages but it
  1034. > > crashes.  :-(
  1035. > Disregard that.  It was a stack space exception.  I bumped up the stack
  1036. > space to 4MB and it was more than happy to produce my 31MB executable. 
  1037. > How's that for bloat?  ;-)
  1038. > Thanks for the help from those that replied.
  1039. > - Marty
  1040.  
  1041.  
  1042.  
  1043. --- WtrGate+ v0.93.p7 sn 165
  1044.  * Origin: Usenet: EarthLink Network, Inc. (1:109/42)
  1045.  
  1046. +----------------------------------------------------------------------------+
  1047.  
  1048. From: csaba.raduly@sophos.com                           12-Sep-99 19:55:14
  1049.   To: All                                               12-Sep-99 20:02:00
  1050. Subj: Re: FP10 and Watcom 10.6 Debugger
  1051.  
  1052. From: Csaba Raduly <csaba.raduly@sophos.com>
  1053.  
  1054. Marty wrote:
  1055. > Michael Moegn wrote:
  1056. > >
  1057. > > Hello,
  1058. > > after installing FP10, my Watcom debugger (10.6) is not longer working.
  1059. > > When I start a program in the debugger, it only can be executed to the
  1060. > > WinCreateMsgQueue statement. Then the program will be stopped and the
  1061. > > debugger shows a "Task Completed" message in the debugger status line.
  1062. > Same here.  The Watcom debugger has proven to be quite useless to me for PM
  1063.  
  1064. Even though WDW has loads of bugs, this is not its fault.
  1065. * ALL * debuggers ( IPMD & ICSDEBUG from IBM; (pm)gdb from emx ) 
  1066. would behave the same. You need to go back to around FP6-level
  1067. pmmerge.dll
  1068. to fix this. I had this problem and the fix worked.
  1069.  
  1070. Are you listening, IBM ? Perhaps it's not too late to fix this in FP12 ?
  1071.  
  1072. Csaba
  1073. -- 
  1074. -----BEGIN GEEK CODE BLOCK----- 
  1075. Version 3.1
  1076. GCS/>GMU d- s:- a30 C++$ UL+ P+>+++ L++ E- W+ N++ o? K? w++>$ O++$ M-
  1077. V- PS PE Y PGP- t+ 5 X++ R* tv++ b++ DI+++ D++ G- e+++ h-- r-- !y+
  1078. -----END GEEK CODE BLOCK----- 
  1079.  
  1080. Csaba Raduly,    Software Developer (OS/2),    Sophos Anti-Virus
  1081. mailto:csaba.raduly@sophos.com            http://www.sophos.com/
  1082. US Support +1 888 SOPHOS 9            UK Support +44 1235 559933
  1083. Life is complex, with real and imaginary parts.
  1084.  
  1085. --- WtrGate+ v0.93.p7 sn 165
  1086.  * Origin: Usenet: SOPHOS Plc (1:109/42)
  1087.  
  1088. +----------------------------------------------------------------------------+
  1089.  
  1090. From: mamodeo@stny.rr.com                               12-Sep-99 15:32:06
  1091.   To: All                                               12-Sep-99 20:02:00
  1092. Subj: Re: One for the EMX gurus...
  1093.  
  1094. From: Marty <mamodeo@stny.rr.com>
  1095.  
  1096. kenames@earthlink.net wrote:
  1097. > damn Marty, thats a big one! are you trying to emulate windows?
  1098.  
  1099. Heh.. not yet.  ;-)
  1100.  
  1101. MAME has quite a few symbols defined.  Stripping out the symbolic info, the
  1102. executable is a paltry 8MB.  ;-)
  1103.  
  1104. Now all I have to do is figure out how to use this PMGDB.  It keeps
  1105. complaining about being started in a VIO window and that it could lock my
  1106. system if I use it to debug a PM app.  At least it lets me examine core
  1107. files and do post-mortems on it, which is an enormous help by itself.
  1108.  
  1109. - Marty
  1110.  
  1111. --- WtrGate+ v0.93.p7 sn 165
  1112.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  1113.  
  1114. +----------------------------------------------------------------------------+
  1115.  
  1116. From: ilya@math.ohio-state.edu                          12-Sep-99 22:24:28
  1117.   To: All                                               13-Sep-99 03:45:01
  1118. Subj: Re: One for the EMX gurus...
  1119.  
  1120. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  1121.  
  1122. [A complimentary Cc of this posting was sent to Marty 
  1123. <mamodeo@stny.rr.com>],
  1124. who wrote in article <37DBFFBC.103FF5D7@stny.rr.com>:
  1125. > kenames@earthlink.net wrote:
  1126. > > 
  1127. > > damn Marty, thats a big one! are you trying to emulate windows?
  1128. > Heh.. not yet.  ;-)
  1129. > MAME has quite a few symbols defined.  Stripping out the symbolic info, the
  1130. > executable is a paltry 8MB.  ;-)
  1131. > Now all I have to do is figure out how to use this PMGDB.  It keeps
  1132. > complaining about being started in a VIO window and that it could lock my
  1133. > system if I use it to debug a PM app.  At least it lets me examine core
  1134. > files and do post-mortems on it, which is an enormous help by itself.
  1135.  
  1136. What I do (with -Zomf executables) is to start sd386 in a full-screen
  1137. session and debug from there.  I think gdb allows the same.
  1138.  
  1139. Ilya
  1140.  
  1141. --- WtrGate+ v0.93.p7 sn 165
  1142.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  1143. (1:109/42)
  1144.  
  1145. +----------------------------------------------------------------------------+
  1146.  
  1147. From: thannymeister@spambegone.yahoo.com                12-Sep-99 20:10:21
  1148.   To: All                                               13-Sep-99 03:45:01
  1149. Subj: Re: One for the EMX gurus...
  1150.  
  1151. From: "Mike Ruskai" <thannymeister@spambegone.yahoo.com>
  1152.  
  1153. On Sun, 12 Sep 1999 15:32:12 -0400, Marty wrote:
  1154.  
  1155. >kenames@earthlink.net wrote:
  1156. >> 
  1157. >> damn Marty, thats a big one! are you trying to emulate windows?
  1158. >
  1159. >Heh.. not yet.  ;-)
  1160. >
  1161. >MAME has quite a few symbols defined.  Stripping out the symbolic info, the
  1162. >executable is a paltry 8MB.  ;-)
  1163. >
  1164. >Now all I have to do is figure out how to use this PMGDB.  It keeps
  1165. >complaining about being started in a VIO window and that it could lock my
  1166. >system if I use it to debug a PM app.  At least it lets me examine core
  1167. >files and do post-mortems on it, which is an enormous help by itself.
  1168.  
  1169. When you gave me the source a while back, for verion .31.4, VACPP 3.08
  1170. produced a 1.4MB executable when debug info was excluded.  Has it bulked up
  1171. that much since then?  Are you perhaps not compressing the executable?
  1172.  
  1173.  
  1174. --
  1175.  - Mike
  1176.  
  1177. Remove 'spambegone' to send e-mail.
  1178.  
  1179.  
  1180. --- WtrGate+ v0.93.p7 sn 165
  1181.  * Origin: Usenet: TLF (1:109/42)
  1182.  
  1183. +----------------------------------------------------------------------------+
  1184.  
  1185. From: mamodeo@stny.rr.com                               12-Sep-99 22:51:26
  1186.   To: All                                               13-Sep-99 05:47:24
  1187. Subj: Re: One for the EMX gurus...
  1188.  
  1189. From: Marty <mamodeo@stny.rr.com>
  1190.  
  1191. Mike Ruskai wrote:
  1192. > On Sun, 12 Sep 1999 15:32:12 -0400, Marty wrote:
  1193. > >kenames@earthlink.net wrote:
  1194. > >>
  1195. > >> damn Marty, thats a big one! are you trying to emulate windows?
  1196. > >
  1197. > >Heh.. not yet.  ;-)
  1198. > >
  1199. > >MAME has quite a few symbols defined.  Stripping out the symbolic info, the
  1200. > >executable is a paltry 8MB.  ;-)
  1201. > >
  1202. > >Now all I have to do is figure out how to use this PMGDB.  It keeps
  1203. > >complaining about being started in a VIO window and that it could lock my
  1204. > >system if I use it to debug a PM app.  At least it lets me examine core
  1205. > >files and do post-mortems on it, which is an enormous help by itself.
  1206. > When you gave me the source a while back, for verion .31.4, VACPP 3.08
  1207. > produced a 1.4MB executable when debug info was excluded.  Has it bulked up
  1208. > that much since then?  Are you perhaps not compressing the executable?
  1209.  
  1210. No, it's been beefed up quite a bit since then.  I think .31 only supported
  1211. around 500 games compared to the current 1600 or so.  Also, some of the
  1212. PGCC optimizations make the exe quite a bit larger, but a bit faster too.
  1213.  
  1214. - Marty
  1215.  
  1216. --- WtrGate+ v0.93.p7 sn 165
  1217.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  1218.  
  1219. +----------------------------------------------------------------------------+
  1220.  
  1221. From: hka@norman.no                                     13-Sep-99 08:31:13
  1222.   To: All                                               13-Sep-99 05:47:24
  1223. Subj: Q: Problem reading from partitions > 4GB
  1224.  
  1225. From: "Hans K. Aspenberg" <hka@norman.no>
  1226.  
  1227. Hi all,
  1228.  
  1229. The enclosed code tries to open all drives logically, from "A:" to "Z:" and
  1230. read the first sector off each drive. It works like a charm for all types of
  1231. disks, except for hard disk partitions > 4GB where DosRead() returns rc=5
  1232. ERROR_ACCESS_DENIED. (By the way, it works for > 4GB partitions when the
  1233. physical disk contains only one partition). Adding locking/unlocking code
  1234. around the read doesn't make any significance. I have studied all available
  1235. docs without becoming any wiser..
  1236.  
  1237. ;-)) Hans
  1238.  
  1239. --- Code snippet ----
  1240.  
  1241. #include <stdio.h>             // Include std "C" header files.
  1242. #include <stdlib.h>
  1243.  
  1244. #define INCL_DOSDEVIOCTL
  1245. #define INCL_DOSDEVICES
  1246. #define INCL_DOSFILEMGR
  1247. #define INCL_DOSMISC
  1248. #define INCL_ERRORS
  1249. #define INCL_DOSSEMAPHORES
  1250. #define INCL_DOSMODULEMGR
  1251. #define INCL_DOSPROCESS
  1252. #ifndef __IBMC__
  1253.    #define __IBMC__ 0    // Define these to use Warp Toolkit headers from
  1254. Watcom.
  1255.    #define __IBMCPP__ 0
  1256. #endif
  1257. #include <os2.h>
  1258.  
  1259. VOID main (VOID)
  1260. {
  1261.    APIRET arRc = NO_ERROR;
  1262.    HFILE hDisk;
  1263.    CHAR cDrive;
  1264.    CHAR ucBuf [512];
  1265.  
  1266.    for (cDrive = 'A'; cDrive <= 'Z'; cDrive++) {
  1267.       printf ("\nDrive %c:", cDrive);
  1268.       arRc = _OpenLogDisk (cDrive - 'A', &hDisk);
  1269.       if (arRc == NRC_OK) {
  1270.          arRc = _ReadLogDisk (hDisk, 0, ucBuf);
  1271.          if (arRc == NRC_OK) {
  1272.             printf (" read OK.");
  1273.          }
  1274.          else {
  1275.             printf (" Read returned 0x%08X", arRc);
  1276.          }
  1277.          DosClose (hFile);
  1278.       }
  1279.       else {
  1280.          printf (" Open() returned 0x%08X", arRc);
  1281.       }
  1282.    }
  1283. }
  1284.  
  1285. APIRET _OpenLogDisk (NUSHORT usLogDisk,
  1286.                      PHFILE  phLogDisk)
  1287. {
  1288.    ULONG ulAct;
  1289.    APIRET arRc;
  1290.    CHAR  szDrive[3] = "A:";
  1291.  
  1292.    szDrive[0] = (CHAR) usLogDisk + 'A'; // Complete the drive name.
  1293.    arRc = DosOpen (szDrive, (PHFILE)phLogDisk,
  1294.                    &ulAct, 0L, 0L,
  1295.                    OPEN_ACTION_OPEN_IF_EXISTS,
  1296.                    OPEN_FLAGS_DASD| OPEN_FLAGS_FAIL_ON_ERROR|
  1297. OPEN_SHARE_DENYNONE,
  1298.                    (PEAOP2)NULL);
  1299.    return arRc;
  1300. }
  1301.  
  1302. #define SZE_SECTOR 0x200
  1303.  
  1304. APIRET _ReadLogDisk (HFILE hLogDisk,
  1305.                      ULONG ulSector,
  1306.                      PBYTE pbyBuffer)
  1307. {
  1308.    APIRET arRc;
  1309.    ULONG ulDummy;
  1310.  
  1311.    arRc = DosSetFilePtr ((HFILE)hLogDisk, (LONG)(ulSector * SZE_SECTOR),
  1312.                          FILE_BEGIN, &ulDummy);
  1313.    if (arRc == NO_ERROR) {
  1314.       arRc = DosRead ((HFILE)hLogDisk, pbyBuffer, SZE_SECTOR, &ulDummy);
  1315.    }
  1316.    return arRc;
  1317. }
  1318.  
  1319.  
  1320. ---
  1321.  
  1322. Hans K. Aspenberg
  1323. hka@norman.no
  1324.  
  1325.  
  1326. --- WtrGate+ v0.93.p7 sn 165
  1327.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1328.  
  1329. +----------------------------------------------------------------------------+
  1330.  
  1331. From: m.karsch@ath.nl                                   13-Sep-99 10:38:16
  1332.   To: All                                               13-Sep-99 10:36:28
  1333. Subj: Re: FP10 and Watcom 10.6 Debugger
  1334.  
  1335. From: Michiel Karsch <m.karsch@ath.nl>
  1336.  
  1337. Same problem with Borlandc++ for OS/2 and FP11. Where can i get a working
  1338. pmmerge.dll, i program in the debugger.
  1339.  
  1340. Csaba Raduly wrote:
  1341.  
  1342. > Marty wrote:
  1343. > >
  1344. > > Michael Moegn wrote:
  1345. > > >
  1346. > > > Hello,
  1347. > > > after installing FP10, my Watcom debugger (10.6) is not longer working.
  1348. > > > When I start a program in the debugger, it only can be executed to the
  1349. > > > WinCreateMsgQueue statement. Then the program will be stopped and the
  1350. > > > debugger shows a "Task Completed" message in the debugger status line.
  1351. > >
  1352. > > Same here.  The Watcom debugger has proven to be quite useless to me for
  1353. PM
  1354. >
  1355. > Even though WDW has loads of bugs, this is not its fault.
  1356. > * ALL * debuggers ( IPMD & ICSDEBUG from IBM; (pm)gdb from emx )
  1357. > would behave the same. You need to go back to around FP6-level
  1358. > pmmerge.dll
  1359. > to fix this. I had this problem and the fix worked.
  1360. >
  1361. > Are you listening, IBM ? Perhaps it's not too late to fix this in FP12 ?
  1362. >
  1363. > Csaba
  1364. > --
  1365. > -----BEGIN GEEK CODE BLOCK-----
  1366. > Version 3.1
  1367. > GCS/>GMU d- s:- a30 C++$ UL+ P+>+++ L++ E- W+ N++ o? K? w++>$ O++$ M-
  1368. > V- PS PE Y PGP- t+ 5 X++ R* tv++ b++ DI+++ D++ G- e+++ h-- r-- !y+
  1369. > -----END GEEK CODE BLOCK-----
  1370. >
  1371. > Csaba Raduly,    Software Developer (OS/2),    Sophos Anti-Virus
  1372. > mailto:csaba.raduly@sophos.com            http://www.sophos.com/
  1373. > US Support +1 888 SOPHOS 9            UK Support +44 1235 559933
  1374. > Life is complex, with real and imaginary parts.
  1375.  
  1376. --- WtrGate+ v0.93.p7 sn 165
  1377.  * Origin: Usenet: WorldOnline News server (1:109/42)
  1378.  
  1379. +----------------------------------------------------------------------------+
  1380.  
  1381. From: pfitzsim@home.com                                 13-Sep-99 09:27:03
  1382.   To: All                                               13-Sep-99 10:36:28
  1383. Subj: Re: Q: Problem reading from partitions > 4GB
  1384.  
  1385. From: Peter Fitzsimmons <pfitzsim@home.com>
  1386.  
  1387. Do a dejanews.com "past" search for 0xDEADFACE
  1388.  
  1389. It'll put the volume in "sector" mode, instead of "byte" mode.
  1390.  
  1391. -- 
  1392. Peter Fitzsimmons,      Toronto Canada.
  1393. email:pfitz@ican.net    Voice: 905-858-3222
  1394.  
  1395. --- WtrGate+ v0.93.p7 sn 165
  1396.  * Origin: Usenet: @Home Network Canada (1:109/42)
  1397.  
  1398. +----------------------------------------------------------------------------+
  1399.  
  1400. From: csaba.raduly@sophos.com                           13-Sep-99 10:19:22
  1401.   To: All                                               13-Sep-99 10:36:28
  1402. Subj: Re: FP10 and Watcom 10.6 Debugger
  1403.  
  1404. From: Csaba Raduly <csaba.raduly@sophos.com>
  1405.  
  1406. Michiel Karsch wrote:
  1407. > Same problem with Borlandc++ for OS/2 and FP11. Where can i get a working
  1408. > pmmerge.dll, i program in the debugger.
  1409.  
  1410. FP6 is included in the June 1998 DevCon. I discovered this after
  1411. a kind member of the WarpUK mailing list has sent it to me :-)
  1412. I can mail it to you if you want.
  1413.  
  1414. Csaba
  1415. -- 
  1416. -----BEGIN GEEK CODE BLOCK----- 
  1417. Version 3.1
  1418. GCS/>GMU d- s:- a30 C++$ UL+ P+>+++ L++ E- W+ N++ o? K? w++>$ O++$ M-
  1419. V- PS PE Y PGP- t+ 5 X++ R* tv++ b++ DI+++ D++ G- e+++ h-- r-- !y+
  1420. -----END GEEK CODE BLOCK----- 
  1421.  
  1422. Csaba Raduly,    Software Developer (OS/2),    Sophos Anti-Virus
  1423. mailto:csaba.raduly@sophos.com            http://www.sophos.com/
  1424. US Support +1 888 SOPHOS 9            UK Support +44 1235 559933
  1425. Life is complex, with real and imaginary parts.
  1426.  
  1427. --- WtrGate+ v0.93.p7 sn 165
  1428.  * Origin: Usenet: SOPHOS Plc (1:109/42)
  1429.  
  1430. +----------------------------------------------------------------------------+
  1431.  
  1432. From: isaacl@bulls.ece.ubc.ca                           13-Sep-99 19:19:09
  1433.   To: All                                               13-Sep-99 16:50:03
  1434. Subj: Re: Object Desktop 2 - Hacking the LNF
  1435.  
  1436. From: isaacl@bulls.ece.ubc.ca (e-frog)
  1437.  
  1438. Robert Lalla (rlalla@stepnet.REMOVETHIS.de) wrote:
  1439. : On Fri, 10 Sep 1999 22:30:36 -0400 (EDT), andrew g wrote:
  1440.  
  1441. : >I may be the only OD2 user to have made an LNF, judging
  1442. : >by the apathy I see around me and on Stardock's part. I
  1443.  
  1444. : Once when OD2-fp1 came out I installed it.
  1445. : But then is was faced to frequent crashes of WPS.
  1446. : So I reinstalled ODpro1.5.
  1447.  
  1448. What about the fact that the sample LNF was made for VAC++ only? It's a
  1449. rather expensive product (at least by my budgets).
  1450.  
  1451. Some of us can code a little bit and especially with a nice example to
  1452. follow, but rely on the IDE to do the makefiles.
  1453. I bet if somebody could get the LNF kit working with gcc (and nice
  1454. instructions), you'd get a few more submissions.
  1455.  
  1456.  
  1457.  
  1458. Isaac
  1459.  
  1460. --- WtrGate+ v0.93.p7 sn 165
  1461.  * Origin: Usenet: ITServices, University of British Columbia (1:109/42)
  1462.  
  1463. +----------------------------------------------------------------------------+
  1464.  
  1465. From: whonea@codenet.net                                13-Sep-99 19:29:22
  1466.   To: All                                               14-Sep-99 18:43:05
  1467. Subj: Re: FP10 and Watcom 10.6 Debugger
  1468.  
  1469. From: whonea@codenet.net (Will Honea)
  1470.  
  1471. On Sun, 12 Sep 1999 18:55:28, Csaba Raduly <csaba.raduly@sophos.com> 
  1472. wrote:
  1473.  
  1474. > Even though WDW has loads of bugs, this is not its fault.
  1475. > * ALL * debuggers ( IPMD & ICSDEBUG from IBM; (pm)gdb from emx ) 
  1476. > would behave the same. You need to go back to around FP6-level
  1477. > pmmerge.dll
  1478. > to fix this. I had this problem and the fix worked.
  1479. >  
  1480. > Are you listening, IBM ? Perhaps it's not too late to fix this in FP12 ?
  1481. >
  1482.  
  1483. Whoops, something is fishy here!  I use ICSDEBUG on a daily basis with
  1484. Warp 4, fp11 - and there are 6 of us in the group using as many 
  1485. machines on the current app.  I used WDW for the last 2 weeks (version
  1486. 10a and 10.6 both) to debug both an old DOS app I maintain as well as 
  1487. some OS/2 apps I wrote to test a port of that old code.  All 3 worked 
  1488. without a burp - the only problem I had was getting the right paths 
  1489. set up for the DOS VDM to debug that but that happens every time I 
  1490. fire it up again after a long layoff.  I won't speak for IPMD under fp
  1491. 11, but I had it up under fp10 about a month ago checking an older 
  1492. version of  current app and it also ran fine. ICSDEBUG is at the FP8 
  1493. level.
  1494.  
  1495. I've seen a few posts about NT and AIX using VACPP 3.65 and VACPP 4 
  1496. debuggers on news.software.ibm.com but I don't recall see ANY using 
  1497. icsdebug from 3.0 under OS/2.
  1498.  
  1499. That said, there are some general video problems with certain video 
  1500. cards and drivers ( particularly the GRADD drivers and some Matrox 
  1501. cards) and the whole VACPP IDE - black icons, etc. - but this is the 
  1502. first complaint I've seen about the IBM debuggers not working.  I even
  1503. have Thesues/2 working with FP11, or at least not crashing it.
  1504.  
  1505. Will Honea <whonea@codenet.net>
  1506.  
  1507. --- WtrGate+ v0.93.p7 sn 165
  1508.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1509.  
  1510. +----------------------------------------------------------------------------+
  1511.  
  1512. From: hka@norman.no                                     14-Sep-99 11:38:20
  1513.   To: All                                               14-Sep-99 18:43:05
  1514. Subj: Re: Q: Problem reading from partitions > 4GB
  1515.  
  1516. From: "Hans K. Aspenberg" <hka@norman.no>
  1517.  
  1518. On Mon, 13 Sep 1999 09:27:07 GMT, Peter Fitzsimmons wrote:
  1519.  
  1520. :>Do a dejanews.com "past" search for 0xDEADFACE
  1521. :>
  1522. :>It'll put the volume in "sector" mode, instead of "byte" mode.
  1523.  
  1524. Tnx Peter. When pointed to it, I remembered vaguely something about this :-)
  1525. It is documented in the OS2UNDOC.INF that can be found on Hobbes. If someone
  1526. is interrested, I have enclosed a code snipped below that does the work:
  1527.  
  1528. ;-)) Hans
  1529.  
  1530. ---- Code snippet ----
  1531.  
  1532. /*------ _ S e t B l o c k M o d e ------------------------------------------
  1533.  
  1534.   Function  : Use undocumented HPFS FSD function to set handle in block mode.
  1535.  
  1536.   Parameters: Handle to logical disk.
  1537.   Returns   : API return code, preferrably NO_ERROR.
  1538.   Written by: Hans K. Aspenberg
  1539.   Revision  : 14-Sep-1999 1.00 /HKA/ Created.
  1540.   record
  1541.  
  1542. */
  1543. static APIRET _SetBlockMode (HFILE hDisk)
  1544. {
  1545.    UCHAR   uchDataArea[16] = {0};           /* Input and output data area */
  1546.    ULONG   ulDataLen        = 0;            /* Input and output data size */
  1547.    ULONG   ulParm           = 0xDEADFACE;   /* Input and output for function
  1548. */
  1549.    ULONG   ulParmLen        = 4;            /* Input and output parameter
  1550. size */
  1551.    ULONG   ulFunction       = 0x9014;       /* Device-specific function */
  1552.    APIRET  rc               = NO_ERROR;     /* Return code */
  1553.  
  1554.    rc = DosFSCtl(uchDataArea,         /* Input/output data area */
  1555.                  sizeof(uchDataArea), /* Maximum output data size */
  1556.                  &ulDataLen,          /* Input:  size of input data area */
  1557.                                       /* Output: size of data returned   */
  1558.                  &ulParm,             /* Input/Output parameter list */
  1559.                  4,                   /* Maximum output parameter size */
  1560.                  &ulParmLen,          /* Input:  size of parameter list */
  1561.                                       /* Output: size of parameters returned
  1562. */
  1563.                  ulFunction,          /* Function being requested */
  1564.                  NULL,                /* File System Driver (FSD) name */
  1565.                  hDisk,               /* Handle for file */
  1566.                  FSCTL_HANDLE);       /* Indicate handle is the route */
  1567.    return rc;
  1568. }
  1569.  
  1570. ---- End code snippet ----
  1571. ---
  1572.  
  1573. Hans K. Aspenberg
  1574. hka@norman.no
  1575.  
  1576.  
  1577. --- WtrGate+ v0.93.p7 sn 165
  1578.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1579.  
  1580. +----------------------------------------------------------------------------+
  1581.  
  1582. From: Paulo.Santos@rnl.ist.utl.pt                       14-Sep-99 12:43:00
  1583.   To: All                                               14-Sep-99 18:43:05
  1584. Subj: Using Visibroker for Java in OS/2
  1585.  
  1586. From: "Paulo Santos" <Paulo.Santos@rnl.ist.utl.pt>
  1587.  
  1588. I can't initialize a visibroker ORB client in OS/2 with the Java 1.1.8
  1589. recently installed. My applet works in Windows NT, LINUX, UNIX but it
  1590. doesn't work on OS/2 when I run with appletviewer.
  1591. The problem seems to be in the static initializerof the orb: orb
  1592. org.omg.CORBA.ORB.init(applet,NULL).
  1593. I have the following parameter in the applet:
  1594.  <param  name=org.omg.CORBA.ORBClass value=com.visigenic.vbroker.orb.ORB>
  1595.  
  1596. This is the exception I get:
  1597.  
  1598. # Applet exception: java.lang.ExceptionInInitializerError
  1599. java.lang.ExceptionInInitializerError
  1600.  at java.lang.Throwable.<init>(Throwable.java:63)
  1601.  at java.lang.Error.<init>(Error.java:36)
  1602.  at java.lang.LinkageError.<init>(LinkageError.java:28)
  1603.  at
  1604. java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerError.jav
  1605. a:39)
  1606.  at java.lang.ClassLoader.resolveClass(ClassLoader.java:273)
  1607.  at netscape.applet.AppletClassLoader.loadClass1(AppletClassLoader.java:778)
  1608.  at netscape.applet.AppletClassLoader.loadClass(AppletClassLoader.java:720)
  1609.  at netscape.applet.AppletClassLoader.loadClass(AppletClassLoader.java:697)
  1610.  at org.omg.CORBA.ORB.create_impl(ORB.java:295)
  1611.  at org.omg.CORBA.ORB.init(ORB.java:368)
  1612.  at com.easyphone.tfc80.jttalk.JTTalk.run(JTTalk.java:73)
  1613.  at java.lang.Thread.run(Thread.java:503)
  1614.  
  1615. and this is the exception that caused this ExceptionInInitializerError:
  1616.  
  1617. java.lang.ArithmeticException: / by zero
  1618.         at com.visigenic.vbroker.orb.ORB.extractTagFromStamp(Compiled Code)
  1619.         at
  1620.         at java.lang.ClassLoader.resolveClass(ClassLoader.java:230)
  1621.         at
  1622. sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:217)
  1623.         at
  1624. sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:177)
  1625.         at org.omg.CORBA.ORB.create_impl(ORB.java:295)
  1626.         at org.omg.CORBA.ORB.init(ORB.java:368)
  1627.         at com.easyphone.tfc80.jttalk.JTTalk.run(JTTalk.java:78)
  1628.         at java.lang.Thread.run(Thread.java:498)
  1629.  
  1630. Can you help me?
  1631. Thanks.
  1632.  
  1633. Paulo Santos
  1634.  
  1635.  
  1636.  
  1637.  
  1638. --- WtrGate+ v0.93.p7 sn 165
  1639.  * Origin: Usenet: Universidade Tecnica de Lisboa (1:109/42)
  1640.  
  1641. +----------------------------------------------------------------------------+
  1642.  
  1643. From: KendallB@scitechsoft.com                          14-Sep-99 08:29:22
  1644.   To: All                                               14-Sep-99 18:43:06
  1645. Subj: OS/2 developer position at SciTech!
  1646.  
  1647. From: KendallB@scitechsoft.com (Kendall Bennett)
  1648.  
  1649. Hi All,
  1650.  
  1651. SciTech is currently looking to fill a fulltime OS/2 developer position 
  1652. within the company. The responsibilities of the position would include 
  1653. development of SciTech Display Doctor for OS/2, wxWindows for OS/2 (a 
  1654. core component of the SDD 7.0 user interface) and SciTech MGL for OS/2. 
  1655. The position will require relocation to our offices in Chico, California 
  1656. (about 1.5 hours north of Sacramento).
  1657.  
  1658. If you are interested in this position, please mail/fax your resume to my 
  1659. attention at:
  1660.  
  1661.  Kendall Bennett
  1662.  505 Wall Street
  1663.  Chico, CA 95928
  1664.  Fax: (530) 894 9069
  1665.  
  1666. If you wish to email me resumes, make sure they are either word documents 
  1667. or acrobat files so that I can print them and add them to our files. I 
  1668. won't accept text file resumes.
  1669.  
  1670. If you are not interested in this position, please pass this message onto 
  1671. friends who may be interested in applying.
  1672.  
  1673. Regards,
  1674.  
  1675. -- 
  1676.  
  1677. +----------------------------------------------------------------------+
  1678. |      SciTech Software - Building Truly Plug'n'Play Software!         |
  1679. +----------------------------------------------------------------------+
  1680. | Kendall Bennett          | To reply via email, remove nospam from    |
  1681. | Director of Engineering  | the reply to email address. Do NOT send   |
  1682. | SciTech Software, Inc.   | unsolicited commercial email!             |
  1683. | 505 Wall Street          | ftp  : ftp.scitechsoft.com                |
  1684. | Chico, CA 95928, USA     | www  : http://www.scitechsoft.com         |
  1685. +----------------------------------------------------------------------+
  1686.  
  1687. --- WtrGate+ v0.93.p7 sn 165
  1688.  * Origin: Usenet: SciTech Software, Inc. (1:109/42)
  1689.  
  1690. +----------------------------------------------------------------------------+
  1691.  
  1692. From: mek@compuserve.com                                14-Sep-99 11:21:13
  1693.   To: peroy@my-deja.com                                 14-Sep-99 18:43:06
  1694. Subj: Re: IPF - panels defined by name
  1695.  
  1696. To: peroy@my-deja.com
  1697. From: Mat Kramer <mek@compuserve.com>
  1698.  
  1699. In IPF, you can give a help panel both a resource number and/or a
  1700. name/ID.  If you want to link from an app, you need the resource number,
  1701. but it is possible to use both.  That is, you can use name for linking
  1702. internally, and IDs for linking from code.
  1703.  
  1704. You may also want to try VyperHelp to convert the HPJ/RTF to IPF.  It
  1705. preserves both names and numbers when translating.  See link below.
  1706.  
  1707. peroy@my-deja.com wrote:
  1708. > I'm trying to convert into IPF a Help file coming
  1709. > from Wysihelp. Wysihelp generates a RTF file,
  1710. > RTF2IPF tranlates it into an IPF file, and IPFC
  1711. > gives me a HLP file for OS/2 (correctly
  1712. > generated).
  1713. > My problem is the following : why are all the
  1714. > panels only "defined by number" and none "defined
  1715. > by name"?
  1716.  
  1717. -- 
  1718. Mat Kramer [MekTek] mek@compuserve.com
  1719. VyperHelp: http://ourworld.compuserve.com/homepages/mek/vyper.htm
  1720.  
  1721. --- WtrGate+ v0.93.p7 sn 165
  1722.  * Origin: Usenet: MekTek (1:109/42)
  1723.  
  1724. +----------------------------------------------------------------------------+
  1725.  
  1726. From: hubert@ugrad.cs.ualberta.ca                       14-Sep-99 12:26:19
  1727.   To: All                                               14-Sep-99 20:40:17
  1728. Subj: AbiWord
  1729.  
  1730. From: Hubert Chan <hubert@ugrad.cs.ualberta.ca>
  1731.  
  1732. I came across an interresting project the other day:
  1733.   www.abisource.com
  1734.  
  1735. Their goal is to create desktop applications under an open source license
  1736. (which, for the end-user means it's free).  They've already done some
  1737. progress on AbiWord -- a word processor.
  1738.  
  1739. So far, they have ports for UNIX, Win 95/98/NT, and BeOS.  A Mac port is
  1740. in progress.  But no OS/2...
  1741.  
  1742. I think this would be a worthwile project, and I'm sure that they would be
  1743. happy if a bunch of OS/2 gurus offered their help.  If you are
  1744. interrested, you can go to the page listed above, click on Download (under
  1745. Products, not Developer), and then on Other (under the platforms).
  1746.  
  1747. Hubert.
  1748.  
  1749. --- WtrGate+ v0.93.p7 sn 165
  1750.  * Origin: Usenet: Computing Science, U of Alberta, Edmonton, Canada
  1751. (1:109/42)
  1752.  
  1753. +----------------------------------------------------------------------------+
  1754.  
  1755. From: abuse@orac.clara.co.uk                            14-Sep-99 19:14:02
  1756.   To: All                                               14-Sep-99 20:40:17
  1757. Subj: Re: Q: Problem reading from partitions > 4GB
  1758.  
  1759. From: abuse@orac.clara.co.uk (Paul Ratcliffe)
  1760.  
  1761. On Mon, 13 Sep 99 08:31:26, Hans K. Aspenberg <hka@norman.no> wrote:
  1762.  
  1763. >The enclosed code tries to open all drives logically, from "A:" to "Z:" and
  1764. >read the first sector off each drive. It works like a charm for all types of
  1765. >disks, except for hard disk partitions > 4GB where DosRead() returns rc=5
  1766. >ERROR_ACCESS_DENIED. (By the way, it works for > 4GB partitions when the
  1767.  
  1768. Get OS2UNDOC from Hobbes and look at the HPFS Large Disk Access section.
  1769.  
  1770. --- WtrGate+ v0.93.p7 sn 165
  1771.  * Origin: Usenet: The Floppy BBS (1:109/42)
  1772.  
  1773. +----------------------------------------------------------------------------+
  1774.  
  1775. From: abuse@orac.clara.co.uk                            14-Sep-99 19:13:29
  1776.   To: All                                               14-Sep-99 20:40:17
  1777. Subj: Re: Combo boxes and bitmaps
  1778.  
  1779. From: abuse@orac.clara.co.uk (Paul Ratcliffe)
  1780.  
  1781. On Fri, 10 Sep 1999 18:58:23 +0800, Ian Harvey <ian_harvey@do.not.spam.me>
  1782. wrote:
  1783.  
  1784. >The file selection control is a container.  The combo-box like drive
  1785. >selection control appears to be a custom control.
  1786.  
  1787. From my observations, I think you have it backwards... the drive/directory
  1788. pane
  1789. on the left is a Container, the file selection pane on the right is a custom
  1790. control (class PMViewCnrCtlViewWnd).
  1791. The only combo-box like thing I see is for the Types. Or are we both talking
  1792. about different things? :-)
  1793.  
  1794. --- WtrGate+ v0.93.p7 sn 165
  1795.  * Origin: Usenet: The Floppy BBS (1:109/42)
  1796.  
  1797. +----------------------------------------------------------------------------+
  1798.  
  1799. From: adammadder@aol.com                                14-Sep-99 22:18:13
  1800.   To: All                                               15-Sep-99 03:00:27
  1801. Subj: LOLITAS - Free Thumbnailed Pics 52411
  1802.  
  1803. From: adammadder@aol.com
  1804.  
  1805. LOLITAS AND MORE FOR FREE:
  1806.  
  1807. http://207.240.225.250
  1808.  
  1809.  
  1810.  
  1811. g.PqgU2BC@
  1812.  
  1813. --- WtrGate+ v0.93.p7 sn 165
  1814.  * Origin: Usenet: YOUNG TEEN PICS (1:109/42)
  1815.  
  1816. +----------------------------------------------------------------------------+
  1817.  
  1818. From: hka@norman.no                                     15-Sep-99 09:20:13
  1819.   To: All                                               15-Sep-99 11:00:22
  1820. Subj: Re: Q: Traversion partition tables on large disks
  1821.  
  1822. From: "Hans K. Aspenberg" <hka@norman.no>
  1823.  
  1824. On Tue, 14 Sep 99 15:16:15 +0100, Hans K. Aspenberg wrote:
  1825.  
  1826. It's a bad habit answering myself, (schizophrenic?) but I found a solution to
  1827. the problem. Perhaps someone else could have use of it.
  1828.  
  1829. My assumptions below are correct. It is documented in
  1830. "http://magic.hurrah.com/~sabre/os/S2Partitions/PartitionTables.txt" among
  1831. other places, but this is the best reference on partition tables I've found.
  1832.  
  1833. ;-)) Hans
  1834.  
  1835. :>Hi all,
  1836. :>
  1837. :>While traversing partition tables on a 10.2 GB disk (which used to ba a
  1838. large
  1839. :>disk) I have encountered the following:
  1840. :>
  1841. :>The partition table in the MBR is as follows:
  1842. :>
  1843. :>   PartnTable in MBR
  1844. :>   0000: 00 00 01 01 05 0E FF FF B1 03 00 00 35 27 2A 01 ............5'*.
  1845. :>   0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  1846. :>   0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  1847. :>   0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  1848. :>
  1849. :>[0] 0x00= Passive, start at CHS(1,0,1), type 5 which is Extended.
  1850. :>
  1851. :>Reading sector CHS(1,0,1) I get the following:
  1852. :>
  1853. :>   PartnTable
  1854. :>   0000: 80 01 01 01 07 0E FF FF 3F 00 00 00 E2 E6 8D 00 ........?.......
  1855. :>   0010: 00 0E FF FF 05 0E FF FF 21 E7 8D 00 14 40 9C 00 ........!....@..
  1856. :>   0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  1857. :>   0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
  1858. :>
  1859. :>[0] 0x80= Active, start at CHS(1,1,1), type 7 which is IFS (HPFS).
  1860. :>    This is OK. Reading CHS(1,1,1) reveils a SBS as expected.
  1861. :>
  1862. :>[1] 0x80= Passive, start at CHS(3FF,1,3F) ends the same place (!)
  1863. :>    
  1864. :>Reading CHS(3FF,1,3F) obtains random data. Using the .ulBootSectorOffset in
  1865. :>the partition entry and reading logical sector 008DE721 reveils the correct
  1866. :>SBS. 
  1867. :>
  1868. :>Back to the question: When having disks larger than the CHS data in a
  1869. :>partition entry can describe; can 0E-FFFF in both start-sector and
  1870. end-sector
  1871. :>be interpreted as a marker saying that "now it is time to read logical"? 
  1872. :>
  1873. :>;-)) Hans
  1874. :>---
  1875. :>
  1876. :>Hans K. Aspenberg
  1877. :>hka@norman.no
  1878. :>
  1879. :>
  1880.  
  1881. ---
  1882.  
  1883. Hans K. Aspenberg
  1884. hka@norman.no
  1885.  
  1886.  
  1887. --- WtrGate+ v0.93.p7 sn 165
  1888.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1889.  
  1890. +----------------------------------------------------------------------------+
  1891.  
  1892. From: nospam@nospam.com                                 15-Sep-99 12:59:09
  1893.   To: All                                               15-Sep-99 20:07:15
  1894. Subj: long emx gcc warning messages do not appear
  1895.  
  1896. From: nospam@nospam.com (Bruce LaZerte)
  1897.  
  1898. /* Filename: test.c
  1899. This program illustrates a problem with *long* warning messages not 
  1900. appearing when using OS/2's command line to compile with EMX 0.9d GNU 
  1901. compiler:
  1902.  
  1903. gcc -c test.c
  1904.  
  1905. When compiled on the command line there is no warning message. 
  1906. When compiled within the Med editor, a long message (>256 chars) appears:
  1907.  
  1908. "Warning: passing char * as argument 1 of DosFindFirst(const unsigned char 
  1909. *,...)  changes signedness".
  1910.  
  1911. The identical problem occurs when I try to compile using dmake: no error 
  1912. message. What's worse, when I run dmake from within Med, the error messages
  1913. are also lost. 
  1914.  
  1915. I know how to make this error message go away, and I understand what it is 
  1916. talking about. My concern is that I may occasionally miss an important 
  1917. warning.
  1918.  
  1919. Shorter warnings and errors appear just fine, so I suspect the problem has 
  1920. something to do with a 256 char limit in the command shell and dmake (?)
  1921.  
  1922. Is there a gcc command line option or something that will fix this? I see 
  1923. nothing in the docs.
  1924. */
  1925.  
  1926. #define  INCL_DOS
  1927. #include <os2.h>
  1928. int main (int argc, char **argv)   {
  1929.    FILEFINDBUF3  findBuffer  ;
  1930.    HDIR findHandle  = 0xFFFFFFFF ;
  1931.    int  findCount   = 1 ;
  1932.    USHORT rc ;
  1933.    char path[256] = "E:/" ;
  1934.  
  1935.    rc = DosFindFirst(path        ,
  1936.                      &findHandle ,
  1937.                      FILE_DIRECTORY  ,
  1938.                      &findBuffer ,
  1939.                      (ULONG)sizeof(findBuffer) ,
  1940.                      (PULONG)&findCount ,
  1941.                      (ULONG)0x0001);
  1942.    return 0;
  1943.    }
  1944.  
  1945. ----------------------
  1946. Bruce LaZerte     
  1947. Muskoka,Ontario,Canada
  1948. freshwat at muskoka dot com    
  1949.  
  1950. --- WtrGate+ v0.93.p7 sn 165
  1951.  * Origin: Origin Line 1 Goes Here (1:109/42)
  1952.  
  1953. +----------------------------------------------------------------------------+
  1954.  
  1955. From: glen@rockyhorror.Zkaroo.co.uk                     15-Sep-99 15:20:00
  1956.   To: All                                               15-Sep-99 20:07:15
  1957. Subj: Re: long emx gcc warning messages do not appear
  1958.  
  1959. From: glen@rockyhorror.Zkaroo.co.uk (Glen D)
  1960.  
  1961. You could redirect the error messages to a file using 2>,
  1962. eg.
  1963.     gcc -c test.c 2> errors.log
  1964.  
  1965.  
  1966. On Wed, 15 Sep 1999 12:59:19, nospam@nospam.com (Bruce LaZerte) wrote:
  1967.  
  1968. > /* Filename: test.c
  1969. > This program illustrates a problem with *long* warning messages not 
  1970. > appearing when using OS/2's command line to compile with EMX 0.9d GNU 
  1971. > compiler:
  1972. > gcc -c test.c
  1973. > When compiled on the command line there is no warning message. 
  1974. > When compiled within the Med editor, a long message (>256 chars) appears:
  1975. > "Warning: passing char * as argument 1 of DosFindFirst(const unsigned char 
  1976. > *,...)  changes signedness".
  1977. > The identical problem occurs when I try to compile using dmake: no error 
  1978. > message. What's worse, when I run dmake from within Med, the error messages
  1979. > are also lost. 
  1980. > I know how to make this error message go away, and I understand what it is 
  1981. > talking about. My concern is that I may occasionally miss an important 
  1982. > warning.
  1983. > Shorter warnings and errors appear just fine, so I suspect the problem has 
  1984. > something to do with a 256 char limit in the command shell and dmake (?)
  1985. > Is there a gcc command line option or something that will fix this? I see 
  1986. > nothing in the docs.
  1987. > */
  1988. > #define  INCL_DOS
  1989. > #include <os2.h>
  1990. > int main (int argc, char **argv)   {
  1991. >    FILEFINDBUF3  findBuffer  ;
  1992. >    HDIR findHandle  = 0xFFFFFFFF ;
  1993. >    int  findCount   = 1 ;
  1994. >    USHORT rc ;
  1995. >    char path[256] = "E:/" ;
  1996. >    rc = DosFindFirst(path        ,
  1997. >                      &findHandle ,
  1998. >                      FILE_DIRECTORY  ,
  1999. >                      &findBuffer ,
  2000. >                      (ULONG)sizeof(findBuffer) ,
  2001. >                      (PULONG)&findCount ,
  2002. >                      (ULONG)0x0001);
  2003. >    return 0;
  2004. >    }
  2005. > ----------------------
  2006. > Bruce LaZerte     
  2007. > Muskoka,Ontario,Canada
  2008. > freshwat at muskoka dot com    
  2009.  
  2010.  
  2011. Glen D
  2012. -<remove Z from my e-mail address>-
  2013.  
  2014. --- WtrGate+ v0.93.p7 sn 165
  2015.  * Origin: Usenet: Customer of Planet Online (1:109/42)
  2016.  
  2017. +----------------------------------------------------------------------------+
  2018.  
  2019. From: nospam@nospam.com                                 15-Sep-99 18:47:18
  2020.   To: All                                               15-Sep-99 20:07:15
  2021. Subj: Re: long emx gcc warning messages do not appear
  2022.  
  2023. From: nospam@nospam.com (Bruce LaZerte)
  2024.  
  2025. On Wed, 15 Sep 1999 15:20:01, glen@rockyhorror.Zkaroo.co.uk (Glen D) wrote:
  2026.  
  2027. Good idea... just tried it...unfortunately, it doesn't help... sigh. 
  2028.  
  2029. > You could redirect the error messages to a file using 2>,
  2030. > eg.
  2031. >         gcc -c test.c 2> errors.log
  2032.  
  2033. ----------------------
  2034. Bruce LaZerte     
  2035. Muskoka,Ontario,Canada
  2036. freshwat at muskoka dot com    
  2037.  
  2038. --- WtrGate+ v0.93.p7 sn 165
  2039.  * Origin: Origin Line 1 Goes Here (1:109/42)
  2040.  
  2041. +----------------------------------------------------------------------------+
  2042.  
  2043. From: hubert@ugrad.cs.ualberta.ca                       15-Sep-99 11:53:28
  2044.   To: All                                               15-Sep-99 20:07:15
  2045. Subj: Re: long emx gcc warning messages do not appear
  2046.  
  2047. From: Hubert Chan <hubert@ugrad.cs.ualberta.ca>
  2048.  
  2049. Try
  2050.   gcc -Wall -c test.c
  2051.  
  2052. -W selects different warnings to display.  -Wall turns on all warnings.
  2053.  
  2054. On Wed, 15 Sep 1999, Bruce LaZerte wrote:
  2055.  
  2056. > /* Filename: test.c
  2057. > This program illustrates a problem with *long* warning messages not 
  2058. > appearing when using OS/2's command line to compile with EMX 0.9d GNU 
  2059. > compiler:
  2060. > gcc -c test.c
  2061. > When compiled on the command line there is no warning message. 
  2062. > When compiled within the Med editor, a long message (>256 chars) appears:
  2063. > "Warning: passing char * as argument 1 of DosFindFirst(const unsigned char 
  2064. > *,...)  changes signedness".
  2065.  
  2066. [cut]
  2067.  
  2068. --- WtrGate+ v0.93.p7 sn 165
  2069.  * Origin: Usenet: Computing Science, U of Alberta, Edmonton, Canada
  2070. (1:109/42)
  2071.  
  2072. +----------------------------------------------------------------------------+
  2073.  
  2074. From: nospam@nospam.com                                 15-Sep-99 18:47:19
  2075.   To: All                                               15-Sep-99 20:07:15
  2076. Subj: Re: long emx gcc warning messages do not appear
  2077.  
  2078. From: nospam@nospam.com (Bruce LaZerte)
  2079.  
  2080. On Wed, 15 Sep 1999 17:53:57, Hubert Chan <hubert@ugrad.cs.ualberta.ca> 
  2081. wrote:
  2082.  
  2083. The warning I'm seeing in Med appears without any -W setting. On the 
  2084. command line, -Wall doesn't help with this long one. Thanks anyway...
  2085.  
  2086. > Try
  2087. >   gcc -Wall -c test.c
  2088. >  
  2089. > -W selects different warnings to display.  -Wall turns on all warnings.
  2090.  
  2091. ----------------------
  2092. Bruce LaZerte     
  2093. Muskoka,Ontario,Canada
  2094. freshwat at muskoka dot com    
  2095.  
  2096. --- WtrGate+ v0.93.p7 sn 165
  2097.  * Origin: Origin Line 1 Goes Here (1:109/42)
  2098.  
  2099. +----------------------------------------------------------------------------+
  2100.  
  2101. From: ilya@math.ohio-state.edu                          15-Sep-99 21:07:12
  2102.   To: All                                               16-Sep-99 04:30:10
  2103. Subj: Re: long emx gcc warning messages do not appear
  2104.  
  2105. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  2106.  
  2107. [A complimentary Cc of this posting was sent to Bruce LaZerte
  2108. <nospam@nospam.com>],
  2109. who wrote in article <bsV3ehsibPZd-pn2-nkRH7LjOUfKW@ASUSP2333>:
  2110. > /* Filename: test.c
  2111. > This program illustrates a problem with *long* warning messages not 
  2112. > appearing when using OS/2's command line to compile with EMX 0.9d GNU 
  2113. > compiler:
  2114. > gcc -c test.c
  2115. > When compiled on the command line there is no warning message. 
  2116. > When compiled within the Med editor, a long message (>256 chars) appears:
  2117. > "Warning: passing char * as argument 1 of DosFindFirst(const unsigned char 
  2118. > *,...)  changes signedness".
  2119.  
  2120. I added
  2121.  
  2122.  int foo(unsigned char *p);
  2123.  
  2124.  rc = foo(path);
  2125.  
  2126. to your file and did not get any message either.  Thus this is not a
  2127. problem with length (as it should not be).  Are you sure you were
  2128. calling gcc?  Try adding -v option on the command line.
  2129.  
  2130. > The identical problem occurs when I try to compile using dmake: no error 
  2131. > message. What's worse, when I run dmake from within Med, the error messages
  2132. > are also lost. 
  2133.  
  2134. Just guessing...  Check your PATH etc environment variables.  
  2135.  
  2136. Probably MED calls gcc without calling a shell, and all other ways to
  2137. call things have a loaded shell in between.  Probably your shell loads
  2138. some initialization file which changes environment variables.
  2139.  
  2140. Ilya
  2141.  
  2142. P.S.  Try to reproduce this problem with user-defined function, so the
  2143.       message is shorter.  This may reveal more things.
  2144.  
  2145. --- WtrGate+ v0.93.p7 sn 165
  2146.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  2147. (1:109/42)
  2148.  
  2149. +----------------------------------------------------------------------------+
  2150.  
  2151. From: nospam@nospam.com                                 15-Sep-99 23:37:26
  2152.   To: All                                               16-Sep-99 04:30:10
  2153. Subj: Re: long emx gcc warning messages do not appear
  2154.  
  2155. From: nospam@nospam.com (Bruce LaZerte)
  2156.  
  2157. On Wed, 15 Sep 1999 21:07:25, ilya@math.ohio-state.edu (Ilya Zakharevich) 
  2158. wrote:
  2159.  
  2160. > I added
  2161. >  
  2162. >  int foo(unsigned char *p);
  2163. >  
  2164. >  rc = foo(path);
  2165. >  
  2166. > to your file and did not get any message either.  Thus this is not a
  2167. > problem with length (as it should not be).  
  2168.  
  2169. A good test and I agree, length of the warning message cannot be the 
  2170. problem. 
  2171.  
  2172. > Are you sure you were
  2173. > calling gcc?  Try adding -v option on the command line.
  2174.  
  2175. AHA! Thank you, thank you, thank you.
  2176.  
  2177. The name of the file was actually: test.C
  2178. Note the capital C! 
  2179.  
  2180. The Med editor passed this file name exactly as specified to gcc which 
  2181. called cc1plus.exe in the second pass, thinking it was a C++ file. However 
  2182. on the command line, I was just typing in "gcc -c test.c". Even though the 
  2183. file was named "test.C", this was ignored by gcc, and it called cc1.exe 
  2184. (not cc1plus.exe) on the second pass.
  2185.  
  2186. If I type in "gcc -c test.C" on the command line,  I now get the same 
  2187. warning messages as in the Med editor. Wow!
  2188.  
  2189. It *is* a bit surprising that  cc1.exe and cc1plus.exe behave so 
  2190. differently with respect to warning messages. The cc1plus.exe seems more 
  2191. rigorous. Unfortunately I see nothing in the documentation about this.
  2192.  
  2193. Many thanks for your help and suggestions.
  2194.  
  2195. ----------------------
  2196. Bruce LaZerte     
  2197. Muskoka,Ontario,Canada
  2198. freshwat at muskoka dot com    
  2199.  
  2200. --- WtrGate+ v0.93.p7 sn 165
  2201.  * Origin: Origin Line 1 Goes Here (1:109/42)
  2202.  
  2203. +----------------------------------------------------------------------------+
  2204.  
  2205. From: hunters@thunder.indstate.edu                      15-Sep-99 23:45:22
  2206.   To: All                                               16-Sep-99 04:30:10
  2207. Subj: What causes "Exiting Thread 1" hang?
  2208.  
  2209. From: hunters@thunder.indstate.edu
  2210.  
  2211.  
  2212. I'm sure we all remember the early days of NS 2.02 when it would crash
  2213. and then hang while (according to WatchCat, etc) "Exiting Thread 1..."
  2214. and was thus unkillable while leaving the display corupted.
  2215.  
  2216. Whose falt is this? The program for being coded badly, or OS/2 for not
  2217. handeling it properly?
  2218.  
  2219. I ask because I tried to run the Quake3_test using Win32-OS/2 (A.04),
  2220. and it very nearly does something usefull. I get the start-up screen,
  2221. where I am informed on what OS version I'm using (NT 4 it says), my CPU
  2222. (correct as an AMD w/3DNow!), and that it is now going to load the dll
  2223. "3dfxVGL.dll" in "e:\os2\system" (which does not exist mind you). Then
  2224. the hard drive goes nuts and nothing happens. Switching to Watchcat
  2225. reveals that Q3_test.exe is "Exiting Thread 1...". And the video is
  2226. corrupt just like NS/2 2.02... (The pmtree hack doesn't work.)
  2227.  
  2228. Unfortunatly, the Win32os2.log file is never written to, and I don't
  2229. know how far it gets... So anyway, just wondering. Thanks in advance!
  2230.  
  2231. --
  2232. -Steven Hunter               *OS/2 Warp 4 * |Warpstock '99 | Oct 16-17|
  2233. hunters@thunder.indstate.edu *AMD K6-2 400* |       Atlanta GA        |
  2234.  
  2235.  
  2236. Sent via Deja.com http://www.deja.com/
  2237. Share what you know. Learn what you don't.
  2238.  
  2239. --- WtrGate+ v0.93.p7 sn 165
  2240.  * Origin: Usenet: Deja.com - Share what you know. Learn what you do
  2241. (1:109/42)
  2242.  
  2243. +----------------------------------------------------------------------------+
  2244.  
  2245. From: fmesnier@dial.oleane.com                          16-Sep-99 05:12:27
  2246.   To: All                                               16-Sep-99 04:30:10
  2247. Subj: vacpp install & matrox driver
  2248.  
  2249. From: Franck Mesnier <fmesnier@dial.oleane.com>
  2250.  
  2251. Hello
  2252.  
  2253. I come just to install VACPP 4.0 for OS/2 for the second time and I have
  2254. always
  2255.  
  2256. the same problem :
  2257. As soon as I run VACPP, it hangs the system after the main window after the  
  2258. display of the logo, and the main window is not display completly.
  2259. I have a matrox G400 with the driver 2.31.095 in 1024x768.
  2260. I have tried with other resolutions but that does not work more, safe in  vga 
  2261. 640x480x256 colors.
  2262. I install the fixpack 2, but not the fixpack 1 because I have the error 3 (?) 
  2263. message in wpinstall.log file.
  2264.  
  2265. What then  I can try now ?
  2266.  
  2267.  
  2268.  
  2269. Thanks
  2270.  
  2271.  
  2272. Franck
  2273.  
  2274. -----------------------------------
  2275. From the OS/2 WARP v4 fp10
  2276. Desktop of Franck MESNIER
  2277. 34140 LOUPIAN
  2278. FRANCE
  2279. fmesnier@dial.oleane.com
  2280. ICQ : 26368765
  2281. -----------------------------------
  2282.  
  2283. --- WtrGate+ v0.93.p7 sn 165
  2284.  * Origin: Usenet: Guest of OLEANE (1:109/42)
  2285.  
  2286. +----------------------------------------------------------------------------+
  2287.  
  2288. From: rpawlitzek@my-deja.com                            16-Sep-99 03:24:17
  2289.   To: All                                               16-Sep-99 04:30:10
  2290. Subj: Petzold OS/2 PM Programming book for sale
  2291.  
  2292. From: rpawlitzek@my-deja.com
  2293.  
  2294. I am selling my copy of Petzold's OS/2 PM Programming book:
  2295.  
  2296. http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=165419421
  2297.  
  2298. OS/2 Presentation Manager Programming Book by Charles Petzold,
  2299. published by Ziff-Davis Press, ISBN 1-56276-123-4, 934 pages,
  2300. this book is no longer available and is a collector's item,
  2301. it is still one of the best starting points for OS/2 application
  2302. programming, description: "PC Magazine operation system wizard
  2303. Charles Petzold shows how to write superior OS/2 programs that
  2304. take full advantage of the Presentation Manager features.
  2305. Includes a disk with code for the dozens of programs
  2306. demonstrated in the text."
  2307.  
  2308.  
  2309. Sent via Deja.com http://www.deja.com/
  2310. Share what you know. Learn what you don't.
  2311.  
  2312. --- WtrGate+ v0.93.p7 sn 165
  2313.  * Origin: Usenet: Deja.com - Share what you know. Learn what you do
  2314. (1:109/42)
  2315.  
  2316. +----------------------------------------------------------------------------+
  2317.  
  2318. From: mike@nospam.mendelu.cz                            15-Sep-99 21:47:28
  2319.   To: All                                               16-Sep-99 21:19:10
  2320. Subj: Re: One for the EMX gurus...
  2321.  
  2322. From: Michal Necasek <mike@nospam.mendelu.cz>
  2323.  
  2324. Marty wrote:
  2325.  
  2326. > kenames@earthlink.net wrote:
  2327. > >
  2328. > > damn Marty, thats a big one! are you trying to emulate windows?
  2329. >
  2330. > Heh.. not yet.  ;-)
  2331. >
  2332. > MAME has quite a few symbols defined.  Stripping out the symbolic info, the
  2333. > executable is a paltry 8MB.  ;-)
  2334. >
  2335.  Hmm, just today I tried to build some stuff with both emx and VAC++. 
  2336. The executable without debug info is about 800K. With debug info it's 
  2337. 1.960.734 bytes from VAC++ vs. 7.252.563 bytes from emx/gcc! 
  2338. That's a helluva difference! Does anyone have some idea about how to 
  2339. reduce the emx-produced executable size?
  2340.  
  2341. > Now all I have to do is figure out how to use this PMGDB.  It keeps
  2342. > complaining about being started in a VIO window and that it could lock my
  2343. > system if I use it to debug a PM app.
  2344. >
  2345.  Yeah, that's why I rebuilt my project with VAC++. IPMD has no 
  2346. seroius competition - except ICAT of course but that's just an 
  2347. IPMD-like front-end to kernel debugger. 
  2348.  
  2349.  
  2350.      - Mike
  2351.  
  2352. --- WtrGate+ v0.93.p7 sn 165
  2353.  * Origin: Usenet: PVT a.s., Czech Republic (1:109/42)
  2354.  
  2355. +----------------------------------------------------------------------------+
  2356.  
  2357. From: hei@hatespam.norman.no                            16-Sep-99 06:43:03
  2358.   To: All                                               16-Sep-99 21:19:10
  2359. Subj: Re: long emx gcc warning messages do not appear
  2360.  
  2361. From: hei@hatespam.norman.no (Harald Eilertsen)
  2362.  
  2363. On Wed, 15 Sep 1999 23:37:52, nospam@nospam.com (Bruce LaZerte) wrote:
  2364.  
  2365. > It *is* a bit surprising that  cc1.exe and cc1plus.exe behave so 
  2366. > differently with respect to warning messages. 
  2367.  
  2368. C++ compilers usually are a bit more demanding, and put out more error
  2369. and warning messages than straight C compilers. It's not a particular 
  2370. gcc thing. If you're writing a straight C program, you may want to 
  2371. rename the file to have a small "c" so you'll allways compile with the
  2372. plain C compiler.
  2373.  
  2374. Take Care!
  2375. --
  2376. Harald Eilertsen
  2377. Norman Data Defence Systems
  2378. http://www.norman.no/
  2379.  
  2380. --- WtrGate+ v0.93.p7 sn 165
  2381.  * Origin: Usenet: Norman Data Defence Systems (1:109/42)
  2382.  
  2383. +----------------------------------------------------------------------------+
  2384.  
  2385. From: ilya@math.ohio-state.edu                          16-Sep-99 07:30:00
  2386.   To: All                                               16-Sep-99 21:19:10
  2387. Subj: Re: One for the EMX gurus...
  2388.  
  2389. From: ilya@math.ohio-state.edu (Ilya Zakharevich)
  2390.  
  2391. [A complimentary Cc of this posting was sent to Michal Necasek 
  2392. <mike@nospam.mendelu.cz>],
  2393. who wrote in article <37E005FD.AF7EF22E@nospam.mendelu.cz>:
  2394. >  Hmm, just today I tried to build some stuff with both emx and VAC++. 
  2395. > The executable without debug info is about 800K. With debug info it's 
  2396. > 1.960.734 bytes from VAC++ vs. 7.252.563 bytes from emx/gcc! 
  2397. > That's a helluva difference! Does anyone have some idea about how to 
  2398. > reduce the emx-produced executable size?
  2399.  
  2400. What for?
  2401.  
  2402. Ilya
  2403.  
  2404. --- WtrGate+ v0.93.p7 sn 165
  2405.  * Origin: Usenet: Department of Mathematics, The Ohio State Univers
  2406. (1:109/42)
  2407.  
  2408. +----------------------------------------------------------------------------+
  2409.  
  2410. From: hellwig@exp.bessy.de                              16-Sep-99 12:30:05
  2411.   To: All                                               16-Sep-99 21:19:11
  2412. Subj: rshd: CR->CR+LF
  2413.  
  2414. From: Chris Hellwig <hellwig@exp.bessy.de>
  2415.  
  2416. Hi,
  2417.  
  2418. I found that rshd converts a ASCII '0x0d' to '0x0d 0x0a'
  2419.  
  2420. Is there a way (or an alternate rshd.exe) wich uses a 
  2421. plain binary mode?
  2422.  
  2423. Chris
  2424.  
  2425. --- WtrGate+ v0.93.p7 sn 165
  2426.  * Origin: Origin Line 1 Goes Here (1:109/42)
  2427.  
  2428. +----------------------------------------------------------------------------+
  2429.  
  2430. From: mamodeo@stny.rr.com                               16-Sep-99 09:49:04
  2431.   To: All                                               16-Sep-99 21:19:11
  2432. Subj: Re: What causes "Exiting Thread 1" hang?
  2433.  
  2434. From: Marty <mamodeo@stny.rr.com>
  2435.  
  2436. hunters@thunder.indstate.edu wrote:
  2437. > I'm sure we all remember the early days of NS 2.02 when it would crash
  2438. > and then hang while (according to WatchCat, etc) "Exiting Thread 1..."
  2439. > and was thus unkillable while leaving the display corupted.
  2440. > Whose falt is this? The program for being coded badly, or OS/2 for not
  2441. > handeling it properly?
  2442.  
  2443. I think it's more of the programmer's fault.  OS/2 grants the
  2444. application some trust that it will not have a critical failure in its
  2445. exit routines.  This problem usually happens when an application's exit
  2446. routine blocks for some reason, and there is nothing left running that
  2447. would normally unblock it.
  2448.  
  2449. - Marty
  2450.  
  2451. --- WtrGate+ v0.93.p7 sn 165
  2452.  * Origin: Usenet: IBM Global Services North -- Burlington, Vermont,
  2453. (1:109/42)
  2454.  
  2455. +----------------------------------------------------------------------------+
  2456.  
  2457. From: nospam@nospam.com                                 16-Sep-99 16:40:04
  2458.   To: All                                               16-Sep-99 22:38:01
  2459. Subj: PM window resizing/clipping : seems backwards... 
  2460.  
  2461. From: nospam@nospam.com (Bruce LaZerte)
  2462.  
  2463. I'm bothered about how a client window is resized and clipped in PM 
  2464. programming.
  2465.  
  2466. If the top frame border is moved down, the whole client window is shifted 
  2467. down and clipping is at the bottom of the client window. If the bottom 
  2468. border is moved up, clipping is again at the bottom but the client is not 
  2469. shifted. I would think clipping should be done at the top of the window in 
  2470. both cases  because the client window's origin for painting is at the 
  2471. bottom (left) in OS/2. 
  2472.  
  2473. This behaviour makes maintaining the window during sizing redraws trickier 
  2474. when not using the CS_SIZEREDRAW flag. I ended up positioning graphical 
  2475. elements relative to the upper left corner of the window which, of course, 
  2476. requires more calculation than positioning with respect to the bottom left,
  2477. the origin.
  2478.  
  2479. Can this clipping behaviour be changed? Is there any reason why it's this 
  2480. way?
  2481.  
  2482. It's not a problem when moving the left and right frame borders as clipping
  2483. is always on the right and the drawing origin is on the left.
  2484.  
  2485. ----------------------
  2486. Bruce LaZerte     
  2487. Muskoka,Ontario,Canada
  2488. freshwat at muskoka dot com    
  2489.  
  2490. --- WtrGate+ v0.93.p7 sn 165
  2491.  * Origin: Origin Line 1 Goes Here (1:109/42)
  2492.  
  2493. +----------------------------------------------------------------------------+
  2494.  
  2495. From: mamodeo@stny.rr.com                               16-Sep-99 18:21:00
  2496.   To: All                                               17-Sep-99 03:55:00
  2497. Subj: EMXBIND earns its name...
  2498.  
  2499. From: Marty <mamodeo@stny.rr.com>
  2500.  
  2501. On a related note to the 31MB executable in another thread, I've found out
  2502. something very disturbing with EMXBIND.  I don't know if EMXBIND itself,
  2503. OS/2 itself, or the EMX runtime is to blame.
  2504.  
  2505. When I run EMXBIND on this executable to add PM resources (.RES) to it, it
  2506. has about a 50% chance of completely and entirely locking up my system!  It
  2507. doesn't crash, it doesn't slow things up while it's working and then free
  2508. back up, it literally grinds to a halt, getting slower and slower until no
  2509. further input is accepted in any form.  The cursor in the VIO session slows
  2510. down and stops blinking.  My hard drive stops thrashing about.  CTRL-ESC
  2511. does nothing.  The WatchCat keystroke gives the characteristic "BEEP" but
  2512. WatchCat never kicks in.  CTRL-ALT-DEL does not even function.  This only
  2513. happens with a very large executable.
  2514.  
  2515. I watched the swapfile once while it was executing and I saw all of my free
  2516. memory consumed and my swapper grow by 32MB in under 1 second.  It is
  2517. usually at this "intense" point that the system locks if it is going to.
  2518.  
  2519. Besides stripping out the debug info, does anyone have any suggestions as
  2520. to what can be done to minimize this risk?  Any thoughts as to what is
  2521. actually happening?
  2522.  
  2523. One more side issue:
  2524. Has anyone else noticed that when you run GCC on a file that takes a long
  2525. time to compile that the VIO window in which you ran it doesn't like to
  2526. give up the window focus?  Any ideas why this could happen?
  2527.  
  2528. [FYI:  I'm working with PGCC (with the -pipe switch if that matters), but
  2529. I've seen the same problem with GCC]
  2530.  
  2531. - Marty
  2532.  
  2533. --- WtrGate+ v0.93.p7 sn 165
  2534.  * Origin: Usenet: Time Warner Road Runner - Binghamton NY (1:109/42)
  2535.  
  2536. +----------------------------------------------------------------------------+
  2537.  
  2538. From: DLaRue@NetSRQ.Com                                 17-Sep-99 01:27:06
  2539.   To: All                                               17-Sep-99 03:55:00
  2540. Subj: Re: Help converting Borland c to VAC on OS2
  2541.  
  2542. From: DLaRue@NetSRQ.Com (David LaRue)
  2543.  
  2544.   Hello Blake,
  2545.  
  2546.   You may find more expertise on this matter by checking IBM's News Site.  I
  2547. know
  2548. of several persons who visit there more than here.  IBMs site is 
  2549. News.Software.IBM.Com.  The *.vacpp fourums are your best bet.
  2550.  
  2551.   Good luck,
  2552.  
  2553.   David LaRue
  2554.  
  2555. In <37E134E0.A720D167@ddp.ca>, Blake Whitelaw <blake_whitelaw@ddp.ca> writes:
  2556. >I have to covert a Borland C project to a VAC project and recompile. 
  2557. >Can anyone give me any pointers as to the best way to go about this.  I
  2558. >come from the Windows world and this is my first excision into VAC++.
  2559. >
  2560. >Thanks
  2561. >Blake
  2562. >
  2563. >-- 
  2564. >-----------------------------------------------------------
  2565. >Blake Whitelaw
  2566. >DDP Consulting Group, Vancouver BC Canada
  2567. >Phone: 604-294-9193  Fax: 604-294-9155
  2568. >Web Page: http://www.ddp.ca
  2569. >mailto:blake_whitelaw@ddp.ca
  2570. >-----------------------------------------------------------
  2571.  
  2572. --- WtrGate+ v0.93.p7 sn 165
  2573.  * Origin: Usenet: Intelligence Network Online, Inc. (1:109/42)
  2574.  
  2575. +----------------------------------------------------------------------------+
  2576.  
  2577. From: ian_harvey@do.not.spam.me                         17-Sep-99 18:33:27
  2578.   To: All                                               17-Sep-99 11:01:03
  2579. Subj: Re: PM window resizing/clipping : seems backwards...
  2580.  
  2581. From: Ian Harvey <ian_harvey@do.not.spam.me>
  2582.  
  2583. Try handling the WM_CALCVALIDRECTS message in your window procedure to
  2584. change the rectangle preservation behaviour from the default (which is
  2585. top left alignment as you have observed).
  2586.  
  2587. case WM_CALCVALIDRECTS:
  2588.    return MRFROMLONG(CVR_ALIGNBOTTOM | CVR_ALIGNLEFT);
  2589.  
  2590. Bruce LaZerte wrote:
  2591. > I'm bothered about how a client window is resized and clipped in PM
  2592. > programming.
  2593. > If the top frame border is moved down, the whole client window is shifted
  2594. > down and clipping is at the bottom of the client window. If the bottom
  2595. > border is moved up, clipping is again at the bottom but the client is not
  2596. > shifted. I would think clipping should be done at the top of the window in
  2597. > both cases  because the client window's origin for painting is at the
  2598. > bottom (left) in OS/2.
  2599. ...
  2600. > Can this clipping behaviour be changed? Is there any reason why it's this
  2601. > way?
  2602. -- 
  2603. IanH
  2604. Comments and questions welcome at ian_harvey at bigpond dot com
  2605. However, do _not_ send me unsolicited commercial email.
  2606.  
  2607. --- WtrGate+ v0.93.p7 sn 165
  2608.  * Origin: Usenet: Completely lacking (1:109/42)
  2609.  
  2610. +----------------------------------------------------------------------------+
  2611.  
  2612. +============================================================================+
  2613.