comp.lang.ada
 help / color / mirror / Atom feed
* Error: "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll"
@ 2015-08-22  8:59 Trish Cayetano
  2015-08-22  9:45 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 3+ messages in thread
From: Trish Cayetano @ 2015-08-22  8:59 UTC (permalink / raw)


When I ran the exe file, it prompted me with error "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll"

The zlib1.dll file is located in the following: 

   C:\GNAT\2015\bin\zlib1.dll
   C:\gtkada\bin\zlib1.dll

And the values in the environment system variable path are:

   C:\gtkada\bin;C:\gtkada\lib\gtkada;C:\GNAT\2015\bin


but I still encounter the errors... How do I fix the error?

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error: "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll"
  2015-08-22  8:59 Error: "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll" Trish Cayetano
@ 2015-08-22  9:45 ` Dmitry A. Kazakov
  2015-08-25 16:59   ` gautier_niouzes
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry A. Kazakov @ 2015-08-22  9:45 UTC (permalink / raw)


On Sat, 22 Aug 2015 01:59:21 -0700 (PDT), Trish Cayetano wrote:

> When I ran the exe file, it prompted me with error "the procedure entry
> point deflatesetheader could not be located in dynamic link library
> zlib1.dll"
> 
> The zlib1.dll file is located in the following: 
> 
>    C:\GNAT\2015\bin\zlib1.dll
>    C:\gtkada\bin\zlib1.dll
> 
> And the values in the environment system variable path are:
> 
>    C:\gtkada\bin;C:\gtkada\lib\gtkada;C:\GNAT\2015\bin
> 
> but I still encounter the errors... How do I fix the error?

1. The name is deflateSetHeader (case sensitive)

2. Do you really use it in your code?

3. You can take zlib1.dll from other distributions, e.g. from GIMP.
Overwrite the original in C:\GtkAda\bin and see what happens.

4. There is libz.a in C:\GtkAda\lib. You could link statically to it.

P.S. Use

   dumpbin.exe /exports foo.dll

to see the symbols exported from a DLL.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error: "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll"
  2015-08-22  9:45 ` Dmitry A. Kazakov
@ 2015-08-25 16:59   ` gautier_niouzes
  0 siblings, 0 replies; 3+ messages in thread
From: gautier_niouzes @ 2015-08-25 16:59 UTC (permalink / raw)


The long-term solution would be to implement Zada (Zlib in Ada).
It is a question of taking the spec from Zlib-Ada and making a body with no compression - I do the rest (Deflate compression/decompression).
_________________________
Gautier's Ada programming
http://sf.net/users/gdemont/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-25 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-22  8:59 Error: "the procedure entry point deflatesetheader could not be located in dynamic link library zlib1.dll" Trish Cayetano
2015-08-22  9:45 ` Dmitry A. Kazakov
2015-08-25 16:59   ` gautier_niouzes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox