[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]a hack for PInvoke on pnet
From: |
Joker Hacker |
Subject: |
Re: [DotGNU]a hack for PInvoke on pnet |
Date: |
Thu, 6 Jun 2002 11:37:44 +0100 (BST) |
--- James Michael DuPont <address@hidden>
> The native.cs contains all the calls,
> so they just have to match up? Thats it?
The names have to match up .... that's all
(parameter types need to be matched to be
of any use)
> functions you defined, are they static by default?
The funcs are dynamic ! ... so they can be
exported DSO (dynamic shared obj)
> > hell lot of static methods in C .....
> So we should wrap via static methods?
> is that the preferred way to go?
No, the funcs should not be static ... which
is why it took me so long to fix this work.
> Again, looks cool.
Looks aren't anything ;) ... I'll have to
modify the native stuff and do a lot of
kewl stuff.....
> it seems to be pretty straight forward.
Take a peek at pinvoke.sh and tell me ;)
That's the script which does what cscc cannot
yet do ;) ...... Not at all straight forward ;)
A hack is a hack and nothing more .
I'll implement XmlNodeFactory, and all the other
useful Xml* classes ....
Shall I start a savannah project if enough people
are interested in doing this easy stuff and learning
C# in the process ... (and contrib to pnetlib in the
end ;-).
Gopal
________________________________________________________________________
Everything you always wanted to know about cars and bikes,now
at: http://in.autos.yahoo.com