Tue, 04/19/2022 - 18:56
Dear friends!
I create the New C++/CLI project which reference the OCCTProxy.dll( NCollection_Haft variables are there) and export the file names TEST.dll, and I want to use the NCollection_Haft variables(e.g "NCollection_Haft<Handle(AIS_InteractiveContext)> myAISContext;") in the TEST.dll.
When I build the Test.dll file , the Error will show that "c2227 Left of'->HasDetectedShape()' must point to class/struct/union/generic type".
This is part of my code:
public ref class CurveDeburr
{
OCCTProxy occtProxy;
public:
bool Shape(int number)
{
bool result = true;
if (!occtProxy.myAISContext()->HasDetectedShape())
return false;
}
};
Tell me how to use the NCollection_Haft variables in Test.dll from OCCTProxy.dll?
Thanks!
Thu, 02/15/2024 - 15:59
OOps, wrong thread.. :)