About ActiveX controls property persistent problem. . .

Category: VC/MFC -> ATL/ActiveX/COM Author: sdxiaozhao007 Date: 2001-07-08 12:57:58
 
sdxiaozhao007
2001-07-08 12:57:58
I think the content of a picture of persistence in the property control. I will convert CString class this picture stored in this- > m_Image variable, in DoPropExchange persistence to do . PX_String (pPX, " Image ",   this- > m_Image); but again found the time to open the control this- > m_Image simply not original content, which is why?
bailiu
2001-07-08 13:17:40
Pictures into CString class ? You say that the picture data ? If this is the picture data , then it does not work, can not use CString, but if it is the path the picture , then it should be able to save
a578028868
2001-07-08 13:23:47
image data type BYTE
should not use CString
ccx_ccx1234
2001-07-08 13:37:06
that picture data is a stirng obtained from the server after the write CString class . Then I put the contents written to a new file. Open can see pictures ah.
aitiwen
2001-07-08 13:44:58

the picture data is a stirng obtained from the server after the write CString class . Then I put the contents written to a new file. Open can see pictures ah.
ssdfen
2001-07-08 13:51:22
I did not open
I mean is best to use BYTE byte stream
Do not use string manipulation methods using
yugu326
2001-07-08 14:03:52
you just use GDI + the   Image objects can not it ? No use char   Buf [] can ah. . Why did .