First  |  Prev |  Next  |  Last
Pages: 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
stl data structure in mfc
Hi all, I have mfc application. I cannot user stl container class. It gave thousands of warnings. what is similar class for std::stl in MFC? Can I use cmapwordtoptr for this? Requirement: I just want to store integers, and fast retrieving. It should have stl functionality. Please suggest good... 29 May 2008 02:02
GDI+ Image::Save() function returns InvalidParameter
HI, I'm developing a module to save images extracted from DICOM files as JPEG images. I have successfully extracted the data from DICOM and now want to save this data as JPEG file. For this I've written the following piece of code. Here, to my utter despair, the Save() function fails with InvalidParameter. In fac... 2 Jun 2008 08:43
CreateProcess() problem
I am using the CreateProcess() function to create a child process that writes its stdout to a file. I am opening the output file in the parent process, then passing it to the child via the lpStartupInfo parameter of CreateProcess(), and by specifying TRUE for the bInheritHandles parameter. This works fine, exc... 29 May 2008 04:23
Attaching a control to a CDialog
Hi, I have an unique situation. My project requires a lot of list based displays. so i derived a class called jcListCtrl from CListCtrl and added several functionalities that i like to have, and used jcListCtrl as a base and derive more than 10 lists. I attach these lists to CMDIChildWnd objects and it was very ... 30 May 2008 15:02
Registering a new Control
Hi everyone, I've read that to register a new control one needs the following files:NameOfTheControl.hlp and NameOfTheControl.ocx.Let's suppose I've got the two files already.In which directory should these files be located? and what about the REGSVR32 utility? how can I use it in order to register the new contr... 28 May 2008 11:53
Visual C++ 2005 Redistributable Package
Hi, I use Visual C++ 2005 to develop Win32 application. The output exe file requires the C/C++ Runtime Library DLLs. Starting with Visual C++ 2005, C++ applications require redistribution of Visual C++ 2005 Redistributable Package i.e. it's not possible to run your program without installing Visual C++ 2005 R... 1 Jun 2008 06:29
Simulating out-of-memory
Greetings! For all that want to see how their code behaves when it runs out of memory, here's a small piece of code: // available memory, 16MiB in this case SIZE_T const reserve_size = 16*1024*1024; // reserve available memory LPVOID reserve = VirtualAlloc( 0, reserve_size, MEM_RESERVE, PAGE_READWRITE); ... 28 May 2008 10:18
Variant
Hi, I am currently learning C++ and I am trying to make a function that would take a parameter and tell what is its size in bytes. I did the following which works fine with int variables or any other type provided you adapt it: -----------------------------------------------------------------------------------... 29 May 2008 06:28
backward compatibility
i developed my 3d engine (complete game) on xp home. for depolyment: is it sufficient to check backward compatability trhough: 1 compatability wizard in winxp 2 .exe ->properties->compatability settings ? ... 30 May 2008 11:07
Unable to debug a DLL
Hi, I have a DLL which exports some methods, and which are called by a C# application. The problem is that I am unable to debug this DLL. I know how to debug a dll and I have done it earlier but for this one I can't figure out whats wrong. The IDE/debugger shows that no symbols have been loaded for the docum... 1 Jun 2008 18:25
First  |  Prev |  Next  |  Last
Pages: 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74