Jump to content











Photo
- - - - -

Winbuilder Processor Question


  • Please log in to reply
10 replies to this topic

#1 Flyboarder

Flyboarder

    Member

  • .script developer
  • 95 posts
  •  
    Canada

Posted 27 January 2011 - 08:38 PM

Hello, reboot.pro

Can someone from the WB dev team please help with my small question, maybe Nuno or jaclaz or someone of the like knows?

My question is what are the possible values of the variable %ProcessorType%?

Is there a set list or is it dynamic based on device vendor ID?

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 28 January 2011 - 08:39 AM

The Win function "SystemInfo" delivers 0 for x86, 6 for i64, 9 for x64, and -1 when unknown.

That value is passed into %ProcessorType%

Peter

#3 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15078 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 28 January 2011 - 11:08 AM

The Win function "SystemInfo" delivers 0 for x86, 6 for i64, 0 for x64, and -1 when unlnown.

That value is passed into %ProcessorType%

DOes this mean that 0 (zero) means BOTH x86 AND x84? :dubbio:

:whistling:
Wonko

#4 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10547 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 28 January 2011 - 11:15 AM

Why do you need that value from wb in either case?

Are you planning on running any external tool?

If so, I'd recommend just using the x86 version since they're both supported under x64 and x86 platforms of Windows.

#5 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 28 January 2011 - 11:49 AM

DOes this mean that 0 (zero) means BOTH x86 AND x84? ;)

:cheers:
Wonko

Sorry, typo :dubbio:
Corrected in the original post.

Peter

#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15078 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 28 January 2011 - 12:02 PM

Sorry, typo ;)
Corrected in the original post.


:dubbio:

:cheers:
Wonko

#7 Flyboarder

Flyboarder

    Member

  • .script developer
  • 95 posts
  •  
    Canada

Posted 28 January 2011 - 07:47 PM

@nuno

http://reboot.pro/11574/

If you take a look at that project of mine I need it to finish some of the features which are disabled.

#8 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15078 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 28 January 2011 - 08:24 PM

http://reboot.pro/11574/

Does that mean that you are not home since June 2010? :w00t: :)
It must be really cold outside.... :cheers:

:rofl:

:cheers:
Wonko

#9 Flyboarder

Flyboarder

    Member

  • .script developer
  • 95 posts
  •  
    Canada

Posted 29 January 2011 - 01:19 AM

Does that mean that you are not home since June 2010? :w00t: :)
It must be really cold outside.... :cheers:

:rofl:

:cheers:
Wonko


Well aside from this missing feature everything else is working fine I think, test it out and let me know if you find something.

#10 Flyboarder

Flyboarder

    Member

  • .script developer
  • 95 posts
  •  
    Canada

Posted 29 January 2011 - 02:14 AM

It must be really cold outside.... :)


P.S. Did you not notice that I live in Canada?

#11 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15078 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 29 January 2011 - 01:14 PM

P.S. Did you not notice that I live in Canada?

Yep :worship:, that's why I was worried for you :cheers:, if you were from Barbados or Cuba that would not have been such a big problem :yahoo:.

:cheers:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users