I get the following error:
e:\cpp\MoagicCom\MoagicCom\MainForm1.h(209): error C2039: 'GetCurrentDirectoryA' : is not a member of 'System::IO::Directory'
when I use GetCurrentDirectory in a C++ .NET form.
When I use it in a console application it works fine.
I am having the same problem w/ MessageBox::Show. I must be doing something stupid, but can't figure it out for the life of me.