Bound program doesn't execute

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

For some reason this forum changes all my formatting. Please read it anyway.

I'm running Version 4.0.0 beta 2 (r2670) for Windows on Vista Home. This little test program works fine if interpreted with euiw, but the bound version fails to execute. What am I doing wrong and how do I do it right?

Program:

 
--  code generated by Win32Lib IDE v1.0.4 Build Apr-22-2008 
 
constant TheProgramType="exw" 
  
include Win32Lib.ew 
without warning 
 
-------------------------------------------------------------------------------- 
--  Window Window1 
constant Window1 = createEx( Window, "Window1", 0, Default, Default, 400, 300, 0, 0 ) 
constant PushButton2 = createEx( PushButton, "PushButton2", Window1, 104, 92, 88, 28, 0, 0 ) 
--------------------------------------------------------- 
-------------------------------------------------------------------------------- 
procedure PushButton2_onClick (integer self, integer event, sequence params)--params is () 
	object comp 
	comp = message_box("How now, brown cow?", "Cow condition",MB_OK) 
	 
end procedure 
setHandler( PushButton2, w32HClick, routine_id("PushButton2_onClick")) 
--------------------------------------------------------- 
 
WinMain( Window1,Normal ) 

bindw.bat: 
@echo off 
euiw %EUDIR%\source\bind.ex %1 %2 %3 %4 %5 %6 %7 %8 %9 
 
Error file: 
C:\euphoria_4b\IDE.exe\Temp_2.exw:1 
A machine-level exception occurred during execution of this statement  
 
Global & Local Variables 

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

Search



Quick Links

User menu

Not signed in.

Misc Menu