Sorry... my last post wasn't complete...
I'm able to create access points, the code that I posted works well, and only WriteDeviceData is needed ( I re-tested the code 5 minutes ago.. only this capability is needed ).
I know that S60 doc indicate ReadUserData,WriteUserData, ReadDeviceData, WriteDeviceData capabilities ( for CApAccessPointItem, CApDataHandler... ) but for this operation, that is only a write, only WriteDeviceData is needed.
If you want to use CApAccessPointItem for others operations ( read, ecc. ) probably all the 4 capabilities are needed.
I re-write the code.. the last that I posted creates a Gprs AP...
CApAccessPointItem *wlan = CApAccessPointItem::NewLC();
// Store it into the CommsDb
CCommsDatabase *commDb = CCommsDatabase::NewL();
CApDataHandler *handler = CApDataHandler::NewLC(*commDb);
TUint32 newApId = handler->CreateFromDataL(*wlan);
CleanupStack::PopAndDestroy(3); // handler, commDb, wlan
p.s. for dejjan .. in 3rd edition api reference ( sdk folder "S60doc" ) you can find required capabilities