I\'m new to C++ CLI coming from unmanaged C++ world.
I\'m getting this error:
candidate function(s) not accessible
when I pass a s
if you simply must access the internal methods another work around would be making the projects as Friend Assemblies like that:
//Lib Project
#pragma once
//define LibTest as friend assembly which will allow access to internal members
using namespace System;
using namespace System::Runtime::CompilerServices;
[assembly:InternalsVisibleTo("LibTest")];
public ref class Lib
{
public:
Lib(void);
public:
void Extract( std::string& data_ );
};
//LibTest Project
#pragma once
#using as_friend
ref class LibTest
{
public:
LibTest(void);
};