On Tue, Nov 9, 2010 at 10:18 PM, Tomas Matousek <
tomas.matou...@microsoft.com> wrote:
> Yes, you probably have the assembly that defines the type loaded twice in
> different load contexts (Load vs LoadFrom).
>
> That might happen if you load the assembly using a file path (require
> ‘x.dll’) ins
Yes, you probably have the assembly that defines the type loaded twice in
different load contexts (Load vs LoadFrom).
That might happen if you load the assembly using a file path (require 'x.dll')
instead of a full assembly name and then dependency loads it as well.
Tomas
From: ironruby-core-bo
Has anyone run into type conversion errors where you get a message like:
can't convert PcapFileHandler::PcapFileWriter into
PcapFileHandler::PcapFileWriter (TypeError)
when doing:
packetHandlerWrapper.PcapWriter =
NetworkMiner::PacketHandlerWriter.clr_new("", someobj)
I am totally buggered up w
Thanks for the help. I will see what I can do.
Timothy
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Checkout(by that I mean get a copy) the code from github.
The IronRuby implementation of win32ole is in
Languages/Ruby/Libs/win32ole.rb, it uses System.__ComObject from the .NET
world to implement the interface (as the header comment tells one).
If you are familiar with COM Objects (I am not) an
Contributing is easy: fork the repo, make the changes, add tests covering the
new functionality (ideally as specs to Languages/Ruby/Tests/mspec/rubyspec),
run all the tests (irtests command in Languages\Ruby\Scripts), and if
everything passes push your changes to your fork and send a pull reques
I don't think it's good idea to introduce such a dependency. Why would I need
to install CRuby if I just wanted to program in Ruby on Mono/.NET? CRuby would
not be useful for me and it's additional 12MB to download and 30MB on disk.
Besides JRuby also ships with the standard library. In fact bot
I would love to write a patch to ironRuby. However, I am not sure about
how to do that. I am not even really sure where to look for the issue in
the ironruby library, nor I do I really have git fully figured out to
submit my patch back to ironruby.
I am still trying to get up to speed on how a
On Tue, Nov 9, 2010 at 5:06 PM, Timothy Barnes wrote:
> When trying to use the connect method inside the win32ole module.
> Ironruby pops up:
>
> "undefined method 'connect' for WIN32OLE:Class"
>
> I see that has been logged as an official issue at:
>
> http://ironruby.codeplex.com/workitem/4612
>
When trying to use the connect method inside the win32ole module.
Ironruby pops up:
"undefined method 'connect' for WIN32OLE:Class"
I see that has been logged as an official issue at:
http://ironruby.codeplex.com/workitem/4612
However, it has not been assigned to anyone to fix and previous
ques
Hi all,
I need to implement .NET generic interface and pass this implementation to
.NET generic method. Is it possible in IronRuby?
What I have in .NET:
interface Subscriber {
void Subscribe(IMessagesListener listener)
where TMessage : IBasicMessage;
}
public interface IMessages
> There are currently some small changes in the StdLib to work around
> IronRuby bugs. So those need to be fixed first.
>
> Will your IronRuby package require CRuby to be installed first?
>
Initially probably yes.
> Tomas
>
> -Original Message-
> From: ironruby-core-boun...@rubyforge.
12 matches
Mail list logo