SFML community forums
Bindings - other languages => DotNet => Topic started by: rpgmaker on March 15, 2009, 03:34:33 am
-
Just as the title states. When ever GetRect is called on String2D object it crashes and gives the below error.
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Thanks for the help.
-
Hi
It's already fixed:
http://www.sfml-dev.org/todo/index.php?do=details&task_id=75
-
I download it and tried it and still does not work. It gives me the same error message.
Is something wrong with the way i am calling it?
using G = SFML.Graphics;I am aliasing the namespace as G
text = new G.String2D("God is Good");
G.FloatRect rect = text.GetRect();
-
The fix is not included in SFML 1.4, you have to download the latest sources from SVN and recompile it yourself. Or wait for SFML 1.5.
-
I did download the DotNet SVN version. And compile the C# code to get the .net dll. But it still did not work and gave me the same error message.
-
You have to compile the C++ version, then the C binding and finally the .Net binding from the brand new C binaries :D
-
I think i would just wait for the version 1.5 to be posted ^_^