Error with BuildAllLib32.bat on 1 PC ?

Discuss anything else that does not suite other forums.

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2062
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Error with BuildAllLib32.bat on 1 PC ?

Post by AUGE_OHR »

hi,

i get crasy with my "Work" PC ... it does not run BuildAllLib32.bat / _BuildAllLib64.bat
Compiling 'source\h_HMG_Zebra.prg'...
source\h_HMG_Zebra.prg(56) Error F0032 Invalid name follows #
hbmk2: Error: Running Harbour compiler (embedded). 1
BUT i can run BuildLib32.bat / _BuildLib64.bat on other PC and it run without Error :!:
... so what is going on with that PC :?:

---

i have de-install HMG and install HMG.3.4.4.Setup.exe (fresh download) again. after reboot PC i start Setup again.
a also installed that HMG.3.4.4.Setup.exe on 3 other PC and there i can run BuildAllLib32.bat / _BuildAllLib64.bat

but my "Work" PC again show that Error ... :o
any Idea :idea:

no Antivirus only Windows Defender

---
C:\Users\a\Desktop>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\a\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=ASR
ComSpec=C:\WINDOWS\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\a
INCLUDE=C:\ALASKA\XPPW32\INCLUDE
LIB=C:\ALASKA\XPPW32\LIB
LOCALAPPDATA=C:\Users\a\AppData\Local
LOGONSERVER=\\ASR
NUMBER_OF_PROCESSORS=4
OneDrive=C:\Users\a\OneDrive
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ALASKA\XPPW32\BIN;C:\ALASKA\XPPW32\LIB;C:\ALASKA\XBTW32\LIB;D:\DOS\BAT;D:\DOS\NC;D:\DOS\TOOL;D:\DOS\ETP
;D:\DB3U;C:\Users\a\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=5e03
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\a\AppData\Local\Temp
TMP=C:\Users\a\AppData\Local\Temp
USERDOMAIN=ASR
USERDOMAIN_ROAMINGPROFILE=ASR
USERNAME=a
USERPROFILE=C:\Users\a
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
windir=C:\WINDOWS
XPPRESOURCE=C:\ALASKA\XPPW32\RESOURCE\POINTER
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2062
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Error with BuildAllLib32.bat on 1 PC ?

Post by AUGE_OHR »

hi,

now i do same in 2 Steps :
a.) run BuildLib32.bat. that will also SET Environment
b.) modify BuildAllLib32.bat this Way

Code: Select all

@echo off
rem SET HMGPATH=%~dp0
rem SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\mingw\bin;%PATH%
rem CALL BuildLib32.bat /nopause

rem Start here
SET HMGPATH=%~dp0
SET PATH=%HMGPATH%\harbour\bin;%HMGPATH%\mingw\bin;%PATH%
rem hbmk2 hmg.hbp
...
this seems to work and Email Sample "seem" to run ... but i see "nothing" ... just in Debugger i saw all is running.

as all seem to go to

Code: Select all

DEFINE RICHEDITBOX
i have try run Demo c:\hmg.3.4.4\SAMPLES\Controls\RichEditBox\demo.exe
HMG_RTF.JPG
HMG_RTF.JPG (43.32 KiB) Viewed 1632 times
as you see it does not display F1 Shortcut ... and it is on all PC the same :(

does HMG RTF have a Bug :?:
... Extended Version RTF works ;)
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2062
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Error with BuildAllLib32.bat on 1 PC ?

Post by AUGE_OHR »

hi,

found out that i have to use UNICODE Version than i get RICHEDITBOX

so is there other which "need" UNICODE too :?:
have fun
Jimmy
Post Reply