1. I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 08, 2007
- 777 views
- Last edited May 09, 2007
Error code 461 Failed to acquire at hWnd when creating a control Win32Lib v0.60 11-Jul-2004 I have searched but not found a solution to this bug. (when run in winXP and win2000) /amux
2. Re: I have searched but not found a solution to this error in win32lib.
- Posted by Judith Evans <camping at ccewb.net> May 08, 2007
- 757 views
- Last edited May 09, 2007
amux wrote: > > Error code 461 > Failed to acquire at hWnd when creating a control > Win32Lib v0.60 11-Jul-2004 > > I have searched but not found a solution to this bug. > (when run in winXP and win2000) > > /amux I had this problem until Sascha Zindel updated win32lib v 0.60 for me to use with IDE. You can download IDEWin32lib.zip from Enhanced IDE on the RDS Contribution Page. You don't need to download the IDE itself. This win32lib version does not have the recent fixes posted lately on EuForum.
3. Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 09, 2007
- 755 views
- Last edited May 10, 2007
It didn´t help, I get the same errormessage. Judith Evans wrote: > > amux wrote: > > > > Error code 461 > > Failed to acquire at hWnd when creating a control > > Win32Lib v0.60 11-Jul-2004 > > > > I have searched but not found a solution to this bug. > > (when run in winXP and win2000) > > > > /amux > > I had this problem until Sascha Zindel updated win32lib v 0.60 for me to use > with IDE. > > You can download IDEWin32lib.zip from Enhanced IDE on the RDS Contribution > Page. > You don't need to download the IDE itself. > > This win32lib version does not have the recent fixes posted lately on EuForum. /amux
4. Re: I have searched but not found a solution to this error in win32lib.
- Posted by Derek Parnell <ddparnell at bigpond.com> May 10, 2007
- 760 views
amux wrote: > > It didn´t help, I get the same errormessage. > > Judith Evans wrote: > > > > amux wrote: > > > > > > Error code 461 > > > Failed to acquire at hWnd when creating a control > > > Win32Lib v0.60 11-Jul-2004 > > > > > > I have searched but not found a solution to this bug. > > > (when run in winXP and win2000) > > > > > > /amux > > > > I had this problem until Sascha Zindel updated win32lib v 0.60 for me to use > > with IDE. > > > > You can download IDEWin32lib.zip from Enhanced IDE on the RDS Contribution > > Page. > > You don't need to download the IDE itself. > > > > This win32lib version does not have the recent fixes posted lately on > > EuForum. > In that case you need to do the slow process of cutting away the bits of your program that are not part of the problem until you are left with the smallest bit of source code that demonstrates the issue. That will help us isolate the fix. This process is slow because you have to do a lot of trial and error cutting. How big is the program now? See if you can isolate the problem to a program that has only a dozen or so lines. -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell
5. Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 10, 2007
- 763 views
Derek Parnell wrote: > > amux wrote: > > > > It didn´t help, I get the same errormessage. > > > > Judith Evans wrote: > > > > > > amux wrote: > > > > > > > > Error code 461 > > > > Failed to acquire at hWnd when creating a control > > > > Win32Lib v0.60 11-Jul-2004 > > > > > > > > I have searched but not found a solution to this bug. > > > > (when run in winXP and win2000) > > > > > > > > /amux > > > > > > I had this problem until Sascha Zindel updated win32lib v 0.60 for me to > > > use > > > with IDE. > > > > > > You can download IDEWin32lib.zip from Enhanced IDE on the RDS Contribution > > > Page. > > > You don't need to download the IDE itself. > > > > > > This win32lib version does not have the recent fixes posted lately on > > > EuForum. > > > > In that case you need to do the slow process of cutting away the bits of your > program that are not part of the problem until you are left with the smallest > bit of source code that demonstrates the issue. That will help us isolate the > fix. > > This process is slow because you have to do a lot of trial and error cutting. > How big is the program now? 52 objects on the (only) form 90 variables 800 rows(total) >See if you can isolate the problem to a program > that has only a dozen or so lines. > > -- > Derek Parnell > Melbourne, Australia > Skype name: derek.j.parnell /amux
6. Re: I have searched but not found a solution to this error in win32lib.
- Posted by CChris <christian.cuvier at agriculture.gouv.fr> May 10, 2007
- 758 views
amux wrote: > > Derek Parnell wrote: > > > > amux wrote: > > > > > > It didn´t help, I get the same errormessage. > > > > > > Judith Evans wrote: > > > > > > > > amux wrote: > > > > > > > > > > Error code 461 > > > > > Failed to acquire at hWnd when creating a control > > > > > Win32Lib v0.60 11-Jul-2004 > > > > > > > > > > I have searched but not found a solution to this bug. > > > > > (when run in winXP and win2000) > > > > > > > > > > /amux > > > > > > > > I had this problem until Sascha Zindel updated win32lib v 0.60 for me to > > > > use > > > > with IDE. > > > > > > > > You can download IDEWin32lib.zip from Enhanced IDE on the RDS > > > > Contribution > Page.</font></i> > > > > You don't need to download the IDE itself. > > > > > > > > This win32lib version does not have the recent fixes posted lately on > > > > EuForum. > > > > > > > In that case you need to do the slow process of cutting away the bits of > > your > > program that are not part of the problem until you are left with the > > smallest > > bit of source code that demonstrates the issue. That will help us isolate > > the > > fix. > > > > This process is slow because you have to do a lot of trial and error > > cutting. > > How big is the program now? > > 52 objects on the (only) form > 90 variables > 800 rows(total) > > > >See if you can isolate the problem to a program > > that has only a dozen or so lines. > > > > -- > > Derek Parnell > > Melbourne, Australia > > Skype name: derek.j.parnell > > > /amux I remember having an error 461 with vintage win32lib v0.60.6 while trying to access RichEdit controls under win98/2k I think. After searching the forum (you should really experiment with this, it can dig up some gems for you), I found this post: <pre> Date: 2004 Sep 9 23:40 From: Derek Parnell <ddparnell at bigpond.com> Subject: Re: win32lib v60.5 error code 461 I messed up with RichEdit on old Windows systems. Look in the w32DLL.ew include file. Naar the end of the file you will see some code dealing with RichEdit classes. Replace all after the comments ...
--/topic Constant --/const riched32 --/desc Windows Library: Rich Edit Control
with ...
global constant riched32 = registerw32Library({"Msftedit.dll","riched20.dll","riched32.dll"}), -- Rich Edit control WC_RICHEDIT10 = "RICHEDIT", WC_RICHEDIT20 = "RichEdit20A", WC_RICHEDIT50 = "RICHEDIT50W" global sequence WC_RICHEDIT vw32Libraries[riched32][1] = linkDLL(vw32Libraries[riched32][2]) if vw32Libraries[riched32][1][1] = 1 then WC_RICHEDIT = WC_RICHEDIT50 elsif vw32Libraries[riched32][1][1] = 2 then WC_RICHEDIT = WC_RICHEDIT20 else WC_RICHEDIT = WC_RICHEDIT10 end if
-- Derek Parnell Melbourne, Australia </pre> Perhaps this is it? v0.60.6 didn't incorporate this fix, so you'll still have to patch the code as suggested. CChris
7. Re: I have searched but not found a solution to this error in win32lib.
- Posted by Larry Miller <larrymiller at sasktel.net> May 10, 2007
- 752 views
amux wrote: > > Error code 461 > Failed to acquire at hWnd when creating a control > Win32Lib v0.60 11-Jul-2004 > > I have searched but not found a solution to this bug. > (when run in winXP and win2000) > > /amux This error means that windows was unable to create the control requested. This can occur for a number of reasons. The ex.err file generated by Euphoria should allow you to determine where in your program the error is occuring. Make certain that ALL parameters to the create() function are correct. If any of these are not valid for the control type a failure may occur. Larry Miller
8. Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 10, 2007
- 750 views
- Last edited May 11, 2007
Larry Miller wrote: > > amux wrote: > > > > Error code 461 > > Failed to acquire at hWnd when creating a control > > Win32Lib v0.60 11-Jul-2004 > > > > I have searched but not found a solution to this bug. > > (when run in winXP and win2000) > > > > /amux > > This error means that windows was unable to create the control requested. > This can occur for a number of reasons. The ex.err file generated by >Euphoria > should allow you to determine where in your program the error is occuring. >Make > certain that ALL parameters to the create() function are correct. If any of > these are not valid for the control type a failure may occur. > > Larry Miller This is ex.err H:\temp\mlander\ML_Duo030e.exe:677 in procedure MF() attempt to divide by 0 MG = { {70'F',97'a',105'i',108'l',101'e',100'd',32' ',116't',111'o', 32' ',97'a',99'c',113'q',117'u',105'i',114'r',101'e',32' ',97'a',32' ',104'h', 87'W',110'n',100'd',32' ',119'w',104'h',101'e',110'n',32' ',99'c',114'r', 101'e',97'a',116't',105'i',110'n',103'g',32' ',97'a',32' ',99'c',111'o', 110'n',116't',114'r',111'o',108'l',46'.'}, 461 } MH = 2 MI = 461 MJ = 1 MK = 16 ML = {70'F',97'a',105'i',108'l',101'e',100'd',32' ',116't',111'o',32' ', 97'a',99'c',113'q',117'u',105'i',114'r',101'e',32' ',97'a',32' ',104'h', 87'W',110'n',100'd',32' ',119'w',104'h',101'e',110'n',32' ',99'c',114'r', 101'e',97'a',116't',105'i',110'n',103'g',32' ',97'a',32' ',99'c',111'o', 110'n',116't',114'r',111'o',108'l',46'.'} MM = {69'E',114'r',114'r',111'o',114'r',32' ',99'c',111'o',100'd',101'e', 32' ',52'4',54'6',49'1',10,70'F',97'a',105'i',108'l',101'e',100'd',32' ', 116't',111'o',32' ',97'a',99'c',113'q',117'u',105'i',114'r',101'e',32' ', 97'a',32' ',104'h',87'W',110'n',100'd',32' ',119'w',104'h',101'e',110'n', 32' ',99'c',114'r',101'e',97'a',116't',105'i',110'n',103'g',32' ',97'a', 32' ',99'c',111'o',110'n',116't',114'r',111'o',108'l',46'.',10,10,87'W', 105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' ',118'v',48'0',46'.',54'6', 48'0',46'.',54'6',32' ',49'1',49'1',45'-',74'J',117'u',108'l',45'-',50'2', 48'0',48'0',52'4'} MN = {87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' ',65'A', 112'p',112'p',87'W',105'i',110'n',100'd',111'o',119'w',32' ',45'-',32' ', 70'F',97'a',116't',97'a',108'l',32' ',69'E',114'r',114'r',111'o',114'r'} ... called from H:\temp\mlander\ML_Duo030e.exe:685 in procedure MG() MH = { {70'F',97'a',105'i',108'l',101'e',100'd',32' ',116't',111'o', 32' ',97'a',99'c',113'q',117'u',105'i',114'r',101'e',32' ',97'a',32' ',104'h', 87'W',110'n',100'd',32' ',119'w',104'h',101'e',110'n',32' ',99'c',114'r', 101'e',97'a',116't',105'i',110'n',103'g',32' ',97'a',32' ',99'c',111'o', 110'n',116't',114'r',111'o',108'l',46'.'}, 461 } ... called from H:\temp\mlander\ML_Duo030e.exe:8447 in function BwG() BwH = 23 BwI = {} BwJ = 3 BwK = 360 BwL = 288 BwM = 400 BwN = 200 BwO = 0 BwP = -2 BwQ = 53'5' BwR = <no value> BwS = <no value> BwT = <no value> BwU = <no value> BwV = <no value> BwW = 0 BwX = 1409286414 BwY = -2 BwZ = 328354 Bwa = 1478668 Bwb = 8405900 Bwc = 0 Bwd = <no value> Bwe = <no value> Bwf = <no value> Bwg = <no value> Bwh = <no value> Bwi = <no value> Bwj = {360,288,400,200} Bwk = <no value> Bwl = {} Bwm = <no value> Bwn = 0 Bwo = <no value> Bwp = {} Bwq = <no value> Bwr = <no value> ... called from H:\temp\mlander\ML_Duo030e.exe:15018 Global & Local Variables H:\temp\mlander\ML_Duo030e.exe: C = 0 D = 68'D' E = 43'+' F = 5 G = 36'$' H = -1 I = 121'y' J = 22 K = 21 L = 4 M = 55'7' N = 23 O = 24 P = 56'8' Q = 17 R = 20 S = 26 T = 117'u' U = 59';' V = 114'r' W = 116't' X = 14 Y = 13 Z = 33'!' a = 30 b = 44',' c = 29 d = 34'"' e = 6 f = 45'-' g = 25 h = 3 i = 8 j = 46'.' k = 48'0' l = 73'I' m = 72'H' n = 16 o = 1 p = 58':' q = 70'F' r = 28 s = 53'5' t = 35'#' u = 12 v = 19 w = 42'*' x = 39''' y = 120'x' z = 60'<' BA = 75'K' BB = 66'B' BC = 118'v' BD = 115's' BE = 123'{' BF = 7 BG = 54'6' BH = 62'>' BI = 37'%' BJ = 71'G' BK = 41')' BL = 65'A' BM = 64'@' BN = 40'(' BO = 69'E' BP = 9 BQ = 119'w' BR = 61'=' BS = 47'/' BT = 15 BU = 74'J' BV = 67'C' BW = 57'9' BX = 27 BY = 63'?' BZ = 49'1' Ba = 52'4' Bb = 51'3' Bc = 31 Bd = 32' ' Be = 18 Bf = 38'&' Bg = 50'2' Bh = 2 Bi = 122'z' Ca = 466584 Cr = 1 Dj = <no value> Dk = <no value> Dg = <no value> Dh = <no value> Di = <no value> Dl = <no value> Dm = <no value> Dn = <no value> Do = <no value> Dp = <no value> Dq = <no value> Dr = <no value> Ek = 2011234304 El = 0 Em = 1 Fc = 92'\' Fe = -2 Fq = <no value> Fr = <no value> Fs = <no value> Ft = <no value> Ga = 1 Gb = 3 Gc = 4 Gd = 6 Ge = 9 Gf = 11 Gg = 12 Gh = 14 Hr = <no value> Hs = <no value> IZ = <no value> Ia = <no value> Ib = <no value> Ic = <no value> Id = <no value> Ie = <no value> If = <no value> Lz = 1 MA = {120'x'} MB = {} MC = {87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' ',65'A', 112'p',112'p',87'W',105'i',110'n',100'd',111'o',119'w'} MD = {87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' ',118'v', 48'0',46'.',54'6',48'0',46'.',54'6',32' ',49'1',49'1',45'-',74'J',117'u', 108'l',45'-',50'2',48'0',48'0',52'4'} MZ = {36'$',163,164,165,128} Ms = 0 Mc = 2 Md = {} Mg = {0} Mh = { {761684,1351700} } Mt = 0 Mu = 4 Mv = 0 Ni = {32' ',9,10,11,12,13} OJ = {1,1,1,1,1,1,1,1,1,33'!',33'!',33'!',33'!',33'!',1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,288,264,264,264,264,264,264,264,264,264,264,264,264, 264,264,264,772,772,772,772,772,772,772,772,772,772,264,264,264,264,264, 264,264,898,898,898,898,898,898,898,898,898,898,898,898,898,898,898,898, 898,898,898,898,898,898,898,898,898,898,264,264,264,264,776,264,834,834, 834,834,834,834,834,834,834,834,834,834,834,834,834,834,834,834,834,834, 834,834,834,834,834,834,264,264,264,264,16,16,16,16,16,16,16,16,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,288,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16} Oa = 1777713421 OS = { { {2,1999241216}, { {77'M',115's',102'f',116't',101'e',100'd',105'i',116't',46'.', 100'd',108'l',108'l'}, {114'r',105'i',99'c',104'h',101'e',100'd',50'2',48'0',46'.', 100'd',108'l',108'l'}, {114'r',105'i',99'c',104'h',101'e',100'd',51'3',50'2',46'.', 100'd',108'l',108'l'} } }, }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, -1, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 }, { {109'm',115's',32' ',115's',97'a',110'n',115's',32' ',115's', 101'e',114'r',105'i',102'f'}, 8, 0, 0 } } <SNIP> /amux
9. Re: I have searched but not found a solution to this error in win32lib.
- Posted by Robert Craig <rds at RapidEuphoria.com> May 10, 2007
- 704 views
- Last edited May 11, 2007
amux wrote: > This is ex.err To get a meaningful ex.err file, you should run your program with the interpreter, exw, or else bindw with the -full_debug option. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
10. Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 11, 2007
- 747 views
Robert Craig wrote: > > amux wrote: > > This is ex.err > > To get a meaningful ex.err file, > you should run your program with the interpreter, exw, > or else bindw with the -full_debug option. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a>
constant Bitmap2 = createEx( Bitmap, "", Window_ML, 360, 288, 400, 200, 0, w32or_all({-2}) )
looks like the error is in this code tried different params. without success /amux
11. Re: I have searched but not found a solution to this error in win32lib.
- Posted by Larry Miller <larrymiller at sasktel.net> May 11, 2007
- 758 views
amux wrote: > > Robert Craig wrote: > > > > amux wrote: > > > This is ex.err > > > > To get a meaningful ex.err file, > > you should run your program with the interpreter, exw, > > or else bindw with the -full_debug option. > > > > Regards, > > Rob Craig > > Rapid Deployment Software > > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> > > }}} <eucode> > constant Bitmap2 = createEx( Bitmap, "", Window_ML, 360, 288, 400, 200, 0, > w32or_all({-2}) ) > </eucode> {{{ > > looks like the error is in this code > tried different params. without success > > /amux The problem is in the extended style parameter. w32or_all({-2}) will evaluate to #FFFFFFFE, meaning all styles set except 1. Change this parameter to 0 and it will work. The Bitmap control itself has no specific extended styles but some generic extended window styles are useful. You can set this according to your requirements. But be certain to set only valid styles or a failure will result. Larry Miller Larry
12. Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 11, 2007
- 745 views
Larry Miller wrote: > > amux wrote: > > > > Robert Craig wrote: > > > > > > amux wrote: > > > > This is ex.err > > > > > > To get a meaningful ex.err file, > > > you should run your program with the interpreter, exw, > > > or else bindw with the -full_debug option. > > > > > > Regards, > > > Rob Craig > > > Rapid Deployment Software > > > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> > > > > }}} <eucode> > > constant Bitmap2 = createEx( Bitmap, "", Window_ML, 360, 288, 400, 200, 0, > > w32or_all({-2}) ) > > </eucode> {{{ > > > > looks like the error is in this code > > tried different params. without success > > > > /amux > > The problem is in the extended style parameter. w32or_all({-2}) will evaluate > to #FFFFFFFE, meaning all styles set except 1. Change this parameter to 0 and > it will work. The Bitmap control itself has no specific extended styles but > some generic extended window styles are useful. You can set this according to > your requirements. But be certain to set only valid styles or a failure will > result. > > Larry Miller > > > Larry I have changed to constant Bitmap2 = createEx( Bitmap, "", Window_ML, 336, 288, 400, 200, 0, w32or_all({1})) and it works. (tested winME and win2000.) /amux
13. Re: I have searched but not found a solution to this error in win32lib.
- Posted by Derek Parnell <ddparnell at bigpond.com> May 12, 2007
- 774 views
amux wrote: > constant Bitmap2 = createEx( Bitmap, "", Window_ML, 336, 288, 400, 200, 0, > w32or_all({1})) But what are you trying to achieve by setting the EXFLAG parameter to 1? -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell
14. Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 12, 2007
- 726 views
Derek Parnell wrote: > > amux wrote: > > > constant Bitmap2 = createEx( Bitmap, "", Window_ML, 336, 288, 400, 200, 0, > > w32or_all({1})) > > But what are you trying to achieve by setting the EXFLAG parameter to 1? avoid crash (win2000), as you suggested I isolated the problem to this code I use the Bitmap to draw some lines , maybee there is a better way > > > -- > Derek Parnell > Melbourne, Australia > Skype name: derek.j.parnell /amux
15. Re: I have searched but not found a solution to this error in win32lib.
- Posted by Derek Parnell <ddparnell at bigpond.com> May 12, 2007
- 759 views
amux wrote: > > Derek Parnell wrote: > > > > amux wrote: > > > > > constant Bitmap2 = createEx( Bitmap, "", Window_ML, 336, 288, 400, 200, 0, > w32or_all({1}))</font></i> > > > > But what are you trying to achieve by setting the EXFLAG parameter to 1? > > > avoid crash (win2000), > as you suggested I isolated the problem to this code That is not what I meant. Most people create Bitmaps with the EXFLAG parameter set to zero. You have choosen to use something else, in this case one. Why one and not zero, which is normally used? > I use the Bitmap to draw some lines , maybee there is a > better way Bitmaps can work fine. They save you from have to trap the Paint event as they do it automatically. > > > > > > -- > > Derek Parnell > > Melbourne, Australia > > Skype name: derek.j.parnell > > > /amux -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell
16. Re: I have searched but not found a solution to this error in win32lib.
- Posted by amux <jjsg at abc.se> May 12, 2007
- 779 views
Derek Parnell wrote: > > amux wrote: > > > > Derek Parnell wrote: > > > > > > amux wrote: > > > > > > > constant Bitmap2 = createEx( Bitmap, "", Window_ML, 336, 288, 400, 200, > > > > 0, > > w32or_all({1}))</font></i> > > > > > > But what are you trying to achieve by setting the EXFLAG parameter to 1? > > > > > > avoid crash (win2000), > > as you suggested I isolated the problem to this code > > That is not what I meant. > > Most people create Bitmaps with the EXFLAG parameter set to zero. You have > choosen > to use something else, in this case one. Why one and not zero, which is > normally > used? if I use zero then I get the errormessage > > > I use the Bitmap to draw some lines , maybee there is a > > better way > > Bitmaps can work fine. They save you from have to trap the Paint event as they > do it automatically. > > > > > -- > > > Derek Parnell > > > Melbourne, Australia > > > Skype name: derek.j.parnell > > > > > > /amux > > > -- > Derek Parnell > Melbourne, Australia > Skype name: derek.j.parnell /amux