I have a customer who is having a problem once the Ohanaware App Kit is added to their API 2.0 project. Xojo complains that their folderitem constructors (which are API 2.0) are invalid, which were fine before.
Type "Folderitem" has no member named "PathModes"
f = new folderitem( thePath, folderitem.pathmodes.native )
Type "int32" has no member named "Native"
f = new folderitem( thePath, folderitem.pathmodes.native )
The weird thing is I can enter either API 2.0 or API 1.0 into a API 2.0 (with the App Kit present) and get no such errors.
Dim f as new folderItem( "/Users/rowlands/Desktop/test.txt", folderItem.pathModes.native )
f = new folderItem( "/Users/rowlands/Desktop/test.txt", folderItem.pathTypeNative )
Is there any advice I can forward onto the customer as I really donât know what to suggest? At this point I also cannot convert the App Kit to API 2.0 only as I and some of my customers use it with pre 2019r2 versions.