Force QVGA Compile BooBoo

Mr_Gee

Active Member
Licensed User
I just installed my compiled app on my VGA phone
and the menu items are way too big, it seems like the application
is not only doubling the Form, but also the menu items

Screenshot attached.

To be sure I compiled it again with and without Force QVGA and only the latter has this issue..
 

Attachments

agraham

Expert
Licensed User
Have you seen this on any other app and prior to 6.42? The reason for asking is that I got Erel to explain to me the "magic" of what happens in ForceQVGA and it is actually the device doing all the rescaling because it thinks it is running a .NET 1.0 application in backward compatibility mode. So I don't think that 6.42 itself can have broken.
 

agraham

Expert
Licensed User
I assume that you optimised compiled it. What happens if you legacy compile and run it with and without the config.exe file? This then gives four scenarios to analyse.
 

Erel

Administrator
Staff member
Licensed User
Can you also post your source code (including images)?
 

Mr_Gee

Active Member
Licensed User
Sure, here you go

Please note for this to work you need to be a Dutch T-Mobile subscriber
and have the W'nW + subscrition.

@Agraham
I've tried to test it, but that didn't work,
Legacy = works, but icons are smaller (Force QVGA is not available)
Optimal + Force QVGA = the issue
Optimal + Force QVGA - config.exe = same issue
Legacy + config.exe = I don't see how this is possible (I tried to rename the files but nothing)
 

Mr_Gee

Active Member
Licensed User
:signOops: typo! I meant ...exe.config :sign0013:
I thought so :) , so I renamed the XXX.exe.config
to T-Tv-Legacy.exe.config (same as the legacy compiled exe)

but that didn't work either, also i'm a bit unsure how you meant it,
the legacy.exe doesn't have any "links" to the exe.confg
so how is it going to load it?
 
Last edited:

agraham

Expert
Licensed User
so how is it going to load it?
The exe.config file is used for legacy compiled apps, which are .NET 1.0 aps, and for ForceQVGA optimised compiled apps whose starter exe is a .NET 1.0 app. Basically it tells .NET to run the app with the latest Framework on a device that has more than one Framework installed. If you only have one Framework installed then the exe.config file does nothing and the app will run as long as it was targetted at the installed Framework or earlier.

I suggested trying a legacy compile with and without it as I believe that VGA devices automatically run .NET 1.0 apps pixel doubled but not .NET 2.0 or later apps. I was wondering if the exe.config file specifying the latest Framework was interfering with that process somehow.

EDIT:- By "With it" I meant with it in the app folder, "without it" meaning deleted from the folder.
 
Last edited:

Mr_Gee

Active Member
Licensed User
Thanks agraham,
But I think the problem lies deeper,

I just tried to create an application on the mobile IDE and when I clicked
one of the menu items I got the same huge menu
(image attached)

I'm using Dutty's V1.9 full ROM for the Diamond
(it has CFNET 3.5 build in already )
 

Attachments

agraham

Expert
Licensed User
Looks like that menu has been pixel doubled twice. That's a hacked ROM isn't it, are you sure it is not down to that?
 

Mr_Gee

Active Member
Licensed User
Looks like that menu has been pixel doubled twice. That's a hacked ROM isn't it, are you sure it is not down to that?
I prefer to call it a custom ROM ;-)

It could be, I' probably flash another version this week, so i'll post here if it solved the problem...
 
Top