QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Deriguz on February 17, 2018, 06:14:34 am
-
Hello!
I've just downloaded QB64 on my Windows 10 machine and it seems to run into a problem:
Any way i can fix this?
-
Make sure to add qb64’s folder to your antivirus exclusion list and make sure you have full write permission to it and its subfolders.
-
Simple fix.
Step 1) Uninstall Windows 10.
Step 2) Purchase and install Windows 7 Home.
Step 3) Re-install QB64.
Step 4) Make appointment with psychiatrist for following steps 1 through 3.
I'm pretty sure Fell nailed it. He only left out one thing... Welcome to QB64 and the Forum.
Pete :D
-
@FellippeHeitor I've tried your solution but it still didn't work. I ran the program as Administrator and changed the compability mode, still the same error. :(
-
Let's make sure it is an official version, first. Where did you download it from?
Also, make sure you did not move any files out of the folder when you installed it. Best to just copy and paste that QB64 folder to a directory you want to run it from, open the QB64 folder, and run qb64.exe. You may want to re-install it if you didn't set it up that way. That's not to say the OS or something else isn't the problem, but I have two Windows 10 laptops and QB64 installed and runs fine on both.
Pete
-
Let's make sure it is an official version, first. Where did you download it from?
The question above is extremely valid. In the latest version available both from qb64.org and [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] the lines being reported are a mere IF statement and a comment, which wouldn't cause a module error like that.
I'd suggest you to download it again from the home page (either stable or development branches), unpack all the contents of the zip to a location of your choice where you have write permissions (I usually choose my desktop, but that's me), make sure your antivirus software is instructed to ignore QB64's folder (you didn't say you tried that in your post above) and let us know if that solved the issue.
If nothing works, then we'll have to investigate further, you may have found a genuine bug.
-
I remember at JB a very smart computer science teacher had problems getting going with QB64.
At JB we can't (should not) discuss other Basic's, other anything, so I could not inquire for more details.
My point is that this might not be just a newbie problem. (course he was as loyal to JB as you could ask for in loyalty)
-
Can't solve problems due to loyalty issues? That's not JB, that's JBS.
Pete [:D] A day without smilies is like a day without moonshine.
-
added QB64 folder to exclusions in AVAST ✔️
have full permission over the folder and subfolders ✔️
run as administrator ✔️
official 1.2 version downloaded from qb64.org ✔️
tried older versions ✔️
haven't moved any of the files inside the folder ✔️
Still didn't work. Any more ideas?
In addition, this window popped up after the failed launch:
-
Let me guess, you have a Steam account?
Pete
-
Yeah, why?
-
My kid has had some problems with Steam issues. He doesn't use QB64 though, other issues at times. Unfortunately, uninstalling the games doesn't always fix the problems, because of registry issues. Take this article, for example:
https://answers.microsoft.com/en-us/windows/forum/windows_10-security/soundmixerexe-error-on-startup/85e30193-a5d3-4ceb-86c3-7d35acdb4d7e?auth=1
I wouldn't recommend fiddling around with the registry unless you get some more insight. It could be something else, but that soundmixer message made me suspicious.
I'd recommend you wait and see what Fell has to say. Someone named Rob created QB64 but Fell has taken over the development of the IDE, and that's what you having trouble opening.
Pete
-
Do the errors always refer to the same line numbers in ide_methods.bas? Would you mind attaching your ide_methods.bas file from qb64\source\ide\ide_methods.bas so we can have a look?
Another thing to try, if you can: right-click your qb64 folder, click Properties, and report the total number of files and subfolders that dialog will give. Something still looks off.
Just for the record, I have qb64 running fine on a Windows 7 machine and a Windows 10 laptop here now.
One last resort would be downloading straight from github (https://github.com/Galleondragon/qb64/archive/master.zip) and running setup_win.bat after unpacking all the package contents. But please try the above first.
-
Here:
-
I would cut that QB64 folder and paste it to the C:\ drive. I get this weird feeling having it in the windows user folder might be an issue. I always put mine directly on the c drive from Windows XP, & and 10. I've never tried installing in the windows user folder, especially on the desktop. Worth a try.
Pete
-
I've only setup my QB64 files on Windows Desktop, at least 4 versions starting with Walter's.
Pete, I think you were closer to the mark when you mentioned the Steam thing. How might that possibly conflict with QB64?
Something about sound players? Sorry I don't have the technical expertise.
-
My kid is a pretty good gamer. He has won more than a few contests, but refuses to enter in some because a few Steam games messed with his system. Usually the problem ends up as a change in the registry. The whole soundmixer.exe thing might need to be investigated:
http://quickremovevirus.com/guide-to-delete-soundmixersoundmixer-exe-completely-removal-help/
My guess is it got in through a Steam game.
Pete
-
I had a similar problem. I had been working on a program with no problems until one day I got the IDE module error. How I got around it was to edit the .bas file with my changes, selected the entire file and then pasted the code into a new file (within the qb64 application). Then I saved it to the file I couldn't edit (replacing it). When I then ran the program it compiled with no problem.
-
Try installing QB64 on a other than system disk.
-
I have the same problem, This time the error is on line 6904, I tried to load a .BAS code with over 300 megabytes of PURE DATA commands, which hold an 8K image... any answers?
-
This time the error is on line 6904, I tried to load a .BAS code with over 300 megabytes of PURE DATA commands, which hold an 8K image... any answers?
Stop doing that.
-
Interesting. You know QBasic had data limits, but I don't know if QB64 has. A lot of the old restrictions were removed or improved with QB64, but I can't say I know for certain if there are any data limits for the compiler, or the IDE, for that matter. If it's just the IDE that can't handle that many lines of data ad code, then maybe you could compile your program from the Command Prompt: QB64 -c yourfile.BAS
More info on the IDE is here: http://qb64.org/wiki/IDE
Note: There is nothing in the wiki in the IDE page or the DATA keyword page about data amounts.
Pete
-
Interesting. You know QBasic had data limits, but I don't know if QB64 has. A lot of the old restrictions were removed or improved with QB64, but I can't say I know for certain if there are any data limits for the compiler, or the IDE, for that matter. If it's just the IDE that can't handle that many lines of data ad code, then maybe you could compile your program from the Command Prompt: QB64 -c yourfile.BAS
More info on the IDE is here: http://qb64.org/wiki/IDE
Note: There is nothing in the wiki in the IDE page or the DATA keyword page about data amounts.
Pete
There’s limits in QB64, just like everything else. One obvious one is the number of lines a program has. Internal variables are generally defined as LONG types, so there’s never going to be a QB64 program with more than 2,147,483,647 lines in it. And, of course, your whole program is stored in idet$, which has a string limit of 2,147,483,647 bytes, so no program is going to be longer than that, no matter what.
Limits abound, by various internal variable types and memory limitations. What’s the *first* limit we can hit?? I dunno. With the “mega cena database” (I think that was the lotto program name), I know you can’t load the text file we generated into QB64. (Or Notepad either, for that matter.) it’s only 52 million lines (much less than a LONG value), but it’ll freeze the IDE and error it out.
QB64 just wasn’t created to work with BAS files hundreds of MB in size.
-
Well the good news for 970037201 is he can put the data into a file and just access it from the program.
Pete
-
@970037201
Why do you need to store 8K image in 300MB of data statements?? If the image file is available in .jpg or .png or any other format, you
can simply load it in the program using _LOADIMAGE.
I'm just asking this out of my curiosity.