Forum > General

Error on compile

(1/2) > >>

ciccio-s:
hi to all,
i have maked a mini application with dbgrid, zconnection, zquery and zupdateSql all linked on sqlite DB.
I have compiled it for Win32/i386 and all work fine.
i have compiled it for Wince and it make 3 error on printerdlgs:


--- Code: ---C:\lazarus\components\printers\printersdlgs.pp(42,14) Error: Forward declaration not solved "TPageSetupDialog.Execute:Boolean;"
C:\lazarus\components\printers\printersdlgs.pp(51,14) Error: Forward declaration not solved "TPrinterSetupDialog.Execute:Boolean;"
C:\lazarus\components\printers\printersdlgs.pp(58,14) Error: Forward declaration not solved "TPrintDialog.Execute:Boolean;"
C:\lazarus\components\printers\printersdlgs.pp(27,70) Hint: Unit "OSPrinters" not used in PrintersDlgs
C:\lazarus\components\printers\printersdlgs.pp(145) Fatal: There were 3 errors compiling module, stopping

--- End code ---

how i can compile the project without that error?

thanks in advance. ;)

ciccio-s:
some news, i have create a new project without zeoslib and now it compile, but when i open the DB on pda it give an error on open sqlite3.dll, but the dll is in the directory of the program., why that? thanks...

Leledumbo:

--- Quote ---but when i open the DB on pda it give an error on open sqlite3.dll, but the dll is in the directory of the program., why that? thanks...
--- End quote ---
put it under %WINDIR%\system32 or with lazarus.exe. Lazarus required it to modify database at design time.

ciccio-s:

--- Quote from: Leledumbo on April 06, 2010, 10:01:07 am ---
--- Quote ---but when i open the DB on pda it give an error on open sqlite3.dll, but the dll is in the directory of the program., why that? thanks...
--- End quote ---
put it under %WINDIR%\system32 or with lazarus.exe. Lazarus required it to modify database at design time.

--- End quote ---
thanks leledumbo but if i compile for win32 it all ok, on pda the sqlite3.dll it's not found but is in the directory.

ciccio-s:
another news,
if i have tried a new project wit sqliteDatasource, and if i compile for wince my pda return message like this:
project1.exe is not a pda application (i traduct from italian).

another try, if i delete the dll from system32 dir the problem is it for windows too...

thanks for the patience...

Navigation

[0] Message Index

[#] Next page

Go to full version