Creating MAPI Property with CreateIProp
Hello, I have a problem creating a MAPI property. I have code like this: Code: int SetProperty( LPPROFSECT lpProfileSection, LPSPropValue lpPropValue) { HRESULT hr;...
View ArticleHow to substitute correct module when debugging a dump file for Visual Studio...
Hello: I have a dump file from a remote machine which I'm trying to debug. Both the remote machine and my debugger are using Windows 7 with Service Pack 1. The crashing program was built with Visual...
View ArticleHow to set the parent dialog??
Hi all, Ive created a modeless dialog from my main dialog as follows: Code: m_pContainerDlg = new CDlgContainer(NULL, this); m_pContainerDlg->Create(CDlgContainer::IDD, GetDesktopWindow());...
View ArticleC++ Solving problems
Hello, i'm a begginer in C++ and in programming, and i was thinking if anyone can help me solve some problems that my professor gave me. The First Homework: On the following program complete(Fullfill)...
View Articlestandard deviation in c++ HELP
im trying to figure out how to write a formula for standard deviation but im having a hard time can someone help
View ArticleToolbar position tracking problem
hello,Please help me to detect when mouse pointer entering on toolbar .
View Articlestd::map, find largest value smaller than key
I have a std::map<int, foo> what's the ideal way to get an iterator to the item that has the largest key (int) smaller than a given value. basically, the item before upper_bound(). I can use...
View ArticleDisable CCheckListBox items without access to code that calls AddString
I need to be able to disable the items on a CCheckListBox but I can't change the code that calls AddString. I know I can use the CCheckListBox::Enable function to disable an item if I have an index but...
View ArticleSlideshow sreensaver
Hi, I am looking windows slideshow screen saver source code. Maybe someone have programmed something like that? :) P.S google didnt find good things. Please help!
View ArticleHArd time with structures, functions and pointers.
Hello, sorry but I am superlost with this, any help will be very welcome. Thank you. Code: /* Modify the program of Programming Challenge 1 to allow the user to enter name-score pairs. For each student...
View ArticleGet maximum memory usage of My App
I use Visual C++ to write a native C++ application. How to know the maximum memory it will use during its execution? Thanks
View ArticleHelp with Backward function
Can someone please help me with my program it says there is no problem with the build but when exe. it displays a bunch of backward 'k' instead of reversing the words entered. Problem: Enter in a...
View Articlerunning a GUI program in the background
i created a windows service that will run another program. but the program i want to run has a gui and i don't want the gui to be visible, i just want the program to run in the background. But i have...
View ArticleMoving the mouse with code
I am currently starting to attempt to make a program that can move my cursor to certain colors on my monitor. The problem is this seems like it will be 10x harder than I first thought. Is there anyone...
View Articleincluding new header file.
I know this question has been asked a million times, but they seemed to have changed things up in vs 2012. I have the header (and accompanying lib file) in my project folder, I have it in my solution...
View ArticleMemory Management : character arrays and = operator
Memory Management : character arrays and = operator Q. In terms of Memory Management, What error would you have with the following code? Code: class String { public: String(const char right[]);...
View Article[RESOLVED] Trees (Maps) problem
Hello, I am trying to use a red-black tree, STL Map, to read in a file that counts the words while ignoring punctuation and converting all words to lowercase. My problem occurs when I try to print and...
View ArticleHelp about Creation an Converter
Hello Guys, As see Im New Here in this Forum so im not so sure if this is the right section for ask this so if i have wronged section plz no catch me IM NEW :D xD Now Im here as the tittle say i wanna...
View ArticleScardTransmit returning junk value
Hi, I am trying to read data from a smartcard using scardTransmit. But the data read is always 6D 00 CC CC (Be it for name, expiry date or any other data, always the same.) This is probably some junk...
View Article[RESOLVED] ScardTransmit returning junk value
Hi, I am trying to read data from a smartcard using scardTransmit. But the data read is always 6D 00 CC CC (Be it for name, expiry date or any other data, always the same.) This is probably some junk...
View Article