Page 63 of 104

Posted: Sun Apr 20, 2008 1:24 am
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

Posted: Mon Apr 21, 2008 7:34 am
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.

Posted: Mon Apr 21, 2008 12:17 pm
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

Posted: Mon Apr 21, 2008 12:30 pm
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.

Posted: Mon Apr 21, 2008 12:38 pm
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

Posted: Sat Apr 26, 2008 3:24 am
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

Posted: Sat Apr 26, 2008 7:33 am
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' ?

Posted: Tue Apr 29, 2008 7:18 pm
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.

Posted: Wed Apr 30, 2008 8:12 am
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 ?

Posted: Fri May 02, 2008 9:05 pm
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!

Posted: Sat May 03, 2008 8:19 am
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/...

Posted: Mon May 12, 2008 1:13 pm
by nicolaus
@gnozal

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

thanks,
Nico

Posted: Mon May 12, 2008 3:59 pm
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.

Posted: Sat May 24, 2008 2:57 am
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.")

Posted: Sat May 24, 2008 8:09 am
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