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

MoreNetworkSetup and CodeWarrior 7


  • Subject: MoreNetworkSetup and CodeWarrior 7
  • From: "Chris Edgington" <email@hidden>
  • Date: Thu, 16 May 2002 15:21:41 -0500

We've got this control panel applet for our USB ADSL modem, which is
built using CodeWarrior 7. It is not a carbon app. It's a simple
single-source C++ program with a gui. I need to add network setup
support. So, I added the files from MoreNetworkSetup, but I've got
compile problems with those files. Here are some examples of the errors
... Anybody know what the problem is:

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);

Thanks,
-Chris
_______________________________________________
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.

  • Follow-Ups:
    • Re: MoreNetworkSetup and CodeWarrior 7
      • From: Quinn <email@hidden>
    • Re: MoreNetworkSetup and CodeWarrior 7
      • From: Jens Bauer <email@hidden>
  • Prev by Date: Network Device Naming OS9
  • Next by Date: Re: Rendevous/Zeroconfig with Carbon CFM
  • Previous by thread: Re: Network Device Naming OS9
  • Next by thread: Re: MoreNetworkSetup and CodeWarrior 7
  • Index(es):
    • Date
    • Thread