Re: [Harbour] Re: HMG 3 and Windows 98SE (and also HBIde)

2010-05-03 Thread Bruce M. Axtens

Viktor Szakáts wrote:


Ops, I even missed this reporting thinking it being
in context of HMG IDE.

PSAPI.DLL is not needed by HBIDE since a few weeks,
when I removed this no more used debug code.

   

Okay, I'll download a more recent version and see.

Bruce.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HMG 3 and Windows 98SE (and also HBIde)

2010-05-03 Thread Bruce M. Axtens

Viktor Szakáts wrote:

This is development list for Harbour core and contrib
parts, as such it is not the adequate place to report
issues with 3rd party components.
   

Fair enough. I shall try harder to get in contact with the 3rd parties.

Thanks,
Bruce.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HMG 3 and Windows 98SE

2010-05-03 Thread Bruce M. Axtens

Victor

Ok, just figured out how to get poster privs at HMG.

Bruce.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HMG 3 and Windows 98SE (and also HBIde)

2010-05-03 Thread Bruce M. Axtens

Viktor Szakáts wrote:

You should ask this question on HMG forums.

   
I've tried. However, there are no "new topic" buttons visible once I log 
in. And if I hit a new topic button unloggedin, then I'm asked to log 
in, whereupon the button has disappeared. It's all very confusing.


BTW, HBIde doesn't work in Win98. It bombs with a reference to PSAPI.DLL 
which is an NT DLL.


Kind regards,
Bruce.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HMG 3 and Windows 98SE

2010-05-02 Thread Bruce M. Axtens

Dear Harbour folk,

Is HMG supposed to work with Windows 98SE? Reason being I get the 
following error running the IDE:


Kind regards,
Bruce.
--
Application Internal Error - C:\HMG.3.0.30\IDE\IDE.EXE
Terminated at: 2010.05.02 17:55:46
Unrecoverable error 6005: Exception error:

Exception Code:C005
Exception Address:BFF7117E
EAX:  EBX:009DF8A5  ECX:  EDX:C19E37B0
ESI:  EDI:  EBP:009DF764
CS:EIP:0167:BFF7117E  SS:ESP:016F:009DF75C
DS:016F  ES:016F  FS:2EA7  GS:
Flags:00010246
CS:EIP: F2 AE 83 C8 FE 2B C1 5F 59 C9 C2 04 00 55 8B EC
SS:ESP: 009DF7E4 009DF7D8 009DF7A4 BFF73800  009DF7E4 
009DF89C 009DF8A5  BFF7CDF9 BFFCD490 01437AAC 009DF7F3 01437964 
009DF7A0 


C stack:
EIP: EBP:   Frame: OldEBP, RetAddr, Params...
BFF7117E 009DF764   009DF7A4 BFF73800  009DF7E4 009DF89C 
009DF8A5  BFF7CDF9 BFFCD490 01437AAC
BFF73800 009DF7A4   009DF7EC BFF8110D    
81D27653 0104 009DF8A5 0002 88380D77
BFF8110D 009DF7EC   009DF81C BFF942F7  009DF89C  
81D27653 0002  27E70C5F 2E07889C
BFF942F7 009DF81C   BFF719B8 886C 009DFF68 BFF7186D 88380D77 
 2E078838  0202 889C



Modules:
0x0040 0x002AD000 C:\HMG.3.0.30\IDE\IDE.EXE
0x7FE4 0x9000 C:\WINDOWS\SYSTEM\WINSPOOL.DRV
0x779B 0x0009B000 C:\WINDOWS\SYSTEM\OLEAUT32.DLL
0x65F0 0x000C2000 C:\WINDOWS\SYSTEM\OLE32.DLL
0x7963 0x00024000 C:\WINDOWS\SYSTEM\MSVFW32.DLL
0xBFDE 0x5000 C:\WINDOWS\SYSTEM\WOW32.DLL
0x7FBF 0xE000 C:\WINDOWS\SYSTEM\MPR.DLL
0x7E08 0x6000 C:\WINDOWS\SYSTEM\DCIMAN32.DLL
0xBFDD 0x0001 C:\WINDOWS\SYSTEM\WINMM.DLL
0x7800 0x00044000 C:\WINDOWS\SYSTEM\MSVCRT.DLL
0x7FE1 0x0002D000 C:\WINDOWS\SYSTEM\COMDLG32.DLL
0x6680 0x00154000 C:\WINDOWS\SYSTEM\SHELL32.DLL
0x70BD 0x00044000 C:\WINDOWS\SYSTEM\SHLWAPI.DLL
0xBFB7 0x00088000 C:\WINDOWS\SYSTEM\COMCTL32.DLL
0xBFC0 0x00011000 C:\WINDOWS\SYSTEM\USER32.DLL
0xBFF2 0x00026000 C:\WINDOWS\SYSTEM\GDI32.DLL
0xBFE8 0x0001 C:\WINDOWS\SYSTEM\ADVAPI32.DLL
0xBFF7 0x0007A000 C:\WINDOWS\SYSTEM\KERNEL32.DLL

Called from REGISTERWINDOW(0)
Called from _DEFINEWINDOW(3587) in c:/hmg/source/h_windows.prg
Called from MAIN(309) in ide.prg


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Naive question

2010-04-25 Thread Bruce M. Axtens

G'day everyone

I'm not sure where to find this is the documentation, so please bear 
with me.


Does Harbour's coverage of Win32 extend back to Win98?

Kind regards,
Bruce.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Big binaries (newbie)

2010-04-25 Thread Bruce M. Axtens
A simple "hello world" compiles to 1124877 bytes. How come it's so big? 
And is UPX the only way of making it smaller?


Kind regards,
Bruce.


C:\hbIDE\projects>upx --best test.exe
   Ultimate Packer for eXecutables
  Copyright (C) 1996 - 2008
UPX 3.03w   Markus Oberhumer, Laszlo Molnar & John Reiser   Apr 27th 
2008


File size Ratio  Format  Name
      --   ---   ---
   1124877 ->542733   48.25%win32/pe test.exe

Packed 1 file.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Re: Problem compiling with HBIde (newbie)

2010-04-24 Thread Bruce M. Axtens

Bruce M. Axtens wrote:

G'day everyone

Having downloaded and installed the nightly build, I'm having issues 
with HBIde again. In the output below, this appears to be the 
offending text:


hbmk2: Error: Running Harbour compiler (embedded). 1

(c:\hmg.3.0.30\harbour\bin\harbour.exe) -n2 
C:/hbide/projects/cargilltest/test.prg -g3 -w3 -q -oc:\TEMP\ 
-ic:/hmg.3.0.30/harbour/include
And the other interesting thing is that it all works okay from the 
command line:


C:\hbIDE\projects\CargillTest>hbmk2 ..\CargillTest.hbp
hbmk2: Processing configuration: c:\hmg.3.0.30\HARBOUR\bin\hbmk.cfg
Harbour 2.1.0beta1 (Rev. 14383)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling '../cargilltest/test.prg' and generating preprocessed output 
to '../cargilltest/test.ppo'...

Lines 4, Functions/Procedures 1
Generating C source output to 'c:\TEMP\test.c'... Done.

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Problem compiling with HBIde (newbie)

2010-04-24 Thread Bruce M. Axtens

G'day everyone

Having downloaded and installed the nightly build, I'm having issues 
with HBIde again. In the output below, this appears to be the offending 
text:


hbmk2: Error: Running Harbour compiler (embedded). 1

(c:\hmg.3.0.30\harbour\bin\harbour.exe) -n2 
C:/hbide/projects/cargilltest/test.prg -g3 -w3 -q -oc:\TEMP\ 
-ic:/hmg.3.0.30/harbour/include



Now when I did my 'make install', it was with
SET HB_COMPILER=mingw
SET HB_GT_LIB=gtwin
SET HB_INSTALL_PREFIX=C:\hmg.3.0.30\HARBOUR
SET HB_PLATFORM=win
And it all seemed to work okay for installation. However its the using 
it that's problematic now. Where did I go wrong this time?


Kind regards,
Bruce.

 



Project [ CargillTest ] Launch [ No ] Rebuild [ No ] Started [ 22:18:46 ]



Batch File Exists => c:\TEMP\l8kuzd.bat

Batch File Contents =>

set HB_COMPILER=mingw

set PATH=c:\hmg3.0.30\mingw\bin;c:\hmg.3.0.30\harbour\bin;

c:/hmg.3.0.30/harbour/bin\hbmk2 C:\hbide\projects\cargilltest.hbp -q 
-trace -info -lang=en -width=512


Command => C:\Windows\system32\cmd.exe

Arguments => /C c:\TEMP\l8kuzd.bat



CurDir() => hbIDE Starting in => C:\hbide\projects\

C:\hbide\projects>set HB_COMPILER=mingw

C:\hbide\projects>set 
PATH=c:\hmg3.0.30\mingw\bin;c:\hmg.3.0.30\harbour\bin;


C:\hbide\projects>c:/hmg.3.0.30/harbour/bin\hbmk2 
C:\hbide\projects\cargilltest.hbp -q -trace -info -lang=en -width=512


hbmk2: Processing environment options: -compiler=mingw

hbmk2: Autodetected platform: win

hbmk2: Using Harbour: c:\hmg.3.0.30\harbour\bin 
c:\hmg.3.0.30\harbour\include c:\hmg.3.0.30\harbour\lib\win\mingw 
c:\hmg.3.0.30\harbour\lib\win\mingw


hbmk2: Processing configuration: c:\hmg.3.0.30\harbour\bin\hbmk.cfg

hbmk2: Harbour compiler command (embedded):

(c:\hmg.3.0.30\harbour\bin\harbour.exe) -n2 
C:/hbide/projects/cargilltest/test.prg -g3 -w3 -q -oc:\TEMP\ 
-ic:/hmg.3.0.30/harbour/include


Error F0063 Unsupported output language option

hbmk2: Error: Running Harbour compiler (embedded). 1

(c:\hmg.3.0.30\harbour\bin\harbour.exe) -n2 
C:/hbide/projects/cargilltest/test.prg -g3 -w3 -q -oc:\TEMP\ 
-ic:/hmg.3.0.30/harbour/include




Exit Code [ 6 ] Exit Status [ 0 ] Finished at [ 22:18:46 ] Done in [ 
0.09 Secs ]





___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: HBIde newbie

2010-04-23 Thread Bruce M. Axtens

I spoke too soon.

I now have HBIde referring to the MinGW and the HARBOUR underneath 
HMG.3.0.30


The HBMK2.EXE under HMG is the same (I checked; it's byte or byte the 
same) as that in HB20 so by "newer" it would seem that there's a yet 
newer Harbour out there, other than what is touted on the 
Harbour-Project.org website.


As you can see below "-width" is still the issue and that is asserted by 
line 1185 in ideprojmanager.prg

aadd( aHbp, "-width=512"  )

Granted I could comment that line out and rebuild HBIde. Or else there's 
another solution.


Kind regards,
Bruce.

 



Project [ cargilltest ] Launch [ No ] Rebuild [ No ] Started [ 14:52:12 ]



Batch File Exists => C:\Users\Bruce\AppData\Local\Temp\onb4to.bat

Batch File Contents =>

set HB_COMPILER=mingw

set PATH=c:\hmg.3.0.30\harbour\bin;c:\hmg3.0.30\mingw\bin

c:\hmg.3.0.30\harbour/bin\hbmk2 C:\hbide\projects\cargilltest.hbp -q 
-trace -info -lang=en -width=512


Command => C:\Windows\system32\cmd.exe

Arguments => /C C:\Users\Bruce\AppData\Local\Temp\onb4to.bat



CurDir() => Users\Bruce\Desktop Starting in => C:\hbide\projects\

C:\hbide\projects>set HB_COMPILER=mingw

C:\hbide\projects>set PATH=c:\hmg.3.0.30\harbour\bin;c:\hmg3.0.30\mingw\bin

C:\hbide\projects>c:\hmg.3.0.30\harbour/bin\hbmk2 
C:\hbide\projects\cargilltest.hbp -q -trace -info -lang=en -width=512


hbmk2: Processing environment options: -compiler=mingw

hbmk2: Autodetected platform: win

hbmk2: Using Harbour: c:\hmg.3.0.30\harbour\bin 
c:\hmg.3.0.30\harbour\include


c:\hmg.3.0.30\harbour\lib c:\hmg.3.0.30\harbour\lib

hbmk2: Processing configuration: c:\hmg.3.0.30\harbour\bin\hbmk.cfg

hbmk2: Harbour compiler command (embedded):

(c:\hmg.3.0.30\harbour\bin\harbour.exe) -n2 
p:/other/cargillchemist/test.prg -w3 -gc3 -q -width=512 
-ic:/hmg.3.0.30/harbour/include


Error F0034 Bad command line option 'width=512'

hbmk2: Error: Running Harbour compiler (embedded). 1

(c:\hmg.3.0.30\harbour\bin\harbour.exe) -n2 
p:/other/cargillchemist/test.prg -w3 -gc3 -q -width=512 
-ic:/hmg.3.0.30/harbour/include




Exit Code [ 6 ] Exit Status [ 0 ] Finished at [ 14:52:12 ] Done in [ 
0.13 Secs ]





___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Re: HBIde newbie

2010-04-23 Thread Bruce M. Axtens

Pritpal Bedi wrote:


You are using older Harbour and newer hbIDE.
Build Harbour from current SVN. Any previous distro
available does not contain latest changes in hbMK2.

OR

Just get latest hbMK2.exe from someone and place it
in Harbour bin folder. And you are done.

   

Bhai jaan, shukria bahot!

Bruce
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] HBIde newbie

2010-04-23 Thread Bruce M. Axtens

G'day everyone

I've downloaded HBIde and managed to set it up to use the MinGW compiler 
under HMG. Now I'm trying to build a test prg and am getting error 
messages I don't understand.


The problems:
1. the compiler doesn't know what to do with "-width=512" and I don't 
know where that parameter gets specified.
2. the compiler doesn't know what to do with all the "-3rd=" parameters 
which I've found embedded in C:\hbide\projects\cargilltest.hbp


The transcript is below.

Kind regards,
Bruce M. Axtens

 



Project [ CargillTest ] Launch [ No ] Rebuild [ No ] Started [ 14:09:07 ]



Batch File Exists => C:\Users\Bruce\AppData\Local\Temp\pyywdd.bat

Batch File Contents =>

set HB_COMPILER=mingw

set PATH=c:\hb20;c:\hmg3.0.30\mingw\bin

C:/hb20/bin\hbmk2 C:\hbide\projects\cargilltest.hbp -q -trace -info 
-lang=en -width=512


Command => C:\Windows\system32\cmd.exe

Arguments => /C C:\Users\Bruce\AppData\Local\Temp\pyywdd.bat



CurDir() => Users\Bruce\Desktop Starting in => C:\hbide\projects\

C:\hbide\projects>set HB_COMPILER=mingw

C:\hbide\projects>set PATH=c:\hb20;c:\hmg3.0.30\mingw\bin

C:\hbide\projects>C:/hb20/bin\hbmk2 C:\hbide\projects\cargilltest.hbp -q 
-trace -info -lang=en -width=512


hbmk2: Processing environment options: -compiler=mingw

hbmk2: Autodetected platform: win

hbmk2: Using Harbour: C:\hb20\bin C:\hb20\include C:\hb20\lib\win\mingw

C:\hb20\lib\win\mingw

hbmk2: Processing configuration: C:\hb20\bin\hbmk.cfg

hbmk2: Harbour compiler command (embedded):

(C:\hb20\bin\harbour.exe) -n2 p:/other/cargillchemist/test.prg 
-3rd=hbide_version=1.0 -3rd=hbide_type=Executable 
-3rd=hbide_title=CargillTest -3rd=hbide_location=C:/hbIDE/projects/ 
-3rd=hbide_workingfolder= 
-3rd=hbide_destinationfolder=P:/Other/CargillChemist 
-3rd=hbide_output=CargillTest -3rd=hbide_launchparams= 
-3rd=hbide_launchprogram= -3rd=hbide_backupfolder= -q -width=512 
-iC:/hb20/include


Error F0034 Bad command line option '3'

hbmk2: Error: Running Harbour compiler (embedded). 1

(C:\hb20\bin\harbour.exe) -n2 p:/other/cargillchemist/test.prg 
-3rd=hbide_version=1.0 -3rd=hbide_type=Executable 
-3rd=hbide_title=CargillTest -3rd=hbide_location=C:/hbIDE/projects/ 
-3rd=hbide_workingfolder= 
-3rd=hbide_destinationfolder=P:/Other/CargillChemist 
-3rd=hbide_output=CargillTest -3rd=hbide_launchparams= 
-3rd=hbide_launchprogram= -3rd=hbide_backupfolder= -q -width=512 
-iC:/hb20/include




Exit Code [ 6 ] Exit Status [ 0 ] Finished at [ 14:09:07 ] Done in [ 
0.12 Secs ]





___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour