jaPBe 3.13.4 [IDE for PB 4 and PB 5]

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

Moderator: gnozal

nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

@Gnozal

How i must compile jaPBe source? With PB 4.10 or 3.94?
The prob is that if i start jaPBe in Vista all times Vista ask me "is it true that you want start this not identified software.
If i compile jaPBe under Vista, no more times it comes this question.
So i can make you all the times a fresh exe if you change or update jaPBe
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:How i must compile jaPBe source? With PB 4.10 or 3.94?
PB 3.94
nicolaus wrote:The prob is that if i start jaPBe in Vista all times Vista ask me "is it true that you want start this not identified software.
It's probably an UAC problem. I don't know Vista, you may have to enable or disable something in the properties / compatibility tab in the right-click context menu.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

If i change your code here:
http://www.purebasic.fr/english/viewtop ... 167#241167
to:

Code: Select all

If InitScintilla("Scintilla.dll") = 0
  End
EndIf
it works only in the pb-ide but not in jaPBe

only to information

greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

ts-soft wrote:If i change your code here:
http://www.purebasic.fr/english/viewtop ... 167#241167
to:

Code: Select all

If InitScintilla("Scintilla.dll") = 0
  End
EndIf
it works only in the pb-ide but not in jaPBe
Yes, that's why I always put a complete path in my code.
Maybe the PB IDE sets the current directory to #PB_Compiler_Home + "Compilers" and/or adds this directory to the path before compiling ?
jaPBe does not.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Please put this in the documentation, i have read from some problems with
3D, i think is the same problem.

greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:It's probably an UAC problem. I don't know Vista, you may have to enable or disable something in the properties / compatibility tab in the right-click context menu.
Yes i know how i can disable the UAC but i dont want disable it.
So if i compile every of your updates of jaPBe in Vista, it works fine without any questions of the UAC.

My prob is now that i have a half year ago a HDD crash and i have lose the setup for PB 3.94.

Ok i will aks fred if he have a PB3.94 for me.

Thanks,
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:Yes i know how i can disable the UAC but i dont want disable it.
I didn't meant to disable the whole UAC thing, just fix the problem for one executable. Can't you do this in Vista, no option in context menu, like 'validate this exe' ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post by Xombie »

gnozal,

I'm seeing a problem where the autocomplete will try to complete a word before I finish it. It doesn't happen every time but it happens quite often. for example, I want to type "EndIf". I start typing "End" and it completes to "EndIf" by itself while I'm still typing and then the whole thing looks like this: "EndEndIf".

Like I said, it's not 100% consistent but it does happen a lot.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Xombie wrote:I'm seeing a problem where the autocomplete will try to complete a word before I finish it
Never happend here.
Xombie wrote:Like I said, it's not 100% consistent but it does happen a lot.
I just typed 50 times "Endif" without problems. jaPBe (build 700) was proposing 'End' but I got 'EndIf' all the 50 times (without using TAB of course).
Maybe I have a different setting ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post by Xombie »

gnozal,

Is there a setting that controls something like that? I know you didn't write the original program but do you know what are the different ways that japbe will autocomplete while you're typing?

I'm also running build 700 at the moment and just had it happen again. It's very random. And when it completes the word, the cursor jumps to the start of the completed word.

Please don't spend too much time on this as I'm sure you have a lot to do already. It's not a huge problem - just a minor annoyance.

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

Post by gnozal »

Xombie wrote:Is there a setting that controls something like that? I know you didn't write the original program but do you know what are the different ways that japbe will autocomplete while you're typing?
The settings for autocompletion are in Preferences -> Editor 2 :
[x] Autocompletion [x] Context constant autocompletion
[x] Autocompletion for If/Select/...
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 »

@gnozal

can you take a look at this post http://www.purebasic.fr/english/viewtopic.php?t=32293

thanks,
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:@gnozal

can you take a look at this post http://www.purebasic.fr/english/viewtopic.php?t=32293

thanks,
Nico
I have answered in this thread. I hope it helps.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

I have a strange problem executing the code below in PureBasic v4.20 from JaPBe v3 build 3.4.8.700 .

From the PureBasic IDE I get the "OK" message with and without the debugger.

From JaPBe I get the "Error" message when not using the debugger and I get the "OK" message when using the debugger.:?:



Code: Select all

If Not InitMouse() Or Not InitKeyboard() Or Not InitEngine3D() Or Not InitSprite()
  MessageRequester("Error","Problem with initialization.")
  End
EndIf

MessageRequester("OK","No problem with initialization.")
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- F5/F6 : now jaPBe adds the PBCompiler path to %PATH% before compiling to ensure the 3D engine DLLs are in the path
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply