Click here to Skip to main content
16,017,857 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hooking Pin
celllllllll16-Aug-05 7:15
celllllllll16-Aug-05 7:15 
GeneralRe: Hooking Pin
celllllllll15-Aug-05 11:32
celllllllll15-Aug-05 11:32 
GeneralUninitialized pointer Pin
valerie9915-Aug-05 5:58
valerie9915-Aug-05 5:58 
GeneralRe: Uninitialized pointer Pin
David Crow15-Aug-05 6:27
David Crow15-Aug-05 6:27 
GeneralRe: Uninitialized pointer Pin
valerie9915-Aug-05 6:40
valerie9915-Aug-05 6:40 
GeneralRe: Uninitialized pointer Pin
Maximilien15-Aug-05 7:12
Maximilien15-Aug-05 7:12 
GeneralRe: Uninitialized pointer Pin
Rage15-Aug-05 7:03
professionalRage15-Aug-05 7:03 
GeneralRe: Uninitialized pointer Pin
Maximilien15-Aug-05 7:06
Maximilien15-Aug-05 7:06 
remove the const, and do it in multiple instructions ( just for test ).

CB_DBF_NTX* p = NULL;
p = OpenDbfNtxHelper( szDbfName, szIndexName, szIndexKey );
ASSERT( p );


If p after the call to OpenDbfNtxHelper is still 0xffffffff check that the input to the function are valid.

Also, ALWAYS check that the pointers are valid, (before and) after an allocation with ASSERT.

usually, new will not fail.

are you certain you are running in DEBUG mode ?


Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: Uninitialized pointer Pin
Jose Lamas Rios15-Aug-05 9:49
Jose Lamas Rios15-Aug-05 9:49 
GeneralRe: Uninitialized pointer Pin
valerie9915-Aug-05 11:09
valerie9915-Aug-05 11:09 
GeneralAfxIsValidString does not seem to work. Pin
mcgahanfl15-Aug-05 5:56
mcgahanfl15-Aug-05 5:56 
GeneralRe: AfxIsValidString does not seem to work. Pin
David Crow15-Aug-05 6:30
David Crow15-Aug-05 6:30 
GeneralRe: AfxIsValidString does not seem to work. Pin
Rage15-Aug-05 7:12
professionalRage15-Aug-05 7:12 
GeneralRe: AfxIsValidString does not seem to work. Pin
David Crow15-Aug-05 7:32
David Crow15-Aug-05 7:32 
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl15-Aug-05 7:51
mcgahanfl15-Aug-05 7:51 
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl15-Aug-05 7:53
mcgahanfl15-Aug-05 7:53 
GeneralRe: AfxIsValidString does not seem to work. Pin
Blake Miller15-Aug-05 10:14
Blake Miller15-Aug-05 10:14 
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl15-Aug-05 10:24
mcgahanfl15-Aug-05 10:24 
GeneralRe: AfxIsValidString does not seem to work. Pin
Tim Smith15-Aug-05 13:40
Tim Smith15-Aug-05 13:40 
GeneralRe: AfxIsValidString does not seem to work. Pin
mcgahanfl16-Aug-05 3:02
mcgahanfl16-Aug-05 3:02 
GeneralMake control part of Window Pin
tommazzo15-Aug-05 5:19
tommazzo15-Aug-05 5:19 
GeneralRe: Make control part of Window Pin
Prakash Nadar15-Aug-05 6:54
Prakash Nadar15-Aug-05 6:54 
GeneralRe: Make control part of Window Pin
tommazzo15-Aug-05 7:40
tommazzo15-Aug-05 7:40 
GeneralMultithreading Pin
Ali Tavakol15-Aug-05 5:04
Ali Tavakol15-Aug-05 5:04 
GeneralRe: Multithreading Pin
Bob Stanneveld15-Aug-05 5:57
Bob Stanneveld15-Aug-05 5:57 

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.