Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!memetral From: memetral@athena.mit.edu (Max E. Metral) Newsgroups: comp.windows.ms.programmer Subject: Strange clobberings. Message-ID: <1991Jun11.210451.14087@athena.mit.edu> Date: 11 Jun 91 21:04:51 GMT Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 19 I am trying to call MessageBox() from a Dialog Box. If I call it with MB(hDlg, (LPSTR) "No filename specified", NULL, MB...); the string is not displayed, and junk is in it's place, and memory is cold screwed up. If I call it with a string used elsewhere in the program, defined at the top as: static char DefSpec[10] = "*.*"; It works. But if I define my own: static char Err[100] = "Yo mama"; I get the same error. Any clues??????