VSC++2010側
LPSTR test4(LPSTR c)
{
char d[30]="test";
strcat(d,c);
return d;
}

VSC#2010側
[DllImport("test.dll", CallingConvention = CallingConvention.Cdecl)]
extern static string test(string s);
...
MessageBox.Show(test("ok"));

VSC++2010でビルドした上のような感じのdllの関数testを
VSC#2010で呼び出してやってみたのですが
文字化けして困っています。解決策をお願いします。