ok http://www.geotab.ca/Old/SwigCLRNeilCawse10dec02.zip
I think using swig makes sense: the original code is tested and works it will be improved and maintained by people working on swig. now I don't want to put more work into this if the approach is wrong. Has anyone got a better idea?? Should we be waiting for Binge from qt# project - or Gopal your stuff? let me know! Do any of you bright people want to finish this\improve this? I might have some time in the holidays. some things: Just started! It's the Java SWIG - just changed for c# - you'll still see all java comments Using VC 7 solution to build - you might have to recreate because im using Visual Studio Everett final beta. Modifications off the stock are basically in 3 places: in Examples\Clr. Two examples I created. Im using class to do my testing in Source\Modules1.1\clr.cxx (copied from java.cxx) in Lib\Clr.swg - mappings ----- Original Message ----- From: "Gopal V" <[EMAIL PROTECTED]> To: "Neil Cawse" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, December 08, 2002 11:30 AM Subject: [DotGNU]Swig and C# (was: Strategy for dealing with C++ ) > If memory serves me right, Neil Cawse wrote: > > ** now adding C# > > Could you point me to your source code ? ... (I've written 80% of my > generator in python anyway) .... I think it will be interesting to see > how your code handles function pointers , structs and tracing back typedefs > to their original types... > > I have used Swig for python and found it grossly insufficent for my > work ... (easy, but not sufficent) ... I finally wrote my own wrappers > in C for Python ... which is a lot more flexible than SWIG ... I suppose > that might be true for C# as well ... But to be sure, I need a peek at > Swig - C#. > > My PInvoke wrapper is built from the idea originated from Rhys with X11#. > Which is accessible from the dotgnu-libs CVS .. That concept of wrapping > code without C call-ins , is as portable as PInvoke ever gets ... (Rhys > is guy to follow for portability....) > > Gopal > -- > The difference between insanity and genius is measured by success > _______________________________________________ > Developers mailing list > [EMAIL PROTECTED] > http://www.dotgnu.org/mailman/listinfo/developers > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
