bbSetBlitz3DTitle does not work?

Archives Forums/Blitz3D SDK Programming/bbSetBlitz3DTitle does not work?

MeowZ(Posted 2007) [#1]
I tried to use bbSetBlitz3DTitle in my code VC6++ but the program always crash. it looks simple like this:

bbSetBlitz3DTitle("Hello","Thank you");

Anything I did wrong?


Barnabius(Posted 2007) [#2]
Works OK in EBasic and PowerBasic. I haven't been working with C for ages but don't you need something like zero byte at the end of the string? "\0" or something? Try to create a string variable and fill it with some text and then use it for parameters. Perhaps it'll work for you that way.

Barney


MeowZ(Posted 2007) [#3]
I've tried, it did not work in many ways. T__T


Dreamora(Posted 2007) [#4]
do you try to set it before or after creating the graphics canvas?


Big&(Posted 2007) [#5]
It works ok for me in VC6. Just pasted your text into it and it worked.


MeowZ(Posted 2007) [#6]
Thank you Big&, your post make me back to examine it.

it was my fault, I call it before bbBeginBlitz3D ();
so stupid I was. - -"