Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Code warrior for Mac > Compile error w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2149 of 2225
Post > Topic >>

Compile error with filter function

by "Mythic Wave" <brianleader@[EMAIL PROTECTED] > Jul 5, 2006 at 08:43 AM

Hello,

I've just switched from CodeWarrior 9 to 10 and am getting the
following compile error.  It didn't occur with CW 9.

	Error   : function call '[VoCompApp].NewNavObjectFilterUPP(pascal
unsigned char (*)(AEDesc *, void *, void *, short))' does not match
	'NewNavObjectFilterUPP(pascal extern "C" unsigned char (*)(AEDesc *,
void *, void *, short))'

I've declared my filter function as follows:

	static pascal Boolean MyFileFilter(AEDesc *theItem, void *info, void
*callBackUD, NavFilterModes filterMode) {...}

I've created the function pointer as follows:

	g_FilterProc = NewNavObjectFilterUPP((pascal Boolean (*) (AEDesc *,
void *, void *, NavFilterModes))MyFileFilter);

Any help would be appreciated.

Thanks,

Brian
 




 2 Posts in Topic:
Compile error with filter function
"Mythic Wave" &  2006-07-05 08:43:51 
Re: Compile error with filter function
David Phillip Oster <o  2006-07-05 16:33:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 0:30:15 CDT 2008.