realbasic-nug
[Top] [All Lists]

Re: Setting Wallpaper on Windows

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Setting Wallpaper on Windows
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Fri, 30 Aug 2002 10:08:58 -0500
on 8/30/02 10:07 AM, Carnivore devoured H.M. van Staveren at
hmvs at xs4all dot nl's message:

> Op 30-08-2002 16:33 schreef Aaron Ballman <aaron at realsoftware dot com> het
> volgende:
> 
>> SetSystemParametersInfo(action as integer, param1 as integer, param2 as Ptr,
>> updateUserProfile as integer) as boolean
> 
> Thanks very much!
> 
> I'm getting an error 'Lib expected' when i am declaring this function
> like:
> 
> Declare Function Lib "user32.lib" SetSystemParametersInfo(action as
> integer, param1 as integer, param2 as Ptr, updateUserProfile as integer)
> as boolean
> 
> What am i doing wrong here?

Try saying "user32" instead of "user32.lib"

~Aaron

-- 
"Bart, with $10,000, we'd be millionaires! We could buy all kinds of useful
things like...love!"



<Prev in Thread] Current Thread [Next in Thread>