Re: Font dialog examples problem

From: Dmitry Karasik <dmitry_at_karasik.eu.org>
Date: 26 Aug 2003 10:03:28 +0200
To: prima_at_prima.eu.org

        Hi Wilson,!

On 26 Aug 03 at 02:08, "Wilson," (Wilson, Douglas) wrote:

 Wilson,> I am using ActiveState's perl 5.8.0 build 806 I just installed
 Wilson,> prima and was trying out the examples. On the fontdlg.pl example,
 Wilson,> the program aborts and asks if I want to send an error report to
 Wilson,> MS (its Windows XP's version of a core dump).

 Wilson,> I noticed if I commented out the '&$re_size(1)' line near the
 Wilson,> end, the screen would come up, but as soon as I clicked on any
 Wilson,> font name the program ended with the same error.

 Wilson,> I tracked the error down to this line in the re_size code
 Wilson,> reference (using print statements): my @list = @{$::application->
 Wilson,> fonts( $fn, $name_changed ? '' : $current_encoding)};

Most probably it has something to do with new XP api, which might be
different from older api's and might cause Prima to coredump. OTOH,
I run Prima on XP without any problem, so there's only one solution -
recompile from source with debug information -

    perl Makefile.PL DEBUG=1
    make
    make install

and run under a debugger - MSVC++ will do. And of course, you can also
track down the problem in the same fashion in the C guts, by wrapping
every step with printf.

-- 
Sincerely,
	Dmitry
--- www.karasik.eu.org ---
Life ain't fair, but the root password helps.
                      - BOFH
Received on Tue 26 Aug 2003 - 10:04:01 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:04 CET