MoreNetworkSetup and CodeWarrior 7
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.