• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Porting MIDI plug-in from CW to Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Porting MIDI plug-in from CW to Xcode


  • Subject: Porting MIDI plug-in from CW to Xcode
  • From: Pete Gontier <email@hidden>
  • Date: Mon, 08 Aug 2005 17:05:51 -0700

Title: Porting MIDI plug-in from CW to Xcode
We have a working (shipping) MIDI driver written in C++ and built with CodeWarrior which needs to be converted to Xcode. We’ve got it building but not running on Panther. (The shipping CodeWarrior build runs fine on Panther.)

The CFPlugIn factory function is called but then the plug-in interface object it instantiates is being called oddly. It receives two calls to AddRef with the same value of ‘this’ but no call to QueryInterface. The callers of AddRef are somewhat different; the first one is...

0x8358bf60 in DriverTable::FindDriversInDirectory(short, unsigned long) ()

...and the second one is...

0x8358bfec in DriverTable::FindDriversInDirectory(short, unsigned long) ()

Same routine with a higher offset. Or perhaps it is only the closest symbol to an unnamed function in one or both cases.

The lack of a call to QueryInterface is of course where the plug-in instantiates the MIDI driver (if necessary).

I can’t guess why being built by Xcode would cause such oddness to occur. Ideas?


— Pete Gontier <http://www.m-audio.com/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Porting MIDI plug-in from CW to Xcode
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Network Device
  • Next by Date: Re: USB MIDI to OSX - throughput, etc.
  • Previous by thread: Re: USB MIDI to OSX - throughput, etc.
  • Next by thread: Re: Porting MIDI plug-in from CW to Xcode
  • Index(es):
    • Date
    • Thread