3,119
社区成员
发帖
与我相关
我的任务
分享 TCommDbConnPref connectPref;
// setup preferences
connectPref.SetDialogPreference(ECommDbDialogPrefDoNotPrompt);
connectPref.SetDirection(ECommDbConnectionDirectionUnknown);
connectPref.SetBearerSet(ECommDbBearerGPRS);
//Sets the CommDb ID of the IAP to use for this connection
connectPref.SetIapId(iIap); // 假定已经找到有效的IAP id。
User::LeaveIfError(iConnection.Start(connectPref));