Page 1 of 1
DesktopWidth() and VMWare
Posted: Wed Oct 08, 2014 9:36 am
by es_91
Hi.
Many of you people may know VMware, ̶t̶̶h̶̶e̶̶ ̶̶f̶̶r̶̶e̶̶e̶̶ ̶̶m̶̶i̶̶c̶̶r̶̶o̶̶s̶̶o̶̶f̶̶t̶̶ ̶̶v̶̶i̶̶r̶̶t̶̶u̶̶a̶̶l̶̶ ̶̶p̶̶c̶̶ ̶̶m̶̶a̶̶c̶̶h̶̶i̶̶n̶̶e̶, that allows you to play an OS like a program inside your native OS.
Inside my VMware, DesktopWidth() returns false values. My Screen resolution is 1280x800, the VMware has a size of 1280x704 (maximized) but inside the VMware, installed PureBasic's function DesktopWidth(#Null) returns 1085. DesktopHeight(#Null) returns 737!
Help?

Re: DesktopWidth() and VMWare
Posted: Sat Oct 11, 2014 2:22 pm
by Alex777
I use VMware Player from VMware, Inc. and I find that DesktopWidth() & DesktopHeight() return correct values from inside the emulator.
Re: DesktopWidth() and VMWare
Posted: Sat Oct 11, 2014 3:09 pm
by Danilo
VMware and
Windows Virtual PC (
Download) are different products by different companies.
Re: DesktopWidth() and VMWare
Posted: Sat Oct 11, 2014 7:23 pm
by es_91
~~~ overhauled by the next post ~~~
Re: DesktopWidth() and VMWare
Posted: Mon Oct 13, 2014 12:41 pm
by es_91
And i meant VMWare, by VMware Inc., not the Microsoft product. Sorry.
Re: DesktopWidth() and VMWare
Posted: Mon Oct 13, 2014 1:27 pm
by ts-soft
It makes no difference, virtual machine or not, the values of desktopwidth always accurat.
Only, there is a error in desktopmanager, but for windows, this is impossible.
Re: DesktopWidth() and VMWare
Posted: Mon Oct 13, 2014 7:02 pm
by es_91
I'm not lying.

Tomorrow I'll send you a screenshot from work.
Re: DesktopWidth() and VMWare
Posted: Tue Oct 14, 2014 8:14 am
by es_91
Here's the screen:

Re: DesktopWidth() and VMWare
Posted: Tue Oct 14, 2014 10:23 am
by ts-soft
And this values not correct? You have to compare this values, with the setting in "Systemsteuerung".
Re: DesktopWidth() and VMWare
Posted: Tue Oct 14, 2014 7:25 pm
by blueznl
Seems to me to be right. Check screen settings inside the VM and see what that lists. I've been using VM's on VirtualBox and VMWare for quite some time, and though I've seen other issues (related to VM'ing in general) I've not seen what you're describing here.
I fear the problem might be between the keyboard and the chair

Re: DesktopWidth() and VMWare
Posted: Wed Oct 15, 2014 3:48 am
by Thunder93
LOL!
blueznl wrote:I fear the problem might be between the keyboard and the chair

Re: DesktopWidth() and VMWare
Posted: Wed Oct 15, 2014 12:02 pm
by es_91
OMG. Is it too hard to check an image's resolution/size?
ts-soft wrote:And this values not correct?
No.
blueznl wrote:Check screen settings inside the VM and see what that lists.
Didn't I say that before?
es_91 wrote: the VMware has a size of 1280x704
blueznl wrote:I fear the problem might be between the keyboard and the chair

I fear the Problem in this case is be between YOUR Keyboard and YOUR chair.
/e: BTW the values are ALWAYS 1085x737.
Re: DesktopWidth() and VMWare
Posted: Fri Oct 17, 2014 2:10 pm
by Kiffi
cannot confirm:
Greetings ... Peter
Re: DesktopWidth() and VMWare
Posted: Fri Oct 17, 2014 11:58 pm
by PB
> Inside my VMware, DesktopWidth() returns false values
If it works on a real PC, then it's a bug with VMware and not PureBasic.