M
MyCatAlex
Guest
I have two projects in one solution. Mercifully, the solution compiles now. The first project is MFCaptureD3D from github, the second is homemade Sphere_Perspective. In the latter project I have this function:
double Localizations::findAbscissa(int NN, int jj)
{
double res;
switch (2 * NN)
{
case 8:
res = x8[jj];
break;
case 10:
res = x10[jj];
break;
etc................................
Localizations is a class in Sphere_Perspective project, in one of the .cpp files. I need to address this function from MFCaptureD3D project. I've made some improvisations, none of which work. E.g.
Sphere_Perspective::Localizations.findAbscissa(20, 10);
I get an Intellisense error: "Name followed by '::' must be a class or namespace name." Localizations IS a class name
What shall I do?
Thanks, - MyCatAlex
Continue reading...
double Localizations::findAbscissa(int NN, int jj)
{
double res;
switch (2 * NN)
{
case 8:
res = x8[jj];
break;
case 10:
res = x10[jj];
break;
etc................................
Localizations is a class in Sphere_Perspective project, in one of the .cpp files. I need to address this function from MFCaptureD3D project. I've made some improvisations, none of which work. E.g.
Sphere_Perspective::Localizations.findAbscissa(20, 10);
I get an Intellisense error: "Name followed by '::' must be a class or namespace name." Localizations IS a class name
What shall I do?
Thanks, - MyCatAlex
Continue reading...