UEStudio Comportamientro del exe muy estraño

UEStudio Comportamientro del exe muy estraño

Postby Busmatic_wpb » Wed Feb 22, 2017 11:19 pm

UEStudio '15 Development Environment
Version 15.10.0.8

Saluditos listeros.. Abrazo a las distancias.
Agradezco desde ya la ayuda ..

Expongo lo siguiente. Baje la version de Uestudio con la informacion que encontre por aca y compile normalmente genere el .exe sin errores pero suceden dos cosas.



1 Que no puedo leer los .dbf
2 Que no puedo accesar al Mysql que tengo años de trabajar garcias willian.


Aqi les dejo archivo de configuracion.

# --------- xHarbour y FWH configuration --------
# --- general --------------------------------------
# $P - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile --------------------------------------
# $I - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R - release/debug setting for compiler
# --- build ----------------------------------------
# $T - target full name
# $Tp - target path
# $Tn - target name
# $O - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R - release/debug setting for linker

[Settings]
Target = primerue.EXE
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =C:\proyectosuestudio\primerue
Command Line Arguments =

Category&02 = Harbour Options
Automatic Memvar Declaration = no|yes
Variables Are Assumed = no|yes
Generate Preprocessed Output = no|yes
Warning Level = 1|2|3|4|0
User Include Path = C:\proyectosuestudio\primerue\include
User Defines =

Compiler Options =
Linker Options =

Excluded Files = Excludes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Compiler Options = Provides a space for you to specify an additional compiler options.
User Defines = Shows the switches the tool will use to build. Use ';' as delimiter.
Linker Options = Provides a space for you to specify an additional linker options.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.

[SettingsReps]
User Defines = @[;|-D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Generate Preprocessed Output = no=|yes=/p
Use xHarbour Dll = no=|yes=harbour.lib
User Include Path = ^^@[;|;%s]
User Include Path&1 = C:\proyectosuestudio\primerue\include
Use Multi Thread Library = no|yes
Warning Level = @/w%s

[Variables]
FWH = C:\fwh
HPATH = C:\Xhabour\xHarbourbbcc582
CPATH = C:\bcc582
SICPATH = C:\proyectosuestudio\primerue
MYSQL = C:\proyectosuestudio\primerue

HPATHL = $(HPATH)\LIB
CPATHL = $(CPATH)\LIB





HOPT = /m /gc0 /q /n /o /p $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)
COPT = -c -I$(HPATH)\INCLUDE;$(CPATH)\INCLUDE$(User Include Path)$(FWPATH)\include
LOPT = -Gn -aa -Tpe -s -v


LIBS1 = $(FWH)\LIB\FiveHX.lib $(FWH)\LIB\FiveHC.lib $(FWH)\LIB\btnget32.lib

LIBS2 = $(HPATHL)\rtl.lib $(HPATHL)\vm.lib $(HPATHL)\gtgui.lib $(HPATHL)\lang.lib $(HPATHL)\macro.lib $(HPATHL)\rdd.lib $(HPATHL)\dbfcdx.lib $(HPATHL)\dbfntx.lib $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\common.lib $(HPATHL)\pp.lib $(HPATHL)\pcrepos.lib $(HPATHL)\ct.lib $(HPATHL)\zlib.lib $(HPATHL)\png.lib $(HPATHL)\tip.lib $(HPATHL)\libmisc.lib $(HPATHL)\gtwin.lib $(HPATHL)\C0W32.OBJ $(HPATHL)\CW32.LIB $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\CODEPAGE.LIB $(HPATHL)\TIP.LIB

LIBS3 = $(CPATHL)\psdk\kernel32.lib $(CPATHL)\psdk\user32.lib $(CPATHL)\psdk\gdi32.lib $(CPATHL)\psdk\winspool.lib $(CPATHL)\psdk\comctl32.lib $(CPATHL)\psdk\comdlg32.lib $(CPATHL)\psdk\advapi32.lib $(CPATHL)\psdk\shell32.lib $(CPATHL)\psdk\ole32.lib $(CPATHL)\psdk\oleaut32.lib $(CPATHL)\uuid.lib $(CPATHL)\psdk\odbc32.lib $(CPATHL)\psdk\iphlpapi.lib $(CPATHL)\cw32.lib

LIBS4 = $(CPATHL)\psdk\mpr.lib $(CPATHL)\psdk\version.lib $(CPATHL)\psdk\wsock32.lib $(CPATHL)\psdk\msimg32.lib $(CPATHL)\psdk\oledlg.lib $(CPATHL)\psdk\psapi.lib $(CPATHL)\psdk\gdiplus.lib $(CPATHL)\psdk\winmm.lib $(CPATHL)\import32.lib $(CPATHL)\ws2_32.lib $(CPATHL)\psdk\nddeapi.lib $(CPATHL)\psdk\rasapi32.lib

LIBS5 = $(MYSQL)\MYSQL\mysql20100120.lib $(MYSQL)\MYSQL\libmysql.lib

LIBS = $(LIBS1) $(LIBS2) $(LIBS3) $(LIBS4) $(LIBS5)

# $(CPATHL)\cw32.lib $(CPATHL)\import32.lib $(CPATHL)\ws2_32.lib $(CPATHL)\psdk\nddeapi.lib $(CPATHL)\psdk\rasapi32.lib


[Environment]

PATH = $(HPATH)\BIN;$(CPATH)\BIN;%PATH%
INCLUDE = $(HPATH)\INCLUDE;$(CPATH)\INCLUDE;$(FWH)\INCLUDE;$(SICPATH)\INCLUDE
LIB = $(HPATH)\LIB;$(CPATH)\LIB
BuildMode = %UESMode%

[General]

TargetExt = .EXE

ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 1
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)
.CPP = .C

[MakeCommands]
run = Execute Application
makef = Show Makefile

[Execute Application]

Title = Execute $T
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = $(DCon)

[Show Makefile]
Title=Show makefile
Cmd0=uestudio makefile
ShowWindow=1
DisplayConsole=0

[InsertFiles]

[FileGroups]
FGO = .obj;
FGR = .res;
FGL = .lib;
FGD = .def;

[GroupFormats]
FGO = %s
FGR = %s
FGL = %s

[Build]
Out = $T
Depends = $FGO $FGR
DebugFlag =
ReleaseFlag =
Cmd0 = ilink32 $(LOPT) c0w32.obj $FGO, $T,, $(LIBS),, $FGR

[.PRG]
Out = $In.c
DebugFlag =
ReleaseFlag =
Cmd0 = harbour $I $(HOPT) $R /o$O


IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.C]
Out = $In.obj
Cmd0 = bcc32 $(COPT) -o$O $I

[.RC]
Out = $In.res
Cmd0 = brc32 -r -fo$O $I

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.
Regards.
S.I.T.U.
Sistemas Inteligentes de transporte urbano
http://www.situcr.com
oscarchacon@Situcr.com
Desarrollos BA4/B4j androide
User avatar
Busmatic_wpb
 
Posts: 162
Joined: Wed Feb 22, 2017 2:19 am

Re: UEStudio Comportamientro del exe muy estraño

Postby Antonio Linares » Thu Feb 23, 2017 5:24 am

> 1 Que no puedo leer los .dbf

Que error te aparece ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: UEStudio Comportamientro del exe muy estraño

Postby Busmatic_wpb » Thu Feb 23, 2017 1:13 pm

Gracias por contestar.
Primero no da errores de compilacion ni errores de ejecucio. Solo trato de cargar las variables leyendo la dbf y el resultado es en blanco.
Yo uso esa misma rutina con xmate y nunca me ha dado problemas.
Tambien uso el Mysql del willina y no me me acceso al server. Como comento no da ningun tipo de error.
Sera que falta alguna libreria.
Sera que los parametros de compilacion estan erroneos. Hracias
Regards.
S.I.T.U.
Sistemas Inteligentes de transporte urbano
http://www.situcr.com
oscarchacon@Situcr.com
Desarrollos BA4/B4j androide
User avatar
Busmatic_wpb
 
Posts: 162
Joined: Wed Feb 22, 2017 2:19 am

Re: UEStudio Comportamientro del exe muy estraño

Postby Antonio Linares » Thu Feb 23, 2017 8:57 pm

Prueba a hacer un USE de una DBF y luego llama a XBrowser()

Puede ser un error en tu código. Pon algunas trazas. Comprueba el valor de RecCount()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: UEStudio Comportamientro del exe muy estraño

Postby Busmatic_wpb » Thu Feb 23, 2017 10:58 pm

Gracias por la respuesta.

No el codigo lo compilo con xmate y trabaja de mravillas. Pero cuando compilo con Uestudio no trabaja.. Podria ser algo en los parametros de compilacion . los pongo AQUI

HOPT = /m /gc0 /q /n /o /p $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)
COPT = -c -I$(HPATH)\INCLUDE;$(CPATH)\INCLUDE$(User Include Path)$(FWPATH)\include
LOPT = -Gn -aa -Tpe -s -v


Gracias desde ya.
Regards.
S.I.T.U.
Sistemas Inteligentes de transporte urbano
http://www.situcr.com
oscarchacon@Situcr.com
Desarrollos BA4/B4j androide
User avatar
Busmatic_wpb
 
Posts: 162
Joined: Wed Feb 22, 2017 2:19 am

Re: UEStudio Comportamientro del exe muy estraño

Postby Busmatic_wpb » Fri Feb 24, 2017 12:02 am

Gracias Amigo por tus respuestas.
Ya logre corregir el primer problema. Ahora no logro conectar al server Mysql.Yo utilizo las Librerias de mi estaimado Willian donde son 2.lib las que se incluyen dentro ejecutable y una .dll que esta en la misma carpeta donde esta el exe.

Creo que estoy haciendo algo mal al incluir esas libs al proyecto..

ejemplo

FWH = C:\fwh
HPATH = C:\Xhabour\xHarbourbbcc582
CPATH = C:\bcc582
SICPATH = C:\proyectosuestudio\primerue
MYSQL = C:\proyectosuestudio\primerue


LIBS1 = $(FWH)\LIB\FiveHX.lib $(FWH)\LIB\FiveHC.lib $(FWH)\LIB\btnget32.lib

LIBS2 = $(HPATHL)\rtl.lib $(HPATHL)\vm.lib $(HPATHL)\gtgui.lib $(HPATHL)\lang.lib $(HPATHL)\macro.lib $(HPATHL)\rdd.lib $(HPATHL)\dbfcdx.lib $(HPATHL)\dbfntx.lib $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\common.lib $(HPATHL)\pp.lib $(HPATHL)\pcrepos.lib $(HPATHL)\ct.lib $(HPATHL)\zlib.lib $(HPATHL)\png.lib $(HPATHL)\tip.lib $(HPATHL)\libmisc.lib $(HPATHL)\gtwin.lib $(HPATHL)\C0W32.OBJ $(HPATHL)\CW32.LIB $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\CODEPAGE.LIB $(HPATHL)\TIP.LIB

LIBS3 = $(CPATHL)\psdk\kernel32.lib $(CPATHL)\psdk\user32.lib $(CPATHL)\psdk\gdi32.lib $(CPATHL)\psdk\winspool.lib $(CPATHL)\psdk\comctl32.lib $(CPATHL)\psdk\comdlg32.lib $(CPATHL)\psdk\advapi32.lib $(CPATHL)\psdk\shell32.lib $(CPATHL)\psdk\ole32.lib $(CPATHL)\psdk\oleaut32.lib $(CPATHL)\uuid.lib $(CPATHL)\psdk\odbc32.lib $(CPATHL)\psdk\iphlpapi.lib $(CPATHL)\cw32.lib

LIBS4 = $(CPATHL)\psdk\mpr.lib $(CPATHL)\psdk\version.lib $(CPATHL)\psdk\wsock32.lib $(CPATHL)\psdk\msimg32.lib $(CPATHL)\psdk\oledlg.lib $(CPATHL)\psdk\psapi.lib $(CPATHL)\psdk\gdiplus.lib $(CPATHL)\psdk\winmm.lib $(CPATHL)\import32.lib $(CPATHL)\ws2_32.lib $(CPATHL)\psdk\nddeapi.lib $(CPATHL)\psdk\rasapi32.lib

LIBS5 = $(MYSQL)\MYSQL\mysql20100120.lib $(MYSQL)\MYSQL\libmysql.lib

LIBS = $(LIBS1) $(LIBS2) $(LIBS3) $(LIBS4) $(LIBS5)

Estara correcto lo opcion lib5

Les comento de nuevo

--------------------Configuration: primer001 - Release--------------------
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
prueba.EXE - 0 error(s), 0 warning(s)


Muchas Gracias.
Regards.
S.I.T.U.
Sistemas Inteligentes de transporte urbano
http://www.situcr.com
oscarchacon@Situcr.com
Desarrollos BA4/B4j androide
User avatar
Busmatic_wpb
 
Posts: 162
Joined: Wed Feb 22, 2017 2:19 am

Re: UEStudio Comportamientro del exe muy estraño

Postby Antonio Linares » Fri Feb 24, 2017 6:33 am

> Ya logre corregir el primer problema

Puedes explicar cómo lo corregiste ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: UEStudio Comportamientro del exe muy estraño

Postby Busmatic_wpb » Fri Feb 24, 2017 11:48 pm

Gracias por tu tiempo

Si en las variables tenia este

#HOPT = /m /gc0 /q /n /o /p $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)

y lo cambie por este otro.


HOPT = /n /gc0 /q $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)

y solucione lo del dbf. pero aun no consigo conectarme al server MYSQL

Mil Gracias.
Regards.
S.I.T.U.
Sistemas Inteligentes de transporte urbano
http://www.situcr.com
oscarchacon@Situcr.com
Desarrollos BA4/B4j androide
User avatar
Busmatic_wpb
 
Posts: 162
Joined: Wed Feb 22, 2017 2:19 am


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 42 guests

cron