Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: C# calling Perl calling C#by jand (Friar) |
on Oct 15, 2008 at 22:30 UTC ( [id://717357]=note: print w/replies, xml ) | Need Help?? |
You cannot implement a CV in C#; the CV assumes certain calling conventions that are specific to the Perl internals.
You may get this stuff working by turning the callback entry into a Win32::API object. I haven't checked if this would be supported directly, or if you would need to fake up some Win32::API internals first. A commercial solution to your problem would be to use PerlNET from the ActiveState Perl Dev Kit. Check out the documentation for what it does.
In Section
Seekers of Perl Wisdom
|
|