Click here to Skip to main content
14,846,324 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralBug in ATL/MFC 8.0 CString Pin
XmlSeeker14-Jun-12 18:58
MemberXmlSeeker14-Jun-12 18:58 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
Richard MacCutchan14-Jun-12 21:48
mveRichard MacCutchan14-Jun-12 21:48 
QuestionATL - Raise Event to all clients and acces to same variable Pin
ljubek7414-Jun-12 7:08
Memberljubek7414-Jun-12 7:08 
AnswerRe: ATL - Raise Event to all clients and acces to same variable Pin
barneyman17-Jun-12 14:51
Memberbarneyman17-Jun-12 14:51 
GeneralRe: ATL - Raise Event to all clients and acces to same variable Pin
ljubek7418-Jun-12 2:02
Memberljubek7418-Jun-12 2:02 
QuestionMFC exe to ATL service Pin
es196812-Jun-12 3:39
Memberes196812-Jun-12 3:39 
AnswerRe: MFC exe to ATL service Pin
barneyman13-Jun-12 18:02
Memberbarneyman13-Jun-12 18:02 
QuestionAPI Decision Pin
Collin Biedenkapp11-Jun-12 18:53
MemberCollin Biedenkapp11-Jun-12 18:53 
Hey there guys,

I have an almost opinion question. I am writing an instant messenger software, and I am trying to decide on the internal API parsing method. I cannot decide if I want to have a one-size-fits-all method that parses the entire command then returns the specific section I need, or less simple-to-use library of functions that read individual functions.

Basically, the command structure is like this: (Let's say you are registering a new connection)

REG(##,{your username},{the password salted hash})

My first method would return the username when called as api_GETVALUE(2,"REG(33,username,passwordsalthash)"). If I changed the first argument to 1, it would return 33 (the length).

If I did individual functions, I could get the length by calling api_GETLENGTH with the string as a parameter, api_GETUSERNAME for the username, etc.

How would you guys do it personally?

--
Collin
AnswerRe: API Decision Pin
Richard MacCutchan11-Jun-12 22:01
mveRichard MacCutchan11-Jun-12 22:01 
Questionhow to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 20:41
Memberastupidboy31-May-12 20:41 
AnswerRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan31-May-12 21:26
mveRichard MacCutchan31-May-12 21:26 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 22:29
Memberastupidboy31-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
Memberastupidboy31-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
Memberastupidboy31-May-12 23:24 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
barneyman3-Jun-12 17:58
Memberbarneyman3-Jun-12 17:58 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 22:35
Memberastupidboy31-May-12 22:35 
QuestionSave a _RecordsetPtr into map Pin
MrKBA30-May-12 6:39
MemberMrKBA30-May-12 6:39 
AnswerRe: Save a _RecordsetPtr into map Pin
barneyman3-Jun-12 18:04
Memberbarneyman3-Jun-12 18:04 
QuestionCOM_INTERFACE_ENTRY correct use ? Pin
MrKBA24-May-12 23:58
MemberMrKBA24-May-12 23:58 
QuestionIE 10 Protected Mode issues with Winodws 8 x64 CP. Pin
birajendu21-May-12 23:47
Memberbirajendu21-May-12 23:47 
QuestionHow to do inheritance in ATL Pin
Rahul.RK21-May-12 0:19
MemberRahul.RK21-May-12 0:19 
SuggestionRe: How to do inheritance in ATL Pin
Pablo Aliskevicius21-May-12 2:41
MemberPablo Aliskevicius21-May-12 2:41 
QuestionSTL List Pin
dotman115-May-12 5:05
Memberdotman115-May-12 5:05 

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.