I would like to know before using gui_load() if the guimap is already loaded.
How can I do ?
Typically, I don't think people tend to bother. They just close all GUI files before opening what they want. Is there some special reason you want to be able to check that?
<font class="small">Code:</font><hr /><pre>GUI_list_buffers(arr_guifiles,n_guifile);</pre><hr />
The first parameter will contain an array of all open GUI files, where the second parameter will contain the total number of open GUI files.
But Peter is correct, it is more efficient to just close all guis and open the one you need.
Insanity: doing the same thing over and over again and expecting different results