🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.programmer.help
2 messages
2 total messages Started by petrock Mon, 21 Aug 2000 00:00
AppendDialogItemList strangeness...
#79
Author: petrock
Date: Mon, 21 Aug 2000 00:00
23 lines
1807 bytes
Hello,
	I am having a strange problem with AppendDialogItemList under OS
8.1.  My app has a dialog that changes according to some user settings.
I use AppendDialogItemList to add the required DITL to the dialog.  Under
OS 8.5 and up, it works perfectly.  But when I use OS 8.1 I get an error
message when I try to run the app that it couldn't find a library called
"MacDialogsLib".  I did a search in Codewarriors find library and it is
imported from DialogsLib, which I have linked in (tried both Stub and
Shared versions with same result).

According to Inside Macintosh:Dialog Manager OS 8 reference,
AppendDialogItemList should work under OS 8 when the Appearance Manager
1.0 or better is available, which it is (1.0.1 to be exact).  Am I
mistaken in this assumption?  Am I missing a lib or something?  I am
using Codewarrior 5.3 with Univ Interfaces 3.3.2.

Thanks alot for any info you can give...

--Rob


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: AppendDialogItemList strangeness...
#80
Author: Jens Ayton
Date: Mon, 21 Aug 2000 00:00
36 lines
2945 bytes
petrock:
> 
> Hello,
>         I am having a strange problem with AppendDialogItemList under OS
> 8.1.  My app has a dialog that changes according to some user settings.
> I use AppendDialogItemList to add the required DITL to the dialog.  Under
> OS 8.5 and up, it works perfectly.  But when I use OS 8.1 I get an error
> message when I try to run the app that it couldn't find a library called
> "MacDialogsLib".  I did a search in Codewarriors find library and it is
> imported from DialogsLib, which I have linked in (tried both Stub and
> Shared versions with same result).
> 
> According to Inside Macintosh:Dialog Manager OS 8 reference,
> AppendDialogItemList should work under OS 8 when the Appearance Manager
> 1.0 or better is available, which it is (1.0.1 to be exact).  Am I
> mistaken in this assumption?  Am I missing a lib or something?  I am
> using Codewarrior 5.3 with Univ Interfaces 3.3.2.

AppendDialogItemList is exported from DialogsLib (and not AppearanceLib;
this is not a duplication situation). DialogsLib (Dialog Manager 2.0) is
part of Mac OS 8.5 and later. This is probably a documentation error
(although Dialogs.h also says it's part of Appearance 1.0). Or possibly
it was moved from AppearanceLib to DialogsLib, in which case you should
mutter nasty things about Apple under your breath and then import it
manually from whichever lib it is available in. (Modus operandi: try to
get MacDialogsLib with GetSharedLibrary. If you get it, load
AppendDialogItemList with FindSymbol; otherwise, try getting
AppearanceLib and attempt to load AppendDialogItemList with FindSymbol;
if this fails, consider AppendDialogItemList to be unavailable.)


-- 
Jens Ayton                            Certified 36.3636363636364% insane
PGP public key:  <http://home4.swipnet.se/~w-49116/stuff/jens_ayton.pgp>

Relieve guilt and hunger in one fell swoop: http://www.thehungersite.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads