Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralActiveX C++ Button ctrl Pin
Andy H24-Sep-04 5:49
Andy H24-Sep-04 5:49 
GeneralRAS fucntions problem Pin
Muhammad Asif Khan24-Sep-04 4:57
Muhammad Asif Khan24-Sep-04 4:57 
GeneralRe: RAS fucntions problem Pin
vcplusplus24-Sep-04 9:01
vcplusplus24-Sep-04 9:01 
GeneralRe: RAS fucntions problem Pin
Alexander M.,24-Sep-04 12:26
Alexander M.,24-Sep-04 12:26 
GeneralRe: RAS fucntions problem Pin
Muhammad Asif Khan26-Sep-04 21:54
Muhammad Asif Khan26-Sep-04 21:54 
GeneralRe: RAS fucntions problem Pin
Ken Andrews27-Sep-04 7:15
Ken Andrews27-Sep-04 7:15 
Questionwould someone tell me if this is OK? Pin
BlackDice24-Sep-04 3:33
BlackDice24-Sep-04 3:33 
AnswerRe: would someone tell me if this is OK? Pin
Antony M Kancidrowski24-Sep-04 3:58
Antony M Kancidrowski24-Sep-04 3:58 
I would tend to ensure that the pBuf pointer is never moved from the start of the array and always delete it.

BYTE* pBuf = NULL;
pBuf = new BYTE[nLength];

BYTE* pTemp = pBuf;
// Do something using pTemp rather than pBuf

delete [] pBuf;
pBuf = NULL;


Hope I have not misunderstood your intensions.

Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Williams (Little Britain)

GeneralRe: would someone tell me if this is OK? Pin
BlackDice24-Sep-04 4:12
BlackDice24-Sep-04 4:12 
GeneralRe: would someone tell me if this is OK? Pin
Antony M Kancidrowski24-Sep-04 4:37
Antony M Kancidrowski24-Sep-04 4:37 
GeneralRe: would someone tell me if this is OK? Pin
David Crow24-Sep-04 4:42
David Crow24-Sep-04 4:42 
GeneralRe: would someone tell me if this is OK? Pin
BlackDice24-Sep-04 4:57
BlackDice24-Sep-04 4:57 
GeneralRe: would someone tell me if this is OK? Pin
David Crow24-Sep-04 5:02
David Crow24-Sep-04 5:02 
GeneralRESOLVED Pin
BlackDice24-Sep-04 5:10
BlackDice24-Sep-04 5:10 
AnswerRe: would someone tell me if this is OK? Pin
David Crow24-Sep-04 4:34
David Crow24-Sep-04 4:34 
GeneralRe: would someone tell me if this is OK? Pin
BlackDice24-Sep-04 4:43
BlackDice24-Sep-04 4:43 
Questionhow to merge cell in word by VC Pin
yingkou24-Sep-04 2:41
yingkou24-Sep-04 2:41 
GeneralDetect default language 'en' or 'de' Pin
Moak24-Sep-04 2:29
Moak24-Sep-04 2:29 
GeneralRe: Detect default language 'en' or 'de' Pin
Antony M Kancidrowski24-Sep-04 3:25
Antony M Kancidrowski24-Sep-04 3:25 
GeneralRe: Detect default language 'en' or 'de' Pin
Moak24-Sep-04 3:43
Moak24-Sep-04 3:43 
GeneralGet / Set Windows Title Bar Font, Text Colour and Size Pin
Tristan Rhodes24-Sep-04 2:26
Tristan Rhodes24-Sep-04 2:26 
GeneralRe: Get / Set Windows Title Bar Font, Text Colour and Size Pin
Ravi Bhavnani24-Sep-04 3:17
professionalRavi Bhavnani24-Sep-04 3:17 
GeneralRe: Get / Set Windows Title Bar Font, Text Colour and Size Pin
Tristan Rhodes24-Sep-04 4:25
Tristan Rhodes24-Sep-04 4:25 
GeneralRe: Get / Set Windows Title Bar Font, Text Colour and Size Pin
David Crow24-Sep-04 4:39
David Crow24-Sep-04 4:39 
GeneralRe: Get / Set Windows Title Bar Font, Text Colour and Size Pin
Tristan Rhodes24-Sep-04 12:52
Tristan Rhodes24-Sep-04 12:52 

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.