Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I try to ad variable to the list control on dialog box by right clicking on list control and select class wizard then select tab of Member Variable and Add variable to list control then it fire following error after click on apply button.

Error hresult e_fail has been returned from a call to a com component

I tried some option search from google
1] delete ProjectTemplateCache and future process.

but did't work for me.

please help as soon as possible.
Posted

1 solution

You can try the other method described here: Adding a Member Variable[^].

If this does not help do it manually by adding the variable definition to the dialog header file and map the list control to the variable in the dialog class DoDataExchange[^] function using DDX_Control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900