30 January 2022, 19:03 | #1 |
Registered User
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
|
ENV:classes/datatypes/ ?? Read fail with SnoopDOS
In doing some debugging on a file manager app I'm working on, I noticed SnoopDOS reporting Fail events. These are tied to using DataTypes in my app. eg:
if ( (the_datatypes_object = NewDTObject(the_file_name, PDTA_Remap, FALSE, DTA_GroupID, GID_PICTURE, TAG_END)) != NULL ) What's confusing to me: - the SnoopDOS target name is "ENV:classes/datatypes/picture.datatype". Why would it be looking there for classes? or rather, why would ANYTHING be looking in ENV: for classes? Is that normal? - The code "works", in that it does read the picture, so eventually, something must fall back to SYS:classes/... so is this FAIL actually meaningful in any way? |
30 January 2022, 19:55 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,001
|
Not every "fail" in SnoopDOS is an error.
Apparently your version of picture.datatype has some customizable options. As you didn't customize anything, there is no settings file. And that's good. Your app should not rely on custom settings. |
30 January 2022, 20:09 | #3 |
Registered User
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
|
Ah, options. Hadn't thought of that. Thanks for the info Thomas!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SnoopDOS cybergraphics.library fail messages | Warty | Coders. C/C++ | 0 | 26 June 2021 18:01 |
Update ReAction classes | mritter0 | Coders. General | 2 | 30 July 2014 01:55 |
OSX fail to read amiga format cds | Rod_cl | support.Apps | 2 | 14 September 2013 16:16 |
NCList.mcc Classes | Amigan | Amiga scene | 4 | 30 April 2008 12:40 |
A500 sometimes fail to read disks | _ThEcRoW | support.Hardware | 15 | 12 August 2005 18:37 |
|
|