Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
SRP_List_Create( List) fails in ver 2.x
I think I've found a regression in SRP_List_Create() from at least 2.1.4 (it works in v1.6). It appears that if passed a List to create, the list doesn't actually get created, or isn't accessible. The handle returned is non-zero though.
To use your doc'd example:
ans returns 0 instead of 10. Also, SRP_List_Locate() will fail on any item that is in the list.
However, using SRP_List_Add() to add each item to an uninstantiated list works.
Can you you replicate this??
Cheers, M@
To use your doc'd example:
// Create a list from a comma delimited array
InitArray = "A,B,C,D,E,F,G,H,I,J"
ListHandle = SRP_List_Create(InitArray, ",")
ans = SRP_List_Count( ListHandle)
ans returns 0 instead of 10. Also, SRP_List_Locate() will fail on any item that is in the list.
However, using SRP_List_Add() to add each item to an uninstantiated list works.
Can you you replicate this??
Cheers, M@
Comments
Cheers, M@