Click here to Skip to main content
14,737,854 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:29
Memberastupidboy31-May-12 23:29 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan31-May-12 23:35
mveRichard MacCutchan31-May-12 23:35 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:56
Memberastupidboy31-May-12 23:56 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan1-Jun-12 0:08
mveRichard MacCutchan1-Jun-12 0:08 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy1-Jun-12 0:24
Memberastupidboy1-Jun-12 0:24 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
barneyman3-Jun-12 18:58
Memberbarneyman3-Jun-12 18:58 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:35
Memberastupidboy31-May-12 23:35 
QuestionSave a _RecordsetPtr into map Pin
MrKBA30-May-12 7:39
MemberMrKBA30-May-12 7:39 
Hello, I have a recordset which contains a lot of data , I need to save it into map or any kind of dictionnary (which have a key and other data)
I have for example :

pRecordset->MoveFirst();
while (!pRecordset->EndOfFile)
{
vIdTrans =pRecordset->Fields->Item["id_translation"]->Value;
vCaption =pRecordset->Fields->Item["id_caption"]->Value;
vLang =pRecordset->Fields->Item["id_language"]->Value;
vTranslation =pRecordset->Fields->Item["translation_text"]->Value;

strIdTrans = CUtils::GetVariantAsCString(vIdTrans);
strCaption = CUtils::GetVariantAsCString(vCaption);
strLang    = CUtils::GetVariantAsCString(vLang);
strTranslation = CUtils::GetVariantAsCString(vTranslation);

// What I have here is :
- id_translation : key of table
- id_caption and id_language are REFERENCES from other tables.
- translation_text : data

So , what I need after is getting data by (id_caption and id_language) and it will be more better if (id_caption, id_language and id_translation)

how do that ?
}

AnswerRe: Save a _RecordsetPtr into map Pin
barneyman3-Jun-12 19:04
Memberbarneyman3-Jun-12 19:04 
QuestionCOM_INTERFACE_ENTRY correct use ? Pin
MrKBA25-May-12 0:58
MemberMrKBA25-May-12 0:58 
QuestionIE 10 Protected Mode issues with Winodws 8 x64 CP. Pin
birajendu22-May-12 0:47
Memberbirajendu22-May-12 0:47 
QuestionHow to do inheritance in ATL Pin
Rahul.RK21-May-12 1:19
MemberRahul.RK21-May-12 1:19 
SuggestionRe: How to do inheritance in ATL Pin
Pablo Aliskevicius21-May-12 3:41
MemberPablo Aliskevicius21-May-12 3:41 
QuestionSTL List Pin
dotman115-May-12 6:05
Memberdotman115-May-12 6:05 
AnswerRe: STL List Pin
«_Superman_»20-May-12 17:37
professional«_Superman_»20-May-12 17:37 
QuestionRe: STL List Pin
Aescleal21-May-12 5:55
MemberAescleal21-May-12 5:55 
AnswerRe: STL List Pin
Vitaly Tomilov10-Jun-12 10:53
MemberVitaly Tomilov10-Jun-12 10:53 
Questiongenerate the .H file from COM Pin
MrKBA14-May-12 2:38
MemberMrKBA14-May-12 2:38 
AnswerRe: generate the .H file from COM Pin
Pablo Aliskevicius14-May-12 2:55
MemberPablo Aliskevicius14-May-12 2:55 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 2:58
MemberMrKBA14-May-12 2:58 
GeneralRe: generate the .H file from COM Pin
Pablo Aliskevicius14-May-12 2:59
MemberPablo Aliskevicius14-May-12 2:59 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 3:02
MemberMrKBA14-May-12 3:02 
AnswerRe: generate the .H file from COM Pin
Pete O'Hanlon14-May-12 3:08
mvePete O'Hanlon14-May-12 3:08 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 3:51
MemberMrKBA14-May-12 3:51 
GeneralRe: generate the .H file from COM Pin
Pete O'Hanlon14-May-12 3:55
mvePete O'Hanlon14-May-12 3:55 

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.