DoModal is not a Member?
Hello, I'm just learning this, and I am working through these tutorials: http://www.codersource.net/MFC/MFCTu...oxesinMFC.aspx I haven't had to modify them much for VS2010 so far. Right now, (I think)...
View Articlehow to convert png image into byte array in VC++??
Hi, I m loading a png image by using the ATLImage library. CImage Image; Image.Load (L"D:\\Images\\PNG_Images\\Image7.png"); how to retrieve the byte array value of this png image. I tried retrieving...
View ArticleProcessing Time For PVOID Into Byte Array Conversion
Hi, In my project I'm using PVOID pointer to store real time data. After getting this data I will convert the data into byte array, like below Code: byte *bPoint = NULL; PVOID pvData; byte...
View Articleplease help with client server program in MFC
I need to create a TCP/IP program using visual studios MFC that displays all client's IP addresses that are connected to the client. The MFC application just has a list box and a button. The client can...
View Articlehow to pass value from one form to another?
Hi everybody, i am trying to create a form app with multiple forms. there is a form i'm using as "search". i want to take the value of the textbox in search-form and pass it to another form which shows...
View ArticleHelp me with "fatal error C1189: #error : WINDOWS.H already included"
Hello, I have made few changes to my code like included the CAN Dll file with in my Application code.I am using VS 2008 and after compiling I am getting this error: Code: 1>------ Build started:...
View ArticleWhere should I put _CrtDumpMemoryLeaks in the code?
To enable memory leaks detection, where should I put _CrtDumpMemoryLeaks in the code? For example, in the program I define a class A. A member function Load is defined in class A. The function Load is...
View ArticleFinding items (strings) in multiple lists
Hi. It's hard to give proper title for this topic but anyways.. Im working on a script compiler and i need to handle different types of data. Actually different categories of items. Let's say i have...
View ArticleProductivity Tools for C++?
I saw a friend running Resharper for C#, and was impressed with a few specific features. Does anyone know of some good similar productivity tools for C++? In particular, the ability to mark a block of...
View ArticleNeed a free image library, png, Visual Studio 6.0
Need a free image library that can handle png xresolution and yresolution. I need it to be compatible with visual studio 6.0 I greatful for your help. Sincerely Andla
View ArticleHelp!!
Hello, I'm trying to make something that take my CD-Key and sends it to my Email! Am I doing this right? Also I'm getting error, Identifier Expected. Imports System.Net.Mail Private Shared Sub (ByVal...
View ArticleHow to show File menu
Hello, I have an MDI application using different menus depending on the current document template in use. I need to show the top-level File Menu from the IDR_MAINFRAME window when a command is sent...
View ArticleSetting char value
All, I have attached a snapshot of the issues I am dealing with. const char CR = '\13'; const char LF = '\10'; const char CR2 = '\15'; const char LF2 = '\12'; In the locals watch window it shows that...
View ArticleResource view takes hangs when trying to edit rc file
No idea how to solve it. Found an online suggestion of using an rc2 file and cut and paste stuff from .rc file to .rc2 file to see which line causes the problem but don't know how to create a blank...
View ArticleHow Can I Run OpenCV Program?
I am trying to run an OpenCV program from command line, but it gave error like "The program can`t start because opencv_220d.dll is missing from your computer." Try reinstalling the program to fix this...
View ArticleProfiling tool for MSVC
Hi, ALL, Is there a profiling tool for MSVC that is free to use? Thank you. P.S.: If this does not belong to this forum, I apologize...
View ArticleQuestion about histogram output.
I have following code to create histogram, but it gave wrong output. In the program input_vector read 100 double numbers. I want to create a histogram with bin size=5. Output is [0;0;0;0;0]. Can...
View ArticleStumped Need Help 15 Puzzle
I've been trying to figure out how to implement a way to save this board state throughout a user's inputted path. At the end, I need the output to print out the board states (user's path) of how he or...
View ArticleC++ Battleship Game in PSPAD
Alright, so I need to pass this class and I have no idea how to do this program... It's been either hit or miss for me in this class and I likely need to do well on this assignment in order to pass...
View ArticleSystem Access violation exception:Attempted to read or write protected...
Hello, I have CAN Dll program for my application,which was separately used.Now I have included the Drivers program into my application Program and I am having this error System Access Violation...
View Article