Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Maximilien26-Jun-03 3:18
Maximilien26-Jun-03 3:18 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 3:27
keegan26-Jun-03 3:27 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Maximilien26-Jun-03 3:35
Maximilien26-Jun-03 3:35 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
keegan26-Jun-03 3:48
keegan26-Jun-03 3:48 
GeneralRe: using a vector with CComboBox::AddString() in MFC Pin
Shay Harel26-Jun-03 7:57
Shay Harel26-Jun-03 7:57 
GeneralWizard sheet 97 Pin
Member 42425926-Jun-03 2:49
Member 42425926-Jun-03 2:49 
Generalmalloc, free problem ...... Pin
_crs_26-Jun-03 2:44
_crs_26-Jun-03 2:44 
GeneralRe: malloc, free problem ...... Pin
David Crow26-Jun-03 3:09
David Crow26-Jun-03 3:09 
_crs_ wrote:
it's get me an error when I run the program

Such as?

_crs_ wrote:
pDib = malloc(mysize);
iBuffer = (BYTE *)malloc(iHeight * iWidth * 3);

Here, pDib and iBuffer are not being checked against NULL. While malloc() is probably not failing, it would behoove you to step through the code and see at what point either of these variables is being stepped on, since an invalid pointer passed to free() can cause errors.
GeneralRe: malloc, free problem ...... Pin
_crs_26-Jun-03 3:47
_crs_26-Jun-03 3:47 
GeneralRe: malloc, free problem ...... Pin
David Crow26-Jun-03 3:56
David Crow26-Jun-03 3:56 
GeneralSerial Comms Problem Pin
louis26-Jun-03 2:30
louis26-Jun-03 2:30 
GeneralRe: Serial Comms Problem Pin
justin22326-Jun-03 20:13
justin22326-Jun-03 20:13 
Generalcomms config Pin
andyg.10126-Jun-03 2:26
andyg.10126-Jun-03 2:26 
GeneralRe: comms config Pin
David Crow26-Jun-03 3:14
David Crow26-Jun-03 3:14 
GeneralRe: comms config Pin
andyg.10126-Jun-03 3:47
andyg.10126-Jun-03 3:47 
GeneralRe: comms config Pin
David Crow26-Jun-03 3:59
David Crow26-Jun-03 3:59 
GeneralRe: comms config Pin
andyg.10126-Jun-03 4:16
andyg.10126-Jun-03 4:16 
GeneralRe: comms config Pin
David Crow26-Jun-03 4:21
David Crow26-Jun-03 4:21 
GeneralRe: comms config Pin
andyg.10126-Jun-03 4:30
andyg.10126-Jun-03 4:30 
GeneralRe: comms config Pin
David Crow26-Jun-03 4:40
David Crow26-Jun-03 4:40 
GeneralRe: comms config Pin
andyg.10126-Jun-03 4:53
andyg.10126-Jun-03 4:53 
GeneralRe: comms config Pin
David Crow26-Jun-03 4:59
David Crow26-Jun-03 4:59 
GeneralRe: comms config Pin
andyg.10126-Jun-03 6:54
andyg.10126-Jun-03 6:54 
GeneralGet File System Name (FAT, NTFS etc...) Pin
rohit.dhamija26-Jun-03 2:26
rohit.dhamija26-Jun-03 2:26 
GeneralRe: Get File System Name (FAT, NTFS etc...) Pin
keegan26-Jun-03 3:11
keegan26-Jun-03 3:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.