Click here to Skip to main content
15,924,367 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tinting a Bitmap Pin
Monty214-Mar-04 20:37
Monty214-Mar-04 20:37 
GeneralRe: Tinting a Bitmap Pin
MeterMan14-Mar-04 20:42
MeterMan14-Mar-04 20:42 
GeneralRe: Tinting a Bitmap Pin
Monty214-Mar-04 20:56
Monty214-Mar-04 20:56 
GeneralGaining Exclusive Access over a used volume Pin
mmica14-Mar-04 20:17
mmica14-Mar-04 20:17 
GeneralRe: Gaining Exclusive Access over a used volume Pin
Antti Keskinen14-Mar-04 21:30
Antti Keskinen14-Mar-04 21:30 
GeneralRe: Gaining Exclusive Access over a used volume Pin
mmica14-Mar-04 21:49
mmica14-Mar-04 21:49 
GeneralUsing Bitmasks Pin
monrobot1314-Mar-04 19:14
monrobot1314-Mar-04 19:14 
GeneralRe: Using Bitmasks Pin
Antti Keskinen14-Mar-04 21:47
Antti Keskinen14-Mar-04 21:47 
You just need to use a logical mask, such as 010011. This mask would mean that from an SQL query string, the second, fifth and sixth returned column on each row contain valid values.

There is no actual function which you could use to order a database driver (such as ODBC) to mask certain values. The driver will return all valid values it can extract from the database. It is your job to use e.g. the returned CRecordset-object and mask certain columns from it.

Alternatively, could it be that your application needs redesigning ? After all, if you use an ODBC extension class from here in CodeProject, you can execute an arbitary query into a database and fetch columns by their index or by names. In this case, you wouldn't need a bitmask at all.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralModeless Messagebox Pin
Prakash Nadar14-Mar-04 17:50
Prakash Nadar14-Mar-04 17:50 
GeneralRe: Modeless Messagebox Pin
Ravi Bhavnani14-Mar-04 18:00
professionalRavi Bhavnani14-Mar-04 18:00 
GeneralRe: Modeless Messagebox Pin
Prakash Nadar14-Mar-04 18:13
Prakash Nadar14-Mar-04 18:13 
GeneralRe: Modeless Messagebox Pin
Ravi Bhavnani14-Mar-04 18:19
professionalRavi Bhavnani14-Mar-04 18:19 
GeneralRe: Modeless Messagebox Pin
Prakash Nadar14-Mar-04 18:53
Prakash Nadar14-Mar-04 18:53 
GeneralRe: Modeless Messagebox Pin
Neville Franks14-Mar-04 22:19
Neville Franks14-Mar-04 22:19 
GeneralDebug and attach to a process Pin
deyadav14-Mar-04 17:49
deyadav14-Mar-04 17:49 
GeneralRe: Debug and attach to a process Pin
Monty214-Mar-04 18:00
Monty214-Mar-04 18:00 
GeneralRe: Debug and attach to a process Pin
deyadav14-Mar-04 18:09
deyadav14-Mar-04 18:09 
GeneralRe: Debug and attach to a process Pin
Monty214-Mar-04 18:37
Monty214-Mar-04 18:37 
GeneralRe: Debug and attach to a process Pin
deyadav14-Mar-04 19:06
deyadav14-Mar-04 19:06 
GeneralRe: Debug and attach to a process Pin
Antti Keskinen14-Mar-04 21:40
Antti Keskinen14-Mar-04 21:40 
GeneralRe: Debug and attach to a process Pin
deyadav14-Mar-04 22:04
deyadav14-Mar-04 22:04 
GeneralRe: Debug and attach to a process Pin
Michael Dunn15-Mar-04 4:11
sitebuilderMichael Dunn15-Mar-04 4:11 
GeneralHelp!! The format of number in VC++ Pin
Flydian14-Mar-04 15:59
Flydian14-Mar-04 15:59 
GeneralRe: Help!! The format of number in VC++ Pin
Prakash Nadar14-Mar-04 17:10
Prakash Nadar14-Mar-04 17:10 
GeneralRe: Help!! The format of number in VC++ Pin
Ravi Bhavnani14-Mar-04 18:08
professionalRavi Bhavnani14-Mar-04 18:08 

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.