The Workshop provides quiz questions to help solidify your understanding of what was covered in this hour. Answers are provided in Appendix A, "Quiz Answers."
1: | If you wanted to use MessageBox rather than the ANSI or Unicode functions, what changes need to be made to the DllImport attribute? |
2: | In an unmanaged class, are you responsible for freeing any memory that is allocated, regardless of the variable type? |
3: | If a DLL exports a C++ class that you wish to use within managed code, do you have to create definitions for each of the member functions within that class as well as the definition for the class? |
Top |