Tag Archives: Visual Studio

HOWTO integrate NASM with VS2022

updated 01/11/2024 Occasionally I use Intel assembler language to squeeze processing power from my programs. A cheap solution was C inline assembler sections, but VS2022 doesn’t support them in a 64-bits program.  Other compilers use more or less complex solutions (IBM assembler, …). This forced me to consider including and linking .asm files in my projects.  I can split them with 32 and 64 bits … Continue reading HOWTO integrate NASM with VS2022 »

HOWTO convert a .rc file to VC++ flavored one

Recently I was in need to import a resource file (.rc) generated by ResEdit program into a Visual C++ program. As long you do not open it with the VC embedded editor, only can only add it to the project. Problems came when you try to use the embedded VC resource editor.  It usually fails to load, because of a problem in prsht.h.  I don’t … Continue reading HOWTO convert a .rc file to VC++ flavored one »

HOWTO easily use NASM into windows C/C++ applications

After installed NASM and configured our VisualStudio to use it, we are now able to use it in our C/C++ projects. Assembler usually has a huge advantage in terms of performance at the cost of rigid code usage. You cannot use it in both 32-bits and 64-bits versions of the same C/C++ code.  Each version shall fulfill several different ‘environmental’ requirements that cannot be ignored … Continue reading HOWTO easily use NASM into windows C/C++ applications »

Visual Studio 2017 remote debugger

Suppose to have a problem in your program occurring only a specific PC. You can study it by: installing a copy of your VS2017 on that PC. copy VS2017 Remote Debugger console Naturally the second way is simpler and more efficient, since you have to copy a folder. You can find it, in the following path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Remote Debugger or (into 32 … Continue reading Visual Studio 2017 remote debugger »

HOWTO Take your Visual Studio browsing files under control

A couple of weeks ago, I noticed that one of the encrypted disks was going out of free space. After some investigations, I found many folders containing huge VS2017 temp files: <your solution folder>\.vs\<your solution name>\v15\ipch\AutoPCH I fixed the problem by deleting them all. The walkaround I also found that this is a WAD (work as designed), but it can be a walkaround by updating … Continue reading HOWTO Take your Visual Studio browsing files under control »