Is there a way to generate a c++ header file for an .obj file? Or perhaps is there an utility that can view .obj files. I've already found objconv that converts between formats, but I can't find any .h generator/viewer.
...
i want to return wchar_t frm a function. How can i implement it
wchar_t wcstring1[newsize1]
How to return "wcstring1" from a function and make it to save into another variable of same type(In another function)
...
Hi,
I searched over the net but couldn't find any of the books on visual c++ for windows mobile programming..
can anyone suggest one?
Thanks.
...
HI,
I want to keep watermark into my video. How can i implement it using Directshow.
Is it possible to create a filter for this. i want to fix watermark at the time of saving video to my machine.
PLease give some suggestion and help
...
Does a vc++ exe require the .Net framework to run, or will it run without the framework?
...
I am using CodeBlocks and MinGW toolchain which is essentially GCC. I was using VStudio but I want to get away from it to do cross platform development. There seems to be some microsoft specific references in some libraries that I am linking, specifically in CXImage SDK (_chkstk). I presume the library was put together using VS. From my ...
What determines the default setting of the x87 FPU control word -- specifically, the precision control field? Does the compiler set it based on the target processor? Is there a compiler option to change it?
Using Microsoft Visual C++ 2008 Express Edition on an Intel Core Duo processor, the default setting for the precision control field...
I have a program written in VB.Net (Visual Studio 2008) that uses a DLL written in Visual C++ by another developer. I'd like to be able to step in to the C++ code as my code makes calls to methods in the DLL. Since the DLL is it's own solution, I don't think it can be included in my solution/project. I tried putting the DLLs pdb file ...
I have several ATL/COM-based DLLs that I've been using Visual C++ 6.0 on. I require a couple of "old" things out of the generated DLLs:
(1) They must be compatible with projects developed in Visual Basic 6.0 (the old VB6, emphatically not VB.Net).
(2) They must be compatible with old operating systems - minimum Windows 98 SE. To be c...
I have a simple logger that is implemented as a singleton. It works like i want when I compile and run it with g++ in linux but when I compile in Visual Studio 9.0 with vc++ I get the following errors. Is there a way to fix this? I don't mind changing the logger class around, but I would like to avoid changing how it is called.
1>Linkin...
Hey,
Is there any way to change settings for multiple projects in a Visual Studio 2008 C++ solution?
For example, adding a library dependancy for all the projects, or ignoring a specific warning.
I am aware being able to change some global settings in the IDE itself, but I'm looking for settings which will be stored in the solution/pro...
Hi,
ive been working on c++ on linux for the past 2 years,and switched to windows c++ programming recently.
can anyone tell me what that L is there in the argument of the function:
SHLoadImageFile(L"\\Program Files\\TrainingApp\\background.png");
and on viewing certain sample code in MSVS C++ i came across hundereds of typedefs like...
Hi,
I am using VS 2003 .Net on 32 bit XP OS. I have also installed "Microsoft Platform SDK" on my machine. Can I build vc++ application (binaries) targeted for 64 bit OS?
I am using following project options :
Name="VCLinkerTool"
AdditionalOptions="/machine:AMD64 bufferoverflowU.lib"
OutputFile="\bin\Release\MM64.dll"
...
Hi I a have created a global.h file in which I define enum Token
I get the garbage value of token if I use the value of Token other than glabal.cpp file
I have also include the "global.h" file in other file where I am using the Token value how can I correct this problem.
...
Hello everyone,
I am curious what could be the reason for highly varying performance of the same executable.
Sometimes, I run it and it takes 20 seconds and sometimes it is 110.
Source is compiled with MSVC in Release mode with standard options.
The code is here:
vector<double> Un;
vector<double> Ucur;
double *pUn, *pUcur;
...
// time...
HI,
I am trying to use the robust predicates for computational geometry from Jonathan Richard Shewchuk.
I am not a programmer, so I am not even sure of what I am saying, I may be doing some basic mistake.
The point is the predicates should allow for precise aritmthetic with adaptive floating point precision. On my computer: Asus p...
When we use SEH with __finally block,
if we do return in __try block, it causes a local unwind.
To Local unwind, the system need to approximately 1000 instructions.
The local unwind causes a warning C6242. MSDN suggests using __leave keyword(with saving a return value).
But I don't think it's a good idea.
If we use __leave keyword, the...
hi
I want to execute an exe file which is written in VC++.net 2008 in a computer which has windows xp and has not .net framework and none of c++ libraries.
but when i run the file i get this error:
This application has failed to start because the application configuration is incorrect....
I want a way to put all dependency together to...
I just downloaded and ran the boost installer for version 1.42 (from boostpro.com), and set up my project according to the getting started guide. However, when I build the program, I get this linker error:
LINK : fatal error LNK1104: cannot open file 'libboost_program_options-vc90-mt-gd-1_42.lib'
The build log adds this (I've replace...
I have a worker thread in a class that is owned by a ChildView. (I intend to move this to the Doc eventually.) When the worker thread completes a task I want all the views to be updated. How can I make a call to tell the Doc to issue an UpdateAllViews()? Or is there a better approach?
Thank you.
Added by OP: I am looking for a simple...