Its just a conflict between some of the complier flags you have. Nothing serious. I'm not too sure what the /DRIVER settings does, but the /EDITANDCONTINUE allows you to modify code while you're debugging. I used to know where these settins were in the project options, but I cant seem to find them anymore. Sorry:^)
toothless boots
Posts
-
How to fix this warning ? -
Using a CSocket across thread boundariesThanks a lot! That's exactly what I needed to know!
-
Using a CSocket across thread boundariesI have a CSocket object that I need to share between two threads in two different objects (one thread in each object). I am using a Console App that supports MFC using VC++ 6.0. I create the CSocket object in the 'main' function of the console app and then pass a pointer to the CSocket into the 2 objects. I then fire up the threads in the two objects. When I try to perform a 'Receive' call on the CSocket in the thread, I get an assertion error. The line that crashes is 'ASSERT(pState->m_hSocketWindow != NULL)' found in 'CSocket::PumpMessages()'. I checked the pointer value of the CSocket and it matches the CSocket object that was created in the 'main'. I know there are certain MFC objects that cannot be shared across thread boundaries - is the CSocket one of them? Thanks!
-
Command Line arguments in MFCI was just wondering how I could get access to the command line arguments in MFC? I know in C it would have been the argv[] parameter in the main, but I don't know how to get that in MFC. Thanks, David
-
Change the font in a CEditViewWorks perfect! Thanks a lot! :) David
-
Change the font in a CEditViewI'd like to change the font for my CEditView in my MFC Doc/view application. I am using VC++ 6. Anybody know how? :doh: Thanks, David.
-
VC++ 6.0 and VC++ .net on the same computer?Are 6 and .net on different hard drive partitions? Just dont want to mess things up. Thanks a lot for the replies!! :cool: David
-
VC++ 6.0 and VC++ .net on the same computer?:doh: Someone told me that you cant have VC++ 6.0 and VC++ .net on the same computer because they will mess each other up. Is this true? If so, is there anyway around it? Thanks a lot David
-
Need Simple Code to Display a JPG on a Dialog Window:doh: Hi. I cant seem to find anything simple that will allow me to display a JGP (or Bitmap) on a dialog window. All I want to do is display 1 image on a dialog, thats it. If anybody has some code they would like to share to do this, that would be great!! I'm using MS VC++ (MFC exe). Thanks alot!! Boots
-
Displaying a JPG in MFCI would like to know how to display a JPG or high res BMP image on a MFC Dialog window.
-
Need a Microsecond Delay FncSorry. I'm using MFC - Visual C++ on Windows XP
-
char ** problem (ANSI C)Try (*palres) = (char*) malloc ((sizeof(char))*i); parles[j] will also work as you have found out. The problem is in the order of precedence. The brackets will solve this problem. Dave
-
Need a Microsecond Delay FncI'm working on a project that requires a delay time in microseconds. Anybody have any ideas?