It is currently Mon Nov 30, 2020 6:21 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Editor/Compiler Help!!!
PostPosted: Sat Jul 11, 2020 4:17 am 
Offline
New User
New User

Joined: Thu Jun 25, 2020 11:11 pm
Posts: 9
well i programmed a program, it ran, so i saved program, then later i came back, ran it again, it didn't run, so compiled it again, it still wouldn't run, i tried other programs that i knew ran, none of them run now, WHAT IS THE ANSWER, nothing works now, WHAT IS THE ANSWER, HOW DO I MAKE THEM RUN NOW, HOW DOES THIS COMPILER/EDITOR WORK?


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sat Jul 11, 2020 4:20 am 
Offline
Addict
Addict

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1090
Load the source code that you saved, then press F5 to run it. Tell us what happens, and I mean exactly: what error messages? Can you post screenshots? Post the code here so we can look at it.

And if you don't know how the compiler/editor works, why haven't you read the manual?


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sat Jul 11, 2020 5:40 pm 
Offline
New User
New User

Joined: Thu Jun 25, 2020 11:11 pm
Posts: 9
nothing happens, it just doesn't run, it just sits and looks the same as if i had not run it.

if you mean manual as the pdf file file purebaic.pdf, oh i guess i should read it, for the tenth or twentieth time!!

the only way i can get my programs to run again, is by unistalling purebasic, and reinstalling it.


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sat Jul 11, 2020 6:39 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2730
Location: Germany
I think its a virus scanner problem ...

disable this for testing or create an exception rule in virus scanner!

And set compiler option -> Create temporary executable in the source directory

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sat Jul 11, 2020 7:34 pm 
Offline
New User
New User

Joined: Thu Jun 25, 2020 11:11 pm
Posts: 9
can find no listing of a virus scanner


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sat Jul 11, 2020 10:20 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Jun 05, 2020 12:47 am
Posts: 128
Try disabling temnporaly your visurs scanner, just to isolate the problem...


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sat Jul 11, 2020 11:55 pm 
Offline
New User
New User

Joined: Thu Jun 25, 2020 11:11 pm
Posts: 9
cannot do as you asked, i have virus scanner attached to internet connection, not to programs running on computer, i can turn it on and check programs running on the computer, but it will only do that if i tell it to do that on a System scan, maybe once a week.


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sun Jul 12, 2020 2:48 am 
Offline
Addict
Addict

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1090
You still didn't answer with your code, or a screenshot of the result. Even better: try to record a desktop video from start to "error". We need to see what's happening. We're not mind-readers.


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Sun Jul 12, 2020 3:35 am 
Offline
PureBasic Protozoa
PureBasic Protozoa
User avatar

Joined: Fri Apr 25, 2003 3:08 pm
Posts: 4584
Location: Not Sydney!!! (Bad water, no goats)
c128/64basicyes wrote:
cannot do as you asked, i have virus scanner attached to internet connection, not to programs running on computer, i can turn it on and check programs running on the computer, but it will only do that if i tell it to do that on a System scan, maybe once a week.


Virus scanners are not attached to programs or internet connections, they are installed on a computer and then manage the scanning for software and internet connections. Either you use the default one (Windows defender) which does scanning in the background from time to time or can be told to do 'real-time-scanning" but it WILL stop (many times) PureBasic and other programs stating it is malware.

Then there are free ones which give you scanning capabilities all the time and the commercial ones which give you limited scanning capabilities and limit the real time scanning to as you say "turn it on".

I use MalwareBytes and while it is good at its job, it flagged PureBasic (and the latest Firefox!!) as MALWARE and removed the EXE without even asking.

You have to find the antivirus program that you use (Give us the name of the antivirus program and we can help you) and find the relevant section in the program to EXCLUDE the PureBasic.EXE file from further scans (or even the entire folder).

_________________
Amateur Radio, D-STAR/VK3HAF


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Mon Jul 13, 2020 5:16 pm 
Offline
New User
New User

Joined: Thu Jun 25, 2020 11:11 pm
Posts: 9
code runs fine, no error, the first time code is run, then upon next running and millionth running, still fine, but if i recompile, nothing happens, and then if i try to rerun, nothing happens, have reinstall pb to make it work again


Top
 Profile  
Reply with quote  
 Post subject: Re: Editor/Compiler Help!!!
PostPosted: Mon Jul 13, 2020 5:29 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2730
Location: Germany
Which code is compiled? Example code!
Does code work via debugger?

Where to create your application. It is not compiled into the Purbasic directory, otherwise important files will be overwritten.

This does not work as Compiled as App...
Code:
; This does not work without debugger mode
Procedure foo()
  Protected r1
  r1 = MessageRequester("Questions", "Yes or No", #PB_MessageRequester_YesNo)
  ProcedureReturn r1
EndProcedure

Debug foo()

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye