topic
stringlengths
1
63
text
stringlengths
1
577k
msgrun - possível FIX?!
Utilizando MSGRUN, Resolvi um problema que estava acontecendo comigo adicionando setdialogesc(.f.) #include "FiveWin.ch" //----------------------------------------------------------------------------// function WaitSeconds( nSecs ) local nStart := GetTickCount() DEFAULT nSecs := 1 while GetTickCount...
msgsplash alpha bitmap
Antonio, extraño no? Estuve trabajando la funcion msgsplash() con un bitmap alpha channel, y consegui un posible error que no se si solo me sucede a mi: Cuando esta en la pantalla el bitmap los "n" segundos que determines en la funcion, si pasas el mouse por encima de la imagen cuando esta aparece al iniciar el progr...
msgsplash alpha bitmap
Domenico, Estou com o mesmo problema, conseguiu alguma solução para o problema ? Muito obrigado
msgsplash alpha bitmap
Domenico, Hemos probado a modificar la función MsgSplash() de esta forma, pero el efecto parece seguir ocurriendo pues son eventos de repintado que envia la ventana en donde se mueve el ratón: [code=fw:1f1qr882]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> Msg...
msgwait...
Hola a todos... Tengo una duda, como puedo centrar el texto en un msgwait()?? Yo lo estoy usando asi: msgwait("Actualizando...",,2). El problema es que el texto "Actualizando..." me lo pone pegado a la izquierda y a la vista no queda bien... Se puede poner centrado? Saludos Elías Torres.
msgwait...
Hola a todos... Sigo sin encontrar la forma para que el texto que sale en la funcion msgwait() quede centrado.... Alguien tiene alguna idea de como se hace?, o si realmente se puede hacer..... Saludos. Elías Torres.
msgwait...
Yo creo q tendrias q crear tu propia funcion msgyesno() ya q no hay un estilo de ventanas dentro del sistema operativo que centre el texto automaticamente o tambien ubicando dentro de los sources de fivewin la funcion y modificandola a tu gusto
msgyesno - ESC - é possível?
Amigos, É possível que o ESC funcione na MSGYESNO ?? ou seja ao teclar ESC assumiria .f. Obrigado
msgyesno - ESC - é possível?
Hola, Creo que te puede servir una pequeña función que hice para mensajes. La llamé MsgElijo y te presenta dos botones a los que se les puede colocar distintos nombres y también un título a su dialog. Si se elije el primer botón retorna .T., el segundo retorna .F. y con ESC retorna .F. Puedes modificarla a tu antojo...
msgyesno - ESC - é possível?
[quote="SGS":273b5lh6]Amigos, É possível que o ESC funcione na MSGYESNO ?? ou seja ao teclar ESC assumiria .f. Obrigado[/quote:273b5lh6] En un exejmplo del propio FiveWin sobre RTF está esta función: /* **************************************************** */ static function MsgYesNoCancel( cMsg, cTitle ) return Me...
msgyesno - ESC - é possível?
Muito obrigado <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> FiveWiDi rolando
msgyesno - Exit with ESC is possible?
msgyesno - Exit with ESC is possible?
msgyesno - Exit with ESC is possible?
Are You focused on the NORMAL-style, or do You want to create Your own fancy ones ? There will be a new Tool-update in a short time. [color=#0000FF:3i33icnw][b:3i33icnw]You can close the messages on ESC.[/b:3i33icnw][/color:3i33icnw] YesNo is the selection OPTION ( Button 4 ) You can change / test the message-backgroun...
msgyesno - Exit with ESC is possible?
download ? is free?
msgyesno - Exit with ESC is possible?
There will be a download-link in a short time. ALL of my tools are [b:iikh5usn]FREE[/b:iikh5usn] of charge. Best regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
msgyesno - sair com ESC é possível?
Amigos, é possível sair(fechar) ao teclar ESC na MSGYESNO/MSGNOYES ?
msgyesno - sair com ESC é possível?
Não, melhor é criar um dialogo não modal, em que você controla suas mensagens, inclusive com imagens.
msgyesno - sair com ESC é possível?
Outra solução seria: [code=fw:23j58gub]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> MsgRetryCancel<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Lets try again ?"</span> <span style="color: #000000;">&#41;</span><br />&n...
msgyesno - sair com ESC é possível?
muito obrigado
msgyesno boton 2 por defecto
Hola. el MsgYeNo por defecto tiene el boton 1, se puede cambiar al 2? o sea al "No"? gracioas.
msgyesno boton 2 por defecto
MsgNoYes Boton No por defecto MsgYesNo Boton Yes por defecto
msgyesno boton 2 por defecto
gracias
msvc compiler / linker
Where can I download current version of msvc 6.0???? The link on fivewin web site takes me to microsoft, but I'm not sure what to download?????
msvc compiler / linker
Don, You may use MSVC 6.0 but we have found that Harbour/xHarbour and FWH work better if VC 98 is used. I know, it sounds quite strange, but its true <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> (Microsoft is using .NET on latest versions, turning them more complex inte...
msvc compiler / linker
I think that is what I have. The box (I purchased it many years ago) says Visual C++ 6.0 but installs to the following folder: C:\Program Files (x86)\Microsoft Visual Studio\VC98> The link.exe is: 06/25/1998 12:00 AM 462,901 LINK.EXE The compiler is: 06/17/1998 12:00 AM 65,536 CL.EXE Also, I...
msvc compiler / linker
Don, Cool, you have the right files <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
msvc compiler / linker
More testing with MSVC. I use dynamic calling of Image2PDF.dll for creating .pdf files. With Borland compiler / linker - - works no problem. With MSVC I get a gpf (from microsoft - not FWH GPF). Question - shouldn't my FWH .exe be able to call any .dll dynamically without regard to the contructs of the .dll file? ...
msvc compiler / linker
Don, Is there a demo version of Image2PDF.dll that we can test here ? thanks
msvc compiler / linker
Sure - <!-- m --><a class="postlink" href="http://www.utilitywarrior.com/Image-to-PDF-Dynamic-Link-Library.htm">http://www.utilitywarrior.com/Image-to- ... ibrary.htm</a><!-- m --> This is a great utility - minor changes in your prg's make this a seamless process using .emf files from your tdprint.prg ps - the "No...
msvc compiler / linker
Don, > <!-- m --><a class="postlink" href="http://www.utilitywarrior.com/Image-to-PDF-Dynamic-Link-Library.htm">http://www.utilitywarrior.com/Image-to- ... ibrary.htm</a><!-- m --> We are going to review it asap > This is a great utility - minor changes in your prg's make this a seamless process using .emf files fr...
msword
how may I change size of font in line 2 TRY oWord := GetActiveObject( "Word.Application" ) CATCH TRY oWord := CreateObject( "Word.Application" ) CATCH Alert( "Blad! MS Word nie dostepny. [" + Ole2TxtError()+ "]" ) break END END // create a new, empty Word doc...
mtmp:=Getenv(""TEMP"")
I use this function and do'nt receive the same result. === Under win2000 it return the temp directory of the user c:\documents and setting ..... Under Win XP it return c:\windows\temp How to return the temp directory of the user with WinXp .
mtmp:=Getenv(""TEMP"")
It depends on local settings. In my XP I get c:\documents and setting ... It is the default setting. EMG
mtmp:=Getenv(""TEMP"")
With Fivewin and clipper , it return c:\windows\temp With xharbour and fivewin, it return c:\documents and setting .... Strong ! 16 and 32 bit !!
mtmp:=Getenv(""TEMP"")
Ops, I was not aware to be in the Fivewin for Clipper forum. Yes, I tried with FWH. With Clipper I get c:\windows\temp. EMG
mtmp:=Getenv(""TEMP"")
Or you can use the following API call to get the windows temp folder function get_temp() local tbuffer:=space(256) gettemppath(256,@tbuffer) tbuffer := LEFT(tbuffer,AT(CHR(0),tbuffer)-1) return(tbuffer) DLL32 Function GetTempPath( bufferlen as LONG, tbuffer AS LPSTR) AS LONG ; PASCAL FROM "GetTempPathA" LIB "k...
mtmp:=Getenv(""TEMP"")
I have the same result with the api, it return windows\temp and not the user tem path . ??
mtmp:=Getenv(""TEMP"")
Philippe, It is a Windows issue. Under 16 bits GetEnv( "TEMP" ) returns "c:\windows\temp" and under 32 bits GetEnv( "TEMP" ) return "c:\documents and settings\<username>\...\temp" Even if you try it this way, you get the different results: [code:14gtn9rp] #include "FiveWin&#46;ch" function Main&#40;&#41; local c...
mtmp:=Getenv(""TEMP"")
[quote="jacquet philippe":zt332h99]I have the same result with the api, it return windows\temp and not the user tem path . ??[/quote:zt332h99] That's strange under Win 2000 i get the user temp path, I am however logged in as an admin of the local machine.
multi thread vs no modal dialog ?
Hi, Someone build fwh Multi thread app open dialogs like no modal dialog ? For some no modal dialog not works as same as modal dialog,if could, I'd like use multithread to open more than one dialogs at same time . Thanks ! Shuming Wang
multi thread vs no modal dialog ?
Shuming, Why don't you use non modal dialogs ? You can use several modal dialogboxes simultaneously if their parents are different windows (or dialogs).
multi thread vs no modal dialog ?
Antonio, I use: getsysmetrics(0), getsysmetrics(1), oCtrol = ::aControls[i] aRect = GetCoors( oCtrol:hWnd ) oCtrol:Move( aRect[1]*rsl1, aRect[2]*rsl0,(aRect[4] - aRect[2])*rsl0, (aRect[3] - aRect[1])*rsl1, .t. ) ::Move( ntop,nleft,::nWidth*rsl0, ::nHeight*rsl1, .T. ) to change dialogs f...
multi thread vs no modal dialog ?
Shuming, You can do: oDlg:nTop = nNewTop oDlg:nLeft = nNewLeft oDlg:nWidth = nNewWidth oDlg:nHeight = nNewHeight
multi thread vs no modal dialog ?
Antonio, Thanks ! Shuming Wang
multi-dimensional array
How to know if an array is a multi-dimensional array?
multi-dimensional array
[code=fw:9hxqwje8]<div class="fw" id="{CB}" style="font-family: monospace;"><br />? Valtype<span style="color: #000000;">&#40;</span> aArray<span style="color: #000000;">&#91;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> = <span styl...
multi-dimensional array
Thank you !
multi-dimensional array
aEval would be safer. Think of aArray := { 1, 2, { 1, 2, 3 }, 4}
multi-threaded under xHarbour
Work under xHarbour functions are multi-threaded such as StartThread() / StopThread() ?
multi-threaded under xHarbour
xHarbour seems to support multithread. What do you want to know exactly? EMG
multi-threaded under xHarbour
Want to learn how you can create a new thread (with the function StartThread() failed)
multi-threaded under xHarbour
Do you get any error messages? EMG
multi-threaded under xHarbour
I don't get errors, just nothing happens. I tried to run the examples with StartThread(), but instead of thread handle this function returns empty. for example: PROCEDURE Main LOCAL pThread CLS USE Customer pThread := StartThread( "ShowTime", 0, MaxCol()-7 ) Browse() StopThread( ...
multi-threaded under xHarbour
Just tried: works fine here. EMG
multi-threaded under xHarbour
Some details: - I'm using latest xHarbour from SVN and BCC 7.10 - I had to link cw32mt.lib and vmmt.lib EMG
multi-threaded under xHarbour
Hm.. similarly, but does not work. I will think Enrico, thank for your help !
multi-threaded under xHarbour
Please try adding [code=fw:22t0r9j4]<div class="fw" id="{CB}" style="font-family: monospace;">SETMODE<span style="color: #000000;">&#40;</span> <span style="color: #000000;">25</span>, <span style="color: #000000;">80</span> <span style="color: #000000;">&#41;</span></div>[/code:22t0r9j4] at the start of your sample....
multi-threaded under xHarbour
I create a thread th:=Startthread() and open DIALOG . After doing the main thread I close my thead StopThread(th) or KillThread(th). But apparently the DIALOG in the thread is not closed and when you try to create a thread I get the error WINDOWS
multi-user prg
I am a non professional fivetech user Can anyone tell me how fasten my multi-user programs based on clipper language
multiple definition error
i am trying to compile a simple program in hbide with fivewin libraries for window and the hbmk2 give me an output console error: multiple definition of 'HB_FUN_ERRORSYS' multiple definition of 'HB_FUN_HB_GTSYS' It seems that FiveWin has its own ErrorSys and Get System implementation which is clashing with Harbour's i...
multiple definition error
Marzio, Please provide the flag -trace to hbmk2 and post here what you get, thanks
multiple definition error
oWnd:End() is not needed in your code
multiple definition error
# hbmk2 Flags # -hbexe # GT Requested # -gtwin #-w #-p #-gtgui -ic:\winclip\fwh1507\include -lc:\winclip\fwh1507\lib\FiveHGC.lib -lc:\winclip\fwh1507\lib\FiveHG.lib # Compilable Sources # # # .prg # hello.prg
multiple definition error
[43995.532] ---------------------------------------------------------------------------------------------------- [43995.548] Project [ Prj00001 ] Launch [ Yes ] Rebuild [ Yes ] Started [ 12:13:15 ] [43995.548] ---------------------------------------------------------------------------------------------------- [43995.56...
multiple definition error
Antonio, i have posted the hbmk2 Flags and all the error message that i receive. missing something? how can i resolve this problem? thanks in advance Marzio
multiple definition error
Please add this dummy function to your PRG and try it again: function Notify() return nil
multiple definition error
Ii have the same error plus this message: c:/winclip/fwh1507/lib/FiveHG.lib(WINDOW.o):WINDOW.c:(.data+0x26d8): undefined reference to `HB_FUN_NOTIFY' thanks marzio
multiple definition error
sorry Antonio, i have the same error WITHOUT this message: c:/winclip/fwh1507/lib/FiveHG.lib(WINDOW.o):WINDOW.c:(.data+0x26d8): undefined reference to `HB_FUN_NOTIFY' I had wrong.
multiple definition error
Please copy here your hello.prg source code
multiple definition error
#include "FiveWin.ch" PROCEDURE Main() LOCAL oWnd DEFINE WINDOW oWnd FROM 0, 0 TO 30, 80 TITLE "prova" ACTIVATE WINDOW oWnd oWnd:End() Return(NIL) function Notify() return nil
multiple definition error
Please change these lines in the hbmk2 file: -lc:\winclip\fwh1507\lib\FiveHGC.lib -lc:\winclip\fwh1507\lib\FiveHG.lib into: -Lc:\winclip\fwh1507\lib -lFiveHG -Lc:\winclip\fwh1507\lib -lFiveHGC
multiple definition error
You have to use gtgui and not gtwin
multiple definition error
changed, i have the same error.
multiple definition error
also with gtgui same error.
multiple definition error
In this section: [43998.974] C:\Winclip\qtcontrib\comp\mingw\bin\gcc.exe .hbmk/win/mingw/hello.o .hbmk/win/mingw/_hbmkaut_hello.o -mconsole -Wl,--start-group -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -...
multiple definition error
I have been able to build your example using hbmk2 and FWH 17.01 and MinGW GCC: hello.hbp [code=fw:36v55j0g]<div class="fw" id="{CB}" style="font-family: monospace;"># hbmk2 Flags<br />-trace<br /><br /># GT Requested<br />-gtgui<br />xhb.hbc<br />hbmzip.hbc<br />hbziparc.hbc<br /><br />-ic:\fwh\include<br /><br />-Lc...
multiple definition error
many thanks Antonio, now I will do some test. Marzio
multiple definition error
ok Antonio, with your instructions now i am able to compile the fivewin example file with hbide. only i have added Others requested libraries. [code=fw:lkmoola2]<div class="fw" id="{CB}" style="font-family: monospace;"><br /># hbmk2 Flags<br />-trace<br /><br /># GT Requested<br />-gtgui<br /><br />#-lhbdebug<br /><br...
multiple definition error
Marzio, Please create an empty file named fwdbg.prg, compile it with Harbour and gcc and then do: $(GDIR)\bin\ar rc FiveHG.lib fwdbg.o
multiple definition error
many thanks, Antonio i have followed your instructions and now works hbide debug. with little example of window fivewin works fine i will try with a more big prg marzio
multiple defintions forst defined here
I am helping out a friend who has an old Clipper app that I am trying to rebuild with Harbour. It has 10 .prg files, all of which compile cleanly, but then the noise starts. Line after line on the console that first names a function like HB_FUN_MENUSETP as multiple definition followed by a line that says fir defined ...
multiple defintions forst defined here
What C compiler are you using ?
multiple defintions forst defined here
I am uncertain, because the hbmk2 suppresses command lines. First few lines of console output c:\hb30>hbmk2 -omyapp sco/*.prg sco/*.c Harbour 3.0.0 (Rev. 16951) Copyright (c) 1999-2011, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m --> Compiling 'sco\SCO.PRG'.....
multiple defintions forst defined here
> First few lines of console output Please post all lines of console output, thanks
multiple defintions forst defined here
there is a continuing repetiiton of the same two messages for all of the .prg files that have been compiled into c code c:\hb30>hbmk2 -omyapp sco/*.prg sco/*.c Harbour 3.0.0 (Rev. 16951) Copyright (c) 1999-2011, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m --> ...
multiple defintions forst defined here
Could you post here the contents of SCO.PRG ?
multiple defintions forst defined here
*************************************************************** * NOTE - I DO NOT OWN, OR DEVELOPED, THIS CODE AND AM POSTING IT ONLY FOR THE PURPOSES OF GETTING ASSISTANCE. IT IS NOT TO BE * COPIED OR REUSED. * THANKS FOR UNDERSTANDING. *************************************************************** * start of .prg...
multiple defintions forst defined here
I don't see anything wrong in the code. You may post your question in the Harbour users group: [url:3gj8fpzn]https&#58;//groups&#46;google&#46;com/forum/#!forum/harbour-users[/url:3gj8fpzn] or you may email me all the PRGs and I will try to build the app here. Depending on the invested time I may ask you for some don...
multiple defintions forst defined here
I saw nothing wrong either. Search for the HB_FUN_<name> found nothing in either .prg or .c files. I am leaning towards something not quite set right for hbmk2. Do I need to use a SET command somehow? I was not doing that. I just went with the standard install, don't think I specified Bordland compiler but may hav...
multiple defintions forst defined here
You should check what C compiler is installed
multiple defintions forst defined here
borland does NOT seem to be installed. Is there a parameter to turn on ECHO in hbmk2 so I can see what it is executing?
multiple defintions forst defined here
Use the flag -trace show commands executed
multiple defintions forst defined here
I changed the folder I was using to start hbmk2 to where the source code sits, and now am getting undefined instead of duplicates This is due, I guess, to not pulling in the correct library(ies). I added trace to see what was going on (thanks for that tip). Does this and the console listing below help anyone suggest...
multiple defintions forst defined here
ok, now we know what is going on: 1. MinGW GCC is being used as this is called above: C:\hb30\comp\mingw\bin\gcc.exe 2. You are trying to port a 16 bits apps that was using a third party library named Clip4Win (C4W) and you don't have the 32 bits version of such library for MinGW GCC I noticed that you were calling...
multiple defintions forst defined here
WinDock might be the way to go. I sent them an email to inquire about the library. If that doesn't pan out, I will try another library. Is FiveWin a direct replacement for Clip4Win as WinDock claims to be, meaning all Clip4Win functions are supported? Thanks ever so much for your help.
multiple defintions forst defined here
FiveWin uses classes and objects. Very different from C4W. Much simpler, less code. You may have luck with WinDock, I have never tried it. If not, you may consider adapting your app to use FiveWin (FWH) and we will help you to do it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s...
multiple files names
I have scanned many files, the operation is fast because where I work we have a multiple scanners and it's possible that some files will be saved with the previous file name because I have given the name with the current date and time as I can solve in order to have different names for all the scanned files I made L...
multiple files names
TTOS(DATETIME())+cValToChar(HB_RandomInt(9)) + ".jpg"
multiple files names
thanks Mr Rao
multiple preview windows
Hello all, I'd like to open 2 previews simultaneously, with 2 different print jobs inside. Now you cannot do it, because of the statics in rpreview.prg I guess. You receive the message: A_WINDOW_PREVIEW_IS_ALREADY_RUNNING How could Rpreview be modified to allow this? Maybe someone already twicked it? Thanks, David...