Re: Troubles with new version of win32lib ?????
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Sep 26, 2000
- 390 views
Hi Gene, that line (735 in v0.53) refers to a constant defined in msgbox.e (line 21 (stamp=80075173)). This file is included in win32lib.ew at line 533. Therefore, all I can guess, assuming you haven't also got a message about msgbox.e being missing, is that the version of msgbox.e you are using, does not have this constant defined. I haven't got the Linux version of msgbox.e, so maybe that version doesn't have this constant. Otherwise I'm not sure what is going on. I use win32lib.ew daily and have not got this problem. For your information, I copied these lines from msgbox.e... ----------------------------------- global constant MB_ABORTRETRYIGNORE = #02, -- Abort, Retry, Ignore MB_APPLMODAL = #00, -- User must respond before doing something else MB_DEFAULT_DESKTOP_ONLY = #20000, MB_DEFBUTTON1 = #00, -- First button is default button MB_DEFBUTTON2 = #100, -- Second button is default button MB_DEFBUTTON3 = #200, -- Third button is default button MB_DEFBUTTON4 = #300, -- Fourth button is default button MB_HELP = #4000, -- Windows 95: Help button generates help event MB_ICONASTERISK = #40, MB_ICONERROR = #10, MB_ICONEXCLAMATION = #30, -- Exclamation-point appears in the box MB_ICONHAND = MB_ICONERROR, -- A hand appears MB_ICONINFORMATION = MB_ICONASTERISK,-- Lowercase letter i in a circle appears MB_ICONQUESTION = #20, -- A question-mark icon appears MB_ICONSTOP = MB_ICONHAND, MB_ICONWARNING = MB_ICONEXCLAMATION, MB_OK = #00, -- Message box contains one push button: OK MB_OKCANCEL = #01, -- Message box contains OK and Cancel MB_RETRYCANCEL = #05, -- Message box contains Retry and Cancel MB_RIGHT = #80000, -- Windows 95: The text is right-justified MB_RTLREADING = #100000, -- Windows 95: For Hebrew and Arabic systems MB_SERVICE_NOTIFICATION = #40000, -- Windows NT: The caller is a service MB_SETFOREGROUND = #10000, -- Message box becomes the foreground window MB_SYSTEMMODAL = #1000, -- All applications suspended until user responds MB_TASKMODAL = #2000, -- Similar to MB_APPLMODAL MB_YESNO = #04, -- Message box contains Yes and No MB_YESNOCANCEL = #03 -- Message box contains Yes, No, and Cancel -- possible values returned by MessageBox() -- 0 means failure global constant IDABORT = 3, -- Abort button was selected. IDCANCEL = 2, -- Cancel button was selected. IDIGNORE = 5, -- Ignore button was selected. IDNO = 7, -- No button was selected. IDOK = 1, -- OK button was selected. IDRETRY = 4, -- Retry button was selected. IDYES = 6 -- Yes button was selected. ----------------------------------- ----- Original Message ----- From: "Gene Mannel" <mgene2 at GJ.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Tuesday, September 26, 2000 7:35 AM Subject: Troubles with new version of win32lib ????? > Hello again, > > Heres my problem, > Win32lib was working fine b4 I downloaded a newer version. > I downloaded a newer version of winlib32 and started getting > the following error when trying to run any of the demos etc. > > this is from er.err as any of the example prog's boot up > > C:\TEMP\win32lib.ew:272 > message_box has not been declared > ok = message_box( "Couldn't find DLL " & name, > ^ > > So I found a newer version of win32lib and now I get this error, > > C:\EUPHORIA\include\win32lib.ew:735 > MB_ICONEXCLAMATION has not been declared > lStyle = MB_ICONEXCLAMATION + MB_OKCANCEL > ^ > > I checked several time and Im sure I put all the files in the right > DIR's ETC. > > What am I do wrong or did I download a version for Linux > or something? > > Thanks, > > Gene