Nueva DBU

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
vientopamperosur
Posts: 42
Joined: Thu Aug 28, 2014 10:13 am
DBs Used: DBF, SQLite, MySQL, MariaDB, PostgreSQL
Location: Buenos Aires
Has thanked: 1 time
Contact:

Nueva DBU

Post by vientopamperosur » Mon Dec 01, 2014 1:21 pm

Para los que alguna vez necesitamos modificar bases de datos tipo .dbf, sobre todo en lo de algún cliente que encontró la manera de burlar nuestra extremadamente meticulosa programación, les dejo esta dbu que me construí para mi mismo. Esta hecha con HMG Oficial 3.3.1, para mi la mejor opción. Gracias Roberto López!. (abrir con el ide y compilar en 32 bits ) Un pequeño aporte ante tanto conocimiento...
Attachments
MiDbu4.rar
(22.92 KiB) Downloaded 364 times

User avatar
danielmaximiliano
Posts: 2117
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 143 times
Been thanked: 20 times
Contact:

Post by danielmaximiliano » Mon Dec 01, 2014 1:22 pm

Gracias por compartir

descargando y probando....
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Mon Dec 01, 2014 1:29 pm

Gracias por compartir !

Estoy intentando abrir dbfs pre-existentes y me remite este error:
Screen1.png
Screen1.png (12.45 KiB) Viewed 3773 times
(DOS Error 2)

Un consejo: cuando utilizes el padron UNICODE, debes utilizar las funciones correctas para tratamiento de strings UNICODE.

Por ejemplo: SubStr -> HB_USUBSTR

(Leer este tópico)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar » Mon Dec 01, 2014 5:04 pm

Pablo César wrote:Gracias por compartir !

Estoy intentando abrir dbfs pre-existentes y me remite este error:
Screen1.png
(DOS Error 2)

Un consejo: cuando utilizes el padron UNICODE, debes utilizar las funciones correctas para tratamiento de strings UNICODE.

Por ejemplo: SubStr -> HB_USUBSTR

(Leer este tópico)
+1

User avatar
luisvasquezcl
Posts: 1140
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 14 times
Been thanked: 14 times
Contact:

Post by luisvasquezcl » Mon Dec 01, 2014 8:29 pm

Hola,
reporto el mismo error.
saludos cordiales,
Luis Vasquez

User avatar
gfilatov
Posts: 642
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 24 times
Been thanked: 216 times
Contact:

Post by gfilatov » Tue Dec 02, 2014 6:31 pm

luisvasquezcl wrote:Hola,
reporto el mismo error.
Hello Luis,

I've fixed this problem and many more... 8-)
Please try the updated application below. :arrow:
Attachments
screenshot.png
Edit mode
screenshot.png (82.7 KiB) Viewed 3634 times
MiDbu4-src.zip
ANSI Source
(23.83 KiB) Downloaded 235 times
MiDBU.zip
Application
(663.44 KiB) Downloaded 325 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post by Pablo César » Tue Dec 02, 2014 7:00 pm

Thank you Grigory ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar » Tue Dec 02, 2014 8:04 pm

Hi Gregory Filatov,

Why am I seeing this error when compiling?

Code: Select all

Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(10) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(16) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(17) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(18) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(22) Warning W0001  Ambiguous reference '_HMG_DEFAULTICONNAME'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(65) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(65) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(69) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

C:\hmg.3.3.1\Mios\DBUmi\Main.Prg(71) Warning W0002  Ambiguous reference, assuming memvar '_HMG_SYSDATA'

No code generated.
hbmk2[MiDBU]: Error: Ejecutando compilador Harbour (interno): 1
(C:\hmg.3.3.1\harbour\bin\harbour.exe) -n2 C:\hmg.3.3.1\Mios\DBUmi\Main.Prg C:\hmg.3.3.1\Mios\DBUmi\editar.Prg C:\hmg.3.3.1\Mios\DBUmi\nueva.Prg -DHBMK_HAS_HMG=1 -q -w2 -es2 -oC:\Users\Maquina9\AppData\Local\Temp\hbmk_6xbh5y.dir\ -iC:\hmg.3.3.1\harbour\include -i. -iC:\hmg.3.3.1\include
Saludos

User avatar
gfilatov
Posts: 642
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 24 times
Been thanked: 216 times
Contact:

Post by gfilatov » Tue Dec 02, 2014 8:22 pm

Javier Tovar wrote:Hi Gregory Filatov,

Why am I seeing this error when compiling?
Hi Javier,

Thanks for your interest!

Because there is a -w2 switch in the MinDBU.hbp project.

BTW The source in my message was for Minigui library only :o

Please be so kind to use an application EXE for testing.
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar » Tue Dec 02, 2014 8:45 pm

ok Gregory Filatov

Regards

Post Reply