Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalpassing structures across processes Pin
Raghunandan S25-Mar-04 20:02
Raghunandan S25-Mar-04 20:02 
GeneralRe: passing structures across processes Pin
El'Cachubrey25-Mar-04 20:32
El'Cachubrey25-Mar-04 20:32 
GeneralRe: passing structures across processes Pin
autodebug25-Mar-04 20:34
autodebug25-Mar-04 20:34 
GeneralRe: passing structures across processes Pin
Raghunandan S25-Mar-04 21:55
Raghunandan S25-Mar-04 21:55 
GeneralRe: passing structures across processes Pin
wb26-Mar-04 0:33
wb26-Mar-04 0:33 
GeneralGetDlgCtrlID returns zero Pin
Mehran Ziadloo25-Mar-04 19:36
Mehran Ziadloo25-Mar-04 19:36 
Generaloverloading [] for a struct Pin
monrobot1325-Mar-04 18:46
monrobot1325-Mar-04 18:46 
GeneralRe: overloading [] for a struct Pin
Taka Muraoka25-Mar-04 18:58
Taka Muraoka25-Mar-04 18:58 
This would be a really bad idea since it would be totally confusing to anyone reading your code!

Why don't you do it like this:

typedef struct tagInputfields
{
    UINT nMask ; 
    CString fields[5] ; 
} ;

CString val = m_ifFields.fields[1] ;





Lets be honest, isn't it amazing how many truly stupid people you meet during the course of the day. Carry around a pad and pencil, you'll have twenty or thirty names by the end of the day - George Carlin

Awasu 2.0 [^]: A free RSS reader with support for Code Project.

GeneralRe: overloading [] for a struct Pin
Prakash Nadar25-Mar-04 19:15
Prakash Nadar25-Mar-04 19:15 
GeneralRe: overloading [] for a struct Pin
Maxwell Chen25-Mar-04 19:27
Maxwell Chen25-Mar-04 19:27 
GeneralRe: overloading [] for a struct Pin
Michael Dunn25-Mar-04 19:29
sitebuilderMichael Dunn25-Mar-04 19:29 
GeneralRe: overloading [] for a struct Pin
monrobot1325-Mar-04 21:07
monrobot1325-Mar-04 21:07 
GeneralRunning Application Pin
Anonymous25-Mar-04 17:04
Anonymous25-Mar-04 17:04 
GeneralRe: Running Application Pin
Monty225-Mar-04 19:45
Monty225-Mar-04 19:45 
GeneralRe: Running Application Pin
Dimitris Vasiliadis24-May-04 12:55
Dimitris Vasiliadis24-May-04 12:55 
GeneralCryptography in VC++ 6 Pin
kempyeng25-Mar-04 16:39
kempyeng25-Mar-04 16:39 
GeneralRe: Cryptography in VC++ 6 Pin
markgr25-Mar-04 19:24
markgr25-Mar-04 19:24 
GeneralRe: Cryptography in VC++ 6 Pin
22491725-Mar-04 20:11
22491725-Mar-04 20:11 
GeneralRe: Cryptography in VC++ 6 Pin
kempyeng28-Mar-04 14:44
kempyeng28-Mar-04 14:44 
GeneralKill Focus Pin
Ichiban_Addict25-Mar-04 16:22
Ichiban_Addict25-Mar-04 16:22 
GeneralRe: Kill Focus Pin
Roman Rodov25-Mar-04 16:32
Roman Rodov25-Mar-04 16:32 
GeneralRe: Kill Focus Pin
Ryan Binns25-Mar-04 17:15
Ryan Binns25-Mar-04 17:15 
GeneralExternal File String Search Pin
sumrana25-Mar-04 15:53
sumrana25-Mar-04 15:53 
GeneralRe: External File String Search Pin
JWood25-Mar-04 16:56
JWood25-Mar-04 16:56 
GeneralPassing data to a DLL Pin
Steve Messer25-Mar-04 12:18
Steve Messer25-Mar-04 12:18 

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.