Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CHtmlView Pin
Erik Thompson5-Sep-01 10:56
sitebuilderErik Thompson5-Sep-01 10:56 
GeneralCListCtrl like the Outlook Interface Pin
4-Sep-01 2:35
suss4-Sep-01 2:35 
GeneralRe: CListCtrl like the Outlook Interface Pin
Michael P Butler4-Sep-01 2:51
Michael P Butler4-Sep-01 2:51 
QuestionIS ANYONE USING IMAGELIB? Pin
4-Sep-01 2:34
suss4-Sep-01 2:34 
AnswerRe: IS ANYONE USING IMAGELIB? Pin
Christian Graus4-Sep-01 2:57
protectorChristian Graus4-Sep-01 2:57 
GeneralFrom VARIANT to COleSafeArray, Pls Help! Pin
4-Sep-01 2:23
suss4-Sep-01 2:23 
GeneralRe: From VARIANT to COleSafeArray, Pls Help! Pin
Carlos Antollini4-Sep-01 3:03
Carlos Antollini4-Sep-01 3:03 
GeneralRe: From VARIANT to COleSafeArray, Pls Help! Pin
4-Sep-01 17:31
suss4-Sep-01 17:31 
Dear Carlos,

Replaced the below line
sa=var; // <=Here
with sa = COleSafeArray(var);

the same assert error occur again. Look at the below codes for ref.

COleSafeArray::COleSafeArray(const VARIANT& varSrc)
{
AfxSafeArrayInit(this);
*this = varSrc; // assert error here!!! (it invoke below codes)
m_dwDims = GetDim();
m_dwElementSize = GetElemSize();
}

COleSafeArray& COleSafeArray::operator=(const VARIANT& varSrc)
{
ASSERT(varSrc.vt & VT_ARRAY); // The real assert err occur here!!

AfxCheckError(::VariantCopy(this, (LPVARIANT)&varSrc));
return *this;
}

Any suggestion? Anyway, thanks for your quick response!

Wayne
05 Sep 2001
GeneralRe: From VARIANT to COleSafeArray, Pls Help! Pin
4-Sep-01 17:36
suss4-Sep-01 17:36 
GeneralHelp with CEdit please !!!! Pin
4-Sep-01 1:13
suss4-Sep-01 1:13 
GeneralRe: Help with CEdit please !!!! Pin
Tomasz Sowinski4-Sep-01 1:24
Tomasz Sowinski4-Sep-01 1:24 
GeneralRe: Help with CEdit please !!!! Pin
4-Sep-01 1:26
suss4-Sep-01 1:26 
GeneralRe: Help with CEdit please !!!! Pin
Parish7-Oct-01 11:10
Parish7-Oct-01 11:10 
GeneralOwner Drawn Buttons Pin
Derek Lakin4-Sep-01 0:31
Derek Lakin4-Sep-01 0:31 
GeneralRe: Owner Drawn Buttons Pin
Christian Graus4-Sep-01 0:36
protectorChristian Graus4-Sep-01 0:36 
GeneralRe: Owner Drawn Buttons Pin
George4-Sep-01 0:50
George4-Sep-01 0:50 
GeneralRe: Owner Drawn Buttons Pin
Christian Graus4-Sep-01 1:11
protectorChristian Graus4-Sep-01 1:11 
GeneralRe: Owner Drawn Buttons Pin
Derek Lakin4-Sep-01 2:38
Derek Lakin4-Sep-01 2:38 
GeneralInsert MSChart controle in VC++ activex project Pin
3-Sep-01 23:09
suss3-Sep-01 23:09 
QuestionHow do i get the HWND for PostMessage Pin
Yves3-Sep-01 22:48
Yves3-Sep-01 22:48 
AnswerRe: How do i get the HWND for PostMessage Pin
Steen Krogsgaard4-Sep-01 1:31
Steen Krogsgaard4-Sep-01 1:31 
GeneralRe: How do i get the HWND for PostMessage Pin
Steen Krogsgaard4-Sep-01 2:03
Steen Krogsgaard4-Sep-01 2:03 
QuestionHow do I disable system menu buttons Pin
3-Sep-01 21:40
suss3-Sep-01 21:40 
AnswerRe: How do I disable system menu buttons Pin
JerzyPeter4-Sep-01 3:13
JerzyPeter4-Sep-01 3:13 
GeneralRe: How do I disable system menu buttons Pin
4-Sep-01 11:19
suss4-Sep-01 11:19 

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.