ExtractSchedList error at name with special character

We use Lotus C API Toolkit for Notes/Domino 7.0. and 8.0 to retrieve schedule information from SCHED manager. This work perfectly, but if the name includes some special character e.g. ü FC ISO 8859-1 ISO Latin 1 the following error encountered:

Schedule_ExtractSchedList retValue 1002 No schedule list entry is available for this object

although by Tell Sched Show Peter Müller/test

the user is busy from X:y to Z:W

Validated

Code extract:

  ret_code = ListAddEntry(list_handle, FALSE, &list_size, B_ListGetNumEntries(list_ptr,FALSE), asAccountName.c_str(),

                      (WORD) strlen(asAccountName.c_str()));

//Ret Code is ok here

ret_code = Schedule_ExtractSchedList(rethCntnr, hSchedObj,

                                       &pInterval, (unsigned long *) &retdwSize,

                                       &rethSchedList, &hMoreObj);

// Ret COde 1002

Subject: Non-ASCII characters work

Error code of 1002 (0x3EA, ERR_SCHOBJ_NOSCHEDLIST) is “No schedule list entry is available for this object”

That error is typically the case when the container handle is not one that can be retrieved and used to find the ‘type’ of subcontainer you are asking for (eg: Profile hours, busy time data, etc.). Unfortunately I cannot tell much more from the simple 2 line fragment to suggest where to start.

I would recommend you check out the C API Toolkit sample program “schedule” for how to retrieve and parse thru the different subcontainer types that we send back. While it may be somewhat basic, it will give you a great model to test with and isolate the problem for your case.

Bruce

IBM