Hi, I am trying to save my form's location into the registry, so I used this code:
"main ->SetValue(S"MainX", this ->Location.get_X());
main ->SetValue(S"MainY", this ->Location.get_Y());"
I then get the compiler error, "cannot convert 'int' to 'Object __gc*'"
Now, I realize that its SetValue(String*, Object*), but when I look at the MSDN info about the method, it shows examples of it storing integers, floats, etc. I am not using the .NET framework 2.0.
How can I save int's into the registry?
Thanks