Page 1 of 1

VGExtreme & .Net Debug Warning

Posted: May 30th, 2007, 1:53 pm
by tault_mississippi
WyvernX,
You can find the source code in the attached war file. Start it up in Visual Studio 2005 and runn it in debug mode. Select a target and then switch over to the "Target Data" Tab and find the Move To Target button.

There isn't any error handling at this point, so I don't know what it will do if you click the button without a target, but assuming you have a target click the button to do as it says.

Sometimes it just works, but often enough the debugger pauses to give me this warning:

<img src="http://www.taultunleashed.com/phpbb2/viewtopic.php?mode=attach&id=3713">

I've not really tested it outside of Debug mode, so perhaps it would just be a silent warning in reality - but the "can cause application to hang" part is worrisome.

Please advise.

Posted: May 30th, 2007, 9:05 pm
by wyvernx
Dont call init vge inside of a dll init function.

PS to tell ifyou have a target or not, check the target.guid if it is 0, there is no target.