Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAdding a column to DataGrid ... Pin
Hadi Rezaee4-May-02 6:20
Hadi Rezaee4-May-02 6:20 
GeneralPossible Networking Program Design :: Winsock Pin
valikac4-May-02 6:02
valikac4-May-02 6:02 
GeneralRe: Possible Networking Program Design :: Winsock Pin
l a u r e n4-May-02 6:47
l a u r e n4-May-02 6:47 
GeneralRe: Possible Networking Program Design :: Winsock Pin
Felix Gartsman4-May-02 7:29
Felix Gartsman4-May-02 7:29 
GeneralRe: Possible Networking Program Design :: Winsock Pin
valikac4-May-02 8:30
valikac4-May-02 8:30 
GeneralRe: Possible Networking Program Design :: Winsock Pin
Felix Gartsman5-May-02 5:25
Felix Gartsman5-May-02 5:25 
GeneralRe: Possible Networking Program Design :: Winsock Pin
valikac5-May-02 5:40
valikac5-May-02 5:40 
GeneralConfused about FindResource Pin
albean4-May-02 5:48
albean4-May-02 5:48 
hRsrc = FindResource(hInst, lpString, "AVI")

I'm confused about the third parameter. In the MSDN page for FindResource I see things like this for the 3rd param:

RT_ACCELERATOR Accelerator table
RT_ANICURSOR Animated cursor
RT_ANIICON Animated icon
RT_BITMAP Bitmap resource
... etc.

However, I can't find anything about using "AVI", "IMAGE", etc. for the third param.


The reason I ask is because I'm getting this error:
cannot convert parameter 3 from 'char [6]' to 'const unsigned short *'

When I use this statment:
HRSRC hRsrc = ::FindResource(hInst,
MAKEINTRESOURCE(nIDRes),
"IMAGE"); // type


Thanks!
GeneralRe: Confused about FindResource Pin
l a u r e n4-May-02 6:55
l a u r e n4-May-02 6:55 
GeneralRe: Confused about FindResource Pin
albean4-May-02 9:12
albean4-May-02 9:12 
GeneralRe: Confused about FindResource Pin
Michael Dunn4-May-02 9:25
sitebuilderMichael Dunn4-May-02 9:25 
QuestionSet Combo Box values?? Pin
Aoife4-May-02 3:07
Aoife4-May-02 3:07 
AnswerRe: Set Combo Box values?? Pin
Ravi Bhavnani4-May-02 3:49
professionalRavi Bhavnani4-May-02 3:49 
GeneralJust about had enough, stupid debug error Pin
Alexander Wiseman4-May-02 2:17
Alexander Wiseman4-May-02 2:17 
GeneralRe: Just about had enough, stupid debug error Pin
Neville Franks4-May-02 11:11
Neville Franks4-May-02 11:11 
GeneralRe: Just about had enough, stupid debug error Pin
Alexander Wiseman5-May-02 9:59
Alexander Wiseman5-May-02 9:59 
GeneralSolution found... Pin
Alexander Wiseman6-May-02 9:34
Alexander Wiseman6-May-02 9:34 
GeneralFonts Pin
Sonu Kapoor4-May-02 1:54
Sonu Kapoor4-May-02 1:54 
GeneralRe: Fonts Pin
Tom Archer4-May-02 5:41
Tom Archer4-May-02 5:41 
GeneralRe: Fonts Pin
Sonu Kapoor4-May-02 6:42
Sonu Kapoor4-May-02 6:42 
GeneralRe: Fonts Pin
Tom Archer4-May-02 6:53
Tom Archer4-May-02 6:53 
GeneralQuickest way to get childern of CTreeCtr Pin
generic_user_id4-May-02 0:12
generic_user_id4-May-02 0:12 
GeneralI got it working, nevermind. Pin
generic_user_id4-May-02 0:59
generic_user_id4-May-02 0:59 
GeneralRe: I got it working, nevermind. Pin
Tom Archer4-May-02 5:23
Tom Archer4-May-02 5:23 
GeneralSure, this is what worked for me. Pin
generic_user_id6-May-02 6:20
generic_user_id6-May-02 6:20 

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.