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

[RESOLVED] Reading in Data and Displaying out all Data in Linked List

Hi I am wanting to be able to add as many different instances of data, while the user has not stated 'n', but then it only ever writes back to the screen the input for the last set of data. Where as I...

View Article


ReCreating CFontDialog

EnumFontFamiliesEx() is not working correctly, see my reply to OReubens: I need to know the best way to enumerate every Combination of FontName + FontStyle that is defined for a specific font. I need...

View Article


Tooltips in CListCtrl?

Hello, I have problems to show a tooltip for a ClistCtrl. I searched for some solutions in the web. I found only solution where derived classes are used. Is it no possible to use tooltips in ClistCtrl...

View Article

[Beginner] Looping - Circumference, Diameter, Area

Hey everyone! I'm really, really desperate now. My prof in Computer Science is of no help and is really rude so I'm stuck here not knowing what I did wrong. Our assignment is: Write a complete and...

View Article

EnumFontFamiliesEx() is not working correctly

This thread is very similar to another thread that I posted, yet this title is much more accurate. I also came up with a better way of explaining the problem. Ultimately I need to find the easiest way...

View Article


fstream adds extra byte?

hey, I've been having this odd problem when I write a file byte by byte, when I write a byte (dec)10 it adds a (dec)13 in front of it, and as far as I can tell, this is the only byte value that does...

View Article

How convert bytes to ASCII?

Hi How can I convert bytes to ASCII?, I read wikipedia about UTF-8 and I understood a little bit about add or split bytes to change the value. Now I have those bytes 0xC7 0xE6 0xC2 0x91 0x93 0x7B 0xCE...

View Article

what data should be cleaned up/released?

I've been wondering about this for a while, but not having run into any problems yet, I haven't worried about it, but as I write bigger and bigger codes, i'm thinking this is something I should look in...

View Article


Image may be NSFW.
Clik here to view.

Problem with drawing Bezeir curve

Hi, I got a code of Bezeir curve at the following link which was in TurboC: Quote: Here is a C quadratic Bézier curve example using the old graphics.h library....

View Article


need C++ programming code in visual studio

hi being new to this forum, am new to c++ programming and my professor giving tough homework . guy's need your help.r our assigment is: Repeat the problem collatz conjecture, 1.19.3, in a new...

View Article

Linked List Search Funtion Help

Hello, can someone please help me with the program I have below. If you copy and paste it it should work. However, When I uncomment my search function I get lots of errors and I think it has to do with...

View Article

Store some variables in disk

Hi, I am using Visual C++ to write an app. One problem is that the application will allocate a lot of object instances of a specific class CMyObject, maybe 400, 000. This will cause “Out of memory”...

View Article

How to reduce the size of an object

I am using Visual C++ to write an app. I write CMyObject class and may allocate a lot of instances of CMyObject object, so I want to reduce the size of CMyObject class. What I can figure out to do is:...

View Article


excel automation - window doesn't come to the foreground in Windows Server 2008

We have a C++ 5.0 app that does something like this: Creates the excel dispatch, exports the data, etc... ... then calls these functions: xlsApp.SetDisplayAlerts(TRUE); xlsApp.SetVisible(TRUE);...

View Article

Image may be NSFW.
Clik here to view.

remote monitoring application

Hi all I'm developing an employee monitoring software in C++. It uses TCP connections for client-server interaction. I've define some commands for remote controlling like SHUTDOWN, PRINTSCR, MESSAGE...

View Article


Statusbar-update while mouse in CDialogbar?

Hello, I have the following problem: my mainframe-window in a MDI-app has a CDialogbar. Everytime the mouse moves over a control in this dialogbar the status bar is updated by a text. The app craps the...

View Article

Debug Question

What does that mean to delete and rebuild? Error 1 error LNK1207: incompatible PDB format in 'C:\Users\Cori\Desktop\Drive\Quarter 2\C++\Projects\studentgrades\Debug\studentgrades.pdb'; delete and...

View Article


[RESOLVED] Statusbar-update while mouse in CDialogbar?

Hello, I have the following problem: my mainframe-window in a MDI-app has a CDialogbar. Everytime the mouse moves over a control in this dialogbar the status bar is updated by a text. The app craps the...

View Article

CoCreateInstance FAILED

Hi all, I'm following a sample from a third part SDK. In particular this piece of code: Code: CComPtr<INVRAdapter> _adapter; CLSID clsOCAdapter; HRESULT hr1 =...

View Article

randomize ( )

Hi, Is there any randomize ( ) function in Visual C++ 6.0? What is its prototype? Plz guide me. Zulfi.

View Article
Browsing all 3021 articles
Browse latest View live