Wikipedia:Reference desk/Archives/Computing/2015 April 3

Computing desk
< April 2 << Mar | April | May >> April 4 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


April 3 edit

Parallels Desktop on MacBook Pro edit

I bought and downloaded Parallels Desktop for my MacBook Pro, added Windows to it (Windows 10) and a few months later the Windows VM does not exist anymore. How can I get one of my licensed versions of Windows to work on it? Ubuntu, Chrome, and Android are the only options available at the moment. KägeTorä - () (もしもし!) 06:24, 3 April 2015 (UTC)[reply]

  Resolved

mouse fcc idjnzmroo7 ic4418amroo7 mx darkfield edit

hi perchesd ths at a boot sail but the sender unit is not the right one will you please send me one I will pay you for it as I <REDACTED> — Preceding unsigned comment added by 86.112.40.158 (talk) 14:24, 3 April 2015 (UTC)[reply]

Posting personal details on a highly visible internet site is not a good idea. I have therefore edited what you wrote. I understand you have bought a computer mouse which does not function. This is the Wikipedia reference desk. We are volunteers who try to answer factual questions about all sorts of things, but we have nothing to do with the vendor who sold you the mouse, and cannot send you a replacement. Your best option is to contact the vendor. --NorwegianBlue talk 15:36, 3 April 2015 (UTC)[reply]
Assuming the OP is in the UK, PC World sell this mouse for £39, and many much cheaper (and more expensive, of course) wireless mice are available at many other retailers. I would recommend that the OP considers buying a new mouse rather than trying to contact the original seller. Tevildo (talk) 18:56, 3 April 2015 (UTC)[reply]

Character conversion C++, Microsoft Visual Studio Express 2013. ANSI codepage 1252 to wchar_t edit

I'm looking for a function, preferably Windows API, which does the following:

wchar_t ANSI_to_wchar_t(int ANSI_value, int codepage);

I've searched the web, but am having trouble finding a concise answer to the question. The codepage is 1252, and the OS is Win7, in case that matters. Thanks, --NorwegianBlue talk 15:20, 3 April 2015 (UTC)[reply]

It sounds like what you need is the MultiByteToWideChar function. This converts an entire string (rather than a single character), but it should do what you need. Tevildo (talk) 16:06, 3 April 2015 (UTC)[reply]
Thanks! --NorwegianBlue talk 18:33, 3 April 2015 (UTC)[reply]
Note that MultiByteToWideChar can be used to convert a single character by setting lpMultiByteStr to the address of the character, and cbMultiByte to 1. It may be safe to set the output lpWideCharStr to the address of a wchar_t, and cchWideChar to 1. LongHairedFop (talk) 15:17, 4 April 2015 (UTC)[reply]