Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3029 articles
Browse latest View live

How to create a basic window?

Someone help me pliz. I want to create a basic window using visual c++ 2010 express.

View Article


Image may be NSFW.
Clik here to view.

I'm having linking problems...

I wrote this code, I think it's all okay but I cannot even use it because the visual c++ 2010 express linker says that the file is corrupt. I have attached the *.zip file to this post in hopes someone...

View Article


HTML screensaver not working if user is not logged in

I created simple screensaver using CHTMView class reading HTML file stored locally. Everything is fine with IE 6,7,8, 9 and 10 when user is logged in. If I set screen screensaver globally (ie. running...

View Article

Image may be NSFW.
Clik here to view.

need help in a project

hey! i want some help from you... i want you to make me a project of object oriented programming named "Zoo Management System" in c++. it should not be a very advanced code, simple to understand......

View Article

Please Guide me abt Thread concept

Hi, I'm very bad in thread concept.I searched Google and got lot of examples about thread. But in my knowledge i couldn't understand B'cos the process was very heavy. Pls give any simple examples about...

View Article


list dll library functions signature at runtime

Hi All, I want to know how to list the all the symbols in the shared library(dll or .so file). I dont want commands like nm or objdump or depends.exe . I want to get the list of functions available in...

View Article

MSDN question

Hi, ALL, How can I find the documentation on the OnItemPostPaint() function? If I go to msdn.microsoft.com and search for this function the search comes back empty. Google also does not produce any...

View Article

Image may be NSFW.
Clik here to view.

Question marks in memory window

While debugging an application I ran into what seems to be a dangling pointer. When I copy the pointer's address into the memory window in VS2008 (while debugging), I see a bunch of question marks...

View Article


Multiple core processors

Suppose I build a multi-threaded app and someone runs it on a multiple core processor. I suppose ideally, the OS would allocate threads between the different cores but from what I've observed that...

View Article


[RESOLVED] How to use C# with Excel

Hello, I am new to using C#. Is it possible to create an app that can be saved on my desktop that can be used with an excel file that is saved on my desktop? I have opened VS 2010 and I have created a...

View Article

error 193 with CreateProcess, why?

Hello, on a customers pc I have the following problem: I want to run an exe file with CreateProcess, but this generates the error 193 which means ERROR_BAD_EXE_FORMAT %1 is not a valid Win32...

View Article

MFC "The parameter is incorrect"

I know that this issue is fairly common, but it's also fairly vague. I'm having one heck of a time tracking it down, so I was hoping somebody who has seen it before would be able to help. My issue is...

View Article

Resource Exception

Hi, I used onctlcolor() method to set the background color for the controls & Dialog. i run my application, working good but after 15 mins the below error occured, Application Error: The Required...

View Article


[RESOLVED] Development of software

hey guys i am learner of programming languages so please guide me everyone that can i learn deeply programming languages for development of software by it.

View Article

Why doesn't 'sizeo'f work here?

Duplicate post, sorry!

View Article


Why doesn't 'sizeof' work here?

Is 'sizeof' evaluated at compile time or run time? If it's at compile time, why doesn't this compile with VC8..? Code: __declspec(align(sizeof(int))) struct s {         char a;         int  b, c; };

View Article

Create window form C++ function using MFC or Win32 API

Hello, My setup is as follows: There is function written C++, that must be compiled to DLL. This DLL is linked to some CAD (computer aded design) tool, that has special interface for it. I want to add...

View Article


Image may be NSFW.
Clik here to view.

How to create MDI child with borders

How can I create MS Word 'print layout' like interface. The attached picture says it all. Basically I want a shaded area around my document just like word so it gives a feel of the 'page'.Attachment...

View Article

How to send attachment with MS Outlook automation?

I have found the following article to be a very excellent run through on how to use Outlook automation with C++ in Visual Studio 2010. However, I cannot find any descrption of how to add an...

View Article

Trying to use C++ to solve a math problem

a=40; b=30; c=10; d=a^2-b^2;f=2*c^2*d*sqrt(d^2/27+c^4); g=d^3/27+2*c^4*d;h=d/3+(g+f)^(1/3)+(g-f)^(1/3); j=sqrt(c^2-d+h);k=sqrt((2*c*d+2*c^3)/j+2*c^2-d-h); m=(c+j+k)/2;sqrt(b^2-m^2) I had this riddle to...

View Article
Browsing all 3029 articles
Browse latest View live


Latest Images