Hi dears,
Is possible load mitk .dll in .net platform I do this work But for simple
method it work but for mitk function does not work  my code is follow
bellow


#include <stdio.h>
#include <QmitkRenderWindow.h>

#include "QmitkRegisterClasses.h"



extern "C"
{
__declspec(dllexport) int add(int a, int b)
{
return a + b;
}
__declspec(dllexport) int subtract(int a, int b)
{
return a - b;
}
__declspec(dllexport) void show()
{

       QmitkRegisterClasses();

QmitkRenderWindow * m_Window = new QmitkRenderWindow();
m_Window->resize(300,500);
m_Window->setWindowTitle("Hello from MITK to C#");
m_Window->show();
}

}

add and subtract methods are work but show function does not work
Thanks in advance
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to