Nous utilisons des cookies pour améliorer votre expérience de navigation. En savoir plus
Accepter
to the top
>
Posts

Posts

09 Mar 2011
How to make fewer errors at the stage of code writing. Part N1
Andrey Karpov
I've arrived at the source code of a widely know instant messenger Miranda IM. Together with various plugins, this is a rather large project whose size is about 950 thousand code lines in C and...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
01 Mar 2011
Knee-deep in C++ s... code
Andrey Karpov
Perhaps many of you know the site govnokod.ru. If not, I recommend those of you who think of themselves as programmers to visit it. Good mood is...
...
13 Fév 2011
Is it reasonable to use the prefix increment operator ++it instead of postfix operator it++ for iterators?
Andrey Karpov
I decided to find out if there is practical sense in writing ++iterator instead of iterator++, when handling iterators. My interest in this question arose not from my love of art, but...
...
10 Fév 2011
Why is it so hard to create a 64-bit version of an application?
Andrey Karpov
Unfortunately, despite the seeming simplicity, it is often not enough just to rebuild a 32-bit program for a 64-bit platform and fix compiler errors to provide assured operability of the...
...
10 Fév 2011
What can I use instead of rundll32.exe to run 64-bit DLL?
Andrey Karpov
There are two versions of the rundll32.exe program in 64-bit versions of Windows-family operating systems: 64-bit version: %WinDir%\System32\rundll32.exe and 32-bit...
...
10 Fév 2011
What can I use instead of "int 3" instruction in a 64-bit application?
Andrey Karpov
The 64-bit version of Visual C++ compiler does not support inline assembler, so you cannot write code like "__asm int 3". But there is one more, less known mechanism to create interrupts...
...
10 Fév 2011
How can I find out in a 32-bit application what 64-bit processes are launched?
Andrey Karpov
Documented capabilities of WinAPI do not allow you to directly identify 64-bit processes from within a 32-bit program launched in a 64-bit Windows under WoW64. In general, reading of memory of...
...
05 Fév 2011
How to check if a 64-bit project is being built in Visual Studio using #ifdef
Andrey Karpov
You may easily do it using #define preliminarily defined in the compiler. The following is the code that shows in what mode a project is being built – 32-bit mode or 64-bit mode (AMD64 or...
...
27 Jan 2011
Intel IPP Samples for Windows - error correction
Andrey Karpov
This is one of my posts on how PVS-Studio makes programs safer. That is where and what types of errors it detects. This time it is samples demonstrating handling of the IPP 7.0 library...
...
View more Pagination arrow previous
Showing: - of 1579