Porting MIDI plug-in from CW to Xcode
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