Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: In eVC how to make FullScreen in PocketPC ? Pin
NormDroid1-Jan-02 21:15
professionalNormDroid1-Jan-02 21:15 
GeneralMaking an Image Transparent Pin
clemence1-Jan-02 19:52
clemence1-Jan-02 19:52 
GeneralRe: Making an Image Transparent Pin
Christian Graus2-Jan-02 0:19
protectorChristian Graus2-Jan-02 0:19 
GeneralOwner drawn button flicker hell Pin
Christian Graus1-Jan-02 18:19
protectorChristian Graus1-Jan-02 18:19 
GeneralRe: Owner drawn button flicker hell Pin
Rick Dangerous2-Jan-02 0:30
Rick Dangerous2-Jan-02 0:30 
GeneralRe: Owner drawn button flicker hell Pin
Christian Graus2-Jan-02 0:52
protectorChristian Graus2-Jan-02 0:52 
Generalmalloc() question Pin
1-Jan-02 17:26
suss1-Jan-02 17:26 
GeneralRe: malloc() question Pin
Philip Patrick1-Jan-02 19:14
professionalPhilip Patrick1-Jan-02 19:14 
I dunno what are you trying to say, man. I didn't read all the code, get bored.
But. The malloc() function returns void*, it is known and it is ok. You should cast the return value to whatever you want like this:

pmsg = (MSG*)malloc (cLinesMax * sizeof (MSG));


That's all. No buzzz Smile | :) It will elliminate the error you got Smile | :)

Philip Patrick
"Two beer or not two beer?" <shakesbeer>
Web-site: www.saintopatrick.com
GeneralRe: malloc() question Pin
1-Jan-02 19:15
suss1-Jan-02 19:15 
GeneralRe: malloc() question Pin
Philip Patrick1-Jan-02 19:23
professionalPhilip Patrick1-Jan-02 19:23 
Generalremove popup menu arrow Pin
1-Jan-02 15:35
suss1-Jan-02 15:35 
GeneralProblem with Multithreads Pin
Mustafa Demirhan1-Jan-02 6:06
Mustafa Demirhan1-Jan-02 6:06 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan1-Jan-02 6:12
Mustafa Demirhan1-Jan-02 6:12 
GeneralRe: Problem with Multithreads Pin
1-Jan-02 6:32
suss1-Jan-02 6:32 
GeneralRe: Problem with Multithreads Pin
1-Jan-02 6:56
suss1-Jan-02 6:56 
GeneralRe: Problem with Multithreads Pin
Todd Smith1-Jan-02 7:35
Todd Smith1-Jan-02 7:35 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan1-Jan-02 8:59
Mustafa Demirhan1-Jan-02 8:59 
GeneralRe: Problem with Multithreads Pin
Michael Dunn1-Jan-02 9:30
sitebuilderMichael Dunn1-Jan-02 9:30 
GeneralRe: Problem with Multithreads Pin
Mustafa Demirhan2-Jan-02 0:33
Mustafa Demirhan2-Jan-02 0:33 
GeneralCompatibility Question Pin
1-Jan-02 3:37
suss1-Jan-02 3:37 
GeneralRe: Compatibility Question Pin
Philip Patrick1-Jan-02 3:50
professionalPhilip Patrick1-Jan-02 3:50 
GeneralHi, Philip ,look here... Pin
1-Jan-02 5:42
suss1-Jan-02 5:42 
GeneralRe: Hi, Philip ,look here... Pin
Philip Patrick1-Jan-02 6:02
professionalPhilip Patrick1-Jan-02 6:02 
GeneralWM_ Pin
The_Server1-Jan-02 2:41
The_Server1-Jan-02 2:41 
GeneralRe: WM_ Pin
Philip Patrick1-Jan-02 2:55
professionalPhilip Patrick1-Jan-02 2:55 

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.