CarbonLib is PEF. Only Mach-O stuff works on Intel. I don't know what happens if you declare to CarbonLib in a PEF app running under Rosetta.

In general, it's easiest to use soft declares to Carbon.framework.

Charles Yeomans'
On Jan 10, 2007, at 4:13 PM, Theodore H. Smith wrote:

Anyone got some declare examples against CarbonLib on MacIntel?

Things like this:

  #if TargetCarbon then
    Declare Function GetMBarHeight Lib "CarbonLib" () as Short
  #endif
  return GetMBarHeight()

They don't work anymore.

--
http://elfdata.com/plugin/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to