Re: test if a program is running

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

Hi

Yes, that's interesting, 3rd time for me too, here's the crash output

 
C:\EUPHORIA\include\msgbox.e:92 in function message_box() 
A machine-level exception occurred during execution of this statement 
 
... called from C:\EUPHORIA\000_Projects\Tests\ShowProcesses.exw:28 in procedure 
 PushButton3_onClick() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:3920 in function in 
vokeHandler() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:21608 in procedure 
wmCommand() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:22880 in function f 
DoCommand() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24413 in function M 
essageProcessor() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24464 in function W 
ndProc() 
 
^^^ call-back from Windows 
 
... called from C:\EUPHORIA\win32lib0704\include\w32dll.ew:209 in function w32Fu 
nc() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24324 in function D 
efProcessing() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24422 in function M 
essageProcessor() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24470 in function S 
ubProc() 
 
^^^ call-back from Windows 
 
... called from C:\EUPHORIA\win32lib0704\include\w32dll.ew:280 in procedure w32P 
roc() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24964 in procedure 
eventLoop() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:25192 in procedure 
WinMain() 
 
... called from C:\EUPHORIA\000_Projects\Tests\ShowProcesses.exw:37 
 
--> See ex.err 
 
 
Press Enter... 
 
 

Then, to line 28 of the above program, add "Message", like

  void = message_box("Items added", "Message", 0) 

Then it takes 5 clicks, and its on the show process button, not the message button.

Here's the output now

 
C:\EUPHORIA\include\misc.e:36 in function reverse() 
A machine-level exception occurred during execution of this statement 
 
... called from C:\EUPHORIA\000_Projects\Tests\processes.ex:79 in function name_ 
only() 
 
... called from C:\EUPHORIA\000_Projects\Tests\ShowProcesses.exw:25 in procedure 
 PushButton3_onClick() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:3920 in function in 
vokeHandler() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:21608 in procedure 
wmCommand() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:22880 in function f 
DoCommand() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24413 in function M 
essageProcessor() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24464 in function W 
ndProc() 
 
^^^ call-back from Windows 
 
... called from C:\EUPHORIA\win32lib0704\include\w32dll.ew:209 in function w32Fu 
nc() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24324 in function D 
efProcessing() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24422 in function M 
essageProcessor() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24470 in function S 
ubProc() 
 
^^^ call-back from Windows 
 
... called from C:\EUPHORIA\win32lib0704\include\w32dll.ew:280 in procedure w32P 
roc() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:24964 in procedure 
eventLoop() 
 
... called from C:\EUPHORIA\win32lib0704\include\Win32Lib.ew:25192 in procedure 
WinMain() 
 
... called from C:\EUPHORIA\000_Projects\Tests\ShowProcesses.exw:37 
 
--> See ex.err 
 
 
Press Enter... 
 

Think theres a memory leak corruption problem introduced somewhere, possibly by getallprocess() ?

Chris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu