Page 93 of 104

Re: jaPBe 3.10.7 [IDE for PB 4.xx]

Posted: Mon Aug 02, 2010 10:20 am
by gnozal
Hi ozzie,
ozzie wrote:If it's not easy to track down what causes this error,...
Unfortunately, if I cannot reproduce the issue I cannot try to fix it.
ozzie wrote:what would be helpful is a menu item or toolbar button to refresh the lists for the current file.
This would not be very different as jaPBe would have to reread the entire file to recreate the bookmarks.

Re: jaPBe 3.10.8 [IDE for PB 4.xx]

Posted: Tue Aug 31, 2010 3:45 am
by Christian Uceda
Hi, I found a small bug on the "Reg_DeleteValue" function in the registry.pbi include file

it is:

Code: Select all

If RegDeleteValue_(Handle, @ValueName$) = #ERROR_SUCCESS
   Value = #True
EndIf
RegCloseKey_(hKey) <----
and it should be if I'm not mistaken:

Code: Select all

RegCloseKey_(Handle)
Hope this helps :)

Re: jaPBe 3.10.8 [IDE for PB 4.xx]

Posted: Tue Aug 31, 2010 7:53 am
by gnozal
Christian Uceda wrote:Hi, I found a small bug on the "Reg_DeleteValue" function in the registry.pbi include file
You are absolutely right.
File updated, thanks.

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Thu Oct 14, 2010 8:44 pm
by wallgod
When I click the dropdown arrow on the top right, it crashes.

Image

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Fri Oct 15, 2010 8:38 am
by gnozal
wallgod wrote:When I click the dropdown arrow on the top right, it crashes.]
I can't reproduce this, sorry.
Does it happen all the time ?

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Fri Oct 15, 2010 6:14 pm
by wallgod
gnozal wrote:
wallgod wrote:When I click the dropdown arrow on the top right, it crashes.]
I can't reproduce this, sorry.
Does it happen all the time ?
Yes, I tried it 3 different times, same result:

Code: Select all

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    jaPBe.exe
  Application Version:    3.10.9.849
  Application Timestamp:    4c9a239d
  Fault Module Name:    StackHash_1f51
  Fault Module Version:    6.1.7600.16559
  Fault Module Timestamp:    4ba9b21e
  Exception Code:    c0000374
  Exception Offset:    000c2913
  OS Version:    6.1.7600.2.0.0.256.1
  Locale ID:    1033
  Additional Information 1:    1f51
  Additional Information 2:    1f511137cec06342486f693fd16b721b
  Additional Information 3:    89fa
  Additional Information 4:    89faaac2bfb57fefc6eb04c09869d478
:/

** UPDATE **

I looked into this a little further and it turns out to be a compatibility issue with Windows 7, because when I run it in Windows XP SP3 mode, it worked. However, I'm still not sure what the X is supposed to do, because it didn't close that right section like I thought it would.

Image

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Sat Oct 16, 2010 1:01 am
by nicolaus
@gnozal

jaPBe (last build) crash here every time if i go to Help->About in jaPBe menu.
It shows this error:

Image

I use Windows 7 Ultimate 32 bit and PB 4.51 with last build of jaPBe.

Hope it helps you to fine a bug ;-)

regards,
Nico

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Sat Oct 16, 2010 8:38 am
by gnozal
Sorry guys, no Windows se7en here...

@nicolaus : the random crash with the 'About' dialog is an old one and I never could reproduce it nor fix it. Unfortunately, the error line isn't informative is this case.

@wallgod : thanks for the information, but I don't know what the problem is with se7en. The 'x' is supposed to close the current source, the 'drop-down arrow' allows to select a source (handy when a lot of sources are open and you don't see all the tabs).

If you have some spare time, you could compile jaPBe from the source in debug mode to hunt the bug down in a se7en environment.

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Sun Oct 17, 2010 4:50 pm
by nicolaus
@gnozal

I will compile jaPBe with Win7 the next days and also debug it to show if i can fine any bug. If you want i can also compile every new version of jaPBe with Win7 for you so that you.

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Mon Nov 22, 2010 9:11 pm
by PureLust
Hi Philippe,
since PB 4.5 I (re)use the original PB-IDE again, because it made a big jump in functionality. Especially the new Project-Management functions are very helpful on larger Projects.
But because there is still no acceptable GUI-Designer included in the original Package and I have to work on a larger Project with massive GUI now, I've planed to use PureFORM and jaPBe for this (because of the nice cooperation between them, which I really loved in the past).
So I've downloaded jaPBe v3.10.9.848, had a look at it and was badly missing the nice Project-management, which is included in the PB-IDE now.

Does jaPBe has something similar which I haven't detected so far, or does jaPBe just don't have Project-Management?
If not - are you planing to implement something like this (and maybe even Team-Development-Functions)?

Thanks and greetz from Germany,
Albert.

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Wed Nov 24, 2010 10:36 am
by gnozal
PureLust wrote:Does jaPBe has something similar which I haven't detected so far, or does jaPBe just don't have Project-Management?
It has, sort of.
Since the old days, jaPBe had file lists (*.pbfl).
A file list is like a project, you can define what files (*.pb/*.pbi) are in the project [Menu:File->Save Filelist], and define a main file [Menu:Project->Main file], which is the file that will be compiled when you hit F5/F6, even if you are not on the main source tab.
That's how the jaPBe project is managed.

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Wed Nov 24, 2010 10:55 pm
by PureLust
gnozal wrote:A file list is like a project, you can define what files (*.pb/*.pbi) are in the project [Menu:File->Save Filelist], and define a main file [Menu:Project->Main file], which is the file that will be compiled when you hit F5/F6, even if you are not on the main source tab.
That sounds like an usable way to me - haven't noticed this so far.
I'll have a closer look at it.

Thanks a lot, Philippe.

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Tue Mar 08, 2011 9:37 am
by nicolaus
Hi gnozal,

I whant write a plugin for jaPBe and now i need to know if is there a way that my plugin can add icons in the ToolBar from jaPBe?
I whant create the plugin so that if the plugin is loaded from jaPBe the usere have 2 new icons in jaPBe ToolBar.

Hope you can help me.

Thanks,
Nico

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Tue Mar 08, 2011 1:51 pm
by gnozal
nicolaus wrote:I whant write a plugin for jaPBe and now i need to know if is there a way that my plugin can add icons in the ToolBar from jaPBe?
Not really...

1. You can add user icons for tools manually, but they will only be displayed with a classic toolbar, i.e. only if Preferences -> Skin -> 'Use custom drawn toolbar' is disabled.
In Tools -> Config tools, check 'Enable toolbar button'.
You may select an executable (*.exe) or an icon file (*.ico) to define the displayed icon.
If no icon is defined (field left blank), jaPBe will use a default icon.

2. There is no jaPBe plugin API to add icons to the toolbar.

3. However, you may add icons programmatically by adding informations to the 'jaPBe-Tools' file, but this will not happen in realtime, only when jaPBe starts.

Re: jaPBe 3.10.9 [IDE for PB 4.xx]

Posted: Thu Mar 31, 2011 11:24 am
by HeX0R
I guess i found a bug (and remember something similar within the IDE, but can't find the report anymore...)

Create a tool named a.exe with the following code:

Code: Select all

Procedure main()
  Protected i, j, a$
  
  j = CountProgramParameters()
  For i = 0 To j - 1
    a$ + ProgramParameter(i) + #LF$
  Next i
  MessageRequester(Str(j), a$)
  
EndProcedure

main()
Now add it to JaPBe as two different tools.
First:
Triggers on "source saved" with parameters AAA %FILE
Second:
Uses a shortcut with parameters %FILE

Now, try to open the Shortcut.
You allways will get the Parameters of the First Tool (AAA %FILE)