Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
One of the big “under the covers” features of Windows Virtual PC is that it now has a programmable COM API that is based off of the Virtual Server COM API. In fact – I have been able to take many of my existing Virtual Server scripts and turn them into Windows Virtual PC scripts by just changing the COM object that I am connecting to. I am going to do some posts in the coming weeks exploring the uses of the Windows Virtual PC COM API – but in the mean time – you can go and read the beta COM API documentation here:
https://msdn.microsoft.com/en-us/library/dd796757(VS.85).aspx
Cheers,
Ben
Comments
Anonymous
July 14, 2009
One simple question: does / will windows virtual PC support 64-bit virtual machinesAnonymous
July 14, 2009
No - it only supports 32-bit virtual machines. Cheers, BenAnonymous
July 14, 2009
I use this app called Automise (http://www.automise.com/automise.aspx) to automate VPC and VMware Workstation. Quite expensive but I use for other automation as well.Anonymous
July 14, 2009
@Ben -> I have to admit that as a long time VPC user, I am seriously considering moving to VirtualBox which DOES support 64bit guests, even on 32 bit hosts with 64 bit capabilities. I'm thinking I am not the only one who is getting tired of artificial product limitations designed solely to create a different product sku. In fact, the only thing that is keeping from switching already is the current lack of drag and drop support between guest and host OSes. The only thing keeping me from moving already is the drag and drop betwixt guest and host - the same feature now dropped in VPC for Windows 7. Once that becomes the official release, it won't even matter if VirtualBox does not have it yet - I will probably migrate that day. I'm guessing I will not be the only one to make that change - I will certainly be encouraging others to migrate at that point as well. It's a shame that MS has become so disinterested in what VPC users actually want out of the software (not that this is new, how many years did it take to get USB support on the map?) Perhaps the focus is too heavy on hypervisor and VirtualServer for MS to really care about VPC users any more.Anonymous
July 16, 2009
I purchased, and assembled (hacked is probabbly a better word) a bunch of stuff from your VS book using VB, and .bat files in order to assign serial ports to specific VM. Can I can reuse my stuff with Win7VPC. Can I run multiple instances of Win7VPC, and switch on/off the serial port for each instance from the COM interface? I realize that this is asking alot, but just how do I go about changing the COM object? Or, is that something you plan to cover later?Anonymous
July 21, 2009
Wesley - For the most part you can just change the COM object from Virtual Server to Virtual PC and have scripts work. Cheers, BenAnonymous
July 25, 2009
The comment has been removedAnonymous
July 27, 2009
Ronny Ong - Virtual PC 2004 / 2007 never had (and were never meant to have) a COM interface. If one is exposed it is completely accidental. Cheers, BenAnonymous
May 25, 2010
Is there a COM interface for Virtual PC 2007? Have a Vista host machine (32bit) so the new Windows 7 version of VPC not that useful to me as yet, at least I assume I'd need Windows 7 for that version. I see 2004 gets a mention below but here's hoping 2007 was slightly better!Anonymous
May 25, 2010
Simon - No, this was only added with Windows Virtual PC. Cheers, Ben