[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] some gem question



Hi! 

> > For example: I update some things on main dialog (time, scrolling text 
> > etc) but when I click "about application", redrawing stops and I have 
> > to close that about dialog.
>
> To avoid that problem you f.e. have to divide the program into separate
"threads", where one thread handles your main dialog, and another > one
handles the about dialog. This may be accomplished in several different
ways.

Use some still being developed library (e.g. WinDom) which would give you an
easier way of handling those things.

> > work with long names, how to list the directory content with such names?
using opendir(), readdir()?
> > Aren't they MiNT-only calls?
>
> MiNT calls are Dopendir(), Dreaddir(), Drewinddir() and Dclosedir(). 
> opendir(), readdir(), rewinddir() and closedir() aren't MiNT calls at all,
these are MiNTLib functions. I suppose that if a system
> lacks the Dopendir() et consortes, MiNTLib emulates them using
Fsfirst()/Fsnext().

Konrad is right you should use standard libc (in our case mintlib's)
bindings in your applications.

Moreover the Dopendir() and related calls are not only MiNT calls, but they
are present in MagiC as well and the MetaDOS .dos filesystems can implement
them also (e.g. the hostfs.dos does that).

Best Regards

Standa