Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-04

Different units with same name (Mac OSX)

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bent Normann Olsen

Hi,

How do I come about using different units with the same name in Lazarus for Mac OSX?

For example, if I want to use Sound unit with Sound Manager Interfaces, it needs a unit also called Dialogs with Dialog Manager interfaces, which conflicts with Lazarus Component Library unit Dialogs.

Same problem goes for a QuickTime Interface unit like Movies, which uses a Menu Manager Interfaces unit with the same name as Menus in Lazarus Component Library.

Sure, someone must have come across the same problem? Please help :-)

TIA,
Normann

Reply by email

Vincent Snijders
to Bent Normann Olsen
Bent Normann Olsen wrote 14 lines
Hi, How do I come about using different units with the same name in Lazarus for Mac OSX? For example, if I want to use Sound unit with Sound Manager Interfaces, it needs a unit also called Dialogs with Dialog Manager interfaces, which conflicts with Lazarus Component Library unit Dialogs. Same problem goes for a QuickTime Interface unit like Movies, which uses a Menu Manager Interfaces unit with the same name as Menus in Lazarus Component Library. Sure, someone must have come across the same problem? Please help :-)

AFAIK, there are no easy solutions.
Rename one of them. Or don't use both in the same application.

Vincent

Reply by email

Bent Normann Olsen
to Vincent Snijders

Thanks Vincent,

I found out that the big unit FPCMacOSAll solved the problems - for now. Maybe that is why FPCMacOSAll was created in the first place? :-)

Thanks,
Normann

Earlier message 29 lines
-----Original Message----- From: [mailto:] On Behalf Of Vincent Snijders Sent: 29. april 2008 12:17 To: General mailing list Subject: Re: [Lazarus] Different units with same name (Mac OSX) Bent Normann Olsen schreef: > Hi, > > How do I come about using different units with the same name in Lazarus for > Mac OSX? > > For example, if I want to use Sound unit with Sound Manager Interfaces, it > needs a unit also called Dialogs with Dialog Manager interfaces, which > conflicts with Lazarus Component Library unit Dialogs. > > Same problem goes for a QuickTime Interface unit like Movies, which uses a > Menu Manager Interfaces unit with the same name as Menus in Lazarus > Component Library. > > Sure, someone must have come across the same problem? Please help :-) AFAIK, there are no easy solutions. Rename one of them. Or don't use both in the same application. Vincent

Reply by email