Thank you, Jasper. I finally figured out that I'm running into a problem with Win7, but it worked on Win10. <facepalm> Thank you for responding with the info! There were some unknowns with PyInstaller that this helped me be certain about. Is there a previous version of PyInstaller that I could use to create an .exe that works on Win7?
Matt On Saturday, June 17, 2023 at 4:41:54 AM UTC-4 Jasper Harrison wrote: > No special handling should be required that I can think of. You should be > able to load a DLL just the same as in an unfrozen python script. > > > Jasper Harrison, aka Legorooj > Core Developer on PyInstaller > https://legorooj.net > > > > > > > -------- Original Message -------- > On 16 Jun 2023, 16:18, Matt Carpenter < [email protected]> wrote: > > > Forgive if this is a duplicate. I thought I sent this already. > > I'm trying to generate an .exe from my python script which accesses > external DLLs using ctypes, and I would like to *not* package the DLLs. > How do I use PyInstaller to generate an .exe which use the DLLs on the > target machine it's running on? > > I did some searching but I haven't found anything that talks about this > scenario, even though I don't doubt you've already answered this question > before. If so, I apologize, please just point me at it. > > Thank you in advance! > Matt > > -- > You received this message because you are subscribed to the Google Groups > "PyInstaller" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyinstaller/1045cc38-d4bc-47df-8af5-132b9705e5d1n%40googlegroups.com > > <https://groups.google.com/d/msgid/pyinstaller/1045cc38-d4bc-47df-8af5-132b9705e5d1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/c1d39164-5123-4dc7-af35-3098d7a39e23n%40googlegroups.com.
