Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VC7 compile/build problems (was DNSServiceQueryRecord)



Thanks for the quick reply. Your solution worked like
a charm.

Thanks,
Eric

--- Scott Herscher <email@hidden> wrote:
> Hey there Eric.
> 
> Try doing this:
> 
> void DNSSD_API reply_callback(
>           DNSServiceRef sdref,
> 	DNSServiceFlags flags,
> 	DNSServiceErrorType error,
> 	const char* name,
> 	const char* regtype,
> 	const char* domain,
> 	void* context)
> {
> ....
> }
> 
> 
> Your project has a default calling convention of
> __cdecl.  The APIs 
> you're calling have a calling convention of
> __stdcall.  That's why the 
> compiler was complaining.  The change above should
> do the trick.
> 
> Take care,
> 
> Scott
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: VC7 compile/build problems (was DNSServiceQueryRecord) (From: Scott Herscher <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.