Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLost Helpfiles Pin
Bram van Kampen3-Feb-08 13:22
Bram van Kampen3-Feb-08 13:22 
Generalmake an Mdiform transparent Pin
diddy343-Feb-08 11:57
diddy343-Feb-08 11:57 
GeneralTransparent MDIform Pin
diddy343-Feb-08 11:49
diddy343-Feb-08 11:49 
GeneralRe: Transparent MDIform Pin
Mark Salsbery3-Feb-08 12:10
Mark Salsbery3-Feb-08 12:10 
General2 Rows in CListCtrl Header Pin
AnTri3-Feb-08 9:01
AnTri3-Feb-08 9:01 
Generalbinary to GdiPlus::Image Pin
followait3-Feb-08 7:02
followait3-Feb-08 7:02 
GeneralRe: binary to GdiPlus::Image Pin
Mark Salsbery3-Feb-08 7:41
Mark Salsbery3-Feb-08 7:41 
GeneralRe: binary to GdiPlus::Image [modified] Pin
followait3-Feb-08 21:16
followait3-Feb-08 21:16 
It must be better,
but there is a problem when call GlobalUnlock
IStream *pStm=NULL;
::CreateStreamOnHGlobal(NULL,TRUE,&pStm);
ULARGE_INTEGER ui;
ui.LowPart=lDataSize+1;
ui.HighPart=0;
HRESULT hr=pStm->SetSize(ui);
HGLOBAL hGlobal=NULL;
::GetHGlobalFromStream(pStm,&hGlobal);
BYTE *pBuf=(BYTE*)::GlobalLock(hGlobal);
::SafeArrayAccessData(varBLOB.parray,(void**)&pBuf);
::SafeArrayUnaccessData (varBLOB.parray);
BOOL b=::GlobalUnlock(hGlobal);//b==FALSE (even without <code>SafeArrayAccessData</code> and <code>SafeArrayUnaccessData </code>)
DWORD dw=::GetLastError();//dw==0:confused:


modified on Monday, February 04, 2008 3:35:03 AM

GeneralI can't modify the former msg, the 'edit' button is out of the view Pin
followait3-Feb-08 23:03
followait3-Feb-08 23:03 
GeneralRe: binary to GdiPlus::Image Pin
Mark Salsbery4-Feb-08 5:33
Mark Salsbery4-Feb-08 5:33 
GeneralRe: binary to GdiPlus::Image Pin
bob169723-Feb-08 9:05
bob169723-Feb-08 9:05 
GeneralRe: binary to GdiPlus::Image Pin
bob169723-Feb-08 9:13
bob169723-Feb-08 9:13 
GeneralDLL Function call Pin
ginjikun3-Feb-08 1:09
ginjikun3-Feb-08 1:09 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 1:30
Gary R. Wheeler3-Feb-08 1:30 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 1:38
ginjikun3-Feb-08 1:38 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 1:46
Gary R. Wheeler3-Feb-08 1:46 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 2:03
ginjikun3-Feb-08 2:03 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 2:17
Gary R. Wheeler3-Feb-08 2:17 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 2:33
ginjikun3-Feb-08 2:33 
GeneralRe: DLL Function call Pin
Gary R. Wheeler3-Feb-08 2:41
Gary R. Wheeler3-Feb-08 2:41 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 3:13
ginjikun3-Feb-08 3:13 
GeneralRe: DLL Function call Pin
Gary R. Wheeler4-Feb-08 23:55
Gary R. Wheeler4-Feb-08 23:55 
GeneralRe: DLL Function call Pin
CPallini3-Feb-08 2:12
mveCPallini3-Feb-08 2:12 
GeneralRe: DLL Function call Pin
ginjikun3-Feb-08 2:36
ginjikun3-Feb-08 2:36 
GeneralRe: DLL Function call Pin
CPallini3-Feb-08 2:44
mveCPallini3-Feb-08 2:44 

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.