Thanks very much for the thread. I didn't try the code yet...I just hope that the code is fast enough...since I have no ideea what computer my clients have, and my games are already using many resources...Thanks very much.
I tried to resolve the problems in my animations by using falsh in my...
Hy...can anyone help me with this problem?
I am developing games in CBuilder and everything till now it's ok...but I see that it's very hard to create good animations...
Does anyone know how I can load a swf in my form?I already found a way...but it creates a new window and loads the swf in that...
I found another problem using GDI, since the bitmap class from this class can't rotate the bitmap to any angle. The library can rotate all the drawing space at any angle, a bad ideea since I always have to update the client window. Their must a better way for rotating a bitmap, a faster method...
Hy. Can somebody help with my problem??
I need to rotate some images(BMP and JPG). My problem is that i need to do it very fast, so the solutions i got so far(taking each pixel and finding it's new position) are not good.
The fastest way I know is by ising GDI+ form Microsoft, and it's very...
Hy. I have a problem... I have to store an mp3 in a dll and retrieve it after to use it in a game. My current game can retrieve wav's from a dll and successfully play it.
My problem is that it needs to work with mp3's to...but Directsound doesn't support mp3.
I think I need to use a...
Could you be a little more specific? I have 2 files: BMGifControl.cpp and BMGifControl.h How do I install the component? I'm using both Cbuider 5 and 6. And after intalling it how do I drop it on the form?
Nope... their saying "just drop it on your form, select the image and enable the application". It is called TBMGifControl, so it should be added tot he form, but I have no ideea how. The site gives me a BMGifControl.cpp, BMGifControl.h and a BMGifControl,dcr... Anyway, maybe I'll find another...
Thanks for that site. My problem is that on the site it sais "just drop the control on the form", but I don't know how to do that. In the zip there is the cpp and h of the class, and a file dcr(Delphi component resource). How do I "drop" the control on the form??
I tried it on CBuilder 5 and 6...
I would appreciated it... I found some 3rd party components but the code was in Delphi and I can't compile it...it shows me a "license expired" error!!. I should be using C builder at work...Thanks in advance
I'm writing some games and I want to load animated GIF's in my game, but I have no ideea how to do this!!Does C builder have GIF-specific components? I found some code that works, but only in Win32 aplications.I know that it's not that easy, because it's not open source...
If someone can help...
You should place the declaration in the header of your project(usually main.h) and create it (with new) in the constructor of the form, but it doesn't matter that much where you create it...
If you KNOW that you have only one type of control than you don't need downcasting.
For example if your...
There is an easy way to store them in one place, just create a TList component:
TList* list = new TList();
//if you want to add, for example, a Tbutton and a TMemo:
list->Add(Button);
list->Add(Memo);
However, the problem is retrieving the pointers from the array, since the list->Items[]...
The problem is that the function system requires a pointer to char, but you are giving her a AnsiString.
Try:
system(strcat("ping ",xxx.c_str()));
Because you can't add to pointers to char, i'm guessing that's the error you got when using "ping "+xxx.c_str().
If you wan't to record the...
Hy. The problem is that the parent of the memo should be a TWinControl, but the Tpanel class is derived from TControl, so the parent is usually the Form where you want to show the memo. Change mem->parent = Form1(or the name of your form) and comment the line "delete mem" to see it work. Sorry...
I am not quite sure if I understand the question. Well if you create a setup for your program, when the user installs the program you already know the partition where he installed it, since he specified the "install path". I haven't yet found how to query windows to tell you the number of...
Well if you just want to write your hints, you should set the Showhint property to true and set the Hint property to your custom hint.
But if you want more complex hints, like drawing on a canvas, you should probably write the OnMouseMove event for your form like this:
void __fastcall...
Check this site out:
http://kennethhunt.com/archives/000933.html
These are actually enviroment variables.For example, SYSTEMDRIVE would return "C:" if the system is installed on C. The same for WINDIR.For seeing the operating system see the variable OS(Microsoft family). Unix also has these...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.