Re: Win32 tutor part 7

new topic     » goto parent     » topic index » view thread      » older message » newer message

--------------443E8A1A0CCB89BDD7AB5325

Ooops,

        I added the following data using eu_addr.exw:

Fname      Middle     Last           Street           Zip   City
====================================================================

Ferlin     Huskey     Scarborough   RR 1 Box 235D    35042 Centreville
Cheryl     Lee        Scarborough   RR 1 Box 235D    35042 Centreville
Trish      Ann        Heck          RR 1 Box 235F    35042 Centreville

All went fine, but when I pressed ADD on this next record it bombs.

Fname   Middle      Last         Street                  Zip   City
S&W  MiniComputers  Incorporated 25 Joy Avenue Suite 103 35023 Hueytown

I did not try any other records just these 4, and it would occur
everytime, bellow is what's on the screen and ex.err is attached so
anyone out there can look it over and let me know what causes it.


eu_addr.exw:106 in procedure onClick_btnAdd()
repetition count must not be negative
... called from C:\euaddr\Win32Lib.ew:4409 in function WndProc()

^^^ call-back from Windows
... called from C:\euaddr\Win32Lib.ew:4117 in function subclassed()
... called from C:\euaddr\Win32Lib.ew:4239 in function WndProc()

^^^ call-back from Windows
... called from C:\euaddr\Win32Lib.ew:4887 in procedure WinMain()
... called from eu_addr.exw:142
--> see ex.err

Press Enter...


Later,

+ + +  Rev. Ferlin Scarborough  -  Centreville, Alabama  -  USA
--------------443E8A1A0CCB89BDD7AB5325
Content-Disposition: inline; filename="ex.err"

eu_addr.exw:106 in procedure onClick_btnAdd()
repetition count must not be negative
    Mousex = 3008
    Mousey = 0
    fname = {83'S',38'&',87'W',32' '}
    mname = {77'M',105'i',110'n',105'i',67'C',111'o',109'm',112'p',117'u',
116't',101'e',114'r',115's'}
    lname = {73'I',110'n',99'c',111'o',114'r',112'p',111'o',114'r',97'a',
116't',101'e',100'd'}
    fullname = {83'S',38'&',87'W',32' ',32' ',77'M',105'i',110'n',105'i',
67'C',111'o',109'm',112'p',117'u',116't',101'e',114'r',115's',32' ',73'I',
    street = {50'2',53'5',32' ',74'J',111'o',121'y',32' ',65'A',118'v',
101'e',110'n',117'u',101'e',32' ',83'S',117'u',105'i',116't',101'e',32' ',
49'1',48'0',51'3'}
    zip = {51'3',53'5',48'0',50'2',51'3'}
    city = {72'H',117'u',101'e',121'y',116't',111'o',119'w',110'n'}
    line = <no value>

... called from C:\euaddr\Win32Lib.ew:4409 in function WndProc()
    hwnd = 3076
    iMsg = 273
    wParam = 0
    lParam = 3008
    id = 1
    action = 0
    pointer = 2
    mouseX = 3008
    mouseY = 0
    otherFlag = <no value>
    parms = {3008,0}
    result = <no value>

^^^ call-back from Windows

... called from C:\euaddr\Win32Lib.ew:4117 in function subclassed()
    id = 16
    hwnd = 3008
    iMsg = 514
    wParam = 0
    lParam = 589862
    pointer = <no value>
    result = <no value>

... called from C:\euaddr\Win32Lib.ew:4239 in function WndProc()
    hwnd = 3008
    iMsg = 514
    wParam = 0
    lParam = 589862
    id = 16
    action = <no value>
    pointer = <no value>
    mouseX = <no value>
    mouseY = <no value>
    otherFlag = <no value>
    parms = <no value>
    result = <no value>

^^^ call-back from Windows

... called from C:\euaddr\Win32Lib.ew:4887 in procedure WinMain()
    id = 1
    hwnd = <no value>
    msg = 6384280

... called from eu_addr.exw:142

Global & Local Variables

 C:\EUPHORIA\INCLUDE\msgbox.e:
    lib = 3.2205e+009
    msgbox_id = 0

 C:\euaddr\GetSysms.ew:
    ok = <no value>

 C:\euaddr\Win32Lib.ew:
    ok = 2
    user32 = 3.2205e+009
    gdi32 = 3.22031e+009
    winmm = 3.21919e+009
    comdlg32 = 2.14565e+009
    kernel32 = 3.22064e+009
    heldResource = {}
    stockResource = {148,1866}
    strings = {}
    allottedSize = 0
    className = {0,{98'b',117'u',116't',116't',111'o',110'n'},{98'b',117'u',
    classType = {0,1,1,1,1,1,1,4,4,2,2,2,2,3,3,6,6,6,5,5,6,6}
    classStyle = {0,1.34224e+009,1.34224e+009,1.34224e+009,1.34224e+009,
    WndProcAddress = 4242920
    buffer1 = 6236976
    buffer2 = 6237240
    onClick = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2,3,4}
    onDoubleClick = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    onKeyPress = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onResize = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onChange = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onGotFocus = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onLostFocus = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1}
    onScroll = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onLoad = {1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onUnload = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onMenu = {}
    onTimer = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onPaint = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    onEvent = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}
    defaultWindow = 1
    hasDC = 0
    myHwnd = 3144
    myHdc = 1910
    myRect = 6235864
    myPs = 6235920
    myControl = 16
    window = {{0,0,{69'E',117'u',112'p',104'h',111'o',114'r',105'i',97'a',
32' ',65'A',100'd',100'd',114'r',101'e',115's',115's',32' ',77'M',97'a',
110'n',97'a',103'g',101'e',114'r',32' ',118'v',32' ',48'0',46'.',51'3'},
{70'F',105'i',114'r',115's',116't',32' ',78'N',97'a',109'm',101'e',58':'},
20,450,100'd',20,0},{1,16,{77'M',105'i',100'd',100'd',108'l',101'e',32' ',
97'a',115's',116't',32' ',78'N',97'a',109'm',101'e',58':'},240,450,100'd',
60'<',25,0}}
    window_handle = {3076,3028,3088,3080,3096,3092,3024,2696,3116,3120,
3112,3188,3148,3128,3144,3008,3132,3136}
    window_func = {-1,-2.14586e+009,-2.14586e+009,-2.14586e+009,-2.14586e+009,
-2.14586e+009,-2.14586e+009,-2.14586e+009}
    window_class = {0,1,4,6,6,6,6,6,6,3,3,3,3,3,3,1,1,1}
    window_tab = {10,0,1,0,0,0,0,0,0,2,3,4,5,6,7,8,9,10}
    window_focus = {16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    window_owner = {0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
    window_menu = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    window_font = {{0,{},0,0,0},{0,{67'C',111'o',117'u',114'r',105'i',
101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',111'o',117'u',
114'r',105'i',101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',
111'o',117'u',114'r',105'i',101'e',114'r',32' ',78'N',101'e',119'w'},
10,1,0},{0,{67'C',111'o',117'u',114'r',105'i',101'e',114'r',32' ',78'N',
32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',111'o',117'u',114'r',105'i',
101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',111'o',117'u',
114'r',105'i',101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',
111'o',117'u',114'r',105'i',101'e',114'r',32' ',78'N',101'e',119'w'},
10,1,0},{0,{67'C',111'o',117'u',114'r',105'i',101'e',114'r',32' ',78'N',
32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',111'o',117'u',114'r',105'i',
101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',111'o',117'u',
114'r',105'i',101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',
111'o',117'u',114'r',105'i',101'e',114'r',32' ',78'N',101'e',119'w'},
10,1,0},{0,{67'C',111'o',117'u',114'r',105'i',101'e',114'r',32' ',78'N',
32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',111'o',117'u',114'r',105'i',
101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0},{0,{67'C',111'o',117'u',
114'r',105'i',101'e',114'r',32' ',78'N',101'e',119'w'},10,1,0}}
    window_fcolor = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
window_bcolor =
    {9998464,1.67772e+007,1.67772e+007,1.67772e+007,1.67772e+007,
1.67772e+007}
    window_pen = {{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,
0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,0,0},{0,
0,0},{0,0,0},{0,0,0}}
    window_x = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    window_y = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    window_refresh = {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
    window_special = {{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,
    grabbedHDC = {}
    menu_handle = {}
    menu_owner = {}

 eu_addr.exw:
    saved = 0
    x = 800
    y = 570
    a = 5
    junk = <no value>
    data = {{70'F',101'e',114'r',108'l',105'i',110'n',32' ',72'H',117'u',
115's',107'k',101'e',121'y',32' ',83'S',99'c',97'a',114'r',98'b',111'o',
114'r',111'o',117'u',103'g',104'h',32' ',32' ',32' ',32' ',32' ',82'R',
82'R',32' ',49'1',32' ',66'B',111'o',120'x',32' ',50'2',51'3',53'5',68'D',
32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',
32' ',32' ',32' ',32' ',32' ',51'3',53'5',48'0',52'4',50'2',32' ',32' ',
32' ',32' ',32' ',67'C',101'e',110'n',116't',114'r',101'e',118'v',105'i',
108'l',108'l',101'e'},{67'C',104'h',101'e',114'r',121'y',108'l',32' ',
76'L',101'e',101'e',32' ',83'S',99'c',97'a',114'r',98'b',111'o',114'r',
111'o',117'u',103'g',104'h',32' ',32' ',32' ',32' ',32' ',32' ',32' ',
32' ',82'R',82'R',32' ',49'1',32' ',66'B',111'o',120'x',32' ',50'2',51'3',
53'5',68'D',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',
32' ',32' ',32' ',32' ',32' ',32' ',32' ',51'3',53'5',48'0',52'4',50'2',
32' ',32' ',32' ',32' ',32' ',67'C',101'e',110'n',116't',114'r',101'e',
97'a',32' ',65'A',110'n',110'n',32' ',72'H',101'e',99'c',107'k',32' ',
32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',
32' ',32' ',82'R',82'R',32' ',49'1',32' ',66'B',111'o',120'x',32' ',50'2',
51'3',53'5',70'F',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',
32' ',32' ',32' ',32' ',32' ',32' ',32' ',32' ',51'3',53'5',48'0',52'4',
50'2',32' ',32' ',32' ',32' ',32' ',67'C',101'e',110'n',116't',114'r',
101'e',118'v',105'i',108'l',108'l',101'e'}}


--------------443E8A1A0CCB89BDD7AB5325--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu