Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ns-mx!ccad.uiowa.edu!cadsi From: cadsi@ccad.uiowa.edu (CADSI) Newsgroups: comp.windows.ms.programmer Subject: Re: SetDlgItemText() w/ BC++ 2.0 Message-ID: <1991Mar4.151215.32350@ccad.uiowa.edu> Date: 4 Mar 91 15:12:15 GMT References: <1991Mar4.073605.586@isis.cs.du.edu> Organization: CAD-Research, U. of Iowa, Iowa City, Iowa Lines: 12 From article <1991Mar4.073605.586@isis.cs.du.edu>, by ebergman@isis.cs.du.edu (Eric Bergman-Terrell): > > Is there a bug with SetDlgItemText() in Borland C++ 2.0? > > I can use SetDlgItemInt() on a dialog box field with no problem. > When I try to use SetDlgItemText() on the same field, I can't make > it work - it places a "%d" in the specified field, rather than the > (literal) string that I pass the fcn. > > Any ideas? You sure you gave SetDlgItemText a LPSTR and not a near pointer???