Hi Marco,

please keep the discussion on the list.

I have no experience with .net.

I can only reiterate what Stefan said in his mail regarding that issue:

“as this is in general a question regarding Marshalling and Platform Invoke 
(P/Invoke), which is out of our scope, we would like to refer you to one of the 
many P/Invoke tutorials on the web or in the MSDN library.”



Best,

Caspar

Von: Marco Dev [mailto:[email protected]]
Gesendet: Dienstag, 23. Juni 2015 07:25
An: Goch, Caspar Jonas
Betreff: Re: [mitk-users] QmitkRenderWindow smart pointer

HI,
Thanks for your mention I tried to exposed QmitkRenderWndow in .net platform 
but I can not Can you help me MY code is follow bellow:
__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();
}

Why this method does not expose in .net
Thanks in advance.

On Mon, Jun 22, 2015 at 1:37 PM, Goch, Caspar Jonas 
<[email protected]<mailto:[email protected]>> wrote:
Hi Marco,

QmitkRenderWindow does not derive from itk::Objekt and does not have  a 
SmartPointer. Does this answer your question?

Best,
Caspar

Von: Marco Dev 
[mailto:[email protected]<mailto:[email protected]>]
Gesendet: Samstag, 20. Juni 2015 17:41
An: [email protected]<mailto:[email protected]>
Betreff: [mitk-users] QmitkRenderWindow smart pointer

Hi dears,
Is possible to control smart pointer of Qmitkrenderwindow related to reference 
counter or bring out this class from smart pointer itk::smartpointer it be init 
self in smart pointer ...
Thanks in advance

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to