🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.bazy-danych
1 messages
1 total messages Started by jw_developer Fri, 10 Nov 2017 14:11
CodeTyphon + ZEOS + problem z zapisem grafiki
#188563
Author: jw_developer
Date: Fri, 10 Nov 2017 14:11
19 lines
679 bytes
Witam !

Windows 10/64 bit + Firebird 2.5 + CodeTyphon 6.2 +
ZEOSLIB(zainstalowana z CT)

Pole w bazie danych zadeklarowane jako :
F_03 BLOB SUB_TYPE 0 SEGMENT SIZE 80 NOT NULL
W poprzedniej wersji CT (5.9) zapis i odczyt grafiki działał bez
problemu a w aktualnej wersji nie zapisuje się nic albo ewentualnie
jakieś "krzaki" bez względu na format zapisywanej grafiki.

StoredProc_1.Params.AddParam(StoredProc_1.Params.CreateParam(ftBlob,'P_03',
ptInput));
if OpenPictureDialog1.FileName.IsEmpty then
   StoredProc_1.ParamByName('P_03').Value := Null
else
StoredProc_1.ParamByName('P_03').LoadFromFile(OpenPictureDialog.FileName,
ftBlob);

Gdzie może być błąd ?.....
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads