Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [02-2004 Date Index] [Date Next] || [Thread Prev] [02-2004 Thread Index] [Thread Next]

[openbeos] Re: screen saver kit bin incompatibility

  • From: "François Revol" <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 09 Feb 2004 23:35:12 +0100 CET
> 
> On 2004-02-09 at 23:23:03 [+0100], Axel Dörfler wrote:
> > "François Revol" <revol@xxxxxxx> wrote:
> > > > > They are all there, or do you miss anything?
> > > > Addons expect them unmangled.
> > > I mean with no underscore prefix.
> > 
> > Ah, now I got it (indeed, I just found out myself) :-)
> 
> Damn, I missed that, too. :-)
> 
> > Maybe that's a pre R5 or even R4 relict in BeOS? Our screen_blanker
> > /
> > ScreenBlanker apps should export those, too, and that should solve 
> > the
> > issues for those screen saver add-ons that were linked that way.
> > If you compile and link a screen saver in R5, the functions have 
> > the
> > underscore.
> > But anyway, that seems to be the reason why Michael found that some
> > blankers wouldn't work with his kit :)
> > Thanks very much for the info!
> 
> BTW, <ScreenSaver.h> (R5's and ours) is a bit broken anyway. The 
> definition 
> of
> 
>       _EXPORT int32 saverVersionID;
> 
> is not a good idea, since every source file that includes that header 
> will 
> define and export that symbol. Maybe it should read:
> 
>       extern int32 saverVersionID;
> 
> This would make more sense at least. But it's undocumented anyway.

Yeah I had to correct that one locally to build MP's screen_blanker 
replacement...
Which finally ran the addon.

François.





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.