Menu

#1 ImageStringFTHelper fails to work in a VBCom object

open
nobody
None
5
2003-03-06
2003-03-06
Steven Fagg
No

The gdCom library works flawlessly when running in
ASP, however, I noticed that when rendering the diary it
was a bit slow, so decided to put the image rendering
code into a VB object.

The VB object renders much quicker than that of the
ASP, but there is one problem - ImageStringFTHelper
doesn't appear to work, ie, no text is rendered.

I even modified the example VB project you supplied
and used ImageStringFTHelper to try and render some
text, but again there was nothing. ImageStringHelper on
the other hand works without any problems in both ASP
and VB.

The return code I get using ImageStringFTHelper is 1
when running inside and ASP (and rendering text). The
return code I get in VB is also 1 but no text is rendered.

The font string is the same in both instances
ie. "/WINDOWS/fonts/arial.ttf".

I am developing both the ASP and the VB object (and
also the example vb project supplied) on the same
machine which is running Windows XP.

Cheers

Steve

Discussion


Log in to post a comment.

MongoDB Logo MongoDB