Click here to Skip to main content
16,004,901 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerIcon on a Button Pin
normanS2-Jun-04 21:29
normanS2-Jun-04 21:29 
QuestionHow to .place a Image (BMP, JPEG etc) on a Button Pin
Zeeshan Bilal1-Jun-04 20:22
Zeeshan Bilal1-Jun-04 20:22 
Generalgeneral info reg registry keys. Pin
Member 11501761-Jun-04 20:20
Member 11501761-Jun-04 20:20 
Questionhow to insert a BMP resourse in resources Pin
Zeeshan Bilal1-Jun-04 18:00
Zeeshan Bilal1-Jun-04 18:00 
AnswerRe: how to insert a BMP resourse in resources Pin
TrungHuynh1-Jun-04 18:06
TrungHuynh1-Jun-04 18:06 
Generalvariable arguments Pin
Tyrus1821-Jun-04 17:58
Tyrus1821-Jun-04 17:58 
GeneralRe: variable arguments Pin
Torsten Mauz1-Jun-04 23:19
Torsten Mauz1-Jun-04 23:19 
GeneralRe: variable arguments Pin
Nirav Doshi1-Jun-04 23:35
Nirav Doshi1-Jun-04 23:35 
Tyrus182 wrote:
to convert the args into thier actual data from the va_list variable

I don't think there is a "ready-made" method to to that!

You will have to manage it within your code. Mostly you would be aware as to which position you would be expecting what kind of parameter... Using that you will have to build your arguments list with all the various data types you use.

Also you could provide option like:

C:\App\MyApp /i:3894 /f:489.24 /s:SomeName

Here when parsing you don't bother about the position of the parameter. You can just check for the "i:" and convert that to int, "f:" and use it as float, and "s:" to string.

Hope this helps.

- Nirav

* Don't wish it was easier, wish you were better! *
GeneralRe: variable arguments Pin
jmkhael2-Jun-04 0:58
jmkhael2-Jun-04 0:58 
Generalrich edit question Pin
kfaday1-Jun-04 17:02
kfaday1-Jun-04 17:02 
GeneralRe: rich edit question Pin
TrungHuynh1-Jun-04 18:00
TrungHuynh1-Jun-04 18:00 
GeneralRe: rich edit question Pin
kfaday2-Jun-04 1:38
kfaday2-Jun-04 1:38 
GeneralRe: rich edit question Pin
Zeeshan Bilal1-Jun-04 18:06
Zeeshan Bilal1-Jun-04 18:06 
GeneralRe: rich edit question Pin
kfaday2-Jun-04 1:38
kfaday2-Jun-04 1:38 
GeneralRe: rich edit question Pin
TrungHuynh2-Jun-04 2:05
TrungHuynh2-Jun-04 2:05 
GeneralRe: rich edit question Pin
David Crow2-Jun-04 4:09
David Crow2-Jun-04 4:09 
GeneralHappy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class. Pin
ocean20001-Jun-04 16:48
ocean20001-Jun-04 16:48 
GeneralRe: Happy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class. Pin
PJ Arends1-Jun-04 21:38
professionalPJ Arends1-Jun-04 21:38 
GeneralRe: Happy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class. Pin
HENDRIK R1-Jun-04 21:43
HENDRIK R1-Jun-04 21:43 
GeneralRe: Happy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class. Pin
ocean20003-Jun-04 1:51
ocean20003-Jun-04 1:51 
GeneralRe: Happy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class. Pin
ocean20003-Jun-04 1:57
ocean20003-Jun-04 1:57 
GeneralRe: Happy Children's day to All! I met a problem. I can't use the derived Class from CSocket in Another Class. Pin
HENDRIK R3-Jun-04 2:49
HENDRIK R3-Jun-04 2:49 
GeneralLost/Corrupted Packets with CAsyncSocket Pin
User 127821-Jun-04 15:12
User 127821-Jun-04 15:12 
GeneralRe: Lost/Corrupted Packets with CAsyncSocket Pin
Johnny ²1-Jun-04 23:44
Johnny ²1-Jun-04 23:44 
GeneralRe: Lost/Corrupted Packets with CAsyncSocket Pin
User 127822-Jun-04 2:56
User 127822-Jun-04 2:56 

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.