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

C / C++ / MFC

 
GeneralVC++ -VB access Pin
RaajaOfSelf10-Jul-03 23:08
RaajaOfSelf10-Jul-03 23:08 
GeneralRe: VC++ -VB access Pin
Ryan Binns10-Jul-03 23:49
Ryan Binns10-Jul-03 23:49 
GeneralVC++ -VB access Pin
RaajaOfSelf10-Jul-03 23:08
RaajaOfSelf10-Jul-03 23:08 
GeneralProgress bar Pin
Member 42425910-Jul-03 22:58
Member 42425910-Jul-03 22:58 
GeneralRe: Progress bar Pin
David Crow11-Jul-03 2:59
David Crow11-Jul-03 2:59 
Generalcasting problem Pin
Jerome Conus10-Jul-03 22:57
Jerome Conus10-Jul-03 22:57 
GeneralRe: casting problem Pin
iceage10-Jul-03 23:09
iceage10-Jul-03 23:09 
GeneralRe: casting problem Pin
jhwurmbach10-Jul-03 23:12
jhwurmbach10-Jul-03 23:12 
You need to use
Entity* pEntity = reinterpret_cast < Entitiy* > (MyList->GetPointerAt(3));
because you are casting an number (your long-variable)into something completely different: A pointer to an Entity-Object.
Static_cast can cast between differnt types of numbers, but you need to get something stronger to cast a number into a pointer. And that is reinterpret_cast.



My opinions may have changed, but not the fact that I am right.
Generalcallback question Pin
andyg.10110-Jul-03 22:27
andyg.10110-Jul-03 22:27 
GeneralRe: callback question Pin
Ryan Binns10-Jul-03 22:36
Ryan Binns10-Jul-03 22:36 
GeneralRe: callback question Pin
andyg.10110-Jul-03 23:00
andyg.10110-Jul-03 23:00 
GeneralRe: callback question Pin
Ryan Binns10-Jul-03 23:43
Ryan Binns10-Jul-03 23:43 
GeneralSimple HTML editor Pin
Jeremy Pullicino10-Jul-03 22:19
Jeremy Pullicino10-Jul-03 22:19 
GeneralRe: Simple HTML editor Pin
Jeremy Pullicino10-Jul-03 22:47
Jeremy Pullicino10-Jul-03 22:47 
GeneralRe: Simple HTML editor Pin
Rage10-Jul-03 22:58
professionalRage10-Jul-03 22:58 
GeneralRe: Simple HTML editor Pin
jmmolina16-Jul-03 23:19
jmmolina16-Jul-03 23:19 
GeneralCRT library? error C1083 Pin
DaveE9th10-Jul-03 21:50
DaveE9th10-Jul-03 21:50 
GeneralRe: CRT library? error C1083 Pin
Kippesoep10-Jul-03 21:59
Kippesoep10-Jul-03 21:59 
GeneralRe: CRT library? error C1083 Pin
DaveE9th10-Jul-03 22:09
DaveE9th10-Jul-03 22:09 
GeneralRe: CRT library? error C1083 Pin
Kippesoep10-Jul-03 22:25
Kippesoep10-Jul-03 22:25 
GeneralRe: CRT library? error C1083 Pin
DaveE9th11-Jul-03 7:11
DaveE9th11-Jul-03 7:11 
Generalthe problem to use OpenDriver in DLL Pin
gdzfy10-Jul-03 21:43
gdzfy10-Jul-03 21:43 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns10-Jul-03 22:38
Ryan Binns10-Jul-03 22:38 
GeneralRe: the problem to use OpenDriver in DLL Pin
gdzfy11-Jul-03 2:15
gdzfy11-Jul-03 2:15 
GeneralRe: the problem to use OpenDriver in DLL Pin
Ryan Binns11-Jul-03 2:37
Ryan Binns11-Jul-03 2:37 

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.