http://bugs.winehq.com/show_bug.cgi?id=1280
------- Additional Comments From fsteinel@flonet.net 2003-22-06 11:56 ------- Bug comments restored from Gmane.org:
When you try to limit the maximum chars accepted in an edit control by doing something like this:
SendMessage(hwndEdit, EM_LIMITTEXT, 10, 0);
Wine simply ignores it, and let the user type more than 10 (in this example) characters.
This looks bad, because the user could eventually overflow the allocated memory for the dialog, making the program crash.
------- Additional Comments From felipewd <at> elipse.com.br 2003-02-14 09:44 ------- Created an attachment (id=401) --> (http://bugs.winehq.com/attachment.cgi?id=401&action=view) .tar.gz source program which sets (in the "about" dialog) the maximum input to 10 characters
------- Additional Comments From tony_lambregts <at> telusplanet.net 2003-02-17 10:48 ------- I downloaded the tarball and need some instructions on how to build this (on Wine) either that or you could upload the compiled exe.
------- Additional Comments From felipewd <at> elipse.com.br 2003-02-17 11:42 ------- You can compile the source code with something like this:
$ winemaker --nomfc . ; ./configure --with-wine=<your wine path> ; make
------- Additional Comments From tony_lambregts <at> telusplanet.net 2003-02-17 13:10 ------- I compiled it but when I tried to run it
./about1
I got
/usr/local/bin/wine: cannot find 'about1.exe'
I copied about1 to about1.exe and got this
/usr/local/bin/wine: cannot determine executable type for 'F:\about1-src\about1.exe'
Any suggestions
------- Additional Comments From felipewd <at> elipse.com.br 2003-02-17 13:50 ------- try 'wine about1.so'
------- Additional Comments From tony_lambregts <at> telusplanet.net 2003-02-17 18:00 ------- OK confirming...