wahono | 1 Dec 2008 02:36
Favicon
Gravatar

Re: Graphic field in SQLite


"Martin Schreiber" <nospam@...> wrote in message 
news:v6h10q1qydk0qmd.291120081640 <at> dxserver1...
> 1. Add mseformatbmpico to uses.
> 2. The stored bitmap seems not to be in binary format, the filelength 
> field
> of the header is 19932454 bytes, probably wrong. :-)
> Please use MSEgui or another tool to store the bitmap file in binary 
> format.
>
> Martin
Yes, you are right.Maybe SQLite administrator use different method to store 
and load image.
Thanks 

wahono | 1 Dec 2008 03:50
Favicon
Gravatar

Re: Repaz moved to own Repaz Project

I have upload to SVN demo project for Repaz. This  demo use SQLite 3.6.4 
database. For RAW printer (Epson LX-series,Epson TM-series, Star, etc), you 
can try to print in 'productlist.raz'.

Question for Martin :
In Repaz demo project, I got problem. If I compile with -gh, the demo is ok, 
but if I compile without -gh, destroying frmpreview got SIGSEGV in module :

destructor tcustommseform.destroy;
var
 bo1: boolean;
begin
 bo1:= csdesigning in componentstate;
 include(fwidgetstate,ws_destroying);
 application.unregisteronterminated({$ifdef FPC} <at> {$endif}doterminated);
 application.unregisteronterminate({$ifdef FPC} <at> {$endif}doterminatequery);
 application.unregisteronidle({$ifdef FPC} <at> {$endif}doidle);
 application.unregisteronactivechanged({$ifdef 
FPC} <at> {$endif}dowindowactivechanged);
 application.unregisteronwindowdestroyed({$ifdef 
FPC} <at> {$endif}dowindowdestroyed);
 application.unregisteronapplicationactivechanged(
       {$ifdef FPC} <at> {$endif}doapplicationactivechanged);
 mainmenu:= nil;
 ficon.free;
 fscrollbox.free;  ----> here is the problem<--------
 fmainmenuwidget.free;
 inherited; //csdesigningflag is removed
 if not bo1 and candestroyevent(tmethod(fondestroyed)) then begin
  fondestroyed(self);
(Continue reading)

wahono | 1 Dec 2008 07:13
Favicon
Gravatar

Re: Repaz moved to own Repaz Project


"Martin Schreiber" <nospam@...> wrote in message 
news:gr2fc7pv6zw8si6.301120080657 <at> dxserver1...
> I can not work with Repaz, it sometimes freezes the Xserver and probably 
> the
> kernel too so I must reboot. :-(

Yes, I got this problem too in show printer dialog for some printer (Epson 
TM-Series). The error when loading list of paper printer from driver (in 
Windows).
But this problem is happen when debugging. If it is compiled and run from 
executable file, this problem isn't show. Maybe this from debugger.

>> Other question, maybe bug in tskincontroller.
>> If ttabbar/ttabpage use face from tskincontroller and I switch visible 
>> and
>> invisible at runtime using code, the tface that is used by
>> ttabbar/ttabpage is not destroy.And I got this message (with -gh).
>> You can try it with Repaz, the step :
>> - preview
>> - click button toolbar in preview form, and after print dialog is shown,
>> click 'RAW mode' checkbox  than uncheck again.
>> - when app is terminated you get this result :
>>
> Can you reproduce the problem with a simple MSEgui program?
>
I will prepare it.
Thanks

(Continue reading)

wahono | 1 Dec 2008 11:04
Favicon
Gravatar

Fail compile in Linux

When compiling in Suse 10.3 I got error like this :

Warning: Only one source file supported
Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for i386
Compiling mseide.pas
Compiling /usr/local/msegui/lib/common/kernel/msegui.pas
Compiling /usr/local/msegui/lib/common/kernel/msegraphics.pas
Compiling /usr/local/msegui/lib/common/kernel/msetypes.pas
Compiling /usr/local/msegui/lib/common/kernel/msestrings.pas
Compiling /usr/local/msegui/lib/common/kernel/msedatalist.pas
Compiling /usr/local/msegui/lib/common/kernel/msereal.pas
Compiling /usr/local/msegui/lib/common/kernel/mseformatstr.pas
Compiling /usr/local/msegui/lib/common/kernel/mseguiglob.pas
Compiling /usr/local/msegui/lib/common/kernel/msegraphutils.pas
.....
.....
mseclasses.pas(673,5) Note: Private field "TFilercracker.FRoot" is never 
used
mseclasses.pas(674,5) Note: Private field "TFilercracker.FLookupRoot" is 
never used
mseclasses.pas(675,5) Note: Private field "TFilercracker.FAncestor" is never 
used
mseclasses.pas(676,5) Note: Private field "TFilercracker.FIgnoreChildren" is 
never used
msesysintf.pas(371,19) Error: Can't determine which overloaded function to 
call
msesysintf.pas(805,11) Error: Can't determine which overloaded function to 
call
(Continue reading)

wahono | 1 Dec 2008 11:04
Favicon
Gravatar

Fail compile in Linux

When compiling in Suse 10.3 I got error like this :

Warning: Only one source file supported
Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Linux for i386
Compiling mseide.pas
Compiling /usr/local/msegui/lib/common/kernel/msegui.pas
Compiling /usr/local/msegui/lib/common/kernel/msegraphics.pas
Compiling /usr/local/msegui/lib/common/kernel/msetypes.pas
Compiling /usr/local/msegui/lib/common/kernel/msestrings.pas
Compiling /usr/local/msegui/lib/common/kernel/msedatalist.pas
Compiling /usr/local/msegui/lib/common/kernel/msereal.pas
Compiling /usr/local/msegui/lib/common/kernel/mseformatstr.pas
Compiling /usr/local/msegui/lib/common/kernel/mseguiglob.pas
Compiling /usr/local/msegui/lib/common/kernel/msegraphutils.pas
.....
.....
mseclasses.pas(673,5) Note: Private field "TFilercracker.FRoot" is never
used
mseclasses.pas(674,5) Note: Private field "TFilercracker.FLookupRoot" is
never used
mseclasses.pas(675,5) Note: Private field "TFilercracker.FAncestor" is never
used
mseclasses.pas(676,5) Note: Private field "TFilercracker.FIgnoreChildren" is
never used
msesysintf.pas(371,19) Error: Can't determine which overloaded function to
call
msesysintf.pas(805,11) Error: Can't determine which overloaded function to
call
(Continue reading)

wahono | 1 Dec 2008 18:32
Favicon
Gravatar

Re: Fail compile in Linux


"Martin Schreiber" <nospam@...> wrote in message 
news:tdegwoc8fhwvfzc.301120081236 <at> dxserver1...
> wahono wrote:
>
>> When compiling in Suse 10.3 I got error like this :
>>
>> Warning: Only one source file supported
> <<<--- Why this warning?
>
>> Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
>> Copyright (c) 1993-2006 by Florian Klaempfl
>>
>> I assume it is about mselibc, how to fix it?
>
> Add -B to compileroptions, delete all *.ppu and *.o files if it does not
> help. Please upgrade to FPC 2.2.2, I do not test with 2.0.4.
>
> Martin

I have upgrade to 2.2.2 but still error like this below. For a long time I 
don't use MSEide under Linux, and I don't know any change in linux 
environment. :)

Warning: You are using the obsolete switch -OG
Warning: You are using the obsolete switch -Op<nr>, please use -Op<name>
Free Pascal Compiler version 2.2.2 [2008/12/01] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for i386
Compiling mseide.pas
(Continue reading)

Martin Schreiber | 1 Dec 2008 07:51

Re: Fail compile in Linux

wahono wrote:

> 
> Linking mseide
> /usr/bin/ld: cannot find -lX11
> mseide.pas(60,1) Error: Error while linking
> mseide.pas(60,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted

??? You don't have libX11.so on your system? Is the ld cache damaged? Try to
run ldconfig.

IvankoB | 1 Dec 2008 11:48
Picon
Favicon

Ansistring value debug hint truncation

see the attachment.

Win-32,  both MInGW & CygWin GDBs were checked.

begin 666 truncated_debug_hint.PNG
MB5!.1PT*& <at> H````-24A$4 <at> ```X,```& " (```"8_B J`````7-21T(`KLX<
MZ0````1G04U!``"QCPO\804```` <at> 8TA230``>B8``("$``#Z```` <at> . <at> ``'4P
M``#J8 ``.I <at> ``!=PG+I1/ ``,D5)1$%4>%[MW5VRY$:U!M!F!LR (3 $GIF5
MF9EY]+6Q,0$!`2^>"?>TRQ;9^:<ME52E7;5.$$2[6DKM7#LE?9VG?W[SW__^
M]]/ <at> Z\]__O,?_O"'T<_ZG `!` <at> 0(/%+ 6^F1VJYU<8$??_SQ][__??#_?_O;
MW_[N=[_[TY_^],<__K&:UV]^\YMVINV')Q[VD41'7U]__?7D9_T4`0($"!!X
MI("WTB.U7>OZ`G_]ZU\_BHS\_T\__?1QY%=???5-\_5_O:]OFZ_O>E]_:;Z^
M[WW]T'Q]U+Q\?9)$K[_45$B ``$"'P*2J&5 8!&(!-#E&$G4RB%  <at>  `!`O<*
M2*+W"CK_M03B8502?:W.FPT!` <at> 0(/$- $GV&NFM>5" >0S^.E$0OVD5E$2! 
M <at> $ B`4DT4;.4^ <at> "!>!B51!_0#I< <at> 0( ` <at> 1<7D$1?O,&FM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tsqlresult .asboolean     always  result true;

IvankoB | 1 Dec 2008 12:46
Picon
Favicon

tmsesqlquery.transaction.CommitRetaining causes oe_notnull invalidation message

on a modal form cantaining DB widgets bound to the query. Normally it should 
only occur on posting really entered data.

It's again the PODPISKA :)


Gmane