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() - nStart < ( 1000 * nSecs ) end return nil //----------------------------------------------------------------------------// function MsgRun( cCaption, cTitle, bAction ) LOCAL oDlg, nWidth DEFAULT cCaption := "Please, wait...",; bAction := { || WaitSeconds( 1 ) } IF cTitle == NIL DEFINE DIALOG oDlg ; FROM 0,0 TO 3, Len( cCaption ) + 4 ; STYLE nOr( DS_MODALFRAME, WS_POPUP ) ELSE DEFINE DIALOG oDlg ; FROM 0,0 TO 4, Max( Len( cCaption ), Len( cTitle ) ) + 4 ; TITLE cTitle ; STYLE DS_MODALFRAME ENDIF oDlg:bStart := { || Eval( bAction, oDlg ), oDlg:End(), SysRefresh() } oDlg:cMsg := cCaption nWidth := oDlg:nRight - oDlg:nLeft setdialogesc(.f.) //AQUI Possivel FIX ACTIVATE DIALOG oDlg CENTER ; ON PAINT oDlg:Say( 11, 0, xPadC( oDlg:cMsg, nWidth ),,,, .T. ) return nil //----------------------------------------------------------------------------// function MsgWait( cCaption, cTitle, nSeconds ) DEFAULT nSeconds := 4 return MsgRun( cCaption, cTitle, { || WaitSeconds( nSeconds ) } ) //----------------------------------------------------------------------------// Function StopUntil( bBlock ) DO WHILE !Eval( bBlock ) WaitMessage() SysRefresh() ENDDO Return NIL
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 programa, esta imagen se va desvaneciendo y va apareciendo lo que estaba detras del bitmap. Nota Importante: no lo hace si detras de la imagen tenemos solo el escritorio de Windows, solo lo hace si detras de la imagen tenemos programas abiertos, como por ejemplo si tenemos un dialogo de MI PC abierto y desde alli ejecutamos nuestro programa con el msgsplash la imagen aparece sin problemas y se ve muy bien, pero si pasamos el mouse encima de ella, se va desvaneciendo y van apareciendo las imagens del dialogo de MIPC, mientras que si tenemos un acceso directo en el escritorio de Windows y ejecutamos el programa, la imagen bitmap aparece directamente sobre el escritorio de Windows y al pasar el mouse la imagen pertenece intacta. [img:3j2od1vy]http&#58;//img27&#46;imageshack&#46;us/img27/2596/msgsplash&#46;jpg[/img:3j2od1vy] Utilizo Windows Vista Ultimate Gracias.
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> MsgSplash<span style="color: #000000;">&#40;</span> cBmpFile, nSeconds, bAction <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> oBmp, hDC, hBmpBack, nStartAt, hWnd<br />&nbsp; &nbsp;<span style="color: #00C800;">local</span> nTop, nLeft, nBottom, nRight, nWidth, nHeight<br /><br />&nbsp; &nbsp;<span style="color: #00C800;">DEFAULT</span> nSeconds := <span style="color: #000000;">5</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> Empty <span style="color: #000000;">&#40;</span> cBmpFile <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> bAction != <span style="color: #00C800;">nil</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Eval<span style="color: #000000;">&#40;</span> bAction <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> <span style="color: #ff0000;">"."</span> $ cBmpFile<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">IMAGE</span> obmp FILENAME cBmpFile<br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">IMAGE</span> obmp <span style="color: #0000ff;">RESOURCE</span> cBmpFile<br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br /><br />&nbsp; &nbsp;nWidth &nbsp; = nBmpWidth<span style="color: #000000;">&#40;</span> oBmp:<span style="color: #000000;">hBitmap</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nHeight &nbsp;= nBmpHeight<span style="color: #000000;">&#40;</span> oBmp:<span style="color: #000000;">hBitmap</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;nLeft &nbsp; &nbsp;= <span style="color: #000000;">&#40;</span> GetSysMetrics<span style="color: #000000;">&#40;</span> <span style="color: #000000;">0</span> <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> - nWidth / <span style="color: #000000;">2</span><br />&nbsp; &nbsp;nTop &nbsp; &nbsp; = <span style="color: #000000;">&#40;</span> GetSysMetrics<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span> / <span style="color: #000000;">2</span> <span style="color: #000000;">&#41;</span> - nHeight / <span style="color: #000000;">2</span><br />&nbsp; &nbsp;nRight &nbsp; = nLeft + nWidth - <span style="color: #000000;">1</span><br />&nbsp; &nbsp;nBottom &nbsp;= nTop + nHeight - <span style="color: #000000;">1</span><br />&nbsp; &nbsp;hWnd &nbsp; &nbsp; = GetDesktopWindow<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;hBmpBack = FWSaveScreen<span style="color: #000000;">&#40;</span> hWnd, nTop, nLeft, nBottom, nRight <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;SetCapture<span style="color: #000000;">&#40;</span> hWnd <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;ShowCursor<span style="color: #000000;">&#40;</span> .f. <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> oBmp:<span style="color: #000000;">HasAlpha</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; ABPaint<span style="color: #000000;">&#40;</span> hDC := GetWindowDC<span style="color: #000000;">&#40;</span> hWnd <span style="color: #000000;">&#41;</span>, nLeft, nTop, oBmp:<span style="color: #000000;">hBitmap</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; DrawBitmap<span style="color: #000000;">&#40;</span> hDC := GetWindowDC<span style="color: #000000;">&#40;</span> hWnd <span style="color: #000000;">&#41;</span>, oBmp:<span style="color: #000000;">hBitmap</span>, nTop, nLeft <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;ReleaseDC<span style="color: #000000;">&#40;</span> hWnd, hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">if</span> bAction == <span style="color: #00C800;">nil</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">Sleep</span><span style="color: #000000;">&#40;</span> nSeconds * <span style="color: #000000;">1000</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; nStartAt := Seconds<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; Eval<span style="color: #000000;">&#40;</span> bAction, oBmp <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">if</span> <span style="color: #000000;">&#40;</span> nSeconds -= <span style="color: #000000;">&#40;</span> Seconds<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> - nStartAt <span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">Sleep</span><span style="color: #000000;">&#40;</span> nSeconds * <span style="color: #000000;">1000</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp; &nbsp;FWRestScreen<span style="color: #000000;">&#40;</span> hWnd, hBmpBack, nTop, nLeft, nBottom, nRight <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;DeleteObject<span style="color: #000000;">&#40;</span> hBmpBack <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;oBmp:<span style="color: #000000;">End</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;ReleaseCapture<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;ShowCursor<span style="color: #000000;">&#40;</span> .t. <span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span></div>[/code:1f1qr882]
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. El pass del comprimido es "Rolando" (debí colocarle pass porque si no megaupload no dejaba subirla) [url:1hmjkn15]http&#58;//www&#46;megaupload&#46;com/?d=93033D1L[/url:1hmjkn15] Saludos. Rolando <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
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 MessageBox( GetActiveWindow(), cMsg, cTitle, ; nOR( MB_ICONQUESTION, MB_YESNOCANCEL ) ) /* **************************************************** */ Pruébala.
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-background from selection. Any tests of background-combinations ( Window / Dialog / Messages ) is possible. Create a working EXE-file of all selections. [img:3i33icnw]http&#58;//www&#46;pflegeplus&#46;com/pictures/msg1&#46;jpg[/img:3i33icnw] Best Regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
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 />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"You selected Retry"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">else</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"You selected Cancel"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="color: #00C800;">endif</span><br />&nbsp;</div>[/code:23j58gub]
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 internally). Also, if you ever plan to use xHarbour.com, we also need to build FWH using VC 98 to get full compatibility with it. The problem is to get VC 98, as Microsoft provided it for free, but its difficult to locate it. The only solution we can offer to you is to provide it to you.
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 located the msvcrt.lib you suggested: 06/17/1998 12:00 AM 189,676 MSVCRT.LIB Are these the files I need?
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? Why would my program generate a Microsoft gpf when calling with the MSVC version and not with the Borland version? Can the MSVC use the FWH dynamic calling of a DLL? Here is my calling code: calldll := 'Image2PDF.DLL' NDLL := LOADLIBRARY( CALLDLL ) IF ABS( NDLL ) <= 32 // could not load library NDLL := NIL ENDIF CALLPROC := "I2PDF_SilentRunning" RETURN_TYPE := VOID CFARPROC := GetProcAddress(NDLL,CALLPROC, PASCAL_TYPE, RETURN_TYPE, LONG ) RETVAL := CALLDLL( CFARPROC )
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 "Notify me when a reply is posted" option is not working for my login-id - is a special profile setting required?
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 from your tdprint.prg > We would like to find a free solution for PDF that we may use from FWH > ps - the "Notify me when a reply is posted" option is not working for my login-id - is a special profile setting required? > It should work, but these forums are standard (PHPBB) so maybe its a bug, don't know for sure
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 document oDocument := oWord:documents:add() // get the text selection object oText := oWord:selection() // select font name, size and attribute oText:Font:Name := "Arial CE" oText:Font:Size := 12 oText:Font:Bold := .f. // assign some text oText:Text := "TEST 1" + CRLF // line 1 oText:Text += "TEST 2" + CRLF // line 2 best regards kajot
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 "kernel32.dll"
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 cValue &#58;= Space&#40; 256 &#41; MsgInfo&#40; GetEnv&#40; "TEMP" &#41; &#41; GetEnvironmentVariable&#40; "TEMP", cValue, Len&#40; cValue &#41; &#41; MsgInfo&#40; cValue &#41; return nil DLL32 FUNCTION GetEnvironmentVariable&#40; cName AS LPSTR, cValue AS LPSTR, nLen AS LONG &#41; ; AS LONG PASCAL FROM "GetEnvironmentVariableA" LIB "kernel32&#46;dll" [/code:14gtn9rp]
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 fit different 800X600,1024X768, 1280X1024,1600X12800.and dialog fonts can't be changed . Non modal dialog does not move dialog position . Regards! Shuming Wang
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 style="color: #ff0000;">"A"</span><br />&nbsp;</div>[/code:9hxqwje8] or with AEVAL for test all elements
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( pThread ) WaitForThreads() RETURN PROCEDURE ShowTime( nRow, nCol ) DO WHILE .T. DispOutAt( nRow, nCol, Time() ) ThreadSleep( 1000 ) ENDDO RETURN
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. EMG
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 implementation. i have added 2 lib of fivewin 1507 -ld:\winclip\fwh1507\lib\FiveHGC.lib -ld:\winclip\fwh1507\lib\FiveHG.lib #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) what can i do to avoid the error? thanks, marzio
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.564] Batch File Exists => C:\Users\marzio\AppData\Local\Temp\l38z2z.bat [43995.564] Batch File Contents => [43995.595] SET PATH=C:\Winclip\qtcontrib\bin;%PATH% C:\Winclip\qtcontrib\bin\hbmk2.exe C:\Winclip\prova\prj00001.hbp -q -trace -info -lang=en -width=512 -rebuild [43995.595] Command => C:\Windows\system32\cmd.exe [43995.595] Arguments => /C C:\Users\marzio\AppData\Local\Temp\l38z2z.bat [43995.595] ---------------------------------------------------------------------------------------------------- [43995.595] CurDir() => Winclip\QtContrib\bin Starting in => C:\Winclip\prova\ [43995.659] [43995.660] C:\Winclip\prova>SET PATH=C:\Winclip\qtcontrib\bin;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Two Pilots\PDF2Text Pilot\;C:\Program Files (x86)\PDFtk\bin\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\ [43995.660] C:\Winclip\prova>C:\Winclip\qtcontrib\bin\hbmk2.exe C:\Winclip\prova\prj00001.hbp -q -trace -info -lang=en -width=512 -rebuild [43995.660] [43995.701] hbmk2: Autodetected platform: win [43995.701] [43995.722] hbmk2: Autodetected C compiler: mingw [43995.723] hbmk2: Using Harbour: C:\Winclip\qtcontrib\bin C:\Winclip\qtcontrib\include C:\Winclip\qtcontrib\lib\win\mingw C:\Winclip\qtcontrib\bin C:\Winclip\qtcontrib\contrib C:\Winclip\qtcontrib\addons [43995.723] hbmk2: Using C compiler: C:\Winclip\qtcontrib\comp\mingw\bin [43995.723] hbmk2[prj00001]: Warning: Non-portable parameter: '-lc:\winclip\fwh1507\lib\FiveHGC.lib' in C:\Winclip\prova\prj00001.hbp:26. Use '-Lc:\winclip\fwh1507\lib -lFiveHGC' option(s) instead. [43995.724] hbmk2[prj00001]: Warning: Non-portable parameter: '-lc:\winclip\fwh1507\lib\FiveHG.lib' in C:\Winclip\prova\prj00001.hbp:27. Use '-Lc:\winclip\fwh1507\lib -lFiveHG' option(s) instead. [43995.724] hbmk2: Compiling Harbour sources... [43995.724] hbmk2: Harbour compiler command (embedded): [43995.725] (C:\Winclip\qtcontrib\bin\harbour.exe) -n2 C:\Winclip\prova\hello.prg -q -o.hbmk\win\mingw\ -iC:\Winclip\qtcontrib\include -ic:\winclip\fwh1507\include [43995.725] Harbour 3.2.0dev (r1508011114) [43995.725] Copyright (c) 1999-2015, <!-- m --><a class="postlink" href="http://harbour-project.org/">http://harbour-project.org/</a><!-- m --> [43995.725] [43995.926] hbmk2: Compiling... [43995.927] hbmk2: 'cd' to: .hbmk\win\mingw [43995.927] hbmk2: C/C++ compiler command: [43995.927] C:\Winclip\qtcontrib\comp\mingw\bin\gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pipe -IC:/Winclip/qtcontrib/include -Ic:/winclip/fwh1507/include ../../../.hbmk/win/mingw/hello.c ../../../.hbmk/win/mingw/_hbmkaut_hello.c [43995.928] [43996.470] hbmk2: 'cd' back. [43996.471] hbmk2: Linking... hello.exe [43996.471] hbmk2: Linker command: [43996.471] 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 -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib c:/winclip/fwh1507/lib/FiveHGC.lib c:/winclip/fwh1507/lib/FiveHG.lib -Wl,--end-group -ohello.exe -LC:/Winclip/qtcontrib/lib/win/mingw [43996.472] [43998.969] c:/winclip/fwh1507/lib/FiveHG.lib(ERRSYSW.o):ERRSYSW.c:(.text+0x39): multiple definition of `HB_FUN_ERRORSYS' [43998.970] C:/Winclip/qtcontrib/lib/win/mingw/libhbrtl.a(errsys.o):errsys.c:(.text+0x0): first defined here [43998.970] c:/winclip/fwh1507/lib/FiveHG.lib(ERRSYSW.o):ERRSYSW.c:(.text+0x15b): multiple definition of `HB_FUN_HB_GTSYS' [43998.971] C:/Winclip/qtcontrib/lib/win/mingw/libhbrtl.a(gtsys.o):gtsys.c:(.text+0x10): first defined here [43998.971] c:/winclip/fwh1507/lib/FiveHG.lib(WINDOW.o):WINDOW.c:(.data+0x26d8): undefined reference to `HB_FUN_NOTIFY' [43998.972] C:/Winclip/qtcontrib/comp/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: c:/winclip/fwh1507/lib/FiveHG.lib(ERRSYSW.o): bad reloc address 0x0 in section `.data' [43998.972] C:/Winclip/qtcontrib/comp/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation [43998.973] collect2.exe: error: ld returned 1 exit status [43998.974] hbmk2[prj00001]: Error: Running linker. 1 [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 -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib c:/winclip/fwh1507/lib/FiveHGC.lib c:/winclip/fwh1507/lib/FiveHG.lib -Wl,--end-group -ohello.exe -LC:/Winclip/qtcontrib/lib/win/mingw [43998.975] [43999.118] [43999.119] hbmk2: Error: Referenced, missing, but unknown function(s): NOTIFY() [43999.119] [43999.120] ---------------------------------------------------------------------------------------------------- [43999.124] Exit Code [ 7 ] Exit Status [ 0 ] Finished at [ 12:13:19 ] Done in [ 3.53 Secs ] [43999.125] ---------------------------------------------------------------------------------------------------- [43999.136] [...C:\Winclip\prova\hello.exe..] [43999.138] [43999.141] Detected executable => C:\Winclip\prova\hello.exe [43999.173] [43999.173] Sorry, cannot launch project because of errors...
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 -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib c:/winclip/fwh1507/lib/FiveHGC.lib c:/winclip/fwh1507/lib/FiveHG.lib -Wl,--end-group -ohello.exe -LC:/Winclip/qtcontrib/lib/win/mingw c:/winclip/fwh1507/lib/FiveHGC.lib and c:/winclip/fwh1507/lib/FiveHG.lib should be linked [b:qzs2qs2s]before[/b:qzs2qs2s] -lhbextern I don't know how we can do it using hbmk2 We use this batch file to build Harbour and FWH + MinGW GCC here: buildg.bat [code=fw:qzs2qs2s]<div class="fw" id="{CB}" style="font-family: monospace;">@ECHO OFF<br />CLS<br />ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿<br />ECHO ³ FiveWin <span style="color: #00C800;">for</span> Harbour <span style="color: #000000;">17.01</span> and GCC - Jan. <span style="color: #000000;">2017</span>   Harbour development <span style="color: #0000ff;">power</span>  ³Ü<br />ECHO ³ <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> FiveTech <span style="color: #000000;">1993</span><span style="color: #000000;">-2017</span> <span style="color: #00C800;">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style="color: #000000;">7</span>/<span style="color: #000000;">8</span>/<span style="color: #000000;">10</span> ³Û<br />ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ<br />ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß<br /><br /><span style="color: #00C800;">if</span> A%<span style="color: #000000;">1</span> == A GOTO :<span style="color: #000000;">SINTAX</span><br /><span style="color: #00C800;">if</span> NOT EXIST %<span style="color: #000000;">1</span>.prg GOTO :<span style="color: #000000;">NOEXIST</span><br /><br />ECHO Compiling...<br /><br /><span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%fwh%"</span> == <span style="color: #ff0000;">""</span> set fwh=.\..<br /><br />set hdir=c:\harbour<br />set hdirc=%hdir%\bin\harbour.exe<br />set hlibs=%hdir%\lib\gcc<br />set mingw=c:\Qt\Tools\mingw491_32<br />set path=%mingw%\bin<br /><br />%hdirc% %<span style="color: #000000;">1</span> /n /i%fwh%\include;%hdir%\include /w /p %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span> > comp.log <span style="color: #000000;">2</span>> warnings.log<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO COMPILEERROR<br />@type comp.log<br />@type warnings.log<br /><br />%mingw%\bin\gcc -c %<span style="color: #000000;">1</span>.c -o%<span style="color: #000000;">1</span>.o -I%hdir%\include -I%mingw%\include -Wall<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO COMPILEERROR<br /><br /><span style="color: #00C800;">if</span> exist %<span style="color: #000000;">1</span>.rc %mingw%\bin\windres -D__FLAT__ -DDIALOG=DIALOGEX -i%<span style="color: #000000;">1</span>.rc -o_%<span style="color: #000000;">1</span>.o<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO RESOURCESERROR<br /><br /><span style="color: #00C800;">if</span> not exist %<span style="color: #000000;">1</span>.rc %mingw%\bin\gcc -o%<span style="color: #000000;">1</span>.exe %<span style="color: #000000;">1</span>.o -Wall -s -mwindows -L%mingw%\lib -L%hlibs% -L%fwh%\lib -Wl,--start-group -lfivehg -lfivehgc -lgtgui -luser32 -lwinspool -lkernel32 -lcomctl32 -lcomdlg32 -lgdi32 -lgdiplus -lole32 -loleaut32 -lpsapi -loledlg -lmfcuia32 -lmsimg32 -lwin32k -lstdc++ -lversion -luuid -lwinmm -lvfw32 -lwsock32 -lshell32 -lmpr -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbdebug -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -lhbziparc -lminizip -lhbmzip -lhbziparc -lpng -Wl,--end-group<br /><span style="color: #00C800;">if</span> exist %<span style="color: #000000;">1</span>.rc %mingw%\bin\gcc -o%<span style="color: #000000;">1</span>.exe %<span style="color: #000000;">1</span>.o _%<span style="color: #000000;">1</span>.o -Wall -s -mwindows -L%mingw%\lib -L%hlibs% -L%fwh%\lib -Wl,--start-group -lfivehg -lfivehgc -lgtgui -luser32 -lwinspool -lkernel32 -lcomctl32 -lcomdlg32 -lgdi32 -lgdiplus -lole32 -loleaut32 -lpsapi -lmsimg32 -lwin32k -loledlg -lstdc++ -lmfcuia32 -lversion -luuid -lwinmm -lvfw32 -lwsock32 -lshell32 -lmpr -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbdebug -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -lhbziparc -lminizip -lhbmzip -lhbziparc -lpng -Wl,--end-group<br /><br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO LINKERROR<br />ECHO * Application successfully built<br />%<span style="color: #000000;">1</span><br />rem delete temporary files<br />@del %<span style="color: #000000;">1</span>.c<br />@<span style="color: #00C800;">if</span> exist %<span style="color: #000000;">1</span>.rc del _%<span style="color: #000000;">1</span>.o<br />GOTO EXIT<br />ECHO<br /><br />:<span style="color: #000000;">RESOURCESERROR</span><br />ECHO * Resources errors *<br />GOTO EXIT<br /><br />:<span style="color: #000000;">COMPILEERROR</span><br />@type comp.log<br />ECHO * Compile errors *<br />GOTO EXIT<br /><br />:<span style="color: #000000;">LINKERROR</span><br />ECHO * Link errors *<br />GOTO EXIT<br /><br />:<span style="color: #000000;">SINTAX</span><br />ECHO    SYNTAX: <span style="color: #000000;">Buildg</span> <span style="color: #000000;">&#91;</span>Program<span style="color: #000000;">&#93;</span>     <span style="color: #000000;">&#123;</span>-- No especifiques la extensi¢n PRG<br />ECHO                                 <span style="color: #000000;">&#123;</span>-- Don<span style="color: #ff0000;">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT</span></div>[/code:qzs2qs2s]
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:\fwh\lib -lFiveHG<br />-Lc:\fwh\lib -lFiveHGC<br /><br />-lgdiplus<br />-lstdc++<br />-loleaut32<br />-loledlg<br />-lole32<br />-lmsimg32<br />-lshell32<br />-lversion<br /><br /># Compilable Sources<br />hello.prg</div>[/code:36v55j0g]
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 />-ic:\winclip\fwh1610\include<br />-Lc:\winclip\fwh1610\lib -lFiveHG<br />-Lc:\winclip\fwh1610\lib -lFiveHGC<br /><br />-lgdiplus<br />-lstdc++<br />-loleaut32<br />-loledlg<br />-lole32<br />-lmsimg32<br />-lshell32<br />-lversion<br /><br />-lhbct<br />-lodbc32<br /><br />-lhbwin<br />-lxhb<br />-lhbziparc<br />-lminizip<br />-lhbmzip<br /><br /># Compilable Sources<br />hello.prg<br /> </div>[/code:lkmoola2] i want to try the hbide debug, but, with fivehg.lib and fivehgc.lib before of all Others libraries, Always start the fivewin debug. if there is not other way, is it possbile temporarily remove debug from the fivewin libraries? can you post the command to do this? i have tried with ar.exe but with no success. thanks, marzio
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 here. This is repeated many times for each .prg file. I am using hbmk2 -oappname *.prg *.c as the command line. All of the .prg files compile successfully. I stumbled across a few posts here related to multiple definitions but I was not really able to discern how the problem was solved, or even exactly what it is. Is it a command line option, something needed in the source code, libraries to be included or excluded? The execution of hbmk2 suppresses commands it seems, so I am not completely certain what it is executing (which compiler, linker, e.g.). It was a standard install for Windows (10). Would really appreciate any guidance. Thanks in advance.
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'... Lines 858, Functions/Procedures 4 Generating C source output to
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 --> Compiling 'sco\SCO.PRG'... Lines 858, Functions/Procedures 4 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO.c'... Done. Compiling 'sco\SCO0.PRG'... Lines 3125, Functions/Procedures 39 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO0.c'... Done. Compiling 'sco\SCO1.PRG'... Lines 3768, Functions/Procedures 92 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO1.c'... Done. Compiling 'sco\SCO2.PRG'... Lines 2499, Functions/Procedures 44 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO2.c'... Done. Compiling 'sco\SCO3.PRG'... Lines 1817, Functions/Procedures 37 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO3.c'... Done. Compiling 'sco\SCO4.PRG'... Lines 4278, Functions/Procedures 53 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO4.c'... Done. Compiling 'sco\SCO5.PRG'... Lines 3767, Functions/Procedures 30 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO5.c'... Done. Compiling 'sco\SCO6.PRG'... Lines 3480, Functions/Procedures 14 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO6.c'... Done. Compiling 'sco\SCO7.PRG'... Lines 2271, Functions/Procedures 16 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO7.c'... Done. Compiling 'sco\SCO8.PRG'... Lines 4094, Functions/Procedures 16 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO8.c'... Done. Compiling 'sco\SCO9.PRG'... Lines 5302, Functions/Procedures 49 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_q2utyb.dir\SCO9.c'... Done. C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco.o:sco.c:(.text+0x0): multiple definition of `HB_FUN_MENUSETUP' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO.o:sco.c:(.text+0x0): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco.o:sco.c:(.text+0x20): multiple definition of `HB_FUN_MAINEVENT' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO.o:sco.c:(.text+0x20): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco.o:sco.c:(.text+0x40): multiple definition of `HB_FUN_MAINSTART' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO.o:sco.c:(.text+0x40): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco.o:sco.c:(.text+0x60): multiple definition of `HB_FUN_MAIN' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO.o:sco.c:(.text+0x60): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco.o:sco.c:(.text+0x80): multiple definition of `HB_FUN_SCO' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO.o:sco.c:(.text+0x80): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco0.o:sco0.c:(.text+0x0): multiple definition of `HB_FUN_UPIFIX' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO0.o:sco0.c:(.text+0x0): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco0.o:sco0.c:(.text+0x40): multiple definition of `HB_FUN_OPENFILES' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO0.o:sco0.c:(.text+0x40): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco0.o:sco0.c:(.text+0x60): multiple definition of `HB_FUN_DRAW13BUTN' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO0.o:sco0.c:(.text+0x60): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco0.o:sco0.c:(.text+0x80): multiple definition of `HB_FUN_DRAW11BUTN' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO0.o:sco0.c:(.text+0x80): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco0.o:sco0.c:(.text+0xa0): multiple definition of `HB_FUN_DRAW10BUTN' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO0.o:sco0.c:(.text+0xa0): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco0.o:sco0.c:(.text+0xc0): multiple definition of `HB_FUN_DRAW9BUTN' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO0.o:sco0.c:(.text+0xc0): first defined here C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/sco0.o:sco0.c:(.text+0xe0): multiple definition of `HB_FUN_DRAW12BUTN' C:/Users/larryh/AppData/Local/Temp/hbmk_q2utyb.dir/SCO0.o:sco0.c:(.text+0xe0): first defined here And on and on…..
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 file *************************************************************** INCLUDE "SCO.CH" FUNCTION Main(nFreeMegs) // Because dates are used in the LOCAL and PUBLIC statements of the main procedure // we need to be sure the epoch is correct from the beginning SET EPOCH TO 1970 MainStart(nFreeMegs) RETURN ( NIL ) * * * * * * * * * * * * * * * * * * * * * * * * * * * FUNCTION MAINStart() * * * * * * * * * * * * * * * * * * * * * * * * * * * * HERE IS THE PRIMARY FUNCTION FOR THIS SYSTEM. NOTE THAT IT IS NOTHING BUT AN * EVENT HANDLING ENDLESS LOOP - WELCOME TO THE WINDOWS JUNGLE!!!!!!!!!!!!!!!!! * * * * * * * * * * * * * * * * * * * * * * * * * * * PARAMETERS FREEMEGS LOCAL SAYLIST := {} LOCAL NEVENT := 0 LOCAL HCURRWND := 0 LOCAL HIGH := 190 LOCAL WIDE := 550 LOCAL FREESPACE := DISKSPACE(0) LOCAL FILENAME := "\SCO\DAT\BAK\" + STRTRAN(DTOC(DATE()),"/","-") + ".ZIP" LOCAL HSCOICON := 0 PUBLIC HMAINWND // MAIN WINDOW PUBLIC HIDDEN := .F. // MAIN WINDOW VISIBILITY STATE PUBLIC HINST := _GETINSTANCE() PUBLIC AMENU // MAIN MENU PUBLIC NILMENU // EMPTY MENU TO GIVE MAIN WINDOW WHEN IT IS DISABLED PUBLIC HWAIT // HOUR GLASS CURSOR HANDLE PUBLIC HAROW // ARROW CURSOR HANDLE PUBLIC DRAWBLOCK := "" PUBLIC DELBLOCK := "" PUBLIC DRAWRECORD // RECORD TO VIEW AND REPAINT SCREEN IF POINTER MOVED PUBLIC EDITRECORD // RECORD TO EDIT PUBLIC USERID := " " PUBLIC GCOLOR := "N/BG,W+/RB" PUBLIC SCOLOR := "N/W" PUBLIC DISTSHARES := 0 PUBLIC LONETIME := .T. PUBLIC ASKDISTRIB := .T. PUBLIC SVGA := .T. PUBLIC VGA := .F. PUBLIC NODELETE := .F. PUBLIC NOEDIT := .F. PUBLIC NOADD := .F. PUBLIC NOCOPY := .F. PUBLIC XSCREEN := GETSYSTEMMETRICS(SM_CXSCREEN) PUBLIC YSCREEN := GETSYSTEMMETRICS(SM_CYSCREEN) PUBLIC NVPOS PUBLIC NHPOS PUBLIC SCREENWORK := 0 // 1 TO 4 FOR BALL1 TO 4 PUBLIC DIRNOW := "" // BLANK IF \SCO\DAT ELSE EOM- OR EOY- IF IN EOM OR EOY PUBLIC DIRSTRING := "" // BLANK IF \SCO\DAT ELSE EOM\ OR EOY\ IF IN EOM OR EOY PUBLIC HBALL1 // BALL CURSORS PUBLIC HBALL2 // BALL CURSORS PUBLIC HBALL3 // BALL CURSORS PUBLIC HBALL4 // BALL CURSORS PUBLIC DWDATESTR := DTOC(DATE()) PUBLIC DEBUGNO := 0 PUBLIC TRADEW := XSCREEN PUBLIC TRADEH := YSCREEN - BUTTON_HEIGHT PUBLIC TRADEX := 0 PUBLIC TRADEY := 0 PUBLIC CUT800 := 230 PUBLIC CUT1024 := 230 PUBLIC HFONT := GETSTOCKOBJECT(OEM_FIXED_FONT) PUBLIC PRINTPORT := "1" PUBLIC ABUTTONS := {} PUBLIC TOTBUTTON := 0 PUBLIC BUTTNBLOCK PUBLIC TEMPTOTCOMM PUBLIC TEMPTOTNET PUBLIC CALCMAN PUBLIC CALCMANFILTER PUBLIC REALGANFILE PUBLIC REALGANHANDLE PUBLIC XACTIONHANDLE IF XSCREEN = 1024 CHRWIDE = 10 CHRHITE = 20 SVGA = .F. TRADEH = 500 TRADEY = 175 TRADEW = 600 TRADEX = 75 ELSE CHRWIDE = 8 CHRHITE = 14 END IF XSCREEN = 640 VGA = .T. END IF SVGA .AND. !VGA TRADEH = 355 TRADEY = 100 TRADEW = 550 TRADEX = 50 END #IFDEF USENTX PUBLIC USEMDXES := .F. PUBLIC BAGEXT := ".NTX" #ENDIF #IFDEF USEMDX PUBLIC USEMDXES := .T. PUBLIC BAGEXT := ".MDX" ANNOUNCE RDDSYS RDDINIT() #ENDIF SET SCOREBOARD OFF // DON'T EVEN THINK ABOUT USING IT IN WINDOWS!! SET EXACT ON // ALLOW SINGLE EQUAL SIGN TO EQUAL DOUBLE EQUAL SIGN SET ESCAPE ON // ALLOW GETS TO BE EXITED WITH ESCAPE SET DELETED ON // GOTTA HAVE DELETED ON SET CONFIRM ON // DO NOT LET OPERATOR LEAVE A FIELD TILL THEY HIT ENTER SET SOFTSEEK ON // ALL SEEKS CAN BE SOFT // SET EPOCH TO 1970 // Make 1970 JHJ HBALL1 = LoadCursor(hInst,"BALL1"+CHR(0)) HBALL2 = LoadCursor(hInst,"BALL2"+CHR(0)) HBALL3 = LoadCursor(hInst,"BALL3"+CHR(0)) HBALL4 = LoadCursor(hInst,"BALL4"+CHR(0)) HWAIT = LOADCURSOR(HINST,IDC_WAIT) HAROW = LOADCURSOR(HINST,IDC_ARROW) SETCURSOR(HWAIT) HSCOICON = "IDSCO" + CHR(0) // TELL EM RESOURSE ICON HANDLE NAME W/ NULL CHAR HMAINWND := WINSETUP(APP_NAME,"SCO VERSION 4.2",0,0,WIDE,HIGH,HSCOICON,,,PARENTSTYL) AMENU := MENUSETUP() // ATTATCH MAIN MENU TO MAIN WINDOW NMAINEVID := ADDHANDLER(HMAINWND, {|NEVENT| MAINEVENT(NEVENT)}) // ADD HANDLER BLOCK SETCARET(SC_FULL_BLOCK) HIDECARET(HMAINWND) SETHANDLECOUNT(125) // SET HANDLES IF !OPENFILES(1) SETCURSOR(HAROW) SAYERR("COULD NOT REOPEN FILES SHARED!") QUIT END C4W_AUTOCLOSE(.F.) IF !LOGIN() SETCURSOR(HAROW) QUIT END IF LEN(T_BUY) < 4 SAYMSG("REDEFINE TRAN CODES TO 4 CHARS!") END * BAIL IF LESS THAN 10 MEGS DISKSPACE IF EMPTY(FREEMEGS) FREEMEGS = 10 ELSE FREEMEGS = VAL(FREEMEGS) END IF FREESPACE < (FREEMEGS * 102400) SETCURSOR(HAROW) SAYERR("DISK FREE SPACE IS " + NSTR(FREESPACE) + " BYTES SO SCO WILL NOW TERMINATE!") QUIT END * WARN IF LESS THAN 50 MEGS DISKSPACE IF FREESPACE < 50000000 SETCURSOR(HAROW) SAYERR("CAUTION - DISK FREE SPACE IS " + NSTR(FREESPACE) + " BYTES!" + CR2 +; "PLEASE TELL NETWORK ADMINISTRATOR OF THIS!") END IF FILE("f:\SCO_LPT.DAT") HANDLE = FOPEN("f:\SCO_LPT.DAT",FO_READWRITE) FREAD(HANDLE,@PRINTPORT,1) FCLOSE(HANDLE) END SETCURSOR(HAROW) CHKSYSTIMR() SETCURSOR(HWAIT) IF !FILE(FILENAME) SETCURSOR(HAROW) * IF YNCONFIRM("A BACKUP OF THE SCO SYSTEM HAS NOT BEEN PERFORMED YET TODAY!" + CR2 +; * "BACKUP NOW?") * BACKUPSCO() * END SETCURSOR(HWAIT) END SELECT STOCKS NEWORDER(0) GO TOP WHILE .T. IF STYPE = "S" .AND. SACTIVE = "Y" DO CASE CASE DOW(DATE() - 1) = 1 SETCURSOR(HAROW) IF SDATE < (DATE() - 3) SAYMSG("THE BLOOMBERG DOWNLOAD WAS NOT DONE FRIDAY!" + CR2 +; "PLEASE RUN THE SCO BLOOMBERG DOWNLOAD FOR FRIDAY BEFORE " +; "UPDATING THE QUOTES FILE FROM BLOOMBERG TODAY!") END SETCURSOR(HWAIT) CASE SDATE < (DATE() - 1) SETCURSOR(HAROW) SAYMSG("THE BLOOMBERG DOWNLOAD WAS NOT DONE YESTERDAY!" + CR2 +; "PLEASE RUN THE SCO BLOOMBERG DOWNLOAD FOR YESTERDAY BEFORE " +; "UPDATING THE QUOTES FILE FROM BLOOMBERG TODAY!") SETCURSOR(HWAIT) CASE SDATE != DATE() .AND. ( VAL(SUBS(TIME(),1,2)) > 14 ) SETCURSOR(HAROW) SAYMSG("THE MARKET HAS CLOSED FOR THE DAY!" + CR2 +; "PLEASE RUN THE BLOOMBERG SYMBOL EXPORT AND DOWNLOAD NOW!") SETCURSOR(HWAIT) END EXIT END SKIP IF EOF() EXIT END END NEWORDER(1) DISTVARS(0,"NTRADE") SETCURSOR(HAROW) WHILE .T. WHILE .T. NEVENT = CHKEVENT() IF NEVENT != EVENT_NONE EXIT END END HANDLEEVENT(NEVENT) END RETURN NIL #IFDEF USEMDX ** * * * * * * * * * * * * * * * * * * * * * * * * * * PROCEDURE RDDINIT() * * * * * * * * * * * * * * * * * * * * * * * * * * * * SET NTX OR MDX INDEX DEFAULT * * * * * * * * * * * * * * * * * * * * * * * * * * * IF USEMDXES REQUEST DBFMDX RDDSETDEFAULT("DBFMDX") END RETURN NIL #ENDIF * * * * * * * * * * * * * * * * * * * * * * * * * * * FUNCTION MAINEVENT(NEVENT) * * * * * * * * * * * * * * * * * * * * * * * * * * * * THIS IS THE MAIN EVENT PROCESSING FUNCTION AND PREVAILS WHEN EVER NO OTHER * FUNCTION HAS ITS EVENT HANDLING UDF ON THE TOP OF THE EVENT HANDLER STACK * WHICH IS LOADED BY ADDHANDLER() AND UNLOADED AUTOMATICALLY WHENEVER A CALL * TO DESTROYWINDOW() IS MADE (ACTUALLY WHENEVER THE EVENT_DESTROY IS SENT TO A * WINDOW THEN THE EVENT HANDLER STACK IS CLEARED OF THAT WINDOWS EVENT HANDLER * BLOCK WHICH CONTAINS THAT WINDOWS EVENT HANDLER UDF) * * * * * * * * * * * * * * * * * * * * * * * * * * * LOCAL OLDCOLOR LOCAL NKEY DO CASE CASE NEVENT = EVENT_KEY NKEY = INKEY() IF NKEY = K_ESC .OR. NKEY = K_ALT_F4 // ABANDONED IF SELECTWINDOW() = HMAINWND DOEXIT() END END CASE NEVENT = EVENT_DESTROY IF SELECTWINDOW() = HMAINWND DOEXIT() END CASE NEVENT = EVENT_CLOSE .AND. LASTKEY() != K_ALT_F4 IF SELECTWINDOW() = HMAINWND DOEXIT() END CASE NEVENT = EVENT_QUIT QUIT CASE NEVENT = EVENT_RCLICK * SEE IF MAIN WNDOW IS RIGHT CLICKED AND TOP WINDOW IF SELECTWINDOW() = HMAINWND .AND. GETFOCUS() = HMAINWND DOEXIT() END END RETURN NIL * * * * * * * * * * * * * * * * * * * * * * * * * * * FUNCTION MENUSETUP() * * * * * * * * * * * * * * * * * * * * * * * * * * * * THIS ENACTS THE MENU ATTATCHED TO THE MAIN WINDOW * * * * * * * * * * * * * * * * * * * * * * * * * * * LOCAL AMENU LOCAL HPOPUPMEN1 LOCAL HPOPUPMEN2 LOCAL HPOPUPMEN3 * LOAD NILMENU[] NILMENU = CREATEMENU() IF (AMENU := GETMENU(HMAINWND)) != NIL DESTROYMENU(AMENU) END * NOTE THAT AMPERSAND INDICATES THE TRIGGER LETTER AMENU := CREATEMENU() ******************************** FILE ************************************** HPOPUPMEN1 := CREATEPOPUPMENU() APPENDMENU(AMENU ,"FILE" , MF_ENABLED + MF_POPUP , "&FILE" , HPOPUPMEN1) * CHANGE FILE AREA * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"CHANGFIL" , MF_ENABLED + MF_POPUP , "&CHANGE FILE AREA" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"EOMFILES" , MF_ENABLED + MF_STRING, "&MONTH END FILE SWITCH" , {|| FILEAREA("M")}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"EOYFILES" , MF_ENABLED + MF_STRING, "&YEAR END FILE SWITCH" , {|| FILEAREA("Y")}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) * DAILY * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"DAILY" , MF_ENABLED + MF_POPUP , "&DAILY" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"XPORTSYMB" , MF_ENABLED + MF_STRING, "&1 EXPORT BLOOMBERG SYMBOLS" , {|| XPORTSYMBL()}) **APPENDMENU(HPOPUPMEN2,"RUNSCODLOD", MF_ENABLED + MF_STRING, "&2 DOWNLOAD BLOOMBERG QUOTES" , {|| DOWNLOAD()}) APPENDMENU(HPOPUPMEN2,"IMPORTQOT" , MF_ENABLED + MF_STRING, "&2 IMPORT BLOOMBERG QUOTES" , {|| IMPORTQUOT()}) * MONTH END * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"MONTHEND" , MF_ENABLED + MF_POPUP , "&MONTH END" , HPOPUPMEN2) * INVOICES * HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"INVOICES" , MF_ENABLED + MF_POPUP , "&INVOICES" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"GENMANFEE" , MF_ENABLED + MF_STRING, "&GENERATE LINE ITEMS" , {|| GENMANFEE()}) **APPENDMENU(HPOPUPMEN3,"GENMONINV" , MF_ENABLED + MF_STRING, "&ADD ITEMS TO INVOICES" , {|| GENMONINV()}) **APPENDMENU(HPOPUPMEN3,"PRNMONINV" , MF_ENABLED + MF_STRING, "&PRINT INVOICES" , {|| PRNMONINV()}) **APPENDMENU(HPOPUPMEN3, "", MF_SEPARATOR) **APPENDMENU(HPOPUPMEN3,"UPDTMONIN" , MF_ENABLED + MF_STRING, "&UPDATED INVOICE VIEWER" , {|| UPDTMONINV()}) * END INVOICES **APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"EOMFILES" , MF_ENABLED + MF_STRING, "&MONTH END FILE CREATION" , {|| DOEOM()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"SETEOMQUOT", MF_ENABLED + MF_STRING, "&RESET END OF MONTH QUOTE" , {|| SETEOMQUOT()}) * ZERO * HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"ZERO" , MF_ENABLED + MF_POPUP , "&ZERO OUT EOM" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"TOTALBCOMM", MF_ENABLED + MF_STRING, "&BROKER COMMISSION ZERO" , {|| TOTALBCOMM()}) APPENDMENU(HPOPUPMEN3,"ZERODEPWD" , MF_ENABLED + MF_STRING, "&DEPOSIT/WITHDRAW ZERO" , {|| ZERODEPWD()}) APPENDMENU(HPOPUPMEN3,"ZEROTAXLOT", MF_ENABLED + MF_STRING, "&FISCAL TAX LOTS ZERO" , {|| ZEROTAXLOT()}) * END ZERO * APPENDMENU(HPOPUPMEN2,"PIUPDATE" , MF_ENABLED + MF_STRING, "&PI UPDATE" , {|| UPDATEUPI()}) APPENDMENU(HPOPUPMEN2,"UPIPURGE" , MF_ENABLED + MF_STRING, "&CLEAN CLOSEOUTS IN UPI" , {|| PURGEUPI()}) * YEAR END * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"YEAREND" , MF_ENABLED + MF_POPUP , "&YEAR END" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"EOY" , MF_ENABLED + MF_STRING, "&YEAR END FILE CREATION" , {|| DOEOY()}) APPENDMENU(HPOPUPMEN2,"SNPSETEOY" , MF_ENABLED + MF_STRING, "&S+P YEAR END SETTING" , {|| SETEOYSNP()}) APPENDMENU(HPOPUPMEN2,"DOWSETEOY" , MF_ENABLED + MF_STRING, "&DOW YEAR END SETTING" , {|| SETEOYDOW()}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) * UTILITY * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"UTILITY" , MF_ENABLED + MF_POPUP , "&UTILITIES" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"NUPRNPORT" , MF_ENABLED + MF_STRING, "&CHANGE PRINTER LPT NUMBER", {|| NUPRINPORT()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"PACKALL" , MF_ENABLED + MF_STRING, "&PACK FILES" , {|| PACKALL()}) APPENDMENU(HPOPUPMEN2,"RENDX" , MF_ENABLED + MF_STRING, "&REINDEX" , {|| RENDX()}) **APPENDMENU(HPOPUPMEN2,"DUMPDEF" , MF_ENABLED + MF_STRING, "DATA DEF D&UMP" , {|| DUMPDEFS()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"CHNGPSWD" , MF_ENABLED + MF_STRING, "PASS &WORD CHANGE" , {|| CHNGPSWD()}) APPENDMENU(HPOPUPMEN2,"VIEWPSWD" , MF_ENABLED + MF_STRING, "&VIEW PASSWORD" , {|| VIEWPSWD()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) **APPENDMENU(HPOPUPMEN2,"BACKUPSCO" , MF_ENABLED + MF_STRING, "&BACKUP SCO SYSTEM" , {|| BACKUPSCO()}) **APPENDMENU(HPOPUPMEN2,"RESTORSCO" , MF_ENABLED + MF_STRING, "R&ESTORE SCO SYSTEM" , {|| RESTORESCO()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"MOVEFOLIOI", MF_ENABLED + MF_STRING, "&MOVE FOLIO W/O BUY/SEL" , {|| MOVEFOLIO()}) APPENDMENU(HPOPUPMEN2,"ADDFOLIOI" , MF_ENABLED + MF_STRING, "&ADD FOLIO W/O BUY" , {|| ADDFOLIO()}) APPENDMENU(HPOPUPMEN2,"DELFOLIOI" , MF_ENABLED + MF_STRING, "&DELETE FOLIO W/O SELL" , {|| DELFOLIO()}) APPENDMENU(HPOPUPMEN2,"STOCKSPLIT", MF_ENABLED + MF_STRING, "&STOCK SPLIT" , {|| STOCKSPLIT()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"CHNGSYMB" , MF_ENABLED + MF_STRING, "S&YMBOL CHANGE" , {|| CHNGSECSYM()}) APPENDMENU(HPOPUPMEN2,"CHNGCLID" , MF_ENABLED + MF_STRING, "C&LIENT ID CHANGE" , {|| CHANGECLID()}) APPENDMENU(HPOPUPMEN2,"DELCLID" , MF_ENABLED + MF_STRING, "DE&LETE CLIENTS" , {|| DELCLID()}) APPENDMENU(HPOPUPMEN2,"REBALANCE" , MF_ENABLED + MF_STRING, "REBA&LANCE 1 CLIENT" , {|| REBALANCE()}) APPENDMENU(HPOPUPMEN2,"REBALALL" , MF_ENABLED + MF_STRING, "REBA&LANCE ALL CLIENTS" , {|| REBALALL()}) **APPENDMENU(HPOPUPMEN2,"UPIFIX" , MF_ENABLED + MF_STRING, "&UPI FIX" , {|| UPIFIX()}) * END OF UTILITY * **APPENDMENU(HPOPUPMEN1,"DOS" , MF_ENABLED + MF_STRING, "&OS" , {|| WINEXEC("\SCO\EXE\OS.PIF")}) APPENDMENU(HPOPUPMEN1,"ABOUT" , MF_ENABLED + MF_STRING, "&ABOUT" , {|| CREDITS()}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN1,"EXIT" , MF_ENABLED + MF_STRING, "E&XIT" , {|| DOEXIT() }) ******************************** DATA ************************************** HPOPUPMEN1 := CREATEPOPUPMENU() APPENDMENU(AMENU ,"DATA" , MF_ENABLED + MF_POPUP , "&DATA" , HPOPUPMEN1) APPENDMENU(HPOPUPMEN1,"CLIENT" , MF_ENABLED + MF_STRING, "&CLIENT" , {|| DOCLIENT()}) APPENDMENU(HPOPUPMEN1,"STOCK" , MF_ENABLED + MF_STRING, "&SECURITY" , {|| DOSTOCK()}) HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"PORTFOLIO" , MF_ENABLED + MF_POPUP , "&PORTFOLIO" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"PORTFOLIO" , MF_ENABLED + MF_STRING, "&VIEW" , {|| DOFOLIO()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"REPLACE PURCHASE DATE" , MF_ENABLED + MF_STRING, "&REPLACE PURCHASE DATE" , {|| DOREPFOLIO("FOLIO" , {||SETOFILTER()}, {||NOFILTER()}, .T., "FOLIO")}) APPENDMENU(HPOPUPMEN1,"GENLEDGE" , MF_ENABLED + MF_STRING, "&GENERAL LEDGER" , {|| DOGENLEDGE()}) **APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) **APPENDMENU(HPOPUPMEN1,"TAXLOT" , MF_ENABLED + MF_STRING, "&TAX LOTS" , {|| DOTAXLOT()}) **APPENDMENU(HPOPUPMEN1,"DODEFINCOM", MF_ENABLED + MF_STRING, "&DEFERRED INCOME" , {|| DODEFINCOM()}) **APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) **APPENDMENU(HPOPUPMEN1,"INVLINES" , MF_ENABLED + MF_STRING, "&LINE ITEMS" , {|| DOINVLINE()}) **APPENDMENU(HPOPUPMEN1,"MONINVOC" , MF_ENABLED + MF_STRING, "&INVOICES" , {|| DOMONINV()}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN1,"BROKER" , MF_ENABLED + MF_STRING, "&BROKER" , {|| DOBROKER()}) **APPENDMENU(HPOPUPMEN1,"PROSPECT" , MF_ENABLED + MF_STRING, "&PROSPECT" , {|| DOPROSPECT()}) * BROWSE * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"OTHERS" , MF_ENABLED + MF_POPUP , "&OTHERS" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"ARCFOLIO" , MF_ENABLED + MF_STRING, "&FOLIO ARCHIVES" , {|| DOARCFOLIO()}) APPENDMENU(HPOPUPMEN2,"ARCTN" , MF_ENABLED + MF_STRING, "&NORMAL TRADE ARCHIVES" , {|| DOARCNTRAD()}) APPENDMENU(HPOPUPMEN2,"ARCTS" , MF_ENABLED + MF_STRING, "&SHORT TRADE ARCHIVES" , {|| DOARCSTRAD()}) **APPENDMENU(HPOPUPMEN2,"ARCTF" , MF_ENABLED + MF_STRING, "F&UTURES TRADE ARCHIVES" , {|| DOARCFTRAD()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"PI" , MF_ENABLED + MF_STRING, "&PI SUMMARY FILE" , {|| DOUPI()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"INDUSTRY" , MF_ENABLED + MF_STRING, "&INDUSTRY FILE" , {|| DOINDFILE()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"VALUES" , MF_ENABLED + MF_STRING, "&VALUES" , {|| DOVALUES()}) APPENDMENU(HPOPUPMEN2,"SYSFILE" , MF_ENABLED + MF_STRING, "S&YSTEM FILE" , {|| DOSYSFILE()}) ******************************** TRADING *********************************** HPOPUPMEN1 := CREATEPOPUPMENU() APPENDMENU(AMENU ,"TRADING" , MF_ENABLED + MF_POPUP , "&TRADING" , HPOPUPMEN1) * NORMAL TRADES * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"NTRADES" , MF_ENABLED + MF_POPUP , "&NORMAL" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"OTRADES" , MF_ENABLED + MF_STRING, "&OPEN TRADES" , {|| DOTRADE( "OPEN TRADES" , {||SETOFILTER()}, {||NOFILTER()}, .T., "NTRADE" )}) APPENDMENU(HPOPUPMEN2,"ETRADES" , MF_ENABLED + MF_STRING, "&EXECUTED TRADES" , {|| DOTRADE( "EXECUTED TRADES", {||SETEFILTER()}, {||NOFILTER()}, .T., "NTRADE" )}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"BUY" , MF_ENABLED + MF_STRING, "&BUY DISTRIBUTION" , {|| DOBUY1()}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"SELL" , MF_ENABLED + MF_POPUP, "&SELL DISTRIBUTION" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"SELECT LOTS" , MF_ENABLED + MF_STRING, "&SELECT LOTS" , {|| DOMANFOLIO("FOLIO" , {||SETOFILTER()}, {||NOFILTER()}, .T., "FOLIO")}) APPENDMENU(HPOPUPMEN3,"MANUALSELL" , MF_ENABLED + MF_STRING, "&MANUAL" , {|| DOMANSELL1()}) APPENDMENU(HPOPUPMEN3,"AUTOSELL" , MF_ENABLED + MF_STRING, "&AUTOMATIC" , {|| DOSELL1()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"RBUY" , MF_ENABLED + MF_STRING, "&REVERSE BUY DISTRIB" , {|| DOREVBUY1()}) APPENDMENU(HPOPUPMEN2,"RSELL" , MF_ENABLED + MF_STRING, "RE&VERSE SELL DISTRIB" , {|| DOREVSELL1()}) * SHORT TRADES * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"STRADES" , MF_ENABLED + MF_POPUP , "&SHORTS" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"OSTRADES" , MF_ENABLED + MF_STRING, "&OPEN SHORT TRADES" , {|| DOTRADE( "OPEN SHORT TRADES" , {||SETOFILTER()}, {||NOFILTER()}, .T., "STRADE" )}) APPENDMENU(HPOPUPMEN2,"ESTRADES" , MF_ENABLED + MF_STRING, "&EXECUTED SHORT TRADES" , {|| DOTRADE( "EXECUTED SHORT TRADES", {||SETEFILTER()}, {||NOFILTER()}, .T., "STRADE" )}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"SELLSHORT" , MF_ENABLED + MF_STRING, "&SELL SHORT DISTRIBUTION" , {|| DOSELLSHO1()}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"BUYCOVER" , MF_ENABLED + MF_POPUP, "&BUY COVER DISTRIBUTION" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"SELECTBUYLOTS" , MF_ENABLED + MF_STRING, "&SELECT LOTS" , {|| DOBUYFOLIO("FOLIO" , {||SETOFILTER()}, {||NOFILTER()}, .T., "FOLIO")}) APPENDMENU(HPOPUPMEN3,"MANUALBUY" , MF_ENABLED + MF_STRING, "&MANUAL" , {|| DOBUYMANCOV1()}) APPENDMENU(HPOPUPMEN3,"AUTOBUY" , MF_ENABLED + MF_STRING, "&AUTOMATIC" , {||DOBUYCOV1()}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN2,"RSELSHORT" , MF_ENABLED + MF_STRING, "&REVERSE SHORT SALE DIST" , {|| REVSELSHO1()}) APPENDMENU(HPOPUPMEN2,"RBUYCOVER" , MF_ENABLED + MF_STRING, "RE&VERSE BUY COVER DIST" , {|| REVBUYCOV1()}) * FUTURES TRADES * **HPOPUPMEN2 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN1,"FTRADES" , MF_ENABLED + MF_POPUP , "&FUTURES" , HPOPUPMEN2) **APPENDMENU(HPOPUPMEN2,"OFTRADES" , MF_ENABLED + MF_STRING, "&OPEN FUTURES TRADES" , {|| DOTRADE( "OPEN FUTURES TRADES" , {||SETOFILTER()}, {||NOFILTER()}, .T., "FTRADE" )}) **APPENDMENU(HPOPUPMEN2,"EFTRADES" , MF_ENABLED + MF_STRING, "&EXECUTED FUTURES TRADES" , {|| DOTRADE( "EXECUTED FUTURES TRADES", {||SETEFILTER()}, {||NOFILTER()}, .T., "FTRADE" )}) **APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) **APPENDMENU(HPOPUPMEN2,"BUYFUTURE" , MF_ENABLED + MF_STRING, "&BUY FUTURES DISTRIB" , {|| DOBUYFUTU1()}) **APPENDMENU(HPOPUPMEN2,"SELFUTURE" , MF_ENABLED + MF_STRING, "&SELL FUTURES DISTRIB" , {|| DOSELFUTU1()}) **APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) **APPENDMENU(HPOPUPMEN2,"RBUYFUTUR" , MF_ENABLED + MF_STRING, "&REVERSE BUY FUTURES DIST" , {|| REVBUYFUT1()}) **APPENDMENU(HPOPUPMEN2,"RSELFUTUR" , MF_ENABLED + MF_STRING, "RE&VERSE SELL FUTURES DIST", {|| REVSELFUT1()}) ******************************** TRANSACTIONS ****************************** HPOPUPMEN1 := CREATEPOPUPMENU() APPENDMENU(AMENU ,"XACTION" , MF_ENABLED + MF_POPUP , "&XACTION" , HPOPUPMEN1) APPENDMENU(HPOPUPMEN1,"CUSTEXP" , MF_ENABLED + MF_STRING, "&EXPENSE" , {|| EXPENSE()}) APPENDMENU(HPOPUPMEN1,"INCOME" , MF_ENABLED + MF_STRING, "&INCOME" , {|| INCOME()}) **APPENDMENU(HPOPUPMEN1,"CAPGAN" , MF_ENABLED + MF_STRING, "&CAPITAL GAIN" , {|| CAPGAN()}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) APPENDMENU(HPOPUPMEN1,"DEPOSIT" , MF_ENABLED + MF_STRING, "&DEPOSIT CASH" , {|| DODEPOSIT()}) APPENDMENU(HPOPUPMEN1,"WITHDRAW" , MF_ENABLED + MF_STRING, "&WITHDRAW CASH" , {|| DOWITHDRAW()}) **APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) **APPENDMENU(HPOPUPMEN1,"DEFINCOM" , MF_ENABLED + MF_STRING, "DEFERRED I&NCOME" , {|| DEFINCOME()}) **APPENDMENU(HPOPUPMEN1,"FEEREF" , MF_ENABLED + MF_STRING, "&FEE REFUND" , {|| FEEREFUND()}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) * REVERSALS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"REVERSALS" , MF_ENABLED + MF_POPUP , "&REVERSAL" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"RCUSTEXP" , MF_ENABLED + MF_STRING, "&EXPENSE REVERSAL" , {|| REVEXPENSE()}) APPENDMENU(HPOPUPMEN2,"RINCOME" , MF_ENABLED + MF_STRING, "&INCOME REVERSAL" , {|| REVINCOME()}) APPENDMENU(HPOPUPMEN2,"RCAPGAN" , MF_ENABLED + MF_STRING, "&CAPITAL GAIN REVERSAL" , {|| REVCAPGAN()}) ******************************** REPORTS *********************************** HPOPUPMEN1 := CREATEPOPUPMENU() APPENDMENU(AMENU ,"REPORTS" , MF_ENABLED + MF_POPUP , "&REPORTS" , HPOPUPMEN1) * TRADING REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"TREPORTS" , MF_ENABLED + MF_POPUP , "&TRADING" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"TREPALL" , MF_ENABLED + MF_POPUP , "&MULTI-GEN TRADES" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"TREPALLV" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| OXORDERS(1,1,1)}) APPENDMENU(HPOPUPMEN3,"TREPALLP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("OPENTRAD","OPEN TRADES",.F.,66,,,,10)},{|| PRINTREP("EXECTRAD","EXEC TRADES",.F.,66,,,,10)},{|| PRINTREP("QUOTLIST","QUOTE LIST",.F.,66,,,,10)}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"TREPOPEN" , MF_ENABLED + MF_POPUP , "&OPEN TRADES" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"TREPOPENR" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("OPENTRAD","OPEN TRADES",.F.)}) APPENDMENU(HPOPUPMEN3,"TREPOPENV" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| OXORDERS(1,0,0)}) APPENDMENU(HPOPUPMEN3,"TREPOPENP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("OPENTRAD","OPEN TRADES",.F.,66,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"TREPEXEC" , MF_ENABLED + MF_POPUP , "&EXECUTED TRADES" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"TREPEXECV" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("EXECTRAD","EXECUTED TRADES",.F.)}) APPENDMENU(HPOPUPMEN3,"TREPEXECR" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| OXORDERS(0,1,0)}) APPENDMENU(HPOPUPMEN3,"TREPEXECP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("EXECTRAD","EXECUTED TRADES",.F.,66,,,,10)}) **HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"TREPQUOT" , MF_ENABLED + MF_POPUP , "&QUOTE LIST" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"TREPQUOTV" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("QUOTLIST","QUOTE LIST",.F.)}) **APPENDMENU(HPOPUPMEN3,"TREPQUOTR" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| OXORDERS(0,0,1)}) **APPENDMENU(HPOPUPMEN3,"TREPQUOTP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("QUOTLIST","QUOTE LIST",.F.,66,,,,10)}) **APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) **HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"TREPCDFS" , MF_ENABLED + MF_POPUP , "&CDF'S" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"TREPCDFSV" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWCDFS()}) **APPENDMENU(HPOPUPMEN3,"TREPCDFSP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTCDFS()}) * FOLIO REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"FOLIO" , MF_ENABLED + MF_POPUP , "&PORTFOLIO" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"PORTFOLI" , MF_ENABLED + MF_POPUP , "&PORTFOLIO" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VPORTFOLI", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RFO","FOLIO",.T.,"CLIENT","CLMASTER")}) APPENDMENU(HPOPUPMEN3,"GPORTFOLI", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| FOLIO()}) APPENDMENU(HPOPUPMEN3,"PPORTFOLI", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RFO","FOLIO",.T.,88,"CLIENT","CLMASTER","CCLID",16,.T.)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"CLQPR" , MF_ENABLED + MF_POPUP , "&CLIENT QPR" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VCLQPR" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RQP","CLIENT QPR",.T.,"CLIENT","CLMASTER")}) APPENDMENU(HPOPUPMEN3,"GCLQPR" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| CLIENTQPR()}) APPENDMENU(HPOPUPMEN3,"PCLQPR" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RQP","CLIENT QPR",.T.,88,"CLIENT","CLMASTER","CCLID",10,.T.)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"POSCOST" , MF_ENABLED + MF_POPUP , "&POSITION COST COMPONENTS" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VPOSCOST" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RPC","POSITION COST",.T.,"CLIENT","CLMASTER")}) APPENDMENU(HPOPUPMEN3,"GPOSCOST" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| POSCOSTREP()}) APPENDMENU(HPOPUPMEN3,"PPOSCOST" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RPC","POSITION COST",.T.,88,"CLIENT","CLMASTER","CCLID",10,.T.)}) HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"VALQPR" , MF_ENABLED + MF_POPUP , "&VAL/QPR" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VVALQPR" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("VALQPR","VAL/QPR",.F.)}) APPENDMENU(HPOPUPMEN3,"GVALQPR" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| VALQPRREP()}) APPENDMENU(HPOPUPMEN3,"PVALQPR" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("VALQPR","VAL/QPR",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"STOKLIS" , MF_ENABLED + MF_POPUP , "&STOCK LIST" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VSTOKLIS" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("STOKLIST","STOCK LIST",.F.)}) APPENDMENU(HPOPUPMEN3,"GSTOKLIS" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| STOKLISREP()}) APPENDMENU(HPOPUPMEN3,"PSTOKLIS" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("STOKLIST","STOCK LIST",.F.,88,,,,10)}) **HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"FEEPROJ" , MF_ENABLED + MF_POPUP , "F&EE PROJECTION" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"VFEEPROJ" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("FEEPROJE","FEE PROJECTION",.F.)}) **APPENDMENU(HPOPUPMEN3,"GFEEPROJ" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| FEEPROJREP()}) **APPENDMENU(HPOPUPMEN3,"PFEEPROJ" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("FEEPROJE","FEE PROJECTION",.F.,66,,,,10)}) * SECURITIES REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"SECREPS" , MF_ENABLED + MF_POPUP , "&SECURITIES" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"STOKPOS" , MF_ENABLED + MF_POPUP , "&POSITIONS" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VSTKPOS" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RPO","STOCK POSITIONS",.T.,"STOCK","STOCKS")}) APPENDMENU(HPOPUPMEN3,"GSTKPOS" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| STOCKPOS()}) APPENDMENU(HPOPUPMEN3,"PSTKPOS" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RPO","STOCK POSITIONS",.T.,88,"STOCK","STOCKS","SSYMBOL",10,,3)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"OMNIBUS" , MF_ENABLED + MF_POPUP , "&OMNIBUS" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VOBUS" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("OMNIBUS","OMNIBUS",.F.)}) APPENDMENU(HPOPUPMEN3,"GOBUS" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| OMNIBUS()}) APPENDMENU(HPOPUPMEN3,"POBUS" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("OMNIBUS","OMNIBUS",.F.,88,,,,16)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"LONG" , MF_ENABLED + MF_POPUP , "&SECURITIES GOING LONG TERM" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VLONG" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWPRC("LTGOING.REP")}) APPENDMENU(HPOPUPMEN3,"GLONG" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| GOINGLONG()}) APPENDMENU(HPOPUPMEN3,"PLONG" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("LTGOING","SECURITIES GOING LONG",.F.,88,,,,10)}) * TRANSACTION REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"XACTION" , MF_ENABLED + MF_POPUP , "&XACTION" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"XACTIONREP" , MF_ENABLED + MF_POPUP , "&CLIENT XACTIONS" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VXACTIONREP", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RXA","CLIENT XACTIONS",.T.,"CLIENT","CLMASTER")}) APPENDMENU(HPOPUPMEN3,"GXACTIONREP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| XACTIONREP()}) APPENDMENU(HPOPUPMEN3,"PXACTIONREP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RXA","CLIENT XACTIONS",.T.,88,"CLIENT","CLMASTER","CCLID",12)}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) **HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"DEPREP" , MF_ENABLED + MF_POPUP , "&DEPOSITS" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"VDEPREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("DEPOSIT","DEPOSITS",.F.)}) **APPENDMENU(HPOPUPMEN3,"PDEPREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("DEPOSIT","DEPOSITS",.F.,88,,,,16)}) **HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"WDREP" , MF_ENABLED + MF_POPUP , "&WITHDRAWALS" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"VWDREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("WITHDRAW","WITHDRAWALS",.F.)}) **APPENDMENU(HPOPUPMEN3,"PWDREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("WITHDRAW","WITHDRAWALS",.F.,88,,,,16)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"SHAREREP" , MF_ENABLED + MF_POPUP , "&SHARES" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VSHAREREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RSH","SHARES",.T.,"CLIENT","CLMASTER")}) APPENDMENU(HPOPUPMEN3,"PSHAREREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RSH","SHARES",.T.,66,"CLIENT","CLMASTER","CCLID",10)}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"TAXREP" , MF_ENABLED + MF_POPUP , "&TAXES" , HPOPUPMEN3) HPOPUPMEN4 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN3,"PRELIMTAX" , MF_ENABLED + MF_POPUP , "&PRELIMINARY TAX WORKSHEET", HPOPUPMEN4) APPENDMENU(HPOPUPMEN4,"VPRETAXREP", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RPT","PRELIM TAX WORK SHEET",.T.,"CLIENT","CLMASTER")}) APPENDMENU(HPOPUPMEN4,"GPRETAXREP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| PRELIMTAX()}) APPENDMENU(HPOPUPMEN4,"PPRETAXREP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RPT","PRELIM TAX WORK SHEET",.T.,88,"CLIENT","CLMASTER","CCLID",10)}) HPOPUPMEN4 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN3,"REALGANLOS", MF_ENABLED + MF_POPUP , "&REALIZED GAINS/LOSSES" , HPOPUPMEN4) APPENDMENU(HPOPUPMEN4,"VGANLOSREP", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("RGA","GAINS & LOSSES",.T.,"CLIENT","CLMASTER")}) APPENDMENU(HPOPUPMEN4,"GGANLOSREP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| REALGANLOS()}) APPENDMENU(HPOPUPMEN4,"PGANLOSREP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("RGA","GAINS & LOSSES",.T.,66,"CLIENT","CLMASTER","CCLID",10)}) **HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"CHKNIAKSCO", MF_ENABLED + MF_POPUP , "&NIAKWA-SCO BALANCE CHECK" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"VCHKNIAKREP", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("NIAKSCO","CHECK NIAK-SCO BALANCE",.F.)}) **APPENDMENU(HPOPUPMEN3,"GCHKNIAKREP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| CHKNIAKSCO()}) **APPENDMENU(HPOPUPMEN3,"PCHKNIAKREP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("NIAKSCO","CHECK NIAK-SCO BALANCE",.F.,66,,,,10)}) **APPENDMENU(HPOPUPMEN2,"ACCBALREP" , MF_ENABLED + MF_STRING, "&ACCOUNT BALANCE" , {|| NOTYET()}) **HPOPUPMEN3 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN2,"DEFINCREP" , MF_ENABLED + MF_POPUP , "&INCOME DEFERRED" , HPOPUPMEN3) **APPENDMENU(HPOPUPMEN3,"VDEFINCREP", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("DEFINCOM","DEFERRED INCOME",.F.)}) **APPENDMENU(HPOPUPMEN3,"GDEFINCREP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| DEFINCREP()}) **APPENDMENU(HPOPUPMEN3,"PDEFINCREP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("DEFINCOM","DEFERRED INCOME",.F.,88,,,,10)}) * ADMINISTRATION REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"ADMINREP" , MF_ENABLED + MF_POPUP , "&ADMINISTRATION" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"ALLRANKREP", MF_ENABLED + MF_POPUP , "&MULTI-GEN RANK REPS" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"GENRANKREP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| ALLRANKREP()}) APPENDMENU(HPOPUPMEN3,"PRNRANKREP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| STACKFILES("ALLRANKS.REP","CLINDEX.REP","GRPSHEET.REP","PMVRANK.REP","ABSOLUTE.REP","CROIRANK.REP","TOTALPMV.REP","WEIGHTAV.REP","FEERANK.REP")},{|| PRINTREP("ALLRANKS","ALL RANK REPS",.F.,88,,,,10)}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"CLINDXREP" , MF_ENABLED + MF_POPUP , "&INDEX OF CLIENTS" ,HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VCLINDXREP", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("CLINDEX","INDEX OF CLIENTS",.F.)}) APPENDMENU(HPOPUPMEN3,"GCLINDXREP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| CLINDEXREP()}) APPENDMENU(HPOPUPMEN3,"PCLINDXREP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("CLINDEX","INDEX OF CLIENTS",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"GRUPREP" , MF_ENABLED + MF_POPUP , "&GROUP SHEETS" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VGRUPREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("GRPSHEET","GROUP SHEETS",.F.)}) APPENDMENU(HPOPUPMEN3,"GGRUPREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| GRPSHETREP()}) APPENDMENU(HPOPUPMEN3,"PGRUPREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("GRPSHEET","GROUP SHEETS",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"FEEREP" , MF_ENABLED + MF_POPUP , "&FEE RANK" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VRFEEREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("FEERANK","FEE RANK",.F.)}) APPENDMENU(HPOPUPMEN3,"GRFEEREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| FEERANKREP()}) APPENDMENU(HPOPUPMEN3,"PRFEEREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("FEERANK","FEE RANK",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"RPMVREP" , MF_ENABLED + MF_POPUP , "&PMV RANK" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VRPMVREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("PMVRANK","PMV RANK",.F.)}) APPENDMENU(HPOPUPMEN3,"GRPMVREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| PMVRANKREP()}) APPENDMENU(HPOPUPMEN3,"PRPMVREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("PMVRANK","PMV RANK",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"ABSLREP" , MF_ENABLED + MF_POPUP , "&ABSOLUTE" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VABSLREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("ABSOLUTE","ABSOLUTE",.F.)}) APPENDMENU(HPOPUPMEN3,"GABSLREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| ABSOLUTREP()}) APPENDMENU(HPOPUPMEN3,"PABSLREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("ABSOLUTE","ABSOLUTE",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"RAROREP" , MF_ENABLED + MF_POPUP , "&RANK CROI" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VRAROREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("CROIRANK","CROI RANK",.F.)}) APPENDMENU(HPOPUPMEN3,"GRAROREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| CROIRNKREP()}) APPENDMENU(HPOPUPMEN3,"PRAROREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("CROIRANK","CROI RANK",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"TPMVREP" , MF_ENABLED + MF_POPUP , "&TOTAL PMV" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VTPMVREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("TOTALPMV","TOTAL PMV",.F.)}) APPENDMENU(HPOPUPMEN3,"GTPMVREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| TOTPMVREP()}) APPENDMENU(HPOPUPMEN3,"PTPMVREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("TOTALPMV","TOTAL PMV",.F.,88,,,,10)}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"DOLWREP" , MF_ENABLED + MF_POPUP , "&WEIGHTED AVERAGE" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VDOLWREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("WEIGHTAV","WEIGHTED AVERAGE",.F.)}) APPENDMENU(HPOPUPMEN3,"GDOLWREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| WEIGHTREP()}) APPENDMENU(HPOPUPMEN3,"PDOLWREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("WEIGHTAV","WEIGHTED AVERAGE",.F.,88,,,,10)}) APPENDMENU(HPOPUPMEN2, "", MF_SEPARATOR) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"EQSHTREP" , MF_ENABLED + MF_POPUP , "&EQUITY SHORTFALL" , HPOPUPMEN3) HPOPUPMEN4 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN3,"EQSHTREP1" , MF_ENABLED + MF_POPUP , "&1 EQUITY SHORTFALL STEP 1", HPOPUPMEN4) APPENDMENU(HPOPUPMEN4,"GEQSHT1REP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| EQSHRTREP1()}) HPOPUPMEN4 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN3,"EQSHTREP2" , MF_ENABLED + MF_POPUP , "&2 EQUITY SHORTFALL STEP 2", HPOPUPMEN4) APPENDMENU(HPOPUPMEN4,"VEQSHT2REP", MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("REQ","EQUITY SHORTFALL",.T.,"STOCK","STOCKS")}) APPENDMENU(HPOPUPMEN4,"GEQSHT2REP", MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| EQSHRTREP2()}) APPENDMENU(HPOPUPMEN4,"PEQSHT2REP", MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("REQ","EQUITY SHORTFALL",.T.,88,"STOCK","STOCKS","SSYMBOL",10)}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) * CLIENT REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"CLIDREPS" , MF_ENABLED + MF_POPUP , "&CLIENTS" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"CLIDREP" , MF_ENABLED + MF_POPUP , "&CLIENT PMV/BALANCE" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VCLIDREP" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("CLPMVBAL","CLIENT PMV/BALANCE",.F.)}) APPENDMENU(HPOPUPMEN3,"GCLIDREP" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| CLPMVREP()}) APPENDMENU(HPOPUPMEN3,"PCLIDREP" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("CLPMVBAL","CLIENT PMV/BALANCE",.F.,88,,,,10)}) * BROKER REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"BROKREPS" , MF_ENABLED + MF_POPUP , "&BROKERS" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"BROKCOMM" , MF_ENABLED + MF_POPUP , "&BROKER COMMISSIONS" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"VBROKCOM" , MF_ENABLED + MF_STRING, "&VIEW REPORT" , {|| VIEWREP("BROKCOMM","BROKER COMMISSIONS",.F.)}) APPENDMENU(HPOPUPMEN3,"GBROKCOM" , MF_ENABLED + MF_STRING, "&GENERATE REPORT" , {|| BROKCOMREP()}) APPENDMENU(HPOPUPMEN3,"PBROKCOM" , MF_ENABLED + MF_STRING, "&PRINT REPORT" , {|| PRINTREP("BROKCOMM","BROKER COMMISIONS",.F.,88,,,,16)}) * PROSPECT REPORTS * **HPOPUPMEN2 := CREATEPOPUPMENU() **APPENDMENU(HPOPUPMEN1,"PROSREP" , MF_ENABLED + MF_POPUP , "&PROSPECTS" , HPOPUPMEN2) **APPENDMENU(HPOPUPMEN2,"PROSLSTREP", MF_ENABLED + MF_STRING, "&PROSPECT LIST" , {|| NOTYET()}) * SYSTEM REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"SYSREP" , MF_ENABLED + MF_POPUP , "S&YSTEM" , HPOPUPMEN2) APPENDMENU(HPOPUPMEN2,"SYSFILREP" , MF_ENABLED + MF_STRING, "&SYSTEM FILE" , {|| NOTYET()}) APPENDMENU(HPOPUPMEN2,"VALUEREP" , MF_ENABLED + MF_STRING, "&VALUES FILE" , {|| NOTYET()}) APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) * ERASE REPORTS * HPOPUPMEN2 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN1,"ERASEREP" , MF_ENABLED + MF_POPUP , "&ERASE" , HPOPUPMEN2) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"DELTRADES" , MF_ENABLED + MF_POPUP , "&TRADES" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"DELCDFS" , MF_ENABLED + MF_STRING, "&CDF DELETION" , {|| DELCDFS()}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"DELFOLIO" , MF_ENABLED + MF_POPUP , "&FOLIO" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"DELQPRS" , MF_ENABLED + MF_STRING, "&QPR REPORT DELETION" , {|| DELQPRS()}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"DELSEC" , MF_ENABLED + MF_POPUP , "&SECURITIES" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"DELSTKPOS" , MF_ENABLED + MF_STRING, "&STOCK POS DELETION" , {|| DELSTOKPOS()}) HPOPUPMEN3 := CREATEPOPUPMENU() APPENDMENU(HPOPUPMEN2,"DELXACTION", MF_ENABLED + MF_POPUP , "&XACTION" , HPOPUPMEN3) APPENDMENU(HPOPUPMEN3,"DELDEPOSIT", MF_ENABLED + MF_STRING, "&DEPOSIT.REP DELETION" , {|| DELDEPOSIT()}) APPENDMENU(HPOPUPMEN3,"DELWITHDRW", MF_ENABLED + MF_STRING, "&WITHDRAW.REP DELETION" , {|| DELWITHDRW()}) APPENDMENU(HPOPUPMEN3,"DELPRELIMT", MF_ENABLED + MF_STRING, "&PRELIM TAX SHEET DELETION", {|| DELPRELIMT()}) **************************** * MOTH BALLED IMPORTS ******* **************************** ******* IMPORT FROM NIAKWA * * ******APPENDMENU(HPOPUPMEN1, "", MF_SEPARATOR) ******HPOPUPMEN2 := CREATEPOPUPMENU() ******APPENDMENU(HPOPUPMEN1,"IMPORT" , MF_ENABLED + MF_POPUP , "&IMPORT" , HPOPUPMEN2) ******APPENDMENU(HPOPUPMEN2,"IMPCASH" , MF_ENABLED + MF_STRING, "C&ASH IMPORT" , {|| IMPORTCASH()}) ******APPENDMENU(HPOPUPMEN2,"IMPDEFINC" , MF_ENABLED + MF_STRING, "&DEFERRED INCOME IMPORT" , {|| IMPORTDEFI()}) ******APPENDMENU(HPOPUPMEN2,"IMPTAXLOT" , MF_ENABLED + MF_STRING, "&TAX LOT IMPORT" , {|| IMPORTTAXL()}) ******APPENDMENU(HPOPUPMEN2,"IMPFOLIO" , MF_ENABLED + MF_STRING, "&FOLIO IMPORT" , {|| IMPORTFOLI()}) * ******APPENDMENU(HPOPUPMEN2,"IMPSTOCK" , MF_ENABLED + MF_STRING, "&STOCK IMPORT" , {|| IMPORTSTOK()}) * ******APPENDMENU(HPOPUPMEN2,"IMPCLID" , MF_ENABLED + MF_STRING, "&CLIENT ID IMPORT" , {|| IMPORTCLID()}) * ******APPENDMENU(HPOPUPMEN2,"IMPPI" , MF_ENABLED + MF_STRING, "&PI IMPORT" , {|| IMPORTPI2()}) **************************** ******************************** END OF MENU ******************************* SETMENU(HMAINWND, AMENU) RETURN AMENU
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 donation for the work.
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 have downloaded it... I did create a simple program to display some text, it compiled linked and ran fine using hbmk2
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 what to do? In the standard hb30 folder, I added a folder called SCO and stuffed the source code there along with a .ch file. I started the hbmk20 file from that directory. It looked like in the commands that there was no compile of the .c files, but I really couldn't be certain of that. Help??? Help!!!! (C:\hb30\bin\harbour.exe) -n2 sco.Prg SCO0.PRG SCO1.PRG SCO2.PRG SCO3.PRG SCO4.PRG SCO5.PRG SCO6.PRG SCO7.PRG SCO8.PRG SCO9.PRG -oC:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\ -iC:\hb30\include 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.Prg'... Lines 858, Functions/Procedures 4 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\sco.c'... Done. Compiling 'SCO0.PRG'... Lines 3125, Functions/Procedures 39 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO0.c'... Done. Compiling 'SCO1.PRG'... Lines 3768, Functions/Procedures 92 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO1.c'... Done. Compiling 'SCO2.PRG'... Lines 2499, Functions/Procedures 44 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO2.c'... Done. Compiling 'SCO3.PRG'... Lines 1817, Functions/Procedures 37 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO3.c'... Done. Compiling 'SCO4.PRG'... Lines 4278, Functions/Procedures 53 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO4.c'... Done. Compiling 'SCO5.PRG'... Lines 3767, Functions/Procedures 30 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO5.c'... Done. Compiling 'SCO6.PRG'... Lines 3480, Functions/Procedures 14 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO6.c'... Done. Compiling 'SCO7.PRG'... Lines 2271, Functions/Procedures 16 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO7.c'... Done. Compiling 'SCO8.PRG'... Lines 4094, Functions/Procedures 16 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO8.c'... Done. Compiling 'SCO9.PRG'... Lines 5302, Functions/Procedures 49 Generating C source output to 'C:\Users\larryh\AppData\Local\Temp\hbmk_siw9ud.dir\SCO9.c'... Done. hbmk2: C/C++ compiler command: C:\hb30\comp\mingw\bin\gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pipe -IC:/hb30/include C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO8.c C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO9.c C:/Users/larryh/AppData/Local/Temp/hbmk_ctsm7v.c hbmk2: Linker command: C:\hb30\comp\mingw\bin\gcc.exe C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO8.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO9.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/hbmk_ctsm7v.o -mconsole -Wl,--start-group -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -osco.exe -LC:/hb30/lib/win/mingw -LC:/hb30/bin C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0xe8): undefined reference to `HB_FUN__GETINSTANCE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x248): undefined reference to `HB_FUN_GETSYSTEMMETRICS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x3a8): undefined reference to `HB_FUN_GETSTOCKOBJECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x498): undefined reference to `HB_FUN_LOADCURSOR' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x508): undefined reference to `HB_FUN_ADDHANDLER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x538): undefined reference to `HB_FUN_SETCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x558): undefined reference to `HB_FUN_HIDECARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x568): undefined reference to `HB_FUN_SETHANDLECOUNT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x5a8): undefined reference to `HB_FUN_C4W_AUTOCLOSE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x758): undefined reference to `HB_FUN_CHKEVENT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x778): undefined reference to `HB_FUN_HANDLEEVENT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x7c8): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x838): undefined reference to `HB_FUN_GETFOCUS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x848): undefined reference to `HB_FUN_CREATEMENU' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x858): undefined reference to `HB_FUN_GETMENU' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x868): undefined reference to `HB_FUN_DESTROYMENU' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x878): undefined reference to `HB_FUN_CREATEPOPUPMENU' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0x888): undefined reference to `HB_FUN_APPENDMENU' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o:sco.c:(.data+0xf28): undefined reference to `HB_FUN_SETMENU' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x268): undefined reference to `HB_FUN_ENDPAGE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x278): undefined reference to `HB_FUN_STARTPAGE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x598): undefined reference to `HB_FUN_WINEXEC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x5d8): undefined reference to `HB_FUN_CREATEDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x638): undefined reference to `HB_FUN_APPENDDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x6e8): undefined reference to `HB_FUN_MODALDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x7a8): undefined reference to `HB_FUN__LASTWPARAM' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x7c8): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x7e8): undefined reference to `HB_FUN_HIDECARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xa18): undefined reference to `HB_FUN_SETFOCUS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xbb8): undefined reference to `HB_FUN_BRINGWINDOWTOTOP' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xbd8): undefined reference to `HB_FUN_DESTROYWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xc08): undefined reference to `HB_FUN_READMODELESS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xe98): undefined reference to `HB_FUN_SETSCROLLRANGE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xf08): undefined reference to `HB_FUN_ADDHANDLER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xf38): undefined reference to `HB_FUN_ISWINDOWVISIBLE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0xf98): undefined reference to `HB_FUN_SETSCROLLPOS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x1078): undefined reference to `HB_FUN__LASTLOLPARAM' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x1108): undefined reference to `HB_FUN_NTXPOS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x11c8): undefined reference to `HB_FUN_SETWINDOWTEXT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x11d8): undefined reference to `HB_FUN_INVALIDATERECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x12b8): undefined reference to `HB_FUN_MOUSECOL' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x12f8): undefined reference to `HB_FUN_MOUSEROW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x1508): undefined reference to `HB_FUN_MESSAGEBEEP' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x15f8): undefined reference to `HB_FUN_CREATEWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x1668): undefined reference to `HB_FUN_GETDIALOGRESULT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o:SCO0.c:(.data+0x17b8): undefined reference to `HB_FUN_GETCLIENTRECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x258): undefined reference to `HB_FUN__LASTWPARAM' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x348): undefined reference to `HB_FUN_WINEXEC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x788): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x808): undefined reference to `HB_FUN_CREATEDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x858): undefined reference to `HB_FUN_APPENDDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x8e8): undefined reference to `HB_FUN_MODALDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x908): undefined reference to `HB_FUN_GETDIALOGRESULT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x9a8): undefined reference to `HB_FUN__LASTEVENT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xb68): undefined reference to `HB_FUN__GETINSTANCE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xb78): undefined reference to `HB_FUN__GETPREVINSTANCE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xb88): undefined reference to `HB_FUN__GETNCMDSHOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xb98): undefined reference to `HB_FUN_LOADICON' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xbb8): undefined reference to `HB_FUN_LOADCURSOR' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xbc8): undefined reference to `HB_FUN_GETSTOCKOBJECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xbd8): undefined reference to `HB_FUN_REGISTERCLASS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xc68): undefined reference to `HB_FUN_MESSAGEBOX' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xc98): undefined reference to `HB_FUN_SHOWWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0xca8): undefined reference to `HB_FUN_UPDATEWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x12c8): undefined reference to `HB_FUN_SETWINDOWTEXT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x1468): undefined reference to `HB_FUN_ISWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x1478): undefined reference to `HB_FUN_DESTROYWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x1488): undefined reference to `HB_FUN_UNREGISTERCLASS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o:SCO1.c:(.data+0x14e8): undefined reference to `HB_FUN_CREATEWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o:SCO2.c:(.data+0x7e8): undefined reference to `HB_FUN_SHOWWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o:SCO2.c:(.data+0x828): undefined reference to `HB_FUN_ISWINDOWVISIBLE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o:SCO2.c:(.data+0x8a8): undefined reference to `HB_FUN_WINEXEC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o:SCO2.c:(.data+0xcf8): undefined reference to `HB_FUN_SETCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o:SCO2.c:(.data+0xd18): undefined reference to `HB_FUN_SHOWCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o:SCO2.c:(.data+0xd28): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x168): undefined reference to `HB_FUN_ADDHANDLER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x188): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x588): undefined reference to `HB_FUN__LASTWPARAM' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x688): undefined reference to `HB_FUN_SETCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x6a8): undefined reference to `HB_FUN_SHOWCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x6b8): undefined reference to `HB_FUN_GETCLIENTRECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x738): undefined reference to `HB_FUN_WGETREADER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0x918): undefined reference to `HB_FUN__LASTEVENT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0xba8): undefined reference to `HB_FUN_CREATEDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0xbf8): undefined reference to `HB_FUN_APPENDDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0xc88): undefined reference to `HB_FUN_MODALDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o:SCO3.c:(.data+0xc98): undefined reference to `HB_FUN_GETDIALOGRESULT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x188): undefined reference to `HB_FUN_ADDHANDLER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x1a8): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x3f8): undefined reference to `HB_FUN_SETCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x418): undefined reference to `HB_FUN_SHOWCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x428): undefined reference to `HB_FUN_GETCLIENTRECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x4a8): undefined reference to `HB_FUN_WGETREADER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0xd98): undefined reference to `HB_FUN__LASTWPARAM' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x1668): undefined reference to `HB_FUN_DESTROYWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x1698): undefined reference to `HB_FUN_CREATEDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x16c8): undefined reference to `HB_FUN_APPENDDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x1778): undefined reference to `HB_FUN_MODALDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o:SCO4.c:(.data+0x1788): undefined reference to `HB_FUN_GETDIALOGRESULT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o:SCO5.c:(.data+0x1f8): undefined reference to `HB_FUN_ADDHANDLER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o:SCO5.c:(.data+0x218): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o:SCO5.c:(.data+0x378): undefined reference to `HB_FUN_SETCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o:SCO5.c:(.data+0x398): undefined reference to `HB_FUN_SHOWCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o:SCO5.c:(.data+0x3a8): undefined reference to `HB_FUN_GETCLIENTRECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o:SCO5.c:(.data+0x428): undefined reference to `HB_FUN_WGETREADER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o:SCO5.c:(.data+0x1148): undefined reference to `HB_FUN_DESTROYWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o:SCO6.c:(.data+0x48): undefined reference to `HB_FUN_CREATEDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o:SCO6.c:(.data+0x88): undefined reference to `HB_FUN_APPENDDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o:SCO6.c:(.data+0x158): undefined reference to `HB_FUN_MODALDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o:SCO6.c:(.data+0x188): undefined reference to `HB_FUN_GETDIALOGRESULT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o:SCO6.c:(.data+0xb68): undefined reference to `HB_FUN_ENDPAGE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o:SCO6.c:(.data+0xb78): undefined reference to `HB_FUN_STARTPAGE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x98): undefined reference to `HB_FUN_CREATEDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xc8): undefined reference to `HB_FUN_APPENDDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x178): undefined reference to `HB_FUN_MODALDIALOG' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x1a8): undefined reference to `HB_FUN_GETDIALOGRESULT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xbd8): undefined reference to `HB_FUN_INVALIDATERECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xc38): undefined reference to `HB_FUN_SELECTWINDOW' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xd28): undefined reference to `HB_FUN_GETPRINTDC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xd38): undefined reference to `HB_FUN_GETDEVICECAPS' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xd58): undefined reference to `HB_FUN_STARTDOC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xd68): undefined reference to `HB_FUN_ABORTDOC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xd78): undefined reference to `HB_FUN_DELETEDC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xd88): undefined reference to `HB_FUN_STARTPAGE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xda8): undefined reference to `HB_FUN_ENDPAGE' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xdb8): undefined reference to `HB_FUN_TEXTOUT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0xde8): undefined reference to `HB_FUN_ENDDOC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x1158): undefined reference to `HB_FUN_SETCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x1178): undefined reference to `HB_FUN_SHOWCARET' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x1188): undefined reference to `HB_FUN_GETCLIENTRECT' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x1218): undefined reference to `HB_FUN_WGETREADER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o:SCO7.c:(.data+0x12d8): undefined reference to `HB_FUN_ADDHANDLER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO8.o:SCO8.c:(.data+0x398): undefined reference to `HB_FUN_WINEXEC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO8.o:SCO8.c:(.data+0xd58): undefined reference to `HB_FUN_CPOWER' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO9.o:SCO9.c:(.data+0x348): undefined reference to `HB_FUN_WINEXEC' C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO9.o:SCO9.c:(.data+0x1578): undefined reference to `HB_FUN_CPOWER' collect2: ld returned 1 exit status hbmk2: Error: Running linker. 1 C:\hb30\comp\mingw\bin\gcc.exe C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/sco.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO0.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO1.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO2.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO3.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO4.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO5.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO6.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO7.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO8.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/SCO9.o C:/Users/larryh/AppData/Local/Temp/hbmk_siw9ud.dir/hbmk_ctsm7v.o -mconsole -Wl,--start-group -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -osco.exe -LC:/hb30/lib/win/mingw -LC:/hb30/bin
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 Windows functions and this function name confirmed it: C4W_AUTOCLOSE(.F.) My advise is to migrate your friend app to FiveWin, so you are in the right place <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> If you post some screenshots of the app here, then I will explain you how to build them using Harbour and FWH (FiveWin for Harbour)
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 Local dTime := (VAL(LEFT(Time(),2)) * 100) + VAL(RIGHT(Time(),2)) Local nomefile :=DtoS(Date())+alltrim(str(dTime))+"noname.JPG" how I can resolve it ?
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, Davide