W
William Stacey
Did you add the "using System.Runtime.InteropServices;" to the top of your
cs file?
cs file?
John said:For the last few weeks I have been learning the C#
language. I use the standard edition pacakge and like
the language. I have used several books for knowledge
and coding practice.
I am now working on Charles Petzhold's book Programming
MS Windows with C#. In chapter 6, he called for a
namespace System.Runtime.InteropServices. This does not
appear to be part of the standard package.
My question: can I avoid upgrading to the next level of
C#, the professional edition, by obtaining an MSDN
Library level subscription and getting the namespace from
there?
John said:For the last few weeks I have been learning the C#
language. I use the standard edition pacakge and like
the language. I have used several books for knowledge
and coding practice.
I am now working on Charles Petzhold's book Programming
MS Windows with C#. In chapter 6, he called for a
namespace System.Runtime.InteropServices. This does not
appear to be part of the standard package.
William Stacey said:Did you add the "using System.Runtime.InteropServices;" to the top of your
cs file?
John said:Your suggestion to include the reference to mscorlib in
the assembly did the trick; the other replies were less
specific and therefore not helpful.