mfc sample

if i use gapidraw "mfc"-sample and build my own surface(include a new bitmap) my pocket-pc don´t
go anymore after starting program. i even can´t shut down my pocket pc - only with hardware reset.
please help
thanks
peter
go anymore after starting program. i even can´t shut down my pocket pc - only with hardware reset.
please help
thanks
peter