Having trouble getting any useful tools in toolbox
I just started with Visual C++ again and I'm having trouble getting it set up. The toolbox is empty. How do I populate it with useful tools? Thanks.
View Article.ini & SaveBarState problem
Hi! I´m developing an aplication where I save the bar state to a .ini file. Im setting m_pszProfileName = ::_tcsdup(_T(".\\MYAPLICATION.ini")) to avoid using the registry. The problem is that VS is...
View ArticleHow to give datas dynamically in a dialog box using visual c++
Hi all, How can I give data in a dialog box dynamically? In my previous project I used edit boxes (e.g for 3 conductors) and gave those data separately for each conductor but now I have to give them...
View Articleissue with code
Hey so this is the what I have to write the code for: The population of a town A is less than the population of town B. However, the population of town A is growing faster than the population of town...
View Article[RESOLVED] .ini & SaveBarState problem
Hi! I´m developing an aplication where I save the bar state to a .ini file. Im setting m_pszProfileName = ::_tcsdup(_T(".\\MYAPLICATION.ini")) to avoid using the registry. The problem is that VS is...
View ArticleHow to intercept email messages generated by another program?
I need to catch email messages that are generated by this custom software that I do not have source code for. (My final goal is then to re-route them into a VM, where Microsoft Outlook will be actually...
View ArticleDiscover Connected Devices in LAN/WLAN uisng VC++ in Windows Platform
Hi All, I came across the requirement of discovering connected devices to my network programatically in c/c++ under Windows Environment. i need device info like ip address, mac adrees, ip type, device...
View ArticleVisual C++ for Linux
Hi, I was developed a project in VC++ 2012 on Windows Platform (Used MySQL Database, CPropertySheet , CPropertyPage, Serial Communication, Chat,etc..) . It was running good. I like to run the same...
View ArticleText editor in vc++
Hi everyone! I need to "send" data in a notepad every time I write double numbers on edit control and press save. I wrote some code but my dialog (where the edit control is) don't even open when I run...
View Article[RESOLVED] Remove an element from a queue
Hello. I need help with this one. The task is as follows: Create a program which creates a queue(FIFO, first in first out) and removes the last element from it. This is my code for the first part aka...
View ArticleCreating protected files filled with data
Hello, I am making a game and I want to store highscores inside a file. How do I make this data protected so no one could edit anything. For now, I encrypted the score and put it into file and when...
View ArticleIssues with this code
It compiles, but no prompts show. I'm not sure whether it's complete or not either. My code is attached in a .txt file Here were the instructions: Write an interactive program whose input is a series...
View Articlehaving problem with ambiguity
in this code, after running it it says that "Person is an ambiguous class to StaffST. I know it has to do something with virtual inheritance, but I don't know which do i put the virtual on. Code:...
View ArticleHandle WM_LBUTTONDBLCLK on CMainFrame
Is there a way to handle WM_LBUTTONDBLCLK on MDI client area ? I have tried something like this: Code: void CMainFrame::OnLButtonDblClk(UINT nFlags, CPoint point) { // TODO: Add your message...
View ArticleCompiling (formatting problem?)
Code: #define OMWFMT64 L"I64" void integerToString(const OMByte* value, wchar_t* str) { // Some stuff std_swprintf(str, 21, L"%"OMWFMT64 L"u", *((OMUInt64*)value)); // <--- this...
View ArticleHow to use a variable declared in another dialog class in Visual C++
Hello everyone, I have created a list view(Declared in dialog class CDataDialog) with data . I want the list view to have as rows-cells as the conductors so I used :for (int i = 1; i<= m_DialogCon;...
View ArticleNew to programming: function not working properly - giving errors
Hi all, can someone help me with this program? Question: Write a function NumberOfPennies() that returns the total number of pennies given a number of dollars and (optionally) a number of pennies. Ex:...
View Article[RESOLVED] New to programming: function not working properly - giving errors
Hi all, can someone help me with this program? Question: Write a function NumberOfPennies() that returns the total number of pennies given a number of dollars and (optionally) a number of pennies. Ex:...
View ArticleNeed help figuring out why I long random negative number in output
Hi I am new here I am have some trouble with my program. I can seem to figure out why I am getting this long random negative number when I am trying to get the total possible points based on the point...
View Article[RESOLVED] Need help figuring out why I long random negative number in output
Hi I am new here I am have some trouble with my program. I can seem to figure out why I am getting this long random negative number when I am trying to get the total possible points based on the point...
View Article