$segments.$add() crashes Studio
Sorry to bother with some antic kind of code, but I need to solve this issue fast.
I have one customer still on DF1,who needs to add a segment on all his sites.
The following code works on Mac but crashes Studio on PCs, (XP & 7)
The manual addition of segment does work perfectly on Mac and PC, so it is not a matter of user’s rights
Calculate Size as 524000
Do $root.$datas.Edmus.$segments.$add(PathData,Size,ErrorCode) Returns DfPlus
PathData contains C:DEVEDMUS (OS5)EDMUSdata
Which where the DF1 is.
Any clue very welcome
Manage your list subscriptions at lists.omnis-dev.com