Page 1 of 1

problemas al compilar: Wbrowse

PostPosted: Thu Jun 28, 2007 12:19 pm
by Loren
Compañeros, estoy intentando habilitar la rueda del ratón para hacer scroll en los listbox rápidamente.
Lei en el foro que la versión que está colgada en la sección de utilidades de Wbrowse de Hernan lo acepta. Así que intento incluir esta clase en mi aplicación pero me genera un error en la compilación y no me genera el EXE.
Ya incluí wbrowse.prg, tmultise.prg y wbrwline.c
[img]e:\ajmaker1.jpg[/img]
[img]e:\ajmaker2.jpg[/img]
... y el error que me genera es:

Compiling 'C:\programacion\CEE\wbrowse\WBROWSE.PRG'...
Generating C source output to 'C:\programacion\CEE\c\WBROWSE.c'... Done.
"C:\Borland\BCC55\Bin\BCC32.EXE" -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -O2 -OS -tW -5 -c -w3 -IC:\Borland\BCC55\Include -IC:\Harbour\include;C:\FWH\INCLUDE;C:\programacion\CEE -LC:\Borland\BCC55\Lib -o"C:\programacion\CEE\OBJ\WBROWSE.obj" "C:\programacion\CEE\c\WBROWSE.c"
Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
C:\programacion\CEE\c\WBROWSE.c:
"C:\Borland\BCC55\Bin\BCC32.EXE" -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -O2 -OS -tW -5 -c -w3 -IC:\Borland\BCC55\Include -IC:\Harbour\include;C:\FWH\INCLUDE;C:\programacion\CEE -LC:\Borland\BCC55\Lib -o"C:\programacion\CEE\OBJ\WBRWLINE.obj" "C:\programacion\CEE\wbrowse\WBRWLINE.C"
Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
C:\programacion\CEE\wbrowse\WBRWLINE.C:
Warning W8017 C:\Borland\BCC55\Include\excpt.h 122: Redefinition of 'GetExceptionCode' is not identical
Warning W8017 C:\Borland\BCC55\Include\winbase.h 55: Redefinition of 'Yield' is not identical
Warning W8017 C:\Borland\BCC55\Include\winbase.h 3660: Redefinition of 'lstrcmp' is not identical
Warning W8017 C:\Borland\BCC55\Include\winbase.h 3702: Redefinition of 'lstrcpyn' is not identical
Warning W8017 C:\Borland\BCC55\Include\winbase.h 3722: Redefinition of 'lstrcpy' is not identical
Warning W8017 C:\Borland\BCC55\Include\winbase.h 3760: Redefinition of 'lstrlen' is not identical
Warning W8017 C:\Borland\BCC55\Include\winbase.h 5043: Redefinition of 'AddAtom' is not identical

Que estoy haciendo mal ??? llevo varios dias liado con esto :cry:
Mil gracias de antemano por todo
Un saludo a todos
Lorenzo

PostPosted: Thu Jun 28, 2007 1:46 pm
by Antonio Linares
Usa sólo los flags -c y -I... y te debe generar el OBJ correctamente ya que sólo te aparecen "warnings" que puedes ignorar