candidate function not accessible
-
already tried #pragma make public (mynativestruct) Here is my c++-cli code
ClassLibraryAT::Class1^ matClass = gcnew ClassLibraryAT::Class1() ;
matClass->M_AT(&cparams,&input,&numcontacts,&contact,&ecdata);
the 'input' struct in the argument list is comprised of ints doubles, stuff like that. Not a managed struct. It's saying the candidate function M_AT is not accessible. How do I resolve this? thanks, sb
-
already tried #pragma make public (mynativestruct) Here is my c++-cli code
ClassLibraryAT::Class1^ matClass = gcnew ClassLibraryAT::Class1() ;
matClass->M_AT(&cparams,&input,&numcontacts,&contact,&ecdata);
the 'input' struct in the argument list is comprised of ints doubles, stuff like that. Not a managed struct. It's saying the candidate function M_AT is not accessible. How do I resolve this? thanks, sb
-
bonosa wrote:
It's saying the candidate function M_AT is not accessible. How do I resolve this?
Make sure that
M_AT
is apublic
method.Use the best guess