General problems

Hello everyone. I'm starting to program in C + + (i've studied c and c#) and I have several problems:

- in a Windows Forms application, I need to let every methods know a variable how can I declare it global?

- How do I convert a type PUCHAR to binary data to print to video and writing to file?

thanks
- in a Windows Forms application, I need to let every methods know a variable how can I declare it global?
declare the variable within the form class as a member

- How do I convert a type PUCHAR to binary data to print to video and writing to file?
well, since everything is binary no need of conversion. binary to video does not make sense. what do you want exactly?
Topic archived. No new replies allowed.