You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to draw a nurb curve using vtkParametricFunction in c#
I created new class for draw a nurb curve by inheriting vtkParametricFunction .
Initially create the constructor I am facing issues mentioned below ::
i)An unhandled exception of type 'System.AccessViolationException' occurred in modeling.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Hi All,
I need to draw a nurb curve using vtkParametricFunction in c#
I created new class for draw a nurb curve by inheriting vtkParametricFunction .
Initially create the constructor I am facing issues mentioned below ::
i)An unhandled exception of type 'System.AccessViolationException' occurred in modeling.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Code below :
public wrapperparametricfunction()
: base(IntPtr.Zero, false, false)
{
uint mteStatus = 0;
uint maxValue = uint.MaxValue;
uint rawRefCount = 0;
// error occured in below function in c#
IntPtr rawCppThis = vtkParametricFunction_NewInstance_26(CppThis, ref mteStatus, ref maxValue, ref rawRefCount);
base.SetCppThis(rawCppThis, true, (mteStatus != 0) && (rawRefCount >= 2));
}
Please do the needful to proceed further.
Thanks in advance
The text was updated successfully, but these errors were encountered: