English Amiga Board


Go Back   English Amiga Board > Support > support.AmigaOS

 
 
Thread Tools
Old 30 January 2022, 19:03   #1
Warty
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?
Warty is offline  
Old 30 January 2022, 19:55   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
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.
thomas is offline  
Old 30 January 2022, 20:09   #3
Warty
Registered User
 
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
Ah, options. Hadn't thought of that. Thanks for the info Thomas!
Warty is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:57.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06463 seconds with 15 queries