Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
Andrey Karpov

Posts: Andrey Karpov

Jan 23 2012
Why does WoW64 use register and file system redirection?
Andrey Karpov
So, why does WoW64 employ the mechanism of redirecting the register and file system instead of simply assigning the obsolete register keys and "%windir%\system32" to 32-bit applications and...
...
Jan 23 2012
Why does Windows put 64-bit units into System32?
Andrey Karpov
The WoW64 (Windows on Windows 64) subsystem uses the register redirection and file system redirection mechanisms for 32-bit programs launched in 64-bit Windows versions while 64-bit system...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
* By clicking this button you agree to our Privacy Policy statement
Jan 23 2012
Warning C4267 in the expression unsigned n = str.find(substr)
Andrey Karpov
When porting 32-bit code on a 64-bit system, Visual C++ compiler may generate a lot of warnings C4267 for the code where the result of the function std::string::find() is saved into a variable of...
...
Jan 23 2012
Is there the 64-bit version of Visual Studio?
Andrey Karpov
No, there are only 32-bit versions of Visual Studio at the moment. As Rico Mariani, the leading Visual Studio developer, writes in his blog, this is determined by several factors.
...
Jan 23 2012
Are the types size_t and uintptr_t equivalent?
Andrey Karpov
The question if these types are equivalent and which of them and when should be used is discussed very much. But in practice you may consider them equivalent and use them as you...
...
Jan 23 2012
Is there a way to make the type size_t 32-bit in a 64-bit program?
Andrey Karpov
While porting code from a 32-bit system to a 64-bit one, you may want to make the types size_t/ptrdiff_t 32-bit again to reduce the number of errors and warnings generated by the compiler. This...
...
Jan 23 2012
Why is the value of the ProgramFiles environment variable replaced with that of ProgramFiles(x86)?
Andrey Karpov
Why is the value of the %ProgramFiles% environment variable replaced with the value of %ProgramFiles(x86)% when accessing it from a 32-bit program launched in a 64-bit operating...
...
Jan 23 2012
How can I know if the DWORD_PTR type is defined using ifdef?
Andrey Karpov
Memsize-types DWORD_PTR, INT_PTR, LONG_PTR, UINT_PTR and ULONG_PTR are intended to support 64-bit code and can safely store a pointer regardless of the platform capacity. But these types might...
...
Jan 17 2012
Overwriting memory - why?
Andrey Karpov
We decided to publish this article in our knowledge base to show programmers how easily private data can get out of the program handling them. There is the V597 diagnostic rule in PVS-Studio...
...
Dec 15 2011
How to make fewer errors at the stage of code writing. Part N4
Andrey Karpov
This is the fourth post in which I want to share with you some useful observations on error patterns and the ways of fighting them. This time I will touch upon the subject of handling rare...
...
View more Pagination arrow previous
Showing: - of 638
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam