PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Error: An unsupported operation was attempted.

hi everyone.
i truly hope that someone can help me with this problem. while coding in eMbedded VC++ i suddenly got error message that said "Assertion Failed! myapp: File dlgdata.cpp, Line 43". and if i choose release state instead of debugging i get the error in the topic.
i'm programming for PPC2002.

any help with this problem is needed!
thanx,
/mago
Well, what does the assert on line 43 of dlgdata.cpp check? (Post line 43 if you can't work it out).

Assertions are only inserted into debug code as run-time sanity-checks, so if it's checking something like a null pointer reference or a write alignment then your release code WILL bomb (like it does)... and the assert is giving you fair warning by occurring.

Cheers,

Refractor
Are you calling UpdateData before your dialog is initialized? Same thing for trying to manipulate the dialog or any of its controls before it has been created. Make sure you do all your initialization in InitDialog and not in the class constructor.

Dan East