Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: (Potential) Memory Mapped File question Pin
ktm TechMan7-Jun-09 20:30
ktm TechMan7-Jun-09 20:30 
QuestionEdit the windows BCD using linux Pin
SalilJain7-Jun-09 9:23
SalilJain7-Jun-09 9:23 
QuestionRe: Edit the windows BCD using linux Pin
David Crow7-Jun-09 16:35
David Crow7-Jun-09 16:35 
QuestionRe: Edit the windows BCD using linux Pin
SalilJain7-Jun-09 16:41
SalilJain7-Jun-09 16:41 
AnswerRe: Edit the windows BCD using linux Pin
David Crow7-Jun-09 17:13
David Crow7-Jun-09 17:13 
GeneralRe: Edit the windows BCD using linux Pin
SalilJain7-Jun-09 22:44
SalilJain7-Jun-09 22:44 
GeneralRe: Edit the windows BCD using linux Pin
David Crow8-Jun-09 3:08
David Crow8-Jun-09 3:08 
QuestionLinux C++ Development difficult startup Pin
gotchagotcha7-Jun-09 0:19
gotchagotcha7-Jun-09 0:19 
AnswerRe: Linux C++ Development difficult startup Pin
Stuart Dootson7-Jun-09 1:17
professionalStuart Dootson7-Jun-09 1:17 
Questionerror C2065: HrFindExchangeGlobalAddressList : undeclared identifier Pin
Pardhu_M6-Jun-09 23:52
Pardhu_M6-Jun-09 23:52 
AnswerRe: error C2065: HrFindExchangeGlobalAddressList : undeclared identifier Pin
Stuart Dootson7-Jun-09 1:01
professionalStuart Dootson7-Jun-09 1:01 
QuestionHow can I get to what I want? Pin
maha39866-Jun-09 21:30
maha39866-Jun-09 21:30 
AnswerRe: How can I get to what I want? Pin
molesworth6-Jun-09 23:35
molesworth6-Jun-09 23:35 
QuestionDetect screen resolution change Pin
manchukuo6-Jun-09 20:11
manchukuo6-Jun-09 20:11 
AnswerRe: Detect screen resolution change Pin
enhzflep6-Jun-09 23:16
enhzflep6-Jun-09 23:16 
GeneralRe: Detect screen resolution change Pin
Randor 6-Jun-09 23:29
professional Randor 6-Jun-09 23:29 
AnswerRe: Detect screen resolution change Pin
Randor 6-Jun-09 23:26
professional Randor 6-Jun-09 23:26 
AnswerRe: Detect screen resolution change Pin
molesworth6-Jun-09 23:36
molesworth6-Jun-09 23:36 
QuestionMP4 conversion in directshow Pin
john3466-Jun-09 9:43
john3466-Jun-09 9:43 
AnswerRe: MP4 conversion in directshow Pin
«_Superman_»6-Jun-09 19:29
professional«_Superman_»6-Jun-09 19:29 
QuestionBSTR with embedded NULL char ???? Pin
komofilms776-Jun-09 7:07
komofilms776-Jun-09 7:07 
AnswerRe: BSTR with embedded NULL char ???? Pin
Stuart Dootson6-Jun-09 9:09
professionalStuart Dootson6-Jun-09 9:09 
AnswerRe: BSTR with embedded NULL char ???? Pin
Wang Xinhong6-Jun-09 10:13
Wang Xinhong6-Jun-09 10:13 
BSTR is finished with a NULL char although it has a fixed length.With an embeded NULL char may cause program-exception.But if you insist to do that,check these code:

{
BSTR bstrTest = SysAllocString(L"C+++");
BYTE *pByte;

pByte = *(BYTE **)(&bstrTest);
*(pByte+2) = 0x00;

//bstrTest is your BSTR {0x43,0x00,0x2B,0x2B}

//print the fixed length
printf("the length is %i\n", SysStringLen(bstrTest));
//print the raw BSTR data
printf("the 1st unicode raw data is %x %x\n", (BYTE)(*pByte++), (BYTE)(*pByte));
pByte++;
printf("the 2nd unicode raw data is %x %x\n", (BYTE)(*pByte++), (BYTE)(*pByte));
pByte++;
printf("the 3rd unicode raw data is %x %x\n", (BYTE)(*pByte++), (BYTE)(*pByte));
pByte++;
printf("the 4th unicode raw data is %x %x\n", (BYTE)(*pByte++), (BYTE)(*pByte));
pByte++;
printf("the end raw data is %x %x\n", (BYTE)(*pByte++), (BYTE)(*pByte));
}
QuestionVc 2008 application deployment Pin
Bilge Kaan6-Jun-09 5:35
Bilge Kaan6-Jun-09 5:35 
AnswerRe: Vc 2008 application deployment Pin
Randor 6-Jun-09 5:41
professional Randor 6-Jun-09 5:41 

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.