Results 1 to 9 of 9
Thread: Rich Text Visual C++ 6.0
Hybrid View
-
25th April 2009 17:23 #1
Rich Text Visual C++ 6.0
m_richtextbox.LoadFile(filename,???);
??? RTF ? MSDN, Google . , const VARIANT, , . , ?
-
25th April 2009 19:03 #2
RichTextBox .NET , Visual C++ 6.0 ( ) . LoadFile() RichTextBoxStreamType RTF RichTextBoxStreamType.RichText.
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
25th April 2009 19:48 #3
Microsoft Rich Textbox Control 6.0 (SP6) - . richtx32.ocx . , - (struct tagVARIANT).
-
25th April 2009 20:12 #4Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others

-
25th April 2009 20:23 #5
m_richtextbox.LoadFile("c:\test.rtf",0);
:
error C2664: 'LoadFile' : cannot convert parameter 2 from 'const int' to 'const struct tagVARIANT &'
Reason: cannot convert from 'const int' to 'const struct tagVARIANT'
No constructor could take the source type, or constructor overload resolution was ambiguous

MFC->Dialog Based, .
-
25th April 2009 20:41 #6
, VARIANT IRichText. 0- , CComVariant ATL COleVariant MFC. struct tagVARIANT , .
vRTF .Code:COleVariant vRTF(0);
LoadFile optional, ( ).Last edited by icaci; 25th April 2009 at 20:43. Reason:
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
25th April 2009 21:16 #7
optional, , .

error C2668: 'COleVariant::COleVariant' : ambiguous call to overloaded function - . , , . MSDN , , . , 0 int ( )?
-
25th April 2009 21:35 #8
: COleVariant((long)0); COleVariant(0L); ( ) COleVariant(0L, VT_I4);
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
25th April 2009 22:01 #9




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in