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

C / C++ / MFC

 
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 
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 
Okay I put the code back how it was (good thing I'm using SourceSafe). When stepping through the code, this is what happened. After stepping through the line where the pointer is allocated (see line 1) the value in the watch window is
0x01970190 "ÍÍÍÍÍÍÍÍÍÍÍ" unsigned char *
after stepping through line 2 the value is:
0x0018f760 "ÐÏࡱá" unsigned char *

here are the lines:

Line 1: pBuf = new BYTE[nLength];
Line 2: SafeArrayAccessData(varBLOB.parray,(void **)&pBuf);


Also, I see the type is listed as 'unsigned char*' in both, and pBuf is declared like this:

BYTE* pBuf;

[insert witty comment here]

bdiamond Sleepy | :zzz:
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 
GeneralRe: Get / Set Windows Title Bar Font, Text Colour and Size Pin
Gary R. Wheeler24-Sep-04 16:20
Gary R. Wheeler24-Sep-04 16:20 
GeneralManifest and Clistctrl Pin
Gemini_II24-Sep-04 2:24
Gemini_II24-Sep-04 2:24 
Generalirregular dialog box using MFC Pin
dipeka24-Sep-04 2:19
dipeka24-Sep-04 2:19 
GeneralRe: irregular dialog box using MFC Pin
Arsalan Malik24-Sep-04 2:27
Arsalan Malik24-Sep-04 2:27 

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.