Hello,
I am compiling an application with the static linking option clicked to
have only an executable file.
The question is that I have put some images in windows of my
application, but they are not incorporated in the executable file. I
would like to know if it is possible to have only an executable file to
be distributed without having to distribute image files too.
I am using windows.
Regards,
Diego de Abelleyra
Buenos Aires
Argentina.
-----Mensaje original-----
De: widestudio-users-admin@...
[mailto:widestudio-users-admin@...] En nombre de
Shun-ichi Hirabayashi
Enviado el: mi=E9rcoles, 23 de noviembre de 2005 8:55
Para: widestudio-users@...
Asunto: Re: [Widestudio-users] Re: Problems with fonts with ruby target
Hi David,
Shun-ichi Hirabayashi wrote:
> David Martinez Garcia wrote:
>
>> I finally installed the 3.90-13 build of widestudio and now the ruby=20
>> code generated includes the font definition and the runtime shows=20
>> properly the different fonts.
>> But still remains a problem related with fonts:
>>
>> the following piece of code draws nothing in the drawingArea
>>
>>
object.drawString((col-1)*21+1,(row-1)*21+1,20,20,'2,'2',$sudoku.board[c
ol-1][row-1].value.to_s)=20
>>
>
I found the parameters of the font No. and the alignment of =20
object.drawString() method is wrong.
They are char type parameter, but you passed '2' as the font No. and '2'
as the alignment to the method.
it becames the value: 50, so it makes a wrong parameter error.
Could you pass the parameters as following?
$fno =3D Mwt::WSCvariant.new()
$fno.setValue(2)
$align =3D Mwt::WSCvariant.new()
$align.setValue(Mwt::WS_CENTER)
object.drawString(x,y,w,h,$fno.getChar(),$align.getChar(),"string")
Best regards.
Shun-ichi Hirabayashi
webmaster@...
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick
_______________________________________________
Widestudio-users mailing list
Widestudio-users@...
https://lists.sourceforge.net/lists/listinfo/widestudio-users
__________ NOD32 1.1298 (20051123) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com