Click here to Skip to main content
15,502,871 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralBug in ATL/MFC 8.0 CString Pin
XmlSeeker14-Jun-12 19:58
XmlSeeker14-Jun-12 19:58 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
Richard MacCutchan14-Jun-12 22:48
mveRichard MacCutchan14-Jun-12 22:48 
QuestionATL - Raise Event to all clients and acces to same variable Pin
ljubek7414-Jun-12 8:08
ljubek7414-Jun-12 8:08 
AnswerRe: ATL - Raise Event to all clients and acces to same variable Pin
barneyman17-Jun-12 15:51
barneyman17-Jun-12 15:51 
GeneralRe: ATL - Raise Event to all clients and acces to same variable Pin
ljubek7418-Jun-12 3:02
ljubek7418-Jun-12 3:02 
QuestionMFC exe to ATL service Pin
es196812-Jun-12 4:39
es196812-Jun-12 4:39 
AnswerRe: MFC exe to ATL service Pin
barneyman13-Jun-12 19:02
barneyman13-Jun-12 19:02 
QuestionAPI Decision Pin
Collin Biedenkapp11-Jun-12 19:53
Collin Biedenkapp11-Jun-12 19: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 23:01
mveRichard MacCutchan11-Jun-12 23:01 
Questionhow to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 21:41
astupidboy31-May-12 21:41 
AnswerRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan31-May-12 22:26
mveRichard MacCutchan31-May-12 22:26 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:29
astupidboy31-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
astupidboy31-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
astupidboy1-Jun-12 0:24 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
barneyman3-Jun-12 18:58
barneyman3-Jun-12 18:58 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:35
astupidboy31-May-12 23:35 
QuestionSave a _RecordsetPtr into map Pin
MrKBA30-May-12 7:39
MrKBA30-May-12 7:39 
AnswerRe: Save a _RecordsetPtr into map Pin
barneyman3-Jun-12 19:04
barneyman3-Jun-12 19:04 
QuestionCOM_INTERFACE_ENTRY correct use ? Pin
MrKBA25-May-12 0:58
MrKBA25-May-12 0:58 
QuestionIE 10 Protected Mode issues with Winodws 8 x64 CP. Pin
birajendu22-May-12 0:47
birajendu22-May-12 0:47 
QuestionHow to do inheritance in ATL Pin
Rahul.RK21-May-12 1:19
Rahul.RK21-May-12 1:19 
SuggestionRe: How to do inheritance in ATL Pin
Pablo Aliskevicius21-May-12 3:41
Pablo Aliskevicius21-May-12 3:41 
QuestionSTL List Pin
dotman115-May-12 6:05
dotman115-May-12 6: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.