Hi All! Just to let you guys know, I managed to fix it after reading this post at PerlMonks:
http://www.perlmonks.org/?node_id=392275 Not by actually following that tutorial, but by reading one of the comments that recommended to use this flag in: regasm yourlib.dll /codebase Now I can use it from Perl and Win32::OLE. Nice! :-) Another of the comments mention Win32::CLR. I'm also going to check that out but for now it works great! Cheers, Francisco -----Mensaje original----- From: Francisco Zarabozo Sent: Wednesday, February 22, 2012 12:39 PM To: Brian Raven ; Active State Perl Mailing List Subject: Re: Problem with Win32::OLE > -----Mensaje original----- > From: Brian Raven > Sent: Wednesday, February 22, 2012 12:28 PM > To: Active State Perl Mailing List > Subject: RE: Problem with Win32::OLE > > > Did you look at Win32::Api? It might have been better way to go if you > just wanted to call execute a function in a DLL. Hi Brian! Yes, I did try it, it didn't work. I'm still not sure if I wasn't using the right C protoypes (which you have to know well when declaring a new Win32::API or it just doesn't work) ir if it was a matter of the .NET assembly having some different-than-regular way to expose its public methods. I'll keep trying that way to see if I get somewhere. Thanks, Francisco _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs