Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ctoma2005

    Rotating bmp's and jpg's

    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...
  2. ctoma2005

    Using flash in CBuiilder!

    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...
  3. ctoma2005

    Rotating bmp's and jpg's

    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...
  4. ctoma2005

    Rotating bmp's and jpg's

    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...
  5. ctoma2005

    RETRIEVING mp3's from DLL

    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...
  6. ctoma2005

    Loading animated GIF's

    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?
  7. ctoma2005

    Problems with pointers

    Hmmm, I tried the code and didn't get any exception...What's the exception? maybe I didn't write your exact code...
  8. ctoma2005

    Loading animated GIF's

    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...
  9. ctoma2005

    Loading animated GIF's

    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...
  10. ctoma2005

    Loading animated GIF's

    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
  11. ctoma2005

    Loading animated GIF's

    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...
  12. ctoma2005

    Arrays of Controls?

    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...
  13. ctoma2005

    Arrays of Controls?

    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[]...
  14. ctoma2005

    how can i send a dos app paramaters

    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...
  15. ctoma2005

    TMemo "No parent window" problem

    Ok. My bad. Maybe I didn't copy the exact code that you said, but i got the same error until I changed the parent to TForm.
  16. ctoma2005

    TMemo "No parent window" problem

    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...
  17. ctoma2005

    Default directory names

    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...
  18. ctoma2005

    Creating makefile's for DLL's!!!

    You are proably right. I'm going to download the free compiler from Borland later. Thank's very much for your time.
  19. ctoma2005

    Custom Hints

    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...
  20. ctoma2005

    Default directory names

    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...

Part and Inventory Search

Back
Top