Hi,
I am working on a Windows 7 (64 bit) but on a 32 bit JVM and I am using JNA 3.5.2.
I have to load DLLs by their absolute path, but if I try to load them and the path has a long path (my assumption is 256 characters) loading the library fails with an UnsatisfiedLinkError.
If I understand the JNA code correctly, the absolute path to the DLL will always be computed when loading the the library, so long paths are always a problem.
Is this an inherent restriction of the operating system or is there any way around this?
Thanks,
Max
Hi,
I am working on a Windows 7 (64 bit) but on a 32 bit JVM and I am using JNA 3.5.2.
I have to load DLLs by their absolute path, but if I try to load them and the path has a long path (my assumption is 256 characters) loading the library fails with an UnsatisfiedLinkError.
If I understand the JNA code correctly, the absolute path to the DLL will always be computed when loading the the library, so long paths are always a problem.
Is this an inherent restriction of the operating system or is there any way around this?
Thanks,
Max