For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Question about WNT_GraphicDevice

googoo's picture
Forums: 

I make a test file for OCC in MFC.
in my include file I define:
....
private:
Handle_WNT_GraphicDevice myGraphicDevice;
....

in my implement file:
COCC_2dTESTApp::COCC_2dTESTApp()
{
try
{
myGraphicDevice = new NT_GraphicDevice();
}
catch(Standard_Failure)
{
......
}

when I complie the project, system give me an error message: error C2661: “WNT_GraphicDevice::operator new” : no override function to accept 3 parameters

please tell me what's the problem with it.

Thanks