Forge wrote:Hi Chris,
I have been using ProGUI in a RCon tool I developed for a Armed Assault 2 Community (without being familiar with this game itself since it was a contract):
http://dev-heaven.net/projects/rcon/files
As the protocol was not public this tool proved to be the first stable RCon GUI. However some administrators report that our tool sometimes crashes at random when starting it (process starts and seems to run but there does not appear any GUI). And today it also crashed on my system (Windows 7 32 bit) when I was about to release a new version. I figured out that the problem can be traced to ProGUI itself since the tool works great when replacing all commands of your lib.
In former times I had exactly the same problem in another application. Is there anything one should pay attention to when using your lib in unicode mode?
Thanks! Hope I will be able to use your great lib again!
Hey Soner!
I checked out "ArmA 2 RCon GUI 1.5" it looks like your using a fairly old version of ProGUI, can you try re-compiling with the latest version of ProGUI (V1.18) and let me know if the problem still occurs. Also, a good idea when theres a strange crash in ProGUI is to include the ProGUI.pb source code directly into your code with the following constants set to:
Code: Select all
#LIBRARY = 1 ; 1 = compile for PureBasic Library
#DISABLEPROTECTION = 1 ; 1 = disable
#DEBUGENABLED = -1 ; -1 = enable debug
use the following at the top of your code:
Code: Select all
IncludeFile "ProGUI.pb"
ProGUI_Init()
StartProGUI("", 0, 0, 0, 0, 0, 0, 0)
and before your program terminates add "ProGUI_End()". Doing this will allow you to see in the ProGUI source code where the crash occurs and then you can let me know what line number and I can fix it then
Hope that helps mate! (and glad you're still loving the lib!

)
Chris.
P.S I'm working on a new skin subsystem and skinable buttonex at the moment (not much left to do!)
