Recent

Author Topic: Lazarus, report and CGI  (Read 47294 times)

TJC

  • Newbie
  • Posts: 4
Re: Lazarus, report and CGI
« Reply #60 on: August 30, 2017, 04:47:40 am »
I've tried moving the freetype-6.dll to various directories in the Lazarus directory but still get the same error.  Where should I put the file.
I would imagine in the <windows>\system32\ directory, or whatever is the equivalent in 64-bit Windows platforms.

That would be %WINDIR%\sysWow64 that has the 32 bit stuff
%WINDIR%\system32 has 64 bit stuff in it.
No I did not type that backward.
Microsoft, gotta love (hate) them

mobilevil

  • Jr. Member
  • **
  • Posts: 74
    • http://www.kachun.com
Re: Lazarus, report and CGI
« Reply #61 on: September 04, 2017, 08:49:49 am »
update:found that fpreport actually needs zlib1.dll. I got mine here http://gnuwin32.sourceforge.net/packages/zlib.htm

I made a build from fpc svn trunk, and the fcldemo.exe works in my home machine. but it fails in my office with message "the application was unable to start correctly (0xc000007b)". maybe it is depending on something more?

my build is win32, and the OS is windows 10 64.
using freetype dll(and renamed to freetype-6.dll) from http://gnuwin32.sourceforge.net/packages/freetype.htm

Reading symbols from C:\freepascal\fpc\3.0.2\packages\fcl-report\demos/fcldemo.exe...done.
(gdb) run
Starting program: C:\freepascal\fpc\3.0.2\packages\fcl-report\demos/fcldemo.exe
[New Thread 18560.0xa0c]
[New Thread 18560.0x4824]
[New Thread 18560.0x3534]
[New Thread 18560.0x3250]
During startup program exited with code 0xc000007b.
« Last Edit: September 04, 2017, 10:06:56 am by mobilevil »

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Lazarus, report and CGI
« Reply #62 on: September 04, 2017, 09:46:44 am »
The bitness of the executable does not match that of the freetype dll!
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

mobilevil

  • Jr. Member
  • **
  • Posts: 74
    • http://www.kachun.com
Re: Lazarus, report and CGI
« Reply #63 on: September 04, 2017, 10:05:08 am »
The bitness of the executable does not match that of the freetype dll!

claim down, my friend. I found it. it is not the bitness, it is zlib1.dll.

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Lazarus, report and CGI
« Reply #64 on: September 04, 2017, 10:23:01 am »
okay :) ... or any other dll.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

 

TinyPortal © 2005-2018