Page 2 of 2

Re: Dos notifications - Anyway to get more event information

Posted: Wed Jul 10, 2013 3:39 pm
by ssolie
theamigaone wrote:Right, did'nt quite realize that the Filesystem will actually call the hook, true the printfs could go awol. The serial debug is something which sounds very useful.
For more information about serial debugging see Advanced Serial Debugging Guide.

Re: Dos notifications - Anyway to get more event information

Posted: Wed Jul 10, 2013 3:54 pm
by theamigaone
Hey, thanks, yep got the Serial Sashimi working and indeed my was being called with just the Printf going awol. I'm now just working on the putmsg back to my notifymessage port.

Sure id gladly amend the wiki, thou didn't see a 'register' link, i take it it's hidden :)

Re: Dos notifications - Anyway to get more event information

Posted: Wed Jul 10, 2013 7:46 pm
by theamigaone
Thanks All - Topic solved.

Managed to get the hook to send a message with the filename and Code of the file changed to my app.

Re: Dos notifications - Anyway to get more event information

Posted: Thu Jul 11, 2013 1:01 am
by colinw
While the wiki is currently being updated and contains mostly older documentation and methods.
ALWAYS refer to the latest dos.doc autodocs for the latest release info, it will be merged into the wiki as time permits.

For example;
Please revisit the dos autodocs and DO note that notifications should always be allocated with AllocDosObject() now
rather than the OS3 method of manually allocating memory and initialising the structure.

Also, be aware that you now have the ADO_DOSMethodOnly tag, (to set; nr_Flags |= NRF_DOS_NOTIFY_ONLY)
which will provide a consistent and low overhead notification, regardless of the filesystem support status.

Re: Dos notifications - Anyway to get more event information

Posted: Thu Jul 11, 2013 2:55 pm
by theamigaone
Don't worry I always do, the SDK browser is always my first point of call, then websites. But yes it is easy to get 'best practice' versions combined, I had this when handling multiple windows, wondering why I keep getting crashes, turned out I was using IDoMethod for opening windows and IIntuition->CloseWindow to close, of course unaware of the other bits Class methods do.

Re: Dos notifications - Anyway to get more event information

Posted: Thu Jul 11, 2013 5:32 pm
by ssolie
colinw wrote:While the wiki is currently being updated and contains mostly older documentation and methods.
ALWAYS refer to the latest dos.doc autodocs for the latest release info, it will be merged into the wiki as time permits.
Note I'm also working on getting our autodocs online as well but that project is a bit more involved...