From seth at tewebs.com Mon Dec 14 23:10:35 2009 From: seth at tewebs.com (Seth Burleigh) Date: Mon, 14 Dec 2009 17:10:35 -0600 Subject: [rdnzl-devel] Could not load file or assembly error Message-ID: <000c01ca7d12$a54905b0$efdb1110$@com> Im attempting to get this to work on windows 7. I have .net 3.5 installed but when I try this. (defpackage :rdnzl-test (:use :cl :rdnzl)) (in-package :rdnzl-test) (enable-rdnzl-syntax) (import-types "System.Windows.Forms" "MessageBox" "MessageBoxButtons" "DialogResult") I get the error .NET error (System.IO.FileNotFoundException): Could not load file or assembly 'System.Windows.Forms' or one of its dependencies. The system cannot find the file specified. Im pretty new to all of this, though im guessing this has something to do with setting environmental vars or something. But since you know the library I figure you'll probably know the solution. Looking forward to getting this to work! Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From edi at agharta.de Tue Dec 15 07:03:12 2009 From: edi at agharta.de (Edi Weitz) Date: Tue, 15 Dec 2009 08:03:12 +0100 Subject: [rdnzl-devel] Could not load file or assembly error In-Reply-To: <000c01ca7d12$a54905b0$efdb1110$@com> References: <000c01ca7d12$a54905b0$efdb1110$@com> Message-ID: Hi Raymond, I think this is due to your recent patch. Isn't this supposed to work anymore? Thanks, Edi. On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: > Im attempting to get this to work on windows 7. I have .net 3.5 installed > but when I try this. > > > > (defpackage :rdnzl-test (:use :cl :rdnzl)) > > (in-package :rdnzl-test) > > > > (enable-rdnzl-syntax) > > (import-types "System.Windows.Forms" > > ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") > > > > > > I get the error > > .NET error (System.IO.FileNotFoundException): Could not load file or > assembly 'System.Windows.Forms' or one of its dependencies. The system > cannot find the file specified. > > > > Im pretty new to all of this, though im guessing this has something to do > > with setting environmental vars or something. But since you know the library > > I figure you?ll probably know the solution. > > > > Looking forward to getting this to work! Thanks! > > > _______________________________________________ > rdnzl-devel mailing list > rdnzl-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel > > From edi at agharta.de Tue Dec 15 07:13:00 2009 From: edi at agharta.de (Edi Weitz) Date: Tue, 15 Dec 2009 08:13:00 +0100 Subject: [rdnzl-devel] Could not load file or assembly error In-Reply-To: <000c01ca7d12$a54905b0$efdb1110$@com> References: <000c01ca7d12$a54905b0$efdb1110$@com> Message-ID: Seth, I'm attaching the previous version of RDNZL to this email which you might want to try instead. Edi. On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: > Im attempting to get this to work on windows 7. I have .net 3.5 installed > but when I try this. > > > > (defpackage :rdnzl-test (:use :cl :rdnzl)) > > (in-package :rdnzl-test) > > > > (enable-rdnzl-syntax) > > (import-types "System.Windows.Forms" > > ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") > > > > > > I get the error > > .NET error (System.IO.FileNotFoundException): Could not load file or > assembly 'System.Windows.Forms' or one of its dependencies. The system > cannot find the file specified. > > > > Im pretty new to all of this, though im guessing this has something to do > > with setting environmental vars or something. But since you know the library > > I figure you?ll probably know the solution. > > > > Looking forward to getting this to work! Thanks! > > > _______________________________________________ > rdnzl-devel mailing list > rdnzl-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel > > -------------- next part -------------- A non-text attachment was scrubbed... Name: rdnzl.tar.gz Type: application/x-gzip Size: 118633 bytes Desc: not available URL: From rwiker at gmail.com Tue Dec 15 10:51:43 2009 From: rwiker at gmail.com (Raymond Wiker) Date: Tue, 15 Dec 2009 11:51:43 +0100 Subject: [rdnzl-devel] Could not load file or assembly error In-Reply-To: References: <000c01ca7d12$a54905b0$efdb1110$@com> Message-ID: <9cd322050912150251n722ec2c5r893d3d6d0e6da21d@mail.gmail.com> Could be due to the patch, but I think you may have to explicitly register rdnzl.ddl (using gacutil)? I seem to remember that I had to do that on Win7. I'll take a look on my Win7 installation. On Tue, Dec 15, 2009 at 8:03 AM, Edi Weitz wrote: > Hi Raymond, > > I think this is due to your recent patch. ?Isn't this supposed to work anymore? > > Thanks, > Edi. > > > On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: >> Im attempting to get this to work on windows 7. I have .net 3.5 installed >> but when I try this. >> >> >> >> (defpackage :rdnzl-test (:use :cl :rdnzl)) >> >> (in-package :rdnzl-test) >> >> >> >> (enable-rdnzl-syntax) >> >> (import-types "System.Windows.Forms" >> >> ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") >> >> >> >> >> >> I get the error >> >> .NET error (System.IO.FileNotFoundException): Could not load file or >> assembly 'System.Windows.Forms' or one of its dependencies. The system >> cannot find the file specified. >> >> >> >> Im pretty new to all of this, though im guessing this has something to do >> >> with setting environmental vars or something. But since you know the library >> >> I figure you?ll probably know the solution. >> >> >> >> Looking forward to getting this to work! Thanks! >> >> >> _______________________________________________ >> rdnzl-devel mailing list >> rdnzl-devel at common-lisp.net >> http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel >> >> > From rwiker at gmail.com Tue Dec 15 11:52:43 2009 From: rwiker at gmail.com (Raymond Wiker) Date: Tue, 15 Dec 2009 12:52:43 +0100 Subject: [rdnzl-devel] Could not load file or assembly error In-Reply-To: <9cd322050912150251n722ec2c5r893d3d6d0e6da21d@mail.gmail.com> References: <000c01ca7d12$a54905b0$efdb1110$@com> <9cd322050912150251n722ec2c5r893d3d6d0e6da21d@mail.gmail.com> Message-ID: <9cd322050912150352s32cf72fdr471fcfc0b903c27a@mail.gmail.com> I just checked, and it does not appear that I used gacutil to register rdnzl.dll. I tried running the messagebox example, using rdnzl 0.12.2 and 0.13. 0.12.2 works, 0.13 does not. If I modify import.lisp so that load-assembly uses the old code (with LoadWithPartialName), the example works. Likewise if I change the code to try LoadWithPartialName first, with Load (as used in 0.13) as a fallback. The fallback probably won't help in the loading, but may be useful for error trapping/reporting. Sorry about this - I will remember to test the demo programs as well as my own code the next time... If you end up doing a new version instead of a rollback, it would be good to have do-rdnzl-collection exported - it is implemented and documented, but not exported (exactly as it was in the patch i sent, so this, too, is my fault; again, sorry.) On a more positive note: I'm using rdnzl for feeding documents into a search engine, and rdnzl works just great for me - good performance, and no sign of any memory leaks - and also reasonably easy to get working. Thanks again for allowing me to do (almost) Microsoft-free programming under Windows :-) On Tue, Dec 15, 2009 at 11:51 AM, Raymond Wiker wrote: > Could be due to the patch, but I think you may have to explicitly > register rdnzl.ddl (using gacutil)? I seem to remember that I had to > do that on Win7. I'll take a look on my Win7 installation. > > On Tue, Dec 15, 2009 at 8:03 AM, Edi Weitz wrote: >> Hi Raymond, >> >> I think this is due to your recent patch. ?Isn't this supposed to work anymore? >> >> Thanks, >> Edi. >> >> >> On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: >>> Im attempting to get this to work on windows 7. I have .net 3.5 installed >>> but when I try this. >>> >>> >>> >>> (defpackage :rdnzl-test (:use :cl :rdnzl)) >>> >>> (in-package :rdnzl-test) >>> >>> >>> >>> (enable-rdnzl-syntax) >>> >>> (import-types "System.Windows.Forms" >>> >>> ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") >>> >>> >>> >>> >>> >>> I get the error >>> >>> .NET error (System.IO.FileNotFoundException): Could not load file or >>> assembly 'System.Windows.Forms' or one of its dependencies. The system >>> cannot find the file specified. >>> >>> >>> >>> Im pretty new to all of this, though im guessing this has something to do >>> >>> with setting environmental vars or something. But since you know the library >>> >>> I figure you?ll probably know the solution. >>> >>> >>> >>> Looking forward to getting this to work! Thanks! >>> >>> >>> _______________________________________________ >>> rdnzl-devel mailing list >>> rdnzl-devel at common-lisp.net >>> http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel >>> >>> >> > From seth at tewebs.com Tue Dec 15 16:29:37 2009 From: seth at tewebs.com (Seth Burleigh) Date: Tue, 15 Dec 2009 10:29:37 -0600 Subject: [rdnzl-devel] Could not load file or assembly error In-Reply-To: <9cd322050912150352s32cf72fdr471fcfc0b903c27a@mail.gmail.com> References: <000c01ca7d12$a54905b0$efdb1110$@com> <9cd322050912150251n722ec2c5r893d3d6d0e6da21d@mail.gmail.com> <9cd322050912150352s32cf72fdr471fcfc0b903c27a@mail.gmail.com> Message-ID: <000f01ca7da3$cbfdce70$63f96b50$@com> Sweet, it now works with the old version! Im also using the dll I recompiled in desperation for the newest version but I imagine it?s the same. I'll provide any help trying to get the newest patch to work, though I don?t exactly know what it does. -----Original Message----- From: Raymond Wiker [mailto:rwiker at gmail.com] Sent: Tuesday, December 15, 2009 5:53 AM To: Edi Weitz Cc: General interest list about RDNZL Subject: Re: [rdnzl-devel] Could not load file or assembly error I just checked, and it does not appear that I used gacutil to register rdnzl.dll. I tried running the messagebox example, using rdnzl 0.12.2 and 0.13. 0.12.2 works, 0.13 does not. If I modify import.lisp so that load-assembly uses the old code (with LoadWithPartialName), the example works. Likewise if I change the code to try LoadWithPartialName first, with Load (as used in 0.13) as a fallback. The fallback probably won't help in the loading, but may be useful for error trapping/reporting. Sorry about this - I will remember to test the demo programs as well as my own code the next time... If you end up doing a new version instead of a rollback, it would be good to have do-rdnzl-collection exported - it is implemented and documented, but not exported (exactly as it was in the patch i sent, so this, too, is my fault; again, sorry.) On a more positive note: I'm using rdnzl for feeding documents into a search engine, and rdnzl works just great for me - good performance, and no sign of any memory leaks - and also reasonably easy to get working. Thanks again for allowing me to do (almost) Microsoft-free programming under Windows :-) On Tue, Dec 15, 2009 at 11:51 AM, Raymond Wiker wrote: > Could be due to the patch, but I think you may have to explicitly > register rdnzl.ddl (using gacutil)? I seem to remember that I had to > do that on Win7. I'll take a look on my Win7 installation. > > On Tue, Dec 15, 2009 at 8:03 AM, Edi Weitz wrote: >> Hi Raymond, >> >> I think this is due to your recent patch. ?Isn't this supposed to work anymore? >> >> Thanks, >> Edi. >> >> >> On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: >>> Im attempting to get this to work on windows 7. I have .net 3.5 installed >>> but when I try this. >>> >>> >>> >>> (defpackage :rdnzl-test (:use :cl :rdnzl)) >>> >>> (in-package :rdnzl-test) >>> >>> >>> >>> (enable-rdnzl-syntax) >>> >>> (import-types "System.Windows.Forms" >>> >>> ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") >>> >>> >>> >>> >>> >>> I get the error >>> >>> .NET error (System.IO.FileNotFoundException): Could not load file or >>> assembly 'System.Windows.Forms' or one of its dependencies. The system >>> cannot find the file specified. >>> >>> >>> >>> Im pretty new to all of this, though im guessing this has something to do >>> >>> with setting environmental vars or something. But since you know the library >>> >>> I figure you?ll probably know the solution. >>> >>> >>> >>> Looking forward to getting this to work! Thanks! >>> >>> >>> _______________________________________________ >>> rdnzl-devel mailing list >>> rdnzl-devel at common-lisp.net >>> http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel >>> >>> >> > _______________________________________________ rdnzl-devel mailing list rdnzl-devel at common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel From seth at tewebs.com Tue Dec 15 16:33:43 2009 From: seth at tewebs.com (Seth Burleigh) Date: Tue, 15 Dec 2009 10:33:43 -0600 Subject: [rdnzl-devel] Could not load file or assembly error In-Reply-To: <9cd322050912150352s32cf72fdr471fcfc0b903c27a@mail.gmail.com> References: <000c01ca7d12$a54905b0$efdb1110$@com> <9cd322050912150251n722ec2c5r893d3d6d0e6da21d@mail.gmail.com> <9cd322050912150352s32cf72fdr471fcfc0b903c27a@mail.gmail.com> Message-ID: <001001ca7da4$5e572b40$1b0581c0$@com> Oh, forgot to mention. Im using sbcl 1.0.29 -----Original Message----- From: Raymond Wiker [mailto:rwiker at gmail.com] Sent: Tuesday, December 15, 2009 5:53 AM To: Edi Weitz Cc: General interest list about RDNZL Subject: Re: [rdnzl-devel] Could not load file or assembly error I just checked, and it does not appear that I used gacutil to register rdnzl.dll. I tried running the messagebox example, using rdnzl 0.12.2 and 0.13. 0.12.2 works, 0.13 does not. If I modify import.lisp so that load-assembly uses the old code (with LoadWithPartialName), the example works. Likewise if I change the code to try LoadWithPartialName first, with Load (as used in 0.13) as a fallback. The fallback probably won't help in the loading, but may be useful for error trapping/reporting. Sorry about this - I will remember to test the demo programs as well as my own code the next time... If you end up doing a new version instead of a rollback, it would be good to have do-rdnzl-collection exported - it is implemented and documented, but not exported (exactly as it was in the patch i sent, so this, too, is my fault; again, sorry.) On a more positive note: I'm using rdnzl for feeding documents into a search engine, and rdnzl works just great for me - good performance, and no sign of any memory leaks - and also reasonably easy to get working. Thanks again for allowing me to do (almost) Microsoft-free programming under Windows :-) On Tue, Dec 15, 2009 at 11:51 AM, Raymond Wiker wrote: > Could be due to the patch, but I think you may have to explicitly > register rdnzl.ddl (using gacutil)? I seem to remember that I had to > do that on Win7. I'll take a look on my Win7 installation. > > On Tue, Dec 15, 2009 at 8:03 AM, Edi Weitz wrote: >> Hi Raymond, >> >> I think this is due to your recent patch. ?Isn't this supposed to work anymore? >> >> Thanks, >> Edi. >> >> >> On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: >>> Im attempting to get this to work on windows 7. I have .net 3.5 installed >>> but when I try this. >>> >>> >>> >>> (defpackage :rdnzl-test (:use :cl :rdnzl)) >>> >>> (in-package :rdnzl-test) >>> >>> >>> >>> (enable-rdnzl-syntax) >>> >>> (import-types "System.Windows.Forms" >>> >>> ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") >>> >>> >>> >>> >>> >>> I get the error >>> >>> .NET error (System.IO.FileNotFoundException): Could not load file or >>> assembly 'System.Windows.Forms' or one of its dependencies. The system >>> cannot find the file specified. >>> >>> >>> >>> Im pretty new to all of this, though im guessing this has something to do >>> >>> with setting environmental vars or something. But since you know the library >>> >>> I figure you?ll probably know the solution. >>> >>> >>> >>> Looking forward to getting this to work! Thanks! >>> >>> >>> _______________________________________________ >>> rdnzl-devel mailing list >>> rdnzl-devel at common-lisp.net >>> http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel >>> >>> >> > _______________________________________________ rdnzl-devel mailing list rdnzl-devel at common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel From edi at agharta.de Tue Dec 22 01:14:30 2009 From: edi at agharta.de (Edi Weitz) Date: Tue, 22 Dec 2009 02:14:30 +0100 Subject: [rdnzl-devel] New release 0.13.1 (Was: Could not load file or assembly error) Message-ID: I have now released a new version 0.13.1 which uses Load as a fallback (I had the same idea initially) and also exports do-rdnzl-collection. Raymond, thanks again for your help, but essentially this "fix" is against your original idea to catch errors early if an assembly isn't found, right? Do you have a better idea? (And good to hear about your experiences with RDNZL. I don't know of many users who deploy RDNZL "in earnest" - I'm certainly not one of them - but I'm always happy to hear about it.) Seth, thanks for the report. Cheers, Edi. On Tue, Dec 15, 2009 at 12:52 PM, Raymond Wiker wrote: > I just checked, and it does not appear that I used gacutil to register > rdnzl.dll. > > I tried running the messagebox example, using rdnzl 0.12.2 and 0.13. > 0.12.2 works, 0.13 does not. If I modify import.lisp so that > load-assembly uses the old code (with LoadWithPartialName), the > example works. Likewise if I change the code to try > LoadWithPartialName first, with Load (as used in 0.13) as a fallback. > The fallback probably won't help in the loading, but may be useful for > error trapping/reporting. > > Sorry about this - I will remember to test the demo programs as well > as my own code the next time... > > If you end up doing a new version instead of a rollback, it would be > good to have do-rdnzl-collection exported - it is implemented and > documented, but not exported (exactly as it was in the patch i sent, > so this, too, is my fault; again, sorry.) > > On a more positive note: I'm using rdnzl for feeding documents into a > search engine, and rdnzl works just great for me - good performance, > and no sign of any memory leaks - and also reasonably easy to get > working. Thanks again for allowing me to do (almost) Microsoft-free > programming under Windows :-) > > On Tue, Dec 15, 2009 at 11:51 AM, Raymond Wiker wrote: >> Could be due to the patch, but I think you may have to explicitly >> register rdnzl.ddl (using gacutil)? I seem to remember that I had to >> do that on Win7. I'll take a look on my Win7 installation. >> >> On Tue, Dec 15, 2009 at 8:03 AM, Edi Weitz wrote: >>> Hi Raymond, >>> >>> I think this is due to your recent patch. ?Isn't this supposed to work anymore? >>> >>> Thanks, >>> Edi. >>> >>> >>> On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: >>>> Im attempting to get this to work on windows 7. I have .net 3.5 installed >>>> but when I try this. >>>> >>>> >>>> >>>> (defpackage :rdnzl-test (:use :cl :rdnzl)) >>>> >>>> (in-package :rdnzl-test) >>>> >>>> >>>> >>>> (enable-rdnzl-syntax) >>>> >>>> (import-types "System.Windows.Forms" >>>> >>>> ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") >>>> >>>> >>>> >>>> >>>> >>>> I get the error >>>> >>>> .NET error (System.IO.FileNotFoundException): Could not load file or >>>> assembly 'System.Windows.Forms' or one of its dependencies. The system >>>> cannot find the file specified. >>>> >>>> >>>> >>>> Im pretty new to all of this, though im guessing this has something to do >>>> >>>> with setting environmental vars or something. But since you know the library >>>> >>>> I figure you?ll probably know the solution. >>>> >>>> >>>> >>>> Looking forward to getting this to work! Thanks! >>>> >>>> >>>> _______________________________________________ >>>> rdnzl-devel mailing list >>>> rdnzl-devel at common-lisp.net >>>> http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel >>>> >>>> >>> >> > > From rwiker at gmail.com Tue Dec 22 11:14:51 2009 From: rwiker at gmail.com (Raymond Wiker) Date: Tue, 22 Dec 2009 12:14:51 +0100 Subject: [rdnzl-devel] New release 0.13.1 (Was: Could not load file or assembly error) In-Reply-To: References: Message-ID: <9cd322050912220314o40206095qf28ef5ba9b2478ab@mail.gmail.com> The new version (0.13.1) fixes the breakage introduced by my code, so that is good - thanks, and sorry for the mess I caused. The reason I suggested using Load was that Load generated exceptions where LoadWithPartialName would return nil (it did also complain, but not sufficiently loud that I noticed :-) Sooo, I think that maybe import-assembly should do something like (or [LoadWithPartialName ...] (let (..) [Load ...]) That way, if LoadWithPartialName returns nil, Load will have a chance to report the actual error. Alternatively, we could revert back to using the original code, and add a separate version that uses Load in all its gory glory. On Tue, Dec 22, 2009 at 2:14 AM, Edi Weitz wrote: > I have now released a new version 0.13.1 which uses Load as a fallback > (I had the same idea initially) and also exports do-rdnzl-collection. > Raymond, thanks again for your help, but essentially this "fix" is > against your original idea to catch errors early if an assembly isn't > found, right? ?Do you have a better idea? ?(And good to hear about > your experiences with RDNZL. ?I don't know of many users who deploy > RDNZL "in earnest" - I'm certainly not one of them - but I'm always > happy to hear about it.) > > Seth, thanks for the report. > > Cheers, > Edi. > > > > On Tue, Dec 15, 2009 at 12:52 PM, Raymond Wiker wrote: >> I just checked, and it does not appear that I used gacutil to register >> rdnzl.dll. >> >> I tried running the messagebox example, using rdnzl 0.12.2 and 0.13. >> 0.12.2 works, 0.13 does not. If I modify import.lisp so that >> load-assembly uses the old code (with LoadWithPartialName), the >> example works. Likewise if I change the code to try >> LoadWithPartialName first, with Load (as used in 0.13) as a fallback. >> The fallback probably won't help in the loading, but may be useful for >> error trapping/reporting. >> >> Sorry about this - I will remember to test the demo programs as well >> as my own code the next time... >> >> If you end up doing a new version instead of a rollback, it would be >> good to have do-rdnzl-collection exported - it is implemented and >> documented, but not exported (exactly as it was in the patch i sent, >> so this, too, is my fault; again, sorry.) >> >> On a more positive note: I'm using rdnzl for feeding documents into a >> search engine, and rdnzl works just great for me - good performance, >> and no sign of any memory leaks - and also reasonably easy to get >> working. Thanks again for allowing me to do (almost) Microsoft-free >> programming under Windows :-) >> >> On Tue, Dec 15, 2009 at 11:51 AM, Raymond Wiker wrote: >>> Could be due to the patch, but I think you may have to explicitly >>> register rdnzl.ddl (using gacutil)? I seem to remember that I had to >>> do that on Win7. I'll take a look on my Win7 installation. >>> >>> On Tue, Dec 15, 2009 at 8:03 AM, Edi Weitz wrote: >>>> Hi Raymond, >>>> >>>> I think this is due to your recent patch. ?Isn't this supposed to work anymore? >>>> >>>> Thanks, >>>> Edi. >>>> >>>> >>>> On Tue, Dec 15, 2009 at 12:10 AM, Seth Burleigh wrote: >>>>> Im attempting to get this to work on windows 7. I have .net 3.5 installed >>>>> but when I try this. >>>>> >>>>> >>>>> >>>>> (defpackage :rdnzl-test (:use :cl :rdnzl)) >>>>> >>>>> (in-package :rdnzl-test) >>>>> >>>>> >>>>> >>>>> (enable-rdnzl-syntax) >>>>> >>>>> (import-types "System.Windows.Forms" >>>>> >>>>> ????????????? "MessageBox" "MessageBoxButtons" "DialogResult") >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I get the error >>>>> >>>>> .NET error (System.IO.FileNotFoundException): Could not load file or >>>>> assembly 'System.Windows.Forms' or one of its dependencies. The system >>>>> cannot find the file specified. >>>>> >>>>> >>>>> >>>>> Im pretty new to all of this, though im guessing this has something to do >>>>> >>>>> with setting environmental vars or something. But since you know the library >>>>> >>>>> I figure you?ll probably know the solution. >>>>> >>>>> >>>>> >>>>> Looking forward to getting this to work! Thanks! >>>>> >>>>> >>>>> _______________________________________________ >>>>> rdnzl-devel mailing list >>>>> rdnzl-devel at common-lisp.net >>>>> http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel >>>>> >>>>> >>>> >>> >> >> > From edi at agharta.de Tue Dec 22 20:21:32 2009 From: edi at agharta.de (Edi Weitz) Date: Tue, 22 Dec 2009 21:21:32 +0100 Subject: [rdnzl-devel] New release 0.13.2 (Was: New release 0.13.1) Message-ID: On Tue, Dec 22, 2009 at 12:14 PM, Raymond Wiker wrote: > Sooo, I think that maybe import-assembly should do something like > > (or [LoadWithPartialName ...] > ? ?(let (..) > ? ? ? [Load ...]) Yes, that's of course better. I should have thought of that myself... I made a new release with this change. Thanks and Happy Holidays, Edi. From edi at agharta.de Sun Dec 27 21:49:19 2009 From: edi at agharta.de (Edi Weitz) Date: Sun, 27 Dec 2009 22:49:19 +0100 Subject: [rdnzl-devel] Problems with Interop calls In-Reply-To: <49B61172.70705@gmx.de> References: <49B61172.70705@gmx.de> Message-ID: I'm sorry that nobody was able to help here, but just out of curiosity: Did you ever solve the problem? On Tue, Mar 10, 2009 at 8:06 AM, Eric wrote: > Hello everybody first off all i wanna thank you for this nice interface to > the .Net-Framework. > > Now to my problem: > > I'm using RDNZL to control to ORC-Systems via .Net, my problem is that one > OCR (tesseract) is working fine with it because it is possible to compile it > with Microsoft Visual Studio(no problem at all). The other OCR-System ABBYY > FineReader consits of DLL for which? ABBYY? provides? an? Interop-Assembly > to communicate with it directly from the .Net-Framework. > For controlling FineReader im using a C# Klasse (as an mediator in a DLL) > which does futher action and intraktion with the OCR-System. If i use this > Class direktly with a console-application compield in the .net-framework > everything is fine. > But if i use lisp and RDNZL to create an instance of the class and call a > function of instance that calls itself a function of the ABBYY > Interop-Assemble sometime the function call into the assembly don't came > back. > And if i start the process from Lispworks again everything works fine. > > Normally i would say it has nothing to do with RDNZL, but maybe it has some > effects on the .Net-Framework which make it reacted different ??? > > > So my question: Has someone experience with such a problem or does some know > what i can do to find a workaround for this problem? > > -> When it stucks always the first call to the Interop-Assembly stucks, if > this call don't stuck everything runs perfect. > -> I also tried to call this Interop-Assembly directly with RDNZL with the > same result, it sometimes stucks. > > > Thanks a bunch for your help, > > Eric > > (If there is something unclear concerning my bad English and/or bad > description i would be happy to describe it in detail) > > My System: > > -? Win XP > -? LispWorks 5.1.1 Personal Edition > -? RDNZL 0.12.2. > -? Visual Studio 2008 Express Editions > -? .Net-Framework 3.5 > > > Some Code: > > Unfortunately i can not provide an complete example or my full code, but > here are at least some snippets. > Also there happens nothing special, so i think the problem is somewhere > else... and there is no exception coming > back as if it is waiting or the call is not delivered. > > > The function with starts the hole process in lisp: > > (defun OCR++FineReaderBildAuswerten? (Speicherort bild sprache > neuerSpeicherort ) > ???? (RDNZL:rdnzl-handler-case > ????? (let(dotNetList bilderAnzahl (ergebnis (list ) )) > ?????????? (OCR++FineReader-BilderPraeparieren (concatenate 'string > Speicherort "\\" bild ) neuerSpeicherort) <<<---first Function to .Net see > below > ?????????? (setq bilderAnzahl (- (OCR++FineReader-BilderAnzahl) 1)) > ?????????? (loop for n from 0 to bilderAnzahl do > ???????????????? (OCR++FineReader-BilderOeffen n) > ???????????????? (OCR++FineReader-InhaltAnalysieren ) > ???????????????? (OCR++FineReader-InhaltAufbereiten? sprache? ) > ???????????????? (OCR++FineReader-Speichern neuerSpeicherort bild :frz t > :txt t) > ???????????????? (setq dotNetList (OCR--FineReader-TextDatenStrukturLesen)) > ???????????????? (setq ergebnis (cons > (ORC--FineReader-erstelle-verschachtelterListe-Text dotNetList) ergebnis)) > ???????????????? (OCR--FineReader-DokumentenAnalyseSaeubern)) > ?????????? (RDNZL:enable-rdnzl-syntax) > ?????????? (reverse ergebnis)) > ?????????? ( "System.Exception" (e) > ????????????????????? (print (RDNZL:invoke e "ToString") ) > ????????????????????? nil) > ?????????? )) > > > =============================================== > The first function which calls a function in the #Class: > > (defun OCR++FineReader-BildPraeparierenUndOeffnen(bild) > ??????????? (RDNZL:invoke fineref? "bildPraeparierenUndOeffnen"? bild ) ) > > =============================================== > The function in the C# Class which calls a function of the Interop-Assembly: > > public Boolean bildPraeparierenUndOeffnen(String bildpfad) > ? { > ? Logger.logIT(this, " bildPraeparierenUndOeffnen: " + bildpfad, log); > ? bildInformation = pEngine.PrepareAndOpenImage(bildpfad, > bildBearbeitungsParameter, null, ref dokumentenInformation);<<< here it > stucks > ? Logger.logIT(this, " bildPraeparierenUndOeffnen: ende", log); > ? return true; > ? } > _______________________________________________ > rdnzl-devel mailing list > rdnzl-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/rdnzl-devel > >