Author | Topic: setFontCompoundName() error | |
---|---|---|
Thilo Klopfer | setFontCompoundName() error on Sun, 23 Jan 2011 03:36:07 +0100 Hello, I think there is an error in method XbpCrt():setFontCompoundName(). I did 3 tests with different versions of XppUi1.dll: 1. original 1.90.355 SL1 => works fine XppUi1.dll, 2009-04-10 07:37:32, 1648640, 1.90.355,n/a,C:\ALASKA\XPPW32\LIB\ FileDescription = Xbase++ Runtime DLL 2. Hotfix 27 => error occurs XppUi1.dll, 2010-02-12 08:03:58, 1653760, 1.90.355,n/a,C:\ALASKA\XPPW32\LIB\ CompanyName = Alaska Software FileDescription = Xbase++ Runtime DLL, Hotfix Rollup #27 for Xbase++ 1.90.355 3. Hotfix 35 => error occurs XppUi1.dll, 2010-06-15 17:45:00, 1653760, 1.90.355,n/a,C:\ALASKA\XPPW32\LIB\ FileDescription = Xbase++ Runtime DLL, Hotfix Rollup #35 for Xbase++ 1.90.355 Sample programm: ? os() ? Version()+"."+Version(3) ? SetAppWindow():className() SetAppWindow():setFontCompoundName( "19.Alaska Crt" ) wait RETURN Compile and link: xpp test.prg alink test /PM:PM Screen output: Windows XP 05.01 Build 02600 Service Pack 2 Xbase++ (R) Version 1.90.355 XbpCrt XPPERROR.LOG ------------------------------------------------------------------------------ FEHLERPROTOKOLL von "C:\ENTWICK\E_REISE\t.exe" Datum: 23.01.2011 02:34:22 Xbase++ Version : Xbase++ (R) Version 1.90.355 Betriebssystem : Windows XP 05.01 Build 02600 Service Pack 2 ------------------------------------------------------------------------------ oError:args : -> VALTYPE: O CLASS: XbpCrt -> VALTYPE: C VALUE: 19.Alaska Crt oError:canDefault : N oError:canRetry : N oError:canSubstitute: J oError:cargo : NIL oError:description : Parameter hat falschen Typ oError:filename : oError:genCode : 2 oError:operation : :setFontCompoundName oError:osCode : 0 oError:severity : 2 oError:subCode : 1025 oError:subSystem : BASE oError:thread : 1 oError:tries : 0 ------------------------------------------------------------------------------ CALLSTACK: ------------------------------------------------------------------------------ Aufgerufen von MAIN(4) As you can see, in line 4 an error occurs and the font doesn't change. Regards, Thilo | |
AUGE_OHR | Re: setFontCompoundName() error on Sun, 23 Jan 2011 10:14:15 +0100 hi, > SetAppWindow():setFontCompoundName( "19.Alaska Crt" ) i do not think "19" is a "matching" Size ... look at c:\ALASKA\XPPW32\Source\samples\basics\FONT\FONTDB.EXE Alaska Crt 12 16,00800000 N 255 Alaska Crt 11 14,00800000 N 255 Alaska Crt 12 16,00800000 N 254 Alaska Crt 11 14,00800000 N 254 Alaska Crt 12 16,00800000 N 253 Alaska Crt 11 14,00800000 N 253 > Betriebssystem : Windows XP 05.01 Build 02600 Service Pack 2 perhaps XP SP3 help ... greetings by OHR Jimmy | |
Thilo Klopfer | Re: setFontCompoundName() error on Wed, 26 Jan 2011 22:50:25 +0100 Hi, same problem on Win XP Service Pack 3. And also same problem using SetAppWindow():setFontCompoundName( "11.Alaska Crt" ) SetAppWindow():setFontCompoundName( "12.Alaska Crt" ) SetAppWindow():setFontCompoundName( "14.Alaska Crt" ) SetAppWindow():setFontCompoundName( "9.Terminal" ) or any other. Again, original version of XppUi1.dll (1.90.355 SL1) works fine. By the way, why does SetAppWindow():setFontCompoundName() always returns NIL. This is also not correct. Oh, I see, still open PDR 2037... Regards Thilo | |
Andreas Herdt | Re: setFontCompoundName() error on Wed, 09 Feb 2011 13:03:29 +0100 Hello Thilo, Please refer to following PDR 6358: http://www.alaska-software.com/scripts/waa001.dll?WAA_PACKAGE=PUBLICDTS&WAA_FORM=DISPLAYPDR&PDRID=6358 The Problem was introduced for fonts that only contain OEM fonts. Thank you very much for reporting this and also thanks for the sample posted to this newsgroup. With my best regards, Andreas Herdt Alaska Software -------------------------------------------------------------------- Technical Support: support@alaska-software.com News Server: news.alaska-software.com Homepage: http://www.alaska-software.com WebKnowledgeBase: http://www.alaska-software.com/kbase.shtm Fax European Office: +49 (0) 61 96 - 77 99 99 23 Fax US Office: +1 (646) 218 1281 -------------------------------------------------------------------- Am 23.1.2011 03:36, schrieb Thilo Klopfer: > Hello, > > I think there is an error in method XbpCrt():setFontCompoundName(). I did 3 tests with different versions of XppUi1.dll: > > 1. original 1.90.355 SL1 => works fine > XppUi1.dll, 2009-04-10 07:37:32, 1648640, 1.90.355,n/a,C:\ALASKA\XPPW32\LIB\ > FileDescription = Xbase++ Runtime DLL > > 2. Hotfix 27 => error occurs > XppUi1.dll, 2010-02-12 08:03:58, 1653760, 1.90.355,n/a,C:\ALASKA\XPPW32\LIB\ > CompanyName = Alaska Software > FileDescription = Xbase++ Runtime DLL, Hotfix Rollup #27 for Xbase++ 1.90.355 > > 3. Hotfix 35 => error occurs > XppUi1.dll, 2010-06-15 17:45:00, 1653760, 1.90.355,n/a,C:\ALASKA\XPPW32\LIB\ > FileDescription = Xbase++ Runtime DLL, Hotfix Rollup #35 for Xbase++ 1.90.355 > > > Sample programm: > > ? os() > ? Version()+"."+Version(3) > ? SetAppWindow():className() > SetAppWindow():setFontCompoundName( "19.Alaska Crt" ) > wait > RETURN > > > Compile and link: > > xpp test.prg > alink test /PM:PM > > > Screen output: > Windows XP 05.01 Build 02600 Service Pack 2 > Xbase++ (R) Version 1.90.355 > XbpCrt > > > XPPERROR.LOG > ------------------------------------------------------------------------------ > FEHLERPROTOKOLL von "C:\ENTWICK\E_REISE\t.exe" Datum: 23.01.2011 02:34:22 > > Xbase++ Version : Xbase++ (R) Version 1.90.355 > Betriebssystem : Windows XP 05.01 Build 02600 Service Pack 2 > ------------------------------------------------------------------------------ > oError:args : > -> VALTYPE: O CLASS: XbpCrt > -> VALTYPE: C VALUE: 19.Alaska Crt > oError:canDefault : N > oError:canRetry : N > oError:canSubstitute: J > oError:cargo : NIL > oError:description : Parameter hat falschen Typ > oError:filename : > oError:genCode : 2 > oError:operation : :setFontCompoundName > oError:osCode : 0 > oError:severity : 2 > oError:subCode : 1025 > oError:subSystem : BASE > oError:thread : 1 > oError:tries : 0 > ------------------------------------------------------------------------------ > CALLSTACK: > ------------------------------------------------------------------------------ > Aufgerufen von MAIN(4) > > > As you can see, in line 4 an error occurs and the font doesn't change. > > Regards, > Thilo > > | |
AUGE_OHR | Re: setFontCompoundName() error on Wed, 09 Feb 2011 15:05:37 +0100 hi, > Please refer to following PDR 6358: > > http://www.alaska-software.com/scripts/waa001.dll?WAA_PACKAGE=PUBLICDTS&WAA_FORM=DISPLAYPDR&PDRID=6358 > just while you say it : i got Problem to connect to Knowledge Base since some Days ... "laden ..." greetings by OHR Jimmy | |
James Loughner | Re: setFontCompoundName() error on Wed, 09 Feb 2011 11:24:44 -0500 Me too link just hangs. Jim On 02/09/2011 09:05 AM, AUGE_OHR wrote: > hi, > >> Please refer to following PDR 6358: >> >> http://www.alaska-software.com/scripts/waa001.dll?WAA_PACKAGE=PUBLICDTS&WAA_FORM=DISPLAYPDR&PDRID=6358 >> > > just while you say it : i got Problem to connect to Knowledge Base since > some Days ... "laden ..." > > greetings by OHR > Jimmy > > | |
Andreas Herdt | Re: setFontCompoundName() error on Thu, 10 Feb 2011 09:39:59 +0100 Jim - Jimmy, Thank both of you for telling us. The KB should be operational again. Andreas Herdt Alaska Software -------------------------------------------------------------------- Technical Support: support@alaska-software.com News Server: news.alaska-software.com Homepage: http://www.alaska-software.com WebKnowledgeBase: http://www.alaska-software.com/kbase.shtm Fax European Office: +49 (0) 61 96 - 77 99 99 23 Fax US Office: +1 (646) 218 1281 -------------------------------------------------------------------- Am 09.2.2011 17:24, schrieb James Loughner: > Me too link just hangs. > > Jim > > On 02/09/2011 09:05 AM, AUGE_OHR wrote: >> hi, >> >>> Please refer to following PDR 6358: >>> >>> http://www.alaska-software.com/scripts/waa001.dll?WAA_PACKAGE=PUBLICDTS&WAA_FORM=DISPLAYPDR&PDRID=6358 >>> >> >> just while you say it : i got Problem to connect to Knowledge Base since >> some Days ... "laden ..." >> >> greetings by OHR >> Jimmy >> >> > | |
Thilo Klopfer | Re: setFontCompoundName() error on Thu, 10 Feb 2011 17:44:30 +0100 Hello Andreas, thanks a lot for correcting this. But - maybe a dumb question - where can I get the corrected Version 1.90.408 of the DLL? Regards, Thilo | |
Andreas Herdt | Re: setFontCompoundName() error on Mon, 14 Feb 2011 09:32:49 +0100 Hi Thilo, Customers who own a Subscription that includes technical support may request a Hotfix for PDR 6358 by contacting support. A correction for this problem may be available with the next set of Hotfix Rollup. Am 10.2.2011 17:44, schrieb Thilo Klopfer: > Hello Andreas, > > > > thanks a lot for correcting this. But - maybe a dumb question - where can I get the corrected Version 1.90.408 of the DLL? > > > > Regards, > > Thilo > > > > Andreas Herdt Alaska Software -------------------------------------------------------------------- Technical Support: support@alaska-software.com News Server: news.alaska-software.com Homepage: http://www.alaska-software.com WebKnowledgeBase: http://www.alaska-software.com/kbase.shtm Fax European Office: +49 (0) 61 96 - 77 99 99 23 Fax US Office: +1 (646) 218 1281 -------------------------------------------------------------------- |