Click here to Skip to main content
15,890,282 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 22:29
astupidboy31-May-12 22:29 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan31-May-12 22:35
mveRichard MacCutchan31-May-12 22:35 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 22:56
astupidboy31-May-12 22:56 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan31-May-12 23:08
mveRichard MacCutchan31-May-12 23:08 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:24
astupidboy31-May-12 23:24 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
barneyman3-Jun-12 17:58
barneyman3-Jun-12 17:58 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 22:35
astupidboy31-May-12 22:35 
QuestionSave a _RecordsetPtr into map Pin
MrKBA30-May-12 6:39
MrKBA30-May-12 6: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 :

C#
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 18:04
barneyman3-Jun-12 18:04 
QuestionCOM_INTERFACE_ENTRY correct use ? Pin
MrKBA24-May-12 23:58
MrKBA24-May-12 23:58 
QuestionIE 10 Protected Mode issues with Winodws 8 x64 CP. Pin
birajendu21-May-12 23:47
birajendu21-May-12 23:47 
QuestionHow to do inheritance in ATL Pin
Rahul.RK21-May-12 0:19
Rahul.RK21-May-12 0:19 
SuggestionRe: How to do inheritance in ATL Pin
Pablo Aliskevicius21-May-12 2:41
Pablo Aliskevicius21-May-12 2:41 
QuestionSTL List Pin
dotman115-May-12 5:05
dotman115-May-12 5:05 
AnswerRe: STL List Pin
«_Superman_»20-May-12 16:37
professional«_Superman_»20-May-12 16:37 
QuestionRe: STL List Pin
Aescleal21-May-12 4:55
Aescleal21-May-12 4:55 
AnswerRe: STL List Pin
Vitaly Tomilov10-Jun-12 9:53
Vitaly Tomilov10-Jun-12 9:53 
Questiongenerate the .H file from COM Pin
MrKBA14-May-12 1:38
MrKBA14-May-12 1:38 
AnswerRe: generate the .H file from COM Pin
Pablo Aliskevicius14-May-12 1:55
Pablo Aliskevicius14-May-12 1:55 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 1:58
MrKBA14-May-12 1:58 
GeneralRe: generate the .H file from COM Pin
Pablo Aliskevicius14-May-12 1:59
Pablo Aliskevicius14-May-12 1:59 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 2:02
MrKBA14-May-12 2:02 
AnswerRe: generate the .H file from COM Pin
Pete O'Hanlon14-May-12 2:08
mvePete O'Hanlon14-May-12 2:08 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 2:51
MrKBA14-May-12 2:51 
GeneralRe: generate the .H file from COM Pin
Pete O'Hanlon14-May-12 2:55
mvePete O'Hanlon14-May-12 2: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.