Click here to Skip to main content
15,899,937 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying this article. The Hybrid Solution Part. I was wondering if you could help me out how do I begin writing those codes on Visual C++. I don't have background yet in Visual C++ MFC ActiveX Control and what I did so far is to create the Project. I also added a Dialog and a class but I get an error "Identifier IDD_DIALOG1 is undefined". I don't know if I am doing right. I don't know if adding a dialog is needed in this project because the author hasn't included what to do in MFC ActiveX Control so I am getting a hard time. Kindly help me. Thanks! :)
Posted
Comments
Philip Stuyck 10-Sep-12 11:28am    
Perhaps you should read a little more on activex, MFC and the like before you start doing things you don't quite understand. Your question is to vague as well for anyone to give you a decent answer.
[no name] 10-Sep-12 11:31am    
Help with what exactly? Learning MFC? Learning Active X programming? Fixing the code you have that we cannot see?

Quote:
"Identifier IDD_DIALOG1 is undefined"

This is letting you know that there is no resource with that ID. It's likely that you changed the dialog resource name and didn't change it in the code where that was originally inserted for you.

In the resource editor, what's the label (it's likely to have the same IDD_ prefix) associated with your dialog? That label needs to appear everywhere where the original IDD_DIALOG1 label appears (in the code, do a quick search within your solution to figure out where you left the old identifier behind).
 
Share this answer
 
To include "resource.h",you will get the issue "IDD_DIALOG1 is undefined" resolved.

As I know,your need a Wndows to use the ActiveX control,So Adding a dialog seems a right way to do that.
 
Share this answer
 
v2

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



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