BCB Components rotating around DirectX

Welcome to BCB-Tools.com Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register Here Available Downloads

Frequently Asked Questions Discussion Forums Receive emails from BCB-Tools.com Send us some Feedback

Links to other sites Information about the BCB-Tools.com website


    FORUM MESSAGE
    Go to the Welcome Page
        FORUM MESSAGE

    You are reading a General forum message.

    Re: A exception when using TDBImage

    Author: Israel Luengo

    Date Posted: 2006-03-08 10:46:35



    In addition to this subject, the C++ Builder have some "particular" things about paths

    For example, if you modify, in design mode a property that needs a path...you can use .\ for local directory where the applications runs, avoid using ALIASES , this is :

    TTable->Database = ".\" ;    //This assignment, use the local directory as "starting point" for database location.

    In some cases, we need use Ansistring converted strings to C standard strings...then when we want create a path as for example:

    AnsiString = ".\\MUSIC\\Track01.mp3" ;          //this assignment NEED the double backslash for scaping the \ character...

    And finally, in Options of Project, we can define the creation, temporary and destination folders as for example:

    .  
    .\
    -

    That allows store the C++ builder project in the same folder that have the c++ source file




    REPLY TO THIS MESSAGE?
    Top    

    You can post a reply to this General message using the form below:
    Your Name:


    Message Subject:


    Message Body:


    Verification:





    When ready, click on the submit button below:






Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Forums |  Feedback |  Mailing List |  Links |  Site Information

This page is Copyright © 2007 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.