[rdnzl-devel] Generic types and default thread apartment

Goffioul Michael goffioul at imec.be
Fri Sep 15 08:13:21 UTC 2006


> > Try this (tried with .NET 2):
> >
> > (rdnzl:enable-rdnzl-syntax)
> > (rdnzl:import-types "System.Windows.Forms" "FolderBrowserDialog") 
> > (setq dlg (rdnzl:new "System.Windows.Forms.FolderBrowserDialog"))
> > [ShowDialog dlg]
> >
> > This problem was the cause that made me recompile RDNZL-cpp under 
> > VS2005.  If you look into StdAfx.cpp, you'll see how I changed the 
> > apartment state, but I don't know if it would work under 
> VC.NET-2003.
> 
> So, do I understand correctly that you already experienced 
> these problems with the DLL compiled with VS2003?

Yes. But this is not related to VS2003 itself. It just happened that
I needed to modify the CPP code (to change the default apartment state)
and that I only had VS2005 under the hand; hence I had to port the code
to the new CLI/C++ interface.

Michael.



More information about the rdnzl-devel mailing list