Re: [fpc-pascal] Any Way to catch endless loop in fpc in Wince?

2009-11-11 Thread epergola
I mean at runtime, where the app is deployed, not in the Lazarus IDE debugger. -- View this message in context: http://old.nabble.com/Any-Way-to-catch-endless-loop-in-fpc-in-Wince--tp26293620p26297681.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___

[fpc-pascal] Any Way to catch endless loop in fpc in Wince?

2009-11-10 Thread epergola
Hi Is there a way (or a 3rd party component or a library) to catch an endless loop after x seconds in applications running on arm Wince? -- View this message in context: http://old.nabble.com/Any-Way-to-catch-endless-loop-in-fpc-in-Wince--tp26293620p26293620.html Sent from the Free Pascal - Gen

Re: [fpc-pascal] Does GetLastError in WinCE work? NO answer??

2009-11-02 Thread epergola
Is this the wrong forum? Can anybody help with my question? If I should send it to another forum, please tell me which one. Thanks epergola wrote: > > Hello > I get strange results form GetLasError in WinCe; > something like 1449435930, for example; > > I use this: > {$i

[fpc-pascal] Does GetLastError in WinCE work?

2009-10-29 Thread epergola
Hello I get strange results form GetLasError in WinCe; something like 1449435930, for example; I use this: {$include d:\lazarus\fpc\2.2.4\source\rtl\wince\wininc\coredll.inc} function GetLastError:DWORD; external KernelDLL name 'GetLastError'; var err: dword; begin MutexHandle := CreateM

[fpc-pascal] Please Help with inifile in WinCE (ReadSectionValues into stringlist)

2009-09-11 Thread epergola
Hi I have a small translation file (pure ASCII DOS text) written in Win32. I copied it to the emulator with Activesync. The file contains one sections ('f') in this format [f] 'Language||idioma'. (etc.) (i.e. the English test on the 1st half, the Spanish translation on the 2nd half) In the WinCE

[fpc-pascal] WinCE: Detect if a PDA is connected to a LAN WI-FI peer-to-pear

2009-08-27 Thread epergola
Hi 1. Is it possible to detect if a PDA is connected (wi-fi) to a peer-to-peer LAN (by IP or Device name)? If yes, how? maybe by a ping? is there a programmatic ping method? 2.How to detect the IP of a PDA from an App running on the same PDA? In a peer-to-peer LAN, is the PDA IP stati

Re: [fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?

2009-08-26 Thread epergola
Felipe thanks, but i found the perfect solution, I think. Actually the indo ia from lyh1 in a post in Lazarus forum (titled 'FullScreen Application'). If in resetpda I use hkeyboard:=FindWindow('menu_worker',''); instead of hkeyboard:=FindWindow('MS_SIPBUTTON','MS_SIPBUTTON'); it works like a

Re: [fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?

2009-08-25 Thread epergola
Felipe thanks very much! Since you are *the* man for arm dev in fpc (as I read), could you please take a look at the previous post "Status of SipShowIM (software keyboard)?". More than SipShoiwIM, I would like to know how to ensure that the Findwindow/Showwindow keep the keyboard hidden for the d

Re: [fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?

2009-08-24 Thread epergola
Trying to upload the test files. Sent them wherever "Upload File" puts them.. http://www.nabble.com/file/p25120976/fpctest.rar fpctest.rar epergola wrote: > > Yes I could. But where and how would 'publish' it? > can I zip the source, use 'Reply'

Re: [fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?

2009-08-24 Thread epergola
Yes I could. But where and how would 'publish' it? can I zip the source, use 'Reply' and then 'Upload File' when n replying? Felipe Monteiro de Carvalho wrote: > > Can you publish a test application somewhere demonstrating the problem? > > -- > Felipe Monteiro de Carvalho > __

Re: [fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?

2009-08-23 Thread epergola
Amir I did use Application.Terminate, but it only 'suspends' the App; The full screen stays on the background, and the process appears to reamin in memory. why don't you use "Application.Terminate;"? -- View this message in context: http://www.nabble.com/Does-Anybody-Know-how-to-REALLY-kill

Re: [fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?

2009-08-23 Thread epergola
Thanks Henry. But my main form is full screen: no title bar, no task bar. I have a custom'Terminate' button that on click does this: MainForm.Close. I want the form to be closed (NOT appearing on the background), and the Application actually terminated 'destroyed' or 'killed'. On the page you ref

[fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?

2009-08-23 Thread epergola
Hi I have done a lot of research but couldn't find a solution. I have an app that runs on a PDA and takes (must take) the whole screen. When the user presses the Terminate button, the main window of the app remains visible (and I read the app actually remains in memory). Is it possible to really

[fpc-pascal] Status of SipShowIM (software keyboard)?

2009-08-21 Thread epergola
Hi In the wicki Wince Ptogramming tips (http://wiki.freepascal.org/WinCE_Programming_Tips#Show.2FHide_SIP_Panel) I find: Show/Hide SIP Panel SIP: Software Input Panel button, it is a keyboard come with WinCE for touch screen devices. const //some of consts already found in Windows SIPF_OFF

Re: [fpc-pascal] FPCONNECT NOT WORKING?

2009-08-21 Thread epergola
Sorry, you are right. I am using non blocking sockets (lNet library), no visual package, on the wince-arm side, attempting to communicate with a non blocking (Delphi) socket on my PC. Everything works fine (did a lot of data send and receive) except that fpconnect with correct address (PC compute

[fpc-pascal] FPCONNECT NOT WORKING?

2009-08-20 Thread epergola
I am using lnet (non visual) with Lazarus, and in the connect process, lnet calls fpConnect(FHandle, psockaddr(@FAddress), SizeOf(FAddress)); fpconnect is a FreePascal function (I could not step into it with F7). The problem is that whether it actually connects (passing correct address and corre