visual-c++

How to build OpenSSL in release mode with symbols?

I generally build my openssl libs by doing this: perl Configure VC-WIN32 ms\do_masm nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak test For debugging minidumps, I'd like to get a pdb file for the 2 dlls (while still building them in "release" mode). I've added /Zi to the CFLAGS part of ms\ntdll.mak, but I still get "Binary was not bui...

How do you convert a Visual Studio project from using wide strings to ordinary strings.

When I created my visual studio project it defaulted to forcing me to use wide strings for all the functions which take character strings. MessageBox() for example, takes a LPCWSTR rather than a const char*. While I understand that it's great for multi-lingual and portable applications, it is completely unnecessary for my simple little a...

How to remove, reinstall and/or find info about Visual Studio 2008 hotfixes?

Another developer and I are experiencing different behavior in native C++ executables built with Microsoft Visual Studio 2008, Version 9.0.30729.1 SP on different machines. We are statically linking to the Standard Library so we don't think it's a DLL version issue. We have ruled out differences in our source code and build settings. ...

What is the largest open source project written in Visual C++ ?

What is the largest open source project written in Visual C++ ? I can see that eMule project is pretty big, but what is largest? ...

how to build a vc++ file in commandline

How to build a Project developed in VC++ in command line i am not visual studio(2003or 2005 or 2008) ...

System Idle Time calculation using vc++

I need to get the sytem idle time.It must be developed in vc++ and the code should not use hooks is there any possible way of getting SystemIdleTime from taskmanager ...

How to Enforce C++ compiler to use specific CRT version?

I am using VS2008 for developing a COM dll which by default uses CRT version 9 but I am using TSF (Text service framework) that is not compatible with the new CRT. I think the solution is to use the compatible one so how can I specify the CRT version? ...

Beginner Issue with C++ Intellisense and Error Checking?

Using Visual C++ 2008. First time, I'm experimenting in crossing over from C# and wanted to try my hand at it. I have not changed base settings much, other than a few things like smart block and maybe a few colors. Because I'm at level ZERO on c++ knowledge all the googling I've done is over my head. Issue with intellisense and error lis...

How to detect whether I need to install VCRedist ?

I have a question very similar to this one but the answer does not work for me. Software I am maintaining the setup for depends on VC++ 2008 (SP1, precisely), thus I need to find a solution to install VCRedist if not yet installed. I understand the correct way would be to build msi with merge modules, but it's not on my hands. The answ...

Using Borland C++ Code in VC++

Hi guys, Is there a way to access Borland output in VC++, for method calls and other stuff? Thanks ...

Convert project to Visual Studio 2008

How can I convert my application from Visual Studio 6.0 to Visual Studio 2008? ...

Getting Default browser

How can i which is the default browser in my system programatically. the codes must be developed using vc++ Is there any API for this Where in the registry is the default browser value changed can somebody help me out. ...

Visual C++: How to get the CPU time?

How can I programatically find the CPU time which is displayed in System Idle Process (in Task Manager) using Visual C++? ...

Difference between DECLARE_DYNAMIC and DECLARE_DYNCREATE?

Could you please let me know what is difference between DECLARE_DYNAMIC and DECLARE_DYNCREATE? Where exactly we can use them? ...

VisualStudio2005 very slow in debugging.

I have 1GB ram in my pc. In my solution totally 48 projects are there. But I am debugging only one project. Each project is depending on other one. While debugging the project why visual studio is taking much memory usage. Also system is getting hanged. Can any one please let me know if you have any suggestion to solve this debugging ...

How to use WinDbg to analyze the crash dump for VC++ application.

Hi Any one knows how to use the windbg for analyzeing dump file. Please share the info how to analyze crash dump using windbg. Thanks, Haranadh ...

I am not able to get dump file for crash.

Hi All, I am getting crash when I stop my server. But I could not see any dump file for this crash. Why dump file is not getting created. If possible could any one let me know where dump file will be created. Thanks Haranadh ...

Fixed-width integers in C++

Occasionally I need to use fixed-width integers for communication with external devices like PLCs. I also use them to define bitmasks and perform bit manipulation of image data. AFAIK the C99 standard defines fixed-width integers like int16_t. However the compiler I use, VC++ 2008 doesn't support C99 and AFAIK Microsoft is not planning t...

NTLM Authentication with GetHttpConnection

Hi all, I have a VC++ (6.0) app. We want to use NTLM Authentication to access a server. I prompt for the URL, ID, and Password and send these in my internetSession.GetHttpConnection call, and if you enter the domain\id and the password, it works fine, using NTLM. We want users who are currently logged in on the same domain as the serv...

Why does GCC not find my non-template function? ("no matching function for call to...")

In MSVC 2008, I have the following code: class Foo { // Be a little smarter about deriving the vertex type, to save the user some typing. template<typename Vertex> inline void drawVertices( Elements vCount, RenPrim primitiveType, PixMaterial *mtl, Vertex const *vertices) { this->drawVertices(vCount, primitiveType, mtl, ve...