MessageBox is not working when VS beta 1 installed

  • Thread starter Thread starter dmitry sazonov
  • Start date Start date
D

dmitry sazonov

I getting EMPTY message boxes, when running this code

System.Windows.Forms.MessageBox.Show("AAA");

under VS 2003

I also have VS 2005 beta 1 installed on my machine.

What should I do???
 
Hi dmitry,

The typical solution to such an error is to update McAffee Virusscan.
VS 2003 and VS 2005 can coexist without interfering with eachother.
 
Hi dmitry,
The typical solution to such an error is to update McAffee Virusscan.
VS 2003 and VS 2005 can coexist without interfering with
eachother.

updated. scanned disk. same problem.

I even tried to call
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int MessageBox(int hWnd, string
text, string caption, int type);
MessageBox(0,"test string","test caption",0);

test string is not visible as well as Ok text.
"test caption" is visible.

When I'm running MessageBox under VS2005 beta 1 it is
working fine.

WHAT IS GOING ON?
 
You might want to disable buffer overflow checks in McAffe and see if that helps



Hi dmitry,
The typical solution to such an error is to update McAffee Virusscan.
VS 2003 and VS 2005 can coexist without interfering with
eachother.

updated. scanned disk. same problem.

I even tried to call
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int MessageBox(int hWnd, string
text, string caption, int type);
MessageBox(0,"test string","test caption",0);

test string is not visible as well as Ok text.
"test caption" is visible.

When I'm running MessageBox under VS2005 beta 1 it is
working fine.

WHAT IS GOING ON?
 
Back
Top