Re: MoreNetworkSetup and CodeWarrior 7
Re: MoreNetworkSetup and CodeWarrior 7
- Subject: Re: MoreNetworkSetup and CodeWarrior 7
- From: Quinn <email@hidden>
- Date: Tue, 21 May 2002 15:25:16 +0100
At 15:21 -0500 16/5/02, Chris Edgington wrote:
Error : function call 'MNSGetPref(const MNSDatabaseRef *, const
CfgEntityRef *, @enum2214MoreNetworkSetup_c, CfgSetsVector **, unsigned
long *)' does not match
'MNSGetPref(const MNSDatabaseRef *, const CfgEntityRef *, unsigned long,
void **, unsigned long *)'
MoreNetworkSetup.c line 571 &vectorPrefData, &vectorPrefSize);
Error : function call 'MNSGetPref(const MNSDatabaseRef *, const
CfgEntityRef *, @enum2219NetworkSetupHelpers_c, unsigned char **,
unsigned long *)' does not match
'MNSGetPref(const MNSDatabaseRef *, const CfgEntityRef *, unsigned long,
void **, unsigned long *)'
NetworkSetupHelpers.c line 221 err = MNSGetPref(ref, entity,
kOTCfgUserVisibleNamePref, &entityName, &junkSize);
There are standard "C++ has stricter pointer checking than C"
problems. I've fixed all of these in the latest versions of
MoreIsBetter, but some of the samples that are derived from MIB
haven't been updated in a while.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.