• 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
Re: MoreNetworkSetup and CodeWarrior 7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >MoreNetworkSetup and CodeWarrior 7 (From: "Chris Edgington" <email@hidden>)

  • Prev by Date: Re: Getting a list of OT Endpoints
  • Next by Date: Re: PPP Connected?
  • Previous by thread: Re: MoreNetworkSetup and CodeWarrior 7
  • Next by thread: PPP Connected?
  • Index(es):
    • Date
    • Thread