Hiho,

there might be a problem with saving the handle number of a panel into a string:

Code:

panel* PanelPointer;
panel TestPanel { ... }
...
temp = handle(TestPanel);
str_for_num(str1, temp); //save the handle to the string
PanelPointer = ptr_for_handle(temp); //works
temp = str_to_num(str1); //get the handle out of the string

PanelPointer = ptr_for_handle(temp); //does not work (returns zero)
...



The Problem occurs both on predefined panels and on panels created by pan_create, but it does NOT occur on string pointers/handles.

[EDIT] V6.60, C-Script [/EDIT]

Last edited by Sinthoras; 08/20/07 18:56.