Quote Originally Posted by Elrond View Post
I think pretty much all the errors you got come from a typo from my side. You need to put a coma rather than a semicolon int the initialisation list, before "m_pDialog"
I put the coma in and now i have 2 errors:

error C2614: 'MySdk2Client' : illegal member initialization: 'm_pDialog' is not a base or member
error C2512: 'MySdk2Client' : no appropriate default constructor available

Hi erik, thanks for your input, would it be possible for you to show me how to do your method 2 with the code i have posted above.

I am really new to programming and it is a lot easier if i see it implemented into my code and then I am able to understand what is going on.

Thanks again for all your help
Regards
Steph