Hi, i am trying to use a buffer before sending it to a canvas, and I am having problems finding out how to set the buffer as a parameter in one of my classes. Im doing this:
Code:
void Muestrate(BufferedGraphics ^buffer);
This is the same way i used to set a canvas a parameter, although it wont work with the buffer. I keep getting a syntax error. Any help please? Thanks in advance.
Last edited by limpit; November 5th, 2009 at 11:42 PM.
You are using something called "Managed C++". Managed C++ is a superset of C++, using inventions that are not "true" C++. That "^" character is nonsensical to the "true" C++ language in the context that you're using it.
In true C++, the "^" character is an exclusive-or. So to this forum, you are passing a paramter that is an exclusive-or, so this makes it non-sensical to this group.
For Managed C++, that symbol does make sense, but this is not the Managed C++ forum.
Bookmarks