[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Bizarre sudden problem with WIN32OLE - could not find specified procedure

Greg Lorriman

3/8/2006 8:58:00 PM

Hi Folks,

I've been using win32ole alot for talking to Excel.

I've just come back to programming with win32ole after a lull of a
month to find that when I try creating an instance of excel I get this
error message :

"d:/ruby/lib/ruby/1.8/i386-mswin32/win32OLE.so: 127: The specified
procedure coul
d not be found. - Init_win32OLE (LoadError)"

I've tried re-installing 1.8.2 (r15) without luck.

This is particularly strange since I don't muck about with my ruby
install as I don;t want to break anything.

Anyone got any ideas?

Thanks,

Greg

1 Answer

Greg Lorriman

3/8/2006 9:09:00 PM

0


ok, I;ve found the solution!

The string in the "require" clause is case sensitive.


Greg Lorriman wrote:
> Hi Folks,
>
> I've been using win32ole alot for talking to Excel.
>
> I've just come back to programming with win32ole after a lull of a
> month to find that when I try creating an instance of excel I get this
> error message :
>
> "d:/ruby/lib/ruby/1.8/i386-mswin32/win32OLE.so: 127: The specified
> procedure coul
> d not be found. - Init_win32OLE (LoadError)"
>
> I've tried re-installing 1.8.2 (r15) without luck.
>
> This is particularly strange since I don't muck about with my ruby
> install as I don;t want to break anything.
>
> Anyone got any ideas?
>
> Thanks,
>
> Greg