Hey thanks for your help, I fixed that up but I'm still getting the same error.
C:\MyApps\BrainBox\main.cpp(119) : error C2228: left of '.PopUp' must have class/struct/union
type is ''unknown-type''
C:\MyApps\BrainBox\main.cpp(119) : error C3861: 'splashScreen': identifier not found
main.cpp