Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have modified .odl file of a VC++ project to add some properties, so that the properties will be accessed from other VC++ projects.

How do i generate .h and .cpp file for this modified .odl file, so that i can refer these .h and .cpp file in the other VC++ projects.

.cpp file contents in the referring project looks like below....
I just want to add similar kind of code to my new properties. Is this code automatically generated...? but i am not sure how to generate it

C++
BOOL CTrialScreener::GetEnabled()
{
	BOOL result;
	GetProperty(0xf, VT_BOOL, (void*)&result);
	return result;
}

void CTrialScreener::SetEnabled(BOOL propVal)
{
	SetProperty(0xf, VT_BOOL, propVal);
}
Posted
Updated 13-Oct-15 8:34am
v4

1 solution

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