I just upgraded to the most recent CVS and got a NULL handle exception for
my trouble. The problem is 'no hires'. longbar.bmp is ifdef'ed (HIRES and
HANDERA), but, always used in the mainform.

These changes to viewer.rcp.in fix it.
--- viewer.rcp.in.orig  Sat May  1 22:44:45 2004
+++ viewer.rcp.in   Mon May 10 16:02:44 2004
@@ -82,7 +82,11 @@
     FORMBITMAP AT (PREVLEFT PREVTOP) BITMAP bmpHome USABLE
     FORMBITMAP AT (PREVLEFT+13 PREVTOP) BITMAP bmpRight USABLE
 
+#if defined( HAVE_HIRES ) && defined( HAVE_HANDERA_SDK )
     FORMBITMAP AT (0 PREVBOTTOM+1) BITMAP bmpLongBar USABLE
+#else
+    FORMBITMAP AT (0 PREVBOTTOM+1) BITMAP bmpBar USABLE
+#endif
 
     SCROLLBAR ID frmMainScrollBar AT (153 PREVBOTTOM+2 7 142)
          VALUE 0 MIN 0 MAX 0 PAGESIZE 0
@@ -159,7 +163,11 @@
     FORMBITMAP AT (PREVLEFT PREVTOP) BITMAP bmpHome USABLE
     FORMBITMAP AT (PREVLEFT+13 PREVTOP) BITMAP bmpRight USABLE
 
+#if defined( HAVE_HIRES ) && defined( HAVE_HANDERA_SDK )
     FORMBITMAP AT (0 PREVTOP-2) BITMAP bmpLongBar USABLE
+#else
+    FORMBITMAP AT (0 PREVTOP-2) BITMAP bmpBar USABLE
+#endif
 
     SCROLLBAR ID frmMainScrollBar AT (153 2 7 142)
          VALUE 0 MIN 0 MAX 0 PAGESIZE 0


Christopher R. Hawks
HAWKSoft
-------------------------------------------------------------------------
If NT is the answer, you don't understand the question.





_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to