jaPBe 3.13.4 [IDE for PB 4 and PB 5]

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

freak wrote:You are probably interfering with the resource numbers used by PB.
But how use these compilers commands then ?
I have no idea what resource numbers PB uses ...
Or should I only use the RESOURCE command and add icons / version info / manifests by myself in one .rc ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- PB4.10 : jaPBe now only uses the RESOURCE command and creates its own resource for icons / version info / manifests [XP/VistaADMIN/VistaUser]
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

Post by michel »

Hello Gnozal,

I use meanwhile PureBasic 4.10 Beta 1 with your newest version of jaPBe. A strange effect occurs to me: compiling a program with the lib of ts-soft (Sqlite) in the normal IDE works perfectly.
Compiling the same program with your editor and it lacks of data when querying a database ?!
I checked and doublechecked all the parameters but I see no difference. Have You an idea what could be the reason or what I shoud focus on ?

michel
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

michel wrote:Compiling the same program with your editor and it lacks of data when querying a database ?!
I checked and doublechecked all the parameters but I see no difference. Have You an idea what could be the reason or what I shoud focus on ?
michel
Maybe a path problem ? If you use a relative path (e.g. MyDb.db) try an absolute path (e.g. C:\Database\MyBd.bd).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

I accidentally pressed help or F1 over a custom structure type and my IDE stop responding and close/crash. :?

Image

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes : (PB 4.1x mode only)
- fixed recursive help call problem
- jaPBe does not patch PBCompiler / Polink anymore
- jaPBe does not use \Compilers but %TEMP% for temp files

Please note that I have much work in real world so I may not be able to update / fix bugs as fast as usually :wink:
Thanks
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Post by dige »

Gnozal, once again, thank you very much for your good and hard work!!
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

gnozal wrote:Please note that I have much work in real world so I may not be able to update / fix bugs as fast as usually :wink:
Thanks
Yes we all understand. No problem about that. Thanks for the update. ;)

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

Hi Gnozal

I have here a prob with jaPBe and the shortcut STR+Z. If I use this 3-4 sometimes, very fast, one after the other, jaPBe hangs itself with 100% of one core in my CPU (i have a dualcore CPU) and write alltimes in the RAM. The only way to stop this is to kill jaPBe in the Taskmanager.

See the screenshot:
Image

regards,
nico
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:I have here a prob with jaPBe and the shortcut STR+Z. If I use this 3-4 sometimes, very fast, one after the other, jaPBe hangs itself with 100% of one core in my CPU (i have a dualcore CPU) and write alltimes in the RAM. The only way to stop this is to kill jaPBe in the Taskmanager.
I assume STR+Z is CTRL+Z (undo) ?
After each undo, jaPBe fixes the folding markers as some cosmetic glitches may occur after an undo.
To see if that's the problem, could you recompile the sources after the following changes :
BEFORE [file jaPBe.pb Line 3194]

Code: Select all

              Case #menu_main_Undo         
                If SCI_AutoCActive()=#True : SCI_AutoCCancel() : EndIf
                SCI_Undo()
                ; gnozal
                EndCount = CountMarks(#FoldMask_End) 
                If EndCount
                  OpenCount = CountMarks(#FoldMask_Open) + CountMarks(#FoldMask_Close)
                  If OpenCount
                    If EndCount = OpenCount
                      FixFoldingLines()
                    EndIf
                  EndIf
                EndIf
AFTER [file jaPBe.pb Line 3194]

Code: Select all

              Case #menu_main_Undo         
                If SCI_AutoCActive()=#True : SCI_AutoCCancel() : EndIf
                SCI_Undo()
                ; gnozal
                ; EndCount = CountMarks(#FoldMask_End) 
                ; If EndCount
                  ; OpenCount = CountMarks(#FoldMask_Open) + CountMarks(#FoldMask_Close)
                  ; If OpenCount
                    ; If EndCount = OpenCount
                      ; FixFoldingLines()
                    ; EndIf
                  ; EndIf
                ; EndIf
Thanks.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

Hi and sorry that i write you 6 day´s later, but the last week i´m not in germany.

I have do wat you have writen but i can compile the source. If i do this i have a errormessag from the file System.pbi line 164

Code: Select all

chc\hwndOwner=WindowID() 
and the Function WindowsID() must have a param.

How you can compile the source without errormessage?

regards,
Nico
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

What version of PB are you using when compiling jaPBe?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

I use the last normal version of PB. This is the 4.02
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:I use the last normal version of PB. This is the 4.02
As you can see in jaPBe.pb or in the manual.chm :

Code: Select all

;/  ----------------------------------------------------------
;/      To compile the sources :
;/
;/      PB Version : 3.94 (and all lib updates)
;/      IDE        : jaPBe 2.5.4.22 
;/      USERLIBs   : PureTools_I_04 (PBOSL) [included in source archive]
;/  ---------------------------------------------------------------------------------
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Small update

Changes :
- fixed potential crash in 'Include binary' tool
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply