Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / 32 bit is not supported

Author
Message
JRNTexas
15
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 11th Mar 2012 20:59
I just started getting the error "32 bit is not supported" when I make a new project.

Every new project gets the error and none of my older projects, with the same settings, get the error.

I can even copy my new code to an older project and it no longer gets the error.

I can't get any new projects to compile and run!
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 11th Mar 2012 21:14
I think the problem is in display mode. however, can you leave a piece of code so we can analyse the issue.
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 11th Mar 2012 21:16
I had this many years ago. As you say, you can copy it to an older project and it mysteriously starts working again.

I found it was down to an erroneous character in the source code, the exact character I don't recall, but it was something like a tab between the actual code (rather than at the beginning of the line.

Step 1 is to cut the code, paste it into Notepad, then cut and paste it back. If it's a character out of range of the displayable characters this will eliminate it.

Then you need to work out how it's getting in there, so you can stop it altogether. Is it in the template code for a new project?

Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 11th Mar 2012 21:58
Quote: "I just started getting the error "32 bit is not supported" when I make a new project."

the display resolution set in the ide is not supported by your graphic card. You have to set it to one of the available modes (iside the IDE, not using SET DISPLAY MODE command)

JRNTexas
15
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 12th Mar 2012 06:43 Edited at: 12th Mar 2012 06:48
The graphics card supports 32 bit and the resolution, etc. is also supported. I can compile other (older) projects and they compile with the exact same settings. It is only when I create a new project (see my original post).

It is something that is suddenly being generated in the DBPRO file that accompanies the DBA file. BTW, I recently upgraded to version 1.071 and do not remember if that started with the upgrade (I think it did) or shortly thereafter.

I can also use an old DBPRO file, and change all the references to the new name and copy it (with new name) to the new project and it will compile and run without errors. I just hate to keep doing this for all new projects.

I was hoping that someone who has had this problem could tell me what they did to remedy the situation.
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 12th Mar 2012 07:30
post the dbpro project file here

JRNTexas
15
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 12th Mar 2012 07:54 Edited at: 12th Mar 2012 07:59
@Brendy boy,

How do you set the display mode "inside the IDE"?
<EDIT>
I looked under, "Options/Screen/Window Resolution" in the editor and it has 1366 X 768 but in the DBPRO file it generates 640X480
</EDIT>

Your suggestion caused me to examine the differences in the two DBPRO files and I found a "symptom" of the problem but not the "root" problem.

The symptom is that the file that doesn't work has a section with the following line:

fullscreen resolution=640x480x32

While the code that does work has this:

fullscreen resolution=1366�768x32

The editor is automatically inserting 640X480X32 (640X480 is not supported by my system).

I need to know how to keep the editor from putting 640X480 in to the DBPRO file when it is automatically generated!
JRNTexas
15
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 12th Mar 2012 08:02
I also noticed that in the list of possible screen resolutions under, "Options/Screen/Window Resolution", my resolution 1366X768 has a strange character (seen above) as opposed to an "x", while most of the others have an "x".
JRNTexas
15
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 12th Mar 2012 08:15 Edited at: 12th Mar 2012 08:22
I had that backwards above.

The new DBPRO file has 1366X768X32 while the old one has 640X480X32.

It's the 1366X768X32 that is causing the problem!

I went into the editor and under "Options/Screen/Window Resolution", I changed 1366x768 to 640x480 and under "Options/Screen/Fullscreen Resolution", I changed 1366x768x32 to 640x480x32. Even though my card only supports 800x600 as a minimum resolution and does not support 640x480.

It now works! I would never have guessed that this setting would cause this problem and I have never changed this setting before so thanks for all of the help!

<EDIT>
Oh, and in my code, I can now use any resolution that my card supports! It wasn't that I was using an unsupported resolution or using a 32 bit depth, it was that the compiler caused a crash when using the actual resolution!

Thanks again!
</EDIT>
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 12th Mar 2012 09:58
i'm glad you got it fixed

basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 12th Mar 2012 19:34
@JRNTexas
Quote: "640X480 is not supported by my system"
.

how comes, this is the default size for major compilers. I even tried it on my netbook.
JRNTexas
15
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 13th Mar 2012 05:34 Edited at: 13th Mar 2012 05:39
@basjak,

Like you, I always thought that 640x480 was the standard minimum resolution but the built-in screen on my laptop is broken and I am using a 24" monitor that supports up to 2048x1152 but the minimum monitor resolution, and thus the current minimum system resolution is 800x600.
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 13th Mar 2012 09:58
I get the same problem with my HP laptop. my screen resolution is 1366 X 768.

I get the error 32 bit not supported despite that being my desktop resolution. its a bit annoying but I just have to run things at 1024X768 then it works fine. It would be nice to be able to use fullscreen on full resolution though.

Sometimes I like to use words out of contents
JRNTexas
15
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 13th Mar 2012 22:18
@Kezzla

I don't have to run at a different resolution on 1366x768.

You might try what I did and change the settings in the IDE (see above).
Kezzla
17
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 14th Mar 2012 00:01
@JRNTexas
Yeah, that's how I get it to work. Its curious that that resolution is not supported, i wonder why?

Sometimes I like to use words out of contents
Diggsey
20
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 14th Mar 2012 00:44
@Kezzla
Try 1360x768, a screen I have has both 1366x768 and 1360x768 as options.

[b]

Login to post a reply

Server time is: 2026-07-09 02:13:16
Your offset time is: 2026-07-09 02:13:16