Probably you need the correct library for OS X, and you need to change the reference to that library in the declarations below.

Charles Yeomans

On Sep 29, 2006, at 2:57 PM, Dirk Varnholt wrote:

Hi.
After registering with gracenote i tryed to get some infos from the cddb2. Works fine. But on quit of the application it crashes. Here's the shortest code to show the problem.

Anybody did something with success? (i looked at tobyrush.com but his is for PPC, not Carbon)

  Dim erg as integer
  Dim m as new MemoryBlock(4)

Declare Function CddbMacInitialize Lib "CDDBCarbonLib" (that as Ptr, qdGlobals as integer) as integer Declare Function CddbControl_Shutdown Lib "CDDBCarbonLib" (that as integer) as integer Declare Function CddbTerminate Lib "CDDBCarbonLib" (that as integer) as integer

  erg=CddbMacInitialize(m,0)
  ' initialize more, do lot of stuff. everything works fine
  erg=CddbControl_Shutdown(m.long(0))
  erg=CddbTerminate(m.long(0))
  ' but if i terminate everything, the app crashes
  quit
_______________________________________________

_______________________________________________
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>
  • CDDB2 and RB Dirk Varnholt
    • Re: CDDB2 and RB Charles Yeomans

Reply via email to