Ruud,

Seems as if empty (stubbed-out) functions cause k2k to page fault. According to the manual, this should be perfectly legal syntax. This happens on NT and 9x with both kix32.exe and kix32c.exe. Here's the script and the dump...


code:

break on
myfunction()
exit


function myfunction()
endfunction


code:

KIX32C caused an invalid page fault in
module KIX32C.EXE at 0167:00411324.
Registers:
EAX=00fc0100 CS=0167 EIP=00411324 EFLGS=00010206
EBX=00560000 SS=016f ESP=0066e748 EBP=0066e76c
ECX=00fc0100 DS=016f ESI=8172bd74 FS=5437
EDX=00000000 ES=016f EDI=00000000 GS=0000
Bytes at CS:EIP:
0f be 02 83 f8 20 74 38 8b 4d 08 8b 51 18 0f be
Stack dump:
00000000 00000000 00000000 00000000
00000000 00000000 00840000 00000000
00000000 0066e77c 00411b70 00fc0100
00fc0100 0066e7c0 00409181 0000000a

Shawn.

[This message has been edited by Shawn (edited 22 April 2001).]