PDA

View Full Version : 3dfonts in Visual Basic



kurtb
02-18-2000, 09:14 AM
I have a OpenGLsuperbible and I'm trying to convert the C code in chpt 17 using 3d fonts to visual basic, but it just won't work.

Firstly, strcpy doesn't exist in VB, but when I just try to assign
logfont.lffacename = "Arial" I get an error.
The C code is
strcpy(logfont.lffacename,"Arial")
There are many errors of this kind that come from my lack of understanding C

I'm looking for some Visual Basic code that uses 3d fonts....I have other progs in VB to use as templates for shapes and so forth...just need to get this font thing finished.
thanks to anyone who can point me in a direction.

Ken
05-08-2001, 11:16 AM
What you seek is here:
http://is6.pacific.net.hk/~edx/contents.htm

Look in this area:

Simple samples - no ocx

Here's a link to the file I'm speaking of.
http://is6.pacific.net.hk/~edx/bin/simpletext.zip

russell_ken@hotmail.com