topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
problems in Picture clause of SAY command | Antonio,
1) with this change, i have a new error:
unrecoverable error 9003, too many recursive error handler calls.
i have tried: SetWindowText( ::hWnd, ::cCaption )
like in fwh 8.12 and so it works well.
what do you think?
2) the ELSE condition in fwh 8.12 is: ::cCaption = GetWindowText( ::hWnd )
th... |
problems in Picture clause of SAY command | Marzio,
> unrecoverable error 9003, too many recursive error handler calls
Please review the created error.log and look for the line where the error comes from, and post it here, thanks.
>
the ELSE condition in fwh 9.03 is: ::cCaption = ::GetText()
is this correct for fwh 9.03?
>
Yes, it is correct. We are prepari... |
problems in Picture clause of SAY command | Marzio,
Please post here your Class TSay Method Initiate() source code, thanks
It seems as you are using an undeclared cText variable there:
[quote:164ktb71]
Error description: Error BASE/1003 Variable does not exist: CTEXT
...
Called from: errsysw.prg => (b)ERRORSYS(0)
Called from: say.prg => TSAY:INITI... |
problems in Picture clause of SAY command | [code=fw:2i8i3khc]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//----------------------------------------------------------------------------// </span><br /><br /><span style="color: #00C800;">METHOD</span> Initiate<span style="color: #000000;">(</span> hDlg <span style="c... |
problems in Picture clause of SAY command | [code=fw:10gt7zgk]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br /> Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">T</span>:\marzio\Winclip\Applicazioni\printXls\printXls.exe <span style="color: #000000;">(</span><span style="color: #00... |
problems in Picture clause of SAY command | Marzio,
Instead of:
SetWindowText( ::hWnd, cText ) // new
it should be:
SetWindowText( ::hWnd, ::cCaption ) // new |
problems with ActiveX from viscomsoft | Hello,
some have some body experience with viscomsoft ActiveX for scanning [url:7j2hgl32]http://www.viscomsoft.com/products/scanner/index.html[/url:7j2hgl32].
I have two initial problems:
1.- I can't put it inside a Dialog
2.- using the method save, to save scanned image into file, stop the app witho... |
problems with ActiveX from viscomsoft | Did you get any answer for this? I am looking for scanning solution that also can get barcode from image. |
problems with email | Hi,I want to open the pre-defined mail program, create a new message and attach a file.I tried DEFINE MAIL but I does not work fine. In some cases, you have to call it twice, and in some computers it does not work at all!!.Any ideas?. Thank you, Best regards, |
problems with email | DEFINE MAIL works with MAPI. If the computer isn't configured with a default MAPI mail client, then DEFINE MAIL won't work.Regards,James |
problems with email | Thank you, James!!It must be an alternative!!. It is a basic feature that Fivewin must have. |
problems with email | There is an alternative. You can use SMTP instead. This will send mail directly to a SMTP server. There are some negatives. Users will not get to edit the mail before it goes out and they will not get a copy saved in their Sent folder in their mail client software.See FWH\samples\testsmtp.prgRegards,James |
problems with email | Thank you James, it i want to send the email with the email client, so as to avoid the difficulties you have pointed out.Why does DEFINE MAIL not work fine with Outlook express?.Best regads |
problems with email | DEFINE MAIL does work with Outlook Express. However, recently I installed the new Outlook Express replacement, Windows Live Mail (desktop) and it reconfigured Windows to make itself the default MAPI client. Then I went back to using Outlook Express and set it to the default MAPI client, but all mail sent to it using an... |
problems with email | Here is a link on how to fix various MAPI configuration problems.<!-- m --><a class="postlink" href="http://www.ctimls.com/Support/KB/Error%20Fixes/Fix_Mapi_error.htm">http://www.ctimls.com/Support/KB/Error% ... _error.htm</a><!-- m -->Regards,James |
problems with email | Hi James,Thank you for your help!!.I use Windows XP SP2, Fivewin 7.12 y Harbour 1.1.This code:DEFINE MAIL oMail; SUBJECT "Envío documento"; TEXT "Cordiales saludos" ; FILES ( cEmailFile ), cFileName( cEmailFile ) ; FROM USER ACTIVATE MAIL oMail In some computers only works when you call it twice. In others, It does not... |
problems with email | Moises,> What I want is very simpleWhat you want is not as simple as it seems <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> It should be simple if you have the right settings in your computer.What email software do you use ? Do have Outlook and Outlook Express both instal... |
problems with email | Antonio:The computer is working fine. No problems when in a web page, for example, yo do click on an email adress. It start it propely.I have Outlook Express and Outlook. The pre-defined email client is the first.Thank you!!!. Best regards, |
problems with email | [quote="Antonio Linares":2lz99oyd]Moises,
> What I want is very simple
What you want is not as simple as it seems <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> It should be simple if you have the right settings in your computer.
What email software do you use ? Do have... |
problems with email | Moises,>In some computers only works when you call it twice. In others, It does not work at all!!!. >What I want is very simple: with the provided file, open a new email meesage. Fivewin should support this!!.I don't think this has anything to do with FW. FW does support MAPI and I have been using it for many years wit... |
problems with email | Hi,I found an alternative, the mailto: command. It starts the pre-defined mail client, but i don´t know how to specify a file to attach.Anyone has more info about this command?. Thank you |
problems with email | Moises,<!-- m --><a class="postlink" href="http://www.google.es/search?hl=es&q=mailto%3A+attach+a+file&meta=">http://www.google.es/search?hl=es&q=mai ... file&meta=</a><!-- m --> |
problems with email | Antonio,Of course, I tried Google first, but those pages refer to UNIX, not to Windows and I did´t find a working example to attach a file with mailto: command. Where I can find its parameters?.Thank you |
problems with email | Moises,Try this:"mailto:{0}?Subject={1}&Body={2}&Attach={3}"Replace {n} with the values |
problems with email | Moises,I found these in my notes (for MAPI). It may help.James-----------------------If you specify a TO and the parameter is blank and you are using the FROM USER clause, the message compose box will not appear. Likewise if the filename is invalid or not found. It is best to use an error trap:[code:3disdv52] DEFINE ... |
problems with email | Antonio,I am afraid your code does not work. It shows OK the destination, subject and body, but not the ATTACHMEND. Did you try it?.Thank you |
problems with email | Moises,You must provide the full path to the attachment. Did you do this?Also, if it has spaces in it, you probably have to use quotes around it.James |
problems with email | James:You were right!!!. I must provide the full path, with letter.But surprilingly, at the second time with wrong path it works!!!.Thank you James for your help!!!.Best regards, |
problems with email | Moises,Glad to hear you got it working. MAPI is a great tool, but it can be a pain.James |
problems with radio and radioitem | Guys ... I'm tweaking some functions and realized that the radio (standing inside a folder, in a dialog works correctly) to choose an option passes twice in the function, and this is causing me slowly to select the records because two processes times the while, is to fix this?
working example:
[code=fw:1lz91ez2]<div c... |
problems with radio and radioitem | Aferra,
I think what you are seeing is that you are changing focus from the folder to the message, then back to the folder. So, it appears to be getting called twice.
I tried the test code below and changed the Troca() function to write to a log file (test.log) each time it is called. It only logs one time.
Also I a... |
problems with radio and radioitem | I confirm the problem
[code=fw:sg03mev6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">LOCAL</span> oDlg, oFld, nTipo:=<span style... |
problems with radio and radioitem | I tried it too,
Here the stacks: the top one is without the folder, the bottom two are with the folder.
[img:9zt8z0nn]http://i.imgur.com/0olvFKd.png[/img:9zt8z0nn]
here TRadMenu:Refresh():
[code=fw:9zt8z0nn]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</... |
problems with radio and radioitem | Euclides,
I just tested your example with FWH 15.05 and I get this in the test.log:
07/15/15 13:55:39: 2
07/15/15 13:55:42: 3
07/15/15 13:55:48: 4
Antonino,
Are you testing Euclides example ? |
problems with radio and radioitem | I thank all the answers.
Antonio, You suggest that update refresh the radio? |
problems with radio and radioitem | I simply tested Euclides example and it worked fine with FWH 15.05
Is there any other example that you would like me to test ? |
problems with radio and radioitem | well, I moved the test to logfile () and believe me, this passing only once, now put this structure gives the error.
example
aArray: = {}
while eof ()
AADD (aArray ....)
skip
ENDDO
if I comment this line aArray: = {} my array doubles the data, I am confused now. <!-- s:) --><img src="{SMILIES_PATH}/icon_smi... |
problems with radio and radioitem | I found the problem.
after while ... ENDDO have a msgyesno (), taking this msg () does not happen the problem, the logfiile shows only once passing within the function.
what to do? |
problems with radio and radioitem | Before calling:
msgyesno()
Try this:
oDlg:Disable()
and after the msgyesno():
oDlg:Enable() |
problems with radio and radioitem | YES,
It worked perfectly, was already thinking about changing the screen to get the result, but now everything in order and with a simple solution ...
thank you Antonio |
probloemas mdi | Amigos, tengo el siguiente problema, trabajo con una venana mdi, y esta funciona bien cuando la llamo, aparece centrada en la pantall y sin problema en los bordes, pero cuando la miniminizo (achico), me muestra el boton azul de la ventana abajo, tipo word o excel, hasta ahi todo bien, peroooo cuando pincho este boton p... |
procedure AppSys // XBase++ requirement | What is the purpose of the following code. I have found it in most of the samples in FWHprocedure AppSys // XBase++ requirementAnser |
procedure AppSys // XBase++ requirement | It is a source code required for the Xbase++ compiler and FW++.It does nothing and it is not needed for FWH. |
procedure AppSys // XBase++ requirement | [quote="Antonio Linares":2wqcobcq]It is a source code required for the Xbase++ compiler and FW++.
It does nothing and it is not needed for FWH.[/quote:2wqcobcq]Thank you for the info |
processor TI's OMAP? 850 201 MHZ | hi, fwppc works with processor above?? whats device is good for fwppc? some smartphone works?? thanks |
processor TI's OMAP? 850 201 MHZ | We don't know it for sure. If they are Intel XScale compatible then FWPPC will work fine on them.
The same applies for SmartPhones. If they are Intel XScale compatible (ARM architecture) then they are ok for FWPPC |
processor TI's OMAP? 850 201 MHZ | Antonio, where i found an list of compatible devices, i am buying an smartphone and i dont know an compatible, someone user has one? |
processor TI's OMAP? 850 201 MHZ | Norberto,
Sorry, we don't have a hardware compatibility list yet. Try to locate an Intel XScale processor compatible one. |
processor TI's OMAP? 850 201 MHZ | Antonio, this:
<!-- m --><a class="postlink" href="http://www.directinsight.co.uk/microcontroller/arm-devices.html">http://www.directinsight.co.uk/microcon ... vices.html</a><!-- m -->
is right?
i guess this list very important to us... fwppc developers.
Norberto |
processor TI's OMAP? 850 201 MHZ | or <!-- m --><a class="postlink" href="http://www.calculator.org/devices.html">http://www.calculator.org/devices.html</a><!-- m --> is best??
norberto |
processor TI's OMAP? 850 201 MHZ | Norberto,
Yes, both are fine, as FWPPC uses ARM architecture. Please notice that on the second list there are some that aren't ARM |
program buffer or a keyboard buffer | Hello,
I try to find out how I can read a keyboard buffer.
This is what I found so far. Can someone help me to with a fivewin solution.
[quote:q3xg8ofw]so if there is a command line and there is a text in it and waiting for an 'enter' to be pressed in which buffer does it stay?,in a program buffer or a keyboard buf... |
program buffer or a keyboard buffer | Hello,
I try to find out how I can read a keyboard buffer.
This is what I found so far. Can someone help me to with a fivewin solution.
so if there is a command line and there is a text in it and waiting for an 'enter' to be pressed in which buffer does it stay?,in a program buffer or a keyboard buffer?
It depends... |
program buffer or a keyboard buffer | Hi Otto,
Please explain what you are trying to accomplish. Maybe that would help with an answer.
James |
program buffer or a keyboard buffer | Hello James,
I have a panel with some buttons in it.
The data I want to read comes from a keylock which is writing into the keyboard buffer.
Now when I press a key I would like to read the data.
Thanks in advance
Otto |
program buffer or a keyboard buffer | Otto,
Well I expect there is a windows API for this, but I don't know it.
Here is another idea though. Create an invisible GET. Send a ENTER key or TAB key to it, then read the data in the GET. The ENTER or TAB key may send the keyboard buffer into the GET.
James |
program buffer or a keyboard buffer | Hello James,
This is exactly what I tried this afternoon.
But it is not working properly. I will go on tomorrow.
Thank you for your help.
Best regards,
Otto
[code=fw:17cyvzqh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"... |
program buffer or a keyboard buffer | Otto,
OK, we are thinking along the same lines, but you can't use bChange. I think you need to create the GET, set focus to it, then push a key to the keyboard buffer via program code like:
__keyboard( VK_RETURN )
This should empty the keyboard buffer into the GET buffer. Now read the GET buffer and you should have... |
program buffer or a keyboard buffer | I found a reference to a C++ program that read the keyboard buffer.
<!-- m --><a class="postlink" href="http://programmersheaven.com/discussion/222659/reading-keyboard-buffer">http://programmersheaven.com/discussion ... ard-buffer</a><!-- m -->
Maybe one of the C programmers here could show us how to use it. Or, mayb... |
program buffer or a keyboard buffer | Dear James,
I am posting here a screenshot for better understanding what I want to do.
I have to change the keylock type from USB (COM) to a keyboard type.
The reason is that we work all our software remotely. This way I can support all different operating systems.
But we have no USB drivers for WINDOWS RT and also ... |
program buffer or a keyboard buffer | James,
[quote="James Bott":1f8mzzgw]I found a reference to a C++ program that read the keyboard buffer.
<!-- m --><a class="postlink" href="http://programmersheaven.com/discussion/222659/reading-keyboard-buffer">http://programmersheaven.com/discussion ... ard-buffer</a><!-- m -->
Maybe one of the C programmers here ... |
program buffer or a keyboard buffer | Mr Otto
Can you clarify if I understood this correctly?
1) There is one Windows PC to which a KeyLock COM device is connected. If a key is inserted the device places a number in the keyborad buffor or if the key is pulled out "Out" is placed in the keybpard buffer of that Windows PC.
2) The Application (image you po... |
program buffer or a keyboard buffer | Dear Mr. Rao,
Thank you for your help.
The keylock is connected to each client PC and detected as a keyboard.
As I found no way to clear the buffer I am trying now with
oGet:KeyDown(VK_HOME)
oGet:KeyDown(VK_DELETE).
Maybe I can resolve my problem this way.
Best regards,
Otto |
program buffer or a keyboard buffer | Otto,
keyboard pressed chars will automatically arrive to the app as Windows messages, so there is no need to access the keyboard buffer.
In case that you want to check in advanced (before those messages come to you) what is there is the buffer you can use PeekMessage()
[url:1bs7o7wi]https://msdn.microsoft&#... |
program idle time | i want that my program should be closed if the user has not used it for say one hour. how do i know for how much time my program is idle. (without any event). |
program is too much for memory | hi at all,
I'm trying xHarbour + fivewin 6.12.when compile everything is ok, but when lanch the executable program gives me an error message "the program is too large for memory. ". compiling other sample programs, everything works without error. if i compiling the program with harbour + fivewin 6.12 it's ok. Someone h... |
program is too much for memory | It looks like a linker error when linking the xHarbour libraries, try to use a more recent xHarbour version |
program is too much for memory | thanks for reply antonio,
i have already use a more recent xharbour version,but i have an error like "pcode" version is holder than version of xharbour. when i try to compile other program with fhw + xharbour is all ok,and program start. specifically in this program i must to test the velocity,writing 10.000 row in one... |
program very slow in LAN with 2 users | Good afternoon:
We run the program from a shared folder on the server, for example \\ server \ app \ app.exe.
Server and workstations are Windows 7, all wired.
When just running from a single workstation, everything works perfect, but when a second pc is connected RDDdbfcdx operations and xbrowses are very slow, it ... |
program very slow in LAN with 2 users | joseluispalma
If I recall .. this is a opportunistic locking problem .. Please review this link ..
Rick Lipkin
<!-- m --><a class="postlink" href="http://www.dataaccess.com/whitepapers/opportunlockingreadcaching.html#Disabling_Opportunistic_Locking_on_SMB2">http://www.dataaccess.com/whitepapers/o ... ng_on_SMB2</a><... |
program very slow in LAN with 2 users | Hello Rick,
OS_NetRegOK( .t.) will fix it?.
Thank you. Best regards |
program very slow in LAN with 2 users | Hello,
Paco Garcia and other users reported this problem too:
<!-- m --><a class="postlink" href="https://groups.google.com/forum/#!topic/harbour-users/fUjum_dSEIo">https://groups.google.com/forum/#!topic ... Ujum_dSEIo</a><!-- m -->
But no solution was ever posted.
I will very much appreciate any clue.
Thank you. |
program very slow in LAN with 2 users | hola:
hace mucho tiempo, instale en un server 2003, un sistema en DBF, todo bien, hasta que se conectaba el 2° pc al sistema, se me ralentizaba demasiado, revisando el código las instrucciones de bloqueo de archivos para hacer los ingresos, modificaciones o eliminaciones, utilizaba la clausula FLOCK(), "bloqueo de arc... |
program very slow in LAN with 2 users | Hi José Luis,
[quote="joseluispalma":5oc9gd8t]Hello Rick,
OS_NetRegOK( .t.) will fix it?.
[/quote:5oc9gd8t]
IMHO Rick put you in the right track. And, if Rick is right, the function could be the solution. The only point I see is that this function changes the registry, so you need administrative rights to run it.
Pl... |
program very slow in LAN with 2 users | Hello,
OS_NetRegOK( .t.) with Admin rights and rebooting the PC and servers does not work.
We have to test this solution, shared in the spanish fórum:
[quote:10qjkhkr]Lo siguiente se tiene que hacer en cada uno de los clientes con W7 afectados
Primero desactivé la Compresión Diferencial Remota en:
Panel de Contro... |
programa FW en pendrive ? | Amigos:
Es posible hacer funcionar un programa en FW 16 bits
en un pendrive?
Saludos.
Gracias
Ruben Fernandez. |
programa FW en pendrive ? | Si, perfectamente <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
programa FW en pendrive ? | Gracias Antonio
Saludos
Ruben Fernandez. |
programa FWM funcionando en 10.11 | Los programas que tenia fwM compilados para Yosemite siguen funcionando aparentemente en la beta de Macosx 10.11 "El Capitan" .
Me falta comprobar que la creación de las librerias de FHM funciona con el framework de 10.11 y xcode-beta 7 .
A nivel interno han "depreciado" el uso del recolector de basura de objective-c ... |
programa FWM funcionando en 10.11 | Manuel,
Muchas gracias por tu información, siempre valiosa <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Que tal funciona esta nueva versión de OSX ?
Para mi Yosemite es más lenta que Leopard, pero como Apple obliga a actualizar, no queda otra.
Ese sea tal vez el pro... |
programa FWM funcionando en 10.11 | No podría decirte exactamente. No va mal, va algo mas lento que yosemite pero no es comparable ...
1.- es una Beta que aunque no falla seguro que la refinan.
2.- La tengo instalada en un disco mecánico externo conectado por usb2, mientras que yosemite esta en un disco interno de memoria y literalmente vuela ...
Por lo... |
programa FWM funcionando en 10.11 | Tengo mas noticias ....
He instalado el xcode-beta 7 y recompilado las librerías fwM completamente con el nuevo framework 10.11 ...
compilan , eso si, me suelta la friolera de 60 warnings sobretodo por deprecated (funciones variadas y desechadas por macosx ) que tendremos que revisar.
He generado uno de los ejemplos c... |
programa FWM funcionando en 10.11 | Hoy se ha actualizado capitan a la beta 2 ....
La verdad que tengo pocas cosas instaladas pero funciona desde un viejo disco duro externo mediante usb 2 y me tiene impresionado , la mejora desde la beta 1 es impresionante , algo han activado que hace que mejore mucho . Una vez ha arrancado , no tiene nada que envidiar... |
programa FWM funcionando en 10.11 | Manuel,
muchas gracias por tu valiosa información <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
programa autoactualizable | Hola:
Quiero añadir una funcionalidad a mis programas que permitan autoactualizarse via internet. Esto es, añadir una opción de menú para que el programa se conecte a un servidor web, y si hay alguna versión posterior del programa que se actualice. Tengo claro que lo primero es establecer una conexión via FTP con el si... |
programa autoactualizable | <!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=3548&highlight=">http://fivetechsoft.com/forums/viewtopi ... highlight=</a><!-- m --> |
programa autoactualizable | [quote="José Luis Sánchez":2fvmhw80]Hola:
Quiero añadir una funcionalidad a mis programas que permitan autoactualizarse via internet. Esto es, añadir una opción de menú para que el programa se conecte a un servidor web, y si hay alguna versión posterior del programa que se actualice. Tengo claro que lo primero es estab... |
programa autoactualizable | Gracias a los dos. Voy a ir probando lo que me decis.
Saludos, |
programa colgado en memoria | Gracias antonio,
revisando cuando acceso al sistema le memoria esta en 12,000 kb aprox. con 110 handles y 250 gdi, conforme trabajo aumenta la memoria a 30,000 kb con 120 handles y hasta 530 gdi y conforme cierro procesos los gdi bajan hasta 350 pero ya no en los originales y la memoria ya no baja sino hasta 29,000 kb... |
programa colgado en memoria | hola foro,
pues tengo un gran problema,
desde hace 1 semana aproximadamente y de ahi en adelante, despues de hacer varios cambios al sistema, detecte que mi .exe se queda en memoria (procesos) colgado como de 5 a 15 segundos, cosa que antes no hacia y lo peor, de pronto me empezo a enviar al cerrar el programa este er... |
programa colgado en memoria | Paco,
Mantén abierto el administrador de tareas de Windows y selecciona desde su menú el ver la memoria que consume tu aplicación y observa si va consumiendo más y más, pudiera ser eso llegando a un punto en que se cae la aplicación |
programa colgado en memoria | Tambien puedes monitorizar los objetos GDI usados y los handles abiertos:
[img:o1e13atp]http://img689.imageshack.us/img689/4792/captureyfy.png[/img:o1e13atp] |
programa colgado en memoria | Si los valores se estabilizan no hay problema, el problema viene cuando no paran de crecer. Observalo... |
programa colgado en memoria | asi es Antonio, parece que se estabilizan en cierto punto, pero me di cuenta de una cosa por la noche se me colgo hasta para el inicio y cheque con el administrador de tareas y la memoria estaba en 540,000 kb, se me hizo raro que de pronto de estar trabajando de 28000 a 30000 kb subiera tanto, dentro del sistema actual... |
programa colgado en memoria | Paco,
Que contiene ese archivo log ?
Lo mantienes en memoría hasta que finalmente lo grabas en disco ?
Prueba a ir grabándolo a disco, conforme se genera, para asi saber que es lo que está ocurriendo <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
programa colgado en memoria | Antonio,
el el Main.prg tengo esto:
LOCAL cErrText := "", cErrOld := MemoRead("Cambios.log")
luego cuando accesan al sistema hago esto:
cErrText := ""
cErrText += Replicate("*",50) + CRLF
cErrText += "ACCESO AL SISTEMA" + CRLF
cErrText += "Fecha : "+Dtoc(FechaServer())+Space... |
programa colgado en memoria | El problema esta en la salida del programa en este codigo:
cErrOld := MemoRead("Cambios.log")
La variable cErrOld se carga con muchas mb. de datos.
Hacerlo de forma mas adecuada, sin necesidad de cargar en una variable el contenido de Cambios.Log, seria asi:
.................
.................
hCambios:= FOpen("Cam... |
programa colgado en memoria | Paco,
Si, usar una DBF te permitiría poder hacer login de todo lo que el usuario haga, procesos, etc. Es una muy buena idea <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
hmpaquito, no hay problema por usar MemoRead(), basta con hacer la variable a nil y la memoria usad... |
programa colgado en memoria | Paco,
La primera comprobación a hacer y que no te he comentado es controlar el consumo de objetos GDI (fonts, bitmaps, brushes, etc.), puesto que un consumo incorrecto de objetos GDI puede acabar tirando una aplicación. Para ello lo primero que debes hacer es llamar a esta función al inicio de tu aplicación:
SetResDe... |
programa colgado en memoria | Antonio,
Es cierto que no debe haber problema en cargar una variable string con muchas mbs. desde un memoread().
Pero en lo que yo pensaba es que ese memoread() más la siguiente concatenación de una string ENORME se produce en un momento "delicado" del programa: al salir del mismo.
¿ Qué puede pasar si se le manda ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.