Click here to Skip to main content
15,914,452 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: vector reallocation giving problem (repost) Pin
Taka Muraoka27-Mar-03 13:23
Taka Muraoka27-Mar-03 13:23 
GeneralRe: vector reallocation giving problem (repost) Pin
jhwurmbach30-Mar-03 22:34
jhwurmbach30-Mar-03 22:34 
Questionvector rellocation giving problem? Pin
Anonymous27-Mar-03 11:54
Anonymous27-Mar-03 11:54 
AnswerRe: vector rellocation giving problem? Pin
Anonymous27-Mar-03 11:59
Anonymous27-Mar-03 11:59 
GeneralUisng ATL7 CMimeMessage classes Pin
Amit Dey26-Mar-03 22:32
Amit Dey26-Mar-03 22:32 
GeneralRe: Uisng ATL7 CMimeMessage classes Pin
geo_m26-Mar-03 23:56
geo_m26-Mar-03 23:56 
GeneralRe: Uisng ATL7 CMimeMessage classes Pin
Amit Dey28-Mar-03 18:53
Amit Dey28-Mar-03 18:53 
GeneralRe: Uisng ATL7 CMimeMessage classes Pin
geo_m28-Mar-03 22:04
geo_m28-Mar-03 22:04 
Hi,

the first part is OK and works. Your problem is in the WriteFile phase. You cannot use the WriteFile as you did, because then you will just save the CMimeMessage class as is in memory. And because CMimeMessage nearly stores only pointers to other classes (body, attachements etc.) you'll see nothing usefull.

The correct way how can you save the message is:
msg.WriteData( hFile, &overlapped );
This method makes more processing, stores also the aggregated classes etc and makes a mime message for you.

Hope this helps
GeneralRe: Using ATL7 CMimeMessage classes Pin
Amit Dey29-Mar-03 21:37
Amit Dey29-Mar-03 21:37 
GeneralRe: Using ATL7 CMimeMessage classes Pin
Amit Dey29-Mar-03 21:39
Amit Dey29-Mar-03 21:39 
GeneralRe: Using ATL7 CMimeMessage classes Pin
geo_m29-Mar-03 22:49
geo_m29-Mar-03 22:49 
GeneralRe: Using ATL7 CMimeMessage classes Pin
Amit Dey30-Mar-03 8:47
Amit Dey30-Mar-03 8:47 
Generalcopy multimap to vector Pin
Anonymous26-Mar-03 9:07
Anonymous26-Mar-03 9:07 
GeneralRe: copy multimap to vector Pin
jbarton26-Mar-03 9:48
jbarton26-Mar-03 9:48 
GeneralRe: copy multimap to vector Pin
Tim Smith26-Mar-03 10:00
Tim Smith26-Mar-03 10:00 
GeneralRe: copy multimap to vector Pin
jbarton26-Mar-03 10:04
jbarton26-Mar-03 10:04 
GeneralHosting a modeless dialog as a control (WTL) Pin
yarp26-Mar-03 4:26
yarp26-Mar-03 4:26 
GeneralRe: Hosting a modeless dialog as a control (WTL) Pin
yarp26-Mar-03 4:29
yarp26-Mar-03 4:29 
GeneralRe: Hosting a modeless dialog as a control (WTL) Pin
Michael Dunn26-Mar-03 17:56
sitebuilderMichael Dunn26-Mar-03 17:56 
GeneralRe: Hosting a modeless dialog as a control (WTL) Pin
yarp26-Mar-03 20:20
yarp26-Mar-03 20:20 
GeneralSTL Pin
tsb26-Mar-03 4:26
tsb26-Mar-03 4:26 
GeneralRe: STL Pin
valikac26-Mar-03 11:45
valikac26-Mar-03 11:45 
GeneralRe: STL Pin
geo_m27-Mar-03 0:12
geo_m27-Mar-03 0:12 
GeneralSTL fstream format question Pin
Nitron25-Mar-03 11:31
Nitron25-Mar-03 11:31 
GeneralRe: STL fstream format question Pin
Nemanja Trifunovic25-Mar-03 11:42
Nemanja Trifunovic25-Mar-03 11:42 

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.