Click here to Skip to main content
16,014,748 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: size of dll vs exe Pin
Iain Clarke, Warrior Programmer8-Mar-04 3:44
Iain Clarke, Warrior Programmer8-Mar-04 3:44 
GeneralRe: size of dll vs exe Pin
Prakash Nadar8-Mar-04 4:08
Prakash Nadar8-Mar-04 4:08 
GeneralRe: size of dll vs exe Pin
GDavy8-Mar-04 19:23
GDavy8-Mar-04 19:23 
GeneralGIF decoding Pin
jk chan8-Mar-04 2:58
jk chan8-Mar-04 2:58 
QuestionRead/Write to Ms Excel and Access using MFC? Pin
Mehdi_Hosseinpour8-Mar-04 2:49
Mehdi_Hosseinpour8-Mar-04 2:49 
AnswerRe: Read/Write to Ms Excel and Access using MFC? Pin
David Crow8-Mar-04 3:56
David Crow8-Mar-04 3:56 
General'type cast' warning Pin
si_698-Mar-04 2:18
si_698-Mar-04 2:18 
GeneralRe: 'type cast' warning Pin
Prakash Nadar8-Mar-04 2:28
Prakash Nadar8-Mar-04 2:28 
si_69 wrote:
if ((int)ok > 32)

nothing to worry about HINSTANCE is 32 bit data while
int is 16 bit data so when you type cast from higher bit size data to lowerbitsize data you tend to loose some data (16 high bits of information)
Logic is perfectly fine in this case and will work without any problem.
If you are still worried about the warning then
put long instead of int.

like this
if ((long)ok > 32)



MSN Messenger.
prakashnadar@msn.com
GeneralRe: 'type cast' warning Pin
John M. Drescher8-Mar-04 8:18
John M. Drescher8-Mar-04 8:18 
GeneralRe: 'type cast' warning Pin
Prakash Nadar8-Mar-04 16:00
Prakash Nadar8-Mar-04 16:00 
GeneralRe: 'type cast' warning Pin
RChin8-Mar-04 2:29
RChin8-Mar-04 2:29 
GeneralRe: 'type cast' warning Pin
David Crow8-Mar-04 4:00
David Crow8-Mar-04 4:00 
GeneralACCESS FUNCTION OF ANOTHER CLASS Pin
Caoimh8-Mar-04 1:44
Caoimh8-Mar-04 1:44 
GeneralRe: ACCESS FUNCTION OF ANOTHER CLASS Pin
Prakash Nadar8-Mar-04 2:22
Prakash Nadar8-Mar-04 2:22 
GeneralRe: ACCESS FUNCTION OF ANOTHER CLASS Pin
Navin8-Mar-04 5:49
Navin8-Mar-04 5:49 
GeneralMonitoring Internet traffic Pin
JGStanier8-Mar-04 1:14
JGStanier8-Mar-04 1:14 
GeneralRe: Monitoring Internet traffic Pin
David Crow8-Mar-04 5:54
David Crow8-Mar-04 5:54 
Questionhow can use MFC in a non MFC win32 project Pin
Atif Mushtaq8-Mar-04 0:23
Atif Mushtaq8-Mar-04 0:23 
AnswerRe: how can use MFC in a non MFC win32 project Pin
Robert A. T. Káldy8-Mar-04 1:20
Robert A. T. Káldy8-Mar-04 1:20 
GeneralRe: how can use MFC in a non MFC win32 project Pin
Atif Mushtaq8-Mar-04 1:25
Atif Mushtaq8-Mar-04 1:25 
AnswerRe: how can use MFC in a non MFC win32 project Pin
JGStanier8-Mar-04 1:48
JGStanier8-Mar-04 1:48 
GeneralRe: how can use MFC in a non MFC win32 project Pin
Atif Mushtaq8-Mar-04 2:04
Atif Mushtaq8-Mar-04 2:04 
GeneralRe: how can use MFC in a non MFC win32 project Pin
JGStanier8-Mar-04 2:17
JGStanier8-Mar-04 2:17 
AnswerRe: how can use MFC in a non MFC win32 project Pin
Prakash Nadar8-Mar-04 2:17
Prakash Nadar8-Mar-04 2:17 
GeneralRe: how can use MFC in a non MFC win32 project Pin
Atif Mushtaq8-Mar-04 3:43
Atif Mushtaq8-Mar-04 3:43 

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.