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]][pyinstaller_unsubscribe_googlegroups.com].
> 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].
>


[pyinstaller_unsubscribe_googlegroups.com]: 
mailto:[email protected]
[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/_sg_qEdzEwgOdhVHDqCmaGxJ6AORc1kbC7XFYfXSrOLCrslnXGAmToT_w0z6YSTpaTRuyO-l3z3xQnQ3gRnb14SHY5pUu3KMveos48LaXE0%3D%40protonmail.com.

Attachment: publickey - EmailAddress([email protected]) - 0x164CF234.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to