Reading/writing data to files in the directory "data" of the application

I'm trying to write and then read a little data, and it does not work. The size of the file is back by '0' because I wrote the file:

char* ptr = NULL;
write_file("./data/test.txt", "testing!");
read_file("./data/test.txt", &ptr);
fprintf(stderr, "HERE: %s\n", ptr);

void write_file(char* file_name, char* data)
{
    FILE* file = fopen(file_name, "w");

    if (file == NULL)
    {
        fprintf(stderr, "Cannot write to file: %s\n", file_name);
    }
    else
    {
        fprintf(file, data);
    }

    close(file);
}

int read_file(char* file_name, char** data)
{
    FILE* file = fopen(file_name, "r");

    if (file == NULL)
    {
        fprintf(stderr, "Cannot read from file: %s\n", file_name);

    }
    else
    {
        struct stat st;
        int rc = stat(file_name, &st);

        if (rc)
        {
            return -1;
        }

        long num_bytes = st.st_size;

        *data = malloc(num_bytes + 1);

        fread(*data, 1, num_bytes, file);

        (*data)[num_bytes] = NULL;
    }

    close(file);

    return 0;
}

Don't know what I'm doing wrong here...

No idea, but a few tips:

  • Have you created the directory data?
  • Put an exit if the entry is successful, so you can be sure that your code is executed
  • Close the file only if opened successfully
  • Close the file with fclose. Close may not do and cause it is not emptied, the content can be empty. See http://www.cplusplus.com/reference/clibrary/cstdio/fopen/
  • Add a fflush (normally not used) after writing

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry App World Smartphones gives files of the application of the old version of whatsapp

    Hello

    First of all...

    • Your carrier-> OF Vodafone
    • Your BlackBerry model-> Bold 9700
    • Your BlackBerry OS (can be found in the Options->)-> v5.0.0.545
    • Version of App World (can be found by going to Options-> Advanced-> Applications)-> v1.1.0.33
    • If you have BIS or BES (personal use or business use)-> BES

    I bought Whatsapp about 2-3 weeks - at this point Whatsapp performed v2.1.

    A few days ago I resetet my camera (there were some problems with the connection to BIS) and wanted to install whatsapp worldwide app - download worked and everything has been installed very well - but app world give me the files to v2.0.1 but claims to be v2.2 - so whatsapp couldn't initial step correctly and does not work!

    I've already sent with the support of whatsapp and they say that it is a bug in the app world.

    Support WhatsApp: "Yes, it's a bug of AppWorld. He gives files of the application of the old version, but claims that it is the new version. »

    also take a look at these screenshots:

    http://www.lcd0711.de/Capture1.jpg

    http://www.lcd0711.de/Capture2.jpg

    Someone has any idea how to fix this?

    thanking you in anticipation

    Everyone - please read my response above. There is no formal AppWorld press here - zero. If the developer of the app wants to have users try to introduce the issue with RIM, only channel users to do so is through your official support - which is provided by your operator.

    Good luck.

  • InContext and files for the applications

    Is it possible to use files of the application as a .cfm or .php with InContext?

    Hi patGRFXS,

    Yes, you can use the application such as php, asp and coldfusion files, etc... 'InContext Editing can edit static HTML on virtually any web page. However, InContext Editing does not support of programming languages such as CFM, ASP, JSP, and PHP server-side. »
    ( Source)

    If your editable regions contain dynamic data (for example, the data is loaded via an include, etc.), the dynamic code is replaced by static code if the region is published. Your page can contain dynamic data, but your editable regions should be given only static.

    Best regards
    Corey

  • I have worked for an hour on a treadmill and the ring of read activity 7 min. In the application of the workout, I chose the domestic market. Do I have to have my phone in my pocket for it from the activity of the hour on the ring

    I have worked for an hour on a treadmill and the ring of read activity 7 min. In the application of the workout, I chose the domestic market. Do I have to have my phone in my pocket for it from the activity of the hour on the ring?

    If you wore the watch - (as your signature "Look" inside) then no - the phone should not be in your Pocket

    Otherwise Yes - it's the only way the phone detects your movements

  • load the PDF file inside the application (Android and Ipad)

    You want to open the PDF file inside the application. I try this code, his work in the PC but when I publish, in the form of APK file it does not work in my android device

    package {}

    to import flash.display.SimpleButton;

    import flash.events.MouseEvent;

    import flash.events.Event;

    import flash.html.HTMLLoader;

    import flash.net.URLRequest;

    public class bpdf extends SimpleButton {}

    public void bpdf() {}

    the constructor code

    this.addEventListener (MouseEvent.MOUSE_DOWN, downF);

    }

    private void downF(e:Event):void {}

    var htm:HTMLLoader = new HTMLLoader();

    htm. Load (new URLRequest ("test.pdf"));

    htm. Width = 200;

    htm. Height = 300;

    htm.x = 50;

    htm.y = 20;

    this.parent.addChild (htm);

    Create a close button for htm and Add (for this.parent) and its listener here

    }

    function onCloseEvent(e:Event) {}

    If (!.) HTMLLoader.isSupported) {}

    This.Alpha =. 1;

    }

    }

    }

    }

    01.jpg

    02.jpg

    use:

    import flash.media.StageWebView;

    import flash.geom.Rectangle;

    import flash.desktop.NativeApplication;

    import flash.events.MouseEvent;

    import flash.filesystem.File;

    swv var: StageWebView = new StageWebView();

    swv.viewPort = new Rectangle (0, 0, 500, 250); 500px width, height 450px

    SWV.stage = this.stage; step StageWebView document class

    var templateFile:File = File.applicationDirectory.resolvePath ("test.pdf");

    var workingFile:File = File.createTempFile ();

    templateFile.copyTo (workingFile, true);

    try {}

    swv.loadURL (workingFile.url);

    } catch (error) {}

    trace (e);

    }

  • CS3 Uninstaller did not remove all files in the Application

    A few months ago, I bought a new MacBook Pro. When I did, I used Apple migration assistant to move my programs from my old MacBook to my new MacBook. Adobe CS 3.3 applications have been migated. I recently bought the upgrade to 5.5 Web Premium CS. I wanted to uninstall CS 3.3 before installing CS 5.5 to save hard disk space. So, I ran the Adobe uninstaller program (Applications > utilities > uninstall Adobe programs). The Adobe uninstaller program found no any product remains on my MacBook, although they were installed and working. So, I reinstalled CS 3.3 and then tried the uninstall program Adobe again. This time, the uninstall program found all the products and said that it uninstalled all the. However, it has not removed the files of the application of my MacBook. I tried to launch that the Adobe CS cleaner and who also did not remove the files in the application.

    How can I go about deleting the files of the application?

    Is it safe to simply drag the folder for each application of CS in the trash at this point?

    How can I remove Version Cue CS3 to my system preferences?

    Thank you!

    You should find the uninstaller for Acrobat 9 Adobe Acrobat 9 Pro folder.  Once removed, then remove to other Adobe applications you have listed in the Applications folder.  In addition, you can also find files for Adobe applications listed in the following locations:

    / Library/Application Support/Adobe

    /Users//application support/Adobe

    / Applications/utilities/Adobe Installers.

    / Applications/utilities/Adobe utilities /.

    You may need to reinstall Flash player and Shockwave after this procedure, but it must remove the files used by CS3.  You can try installing CS5.5 right there.  I would still be careful if you encounter problems with the installation or that still a problem removing Acrobat 9 it will be still more efficient to take a step back and restore the Mac operating system and run the Migration Wizard again as previously advised.

  • Save the file without the application of effects?

    Forgive me if it's dense - my first experience with audio with soundbooth CS5 was so am new and now relearning with hearing.

    If I have audio charge up and I handle the effects to try to get perfect results, it seems that I can't save what I'm doing and come back later? If I close or save the file without applying the effects on the grid, they all disappear.

    It's just mind-boggling because all other programs Adobe Photoshop, After Effects, first, etc allow you to configure effects, save, open, and reconfigure.

    Knowing that I can assume I am doing something wrong because this simply makes the hearing as a musket - do or die right now, otherwise start again - and I know what that is impossible.

    What am I missing?

    TIA

    Paul

    Well Yes, that's all.

    Change display is for destructive processes that modify the file for good, whether they are physically cut the file or the application of permanent changes.

    View Multtrack's mixes real-time and process that can be used to do what you have the final product without changing the file.  As long as you save the Session that you use, all your changes are retained for the next time that you open it, but the track itself is unchanged... and when you're done, you mix your session (even if only a trace) to a new file that contains all of your effects.

    In defence of Adobe, this way of working is logically to anyone who comes to the hearing of the sound aspect.  Change the workflow to match Photoshop or whatever it would probably result in loud home audio guys (who, until this version, were 99.9% of the user base).  Even when I was doing audio post production for television (a Soundstation DAR and then with the formidable Protools) it was the kind of workflow I was used.

    I hope this helps.

  • Webutil - deleting files from the application server

    Is there a Webutil function that will erase the files from the application server?

    I tried Webutil_file. Delete_File but it doesn't seem to work. Not quite sure if it's for customer files?

    Thank you
    Paul

    Hello
    Why don't you use HOST or WEBUTIL_HOST command to delete files of APPLICATION SERVER for example...

    HOST('DEL FILEPATH\FILENAME.EXT');
    or
    HOST('CMD /C DEL FILEPATH\FILENAME.EXT');
    
    or 
    
    WEBUTIL_HOST('DEL FILEPATH\FILENAME.EXT');
    or
    WEBUTIL_HOST('CMD /C DEL FILEPATH\FILENAME.EXT');
    

    Function Webutil_File works on the client side. See the documentation for webutil.
    http://www.Oracle.com/webapps/online-help/forms/10G/State?navSetId=_&Navid=3&vtTopicFile=web_util/functions.htm&vtTopicId=

    -Clément

    Published by: Graham on April 20, 2010 20:07
    Link added

  • webutil read file function finds the file on the application server

    Hello

    I want to select and read a file (possibly .pdf) and save it to the database.

    To achieve this, I:

    1) created a table, deltia (key primary aa, varchar2, blob, other columns... image_blob, filename)

    (2) created a block form of database based on the deltia table. The element of the "image_blob" column type is image

    and the image format is "tiff".

    (3) wrote the following piece of code to perform the selection of local file (successfully)

    Select the FUNCTION (i_FileFiltre IN Varchar2 default vDefFileExt)

    RETURN VARCHAR2

    IS

    vPath Varchar2 (128);

    vFileName Varchar2 (256);

    vFileFiltre Varchar2 (200): = i_FileFiltre;

    Begin

    vPath: = CLIENT_WIN_API_ENVIRONMENT. Get_Temp_Directory;

    vFileName: = WEBUTIL_FILE. FILE_OPEN_DIALOG

    (

    vPath,

    '',

    vFileFiltre,

    "Select the file to download.

    ) ;

    Return vFileName;

    END selection;

    The form above function call is:

    Declare

    vFileName Varchar2 (200);

    Begin

    vFileName: = PKG_File_Ops.Selection;

    If vFileName is not null then

    : eq_deltia_metakinhshs. Filename: = vFileName;

    End if;

    End;

    (4) wrote the piece of code to the game/place the file selected in the form element "image_blob", as following:

    client_image.read_image_file (: eq_deltia_metakinhshs.filename,)

    substr (: eq_deltia_metakinhshs.filename, instr (: eq_deltia_metakinhshs.filename,-1)).

    "eq_deltia_metakinhshs.deltio_image");

    The call to the packaged procedure client_image.read_image_file does not work. It returns error

    "47109 - cannot locate the/u01/oracle/temp /... image file"

    In other words, the system will search to read the selected file locally on the server App.

    What can be the cause of this?

    With regard to the content of the webutil.cfg of the App Server. :

    # ---------------------------------------------------------------------------

    # webutil.cfg - WebUtil default configuration file

    # ---------------------------------------------------------------------------

    # This file contains all the configuration settings for webutil. These are some

    # divided according to the following sections:

    # 1. Logging options

    # 2. Installation options

    # 3. Upload a file and download Options

    # 1. Logging options side server for recording the log messages and errors

    # You must set logging.enabled to true to allow registration of mid-range. Without this

    logging of mid-range # will not be any PL/SQL or URL options

    # are provided to turn it on. Once recording is activated the other settings are

    # in-game.

    #

    # Details

    # -------

    # logging.file: sets the file name and location of the log file.

    # Note that WebUtil does no management of the log file. You can

    # need to manually clean this file at any time.

    # logging.enabled: can be TRUE or FALSE

    # logging.errorsonly: can be TRUE or FALSE. Parameter True will ensure that

    # only errors and the normal information log messages

    # are written to the log file. It would be for the use of the product,

    # normally be set to TRUE

    # logging.connections: can be TRUE or FALSE. Setting to true causes each

    connection from a client using WebUtil for write in #.

    # the log that it puts in place.

    Logging.file =

    Logging.Enabled = False

    Logging.ErrorsOnly = false

    Logging.Connections = false

    # 2. Installation options

    # WebUtil needs to download files on the client to perform

    # some operations such as OLE integration or access to the registry. These files

    # are downloaded on the client when webutil is run for the first time.

    # Subsequent executions will use the dll in the cache. Define the location of the

    # These files on the server and the location on the client.

    #

    # Here's a chart that shows numeric constants and their meanings. They

    # are used in configurations of installation options. These constants are defined

    # in WEBUTIL_CORE package spec. Note that the Processor Architecture of the Client operating system

    # is generally the architecture of the JAVA virtual machine that runs on the client,

    # not necessarily even the real client architecture of BONE.

    #

    # < Os - > Client OS family < arch - > processor for the Client operating system Architecture

    # 0-0 - 32-bit Windows

    # 1 Linux 1-64-bit architecture

    # 2 SOLARIS

    # 3 HP

    # 4 AIX

    # 5 mac

    # 9 unknown

    #

    # < Package > - package name

    # 7 WEBUTIL_OLE2

    # 9 WEBUTIL_C_API

    # We do not yet have downloads for other packages. If you need, refer

    # Spec package WEBUTIL_CORE for constants of other packages

    #

    # Details

    # -------

    # NOTE: For all < arch > parameters field is optional. Without this field, the

    # setting will apply to the client 32-bit and 64-bit OS (FMV)

    architectures of #.

    #

    # install.syslib.location. < os >. < arch >:

    # The virtual path of the directory containing the webutil library files the

    server-side of #. This must be an absolute URL or a relative URL

    # for the documentbase.

    # NOTE: < os > field is optional for this parameter. In the absence of a framework

    # which has the client OS and ARCH, it will use

    # install.syslib.location. < arch > cannot be specified if < os > is omitted.

    #

    # install.syslib.location.client. < os >. < arch >:

    # The path to the directory on the client machine where the webutil library

    # files will be downloaded. This must be an absolute path or a path

    # which is the profile of the client user or at HOME. Directory will be created

    # If necessary as well as other parent directories. If the path is

    # do not set, it will be treated as a special case where the libraries will be

    # downloaded to the client JRE\bin (windows) or JRE/lib (unix). If this

    # Directory is changed, all libraries will be redownloaded again.

    #

    # Please keep in mind that other forms server may also have a similar

    the location of # and so libraries could be overwritten even when

    # client running webutil server of different forms. It is therefore

    # advised that the location has a subdirectory that may be unique to your

    # Server, such as the name of the host server. You could use $(SERVERHOST) in the

    # location. This string will be replaced with the actual hostname of the server

    #

    # install.syslib. < os >. < arch >. < package >. < n >:

    # The names of the libraries required for the particular webutil beans. The

    # format of it's name. size | version | showDownloadDialog. Several libraries

    # can be downloaded per package. But make sure the values < n >

    # row and start at 1 for a given operating system, arch and package together.

    install.syslib.Location=/webutil

    install.syslib.Location.0.0=/webutil/Win32

    install.syslib.Location.0.1=/webutil/Win64

    # Add/Edit the following if you want to specify a different location client

    # where syslib libraries.

    # Format:

    # install.syslib.location.client. < os >. < arch > = < location >

    \win32 install.syslib.Location.client.0.0=webutil\syslib\$ (SERVERHOST)

    \win64 install.syslib.Location.client.0.1=webutil\syslib\$ (SERVERHOST)

    # Change the size and the version if necessary, such as when the upgrade of the library.

    # Normally this is not necessary since most of these libraries are equipped

    # settle. Jacob does not however come with installation

    # Format:

    # install.syslib. < os >. < arch >. < package >. < n > = name | size | version | showDownloadDialog

    1.14.3 - install.syslib.0.0.7.1 = Jacob - x 86 DLL | 102400 | 1.14.3 | true

    1.14.3 - install.syslib.0.1.7.1 = Jacob - x 64 .dll | 117760 | 1.14.3 | true

    install.syslib.0.0.9.1 = JNIsharedstubs.dll | 45056 | 1.0: true

    install.syslib.0.1.9.1 = JNIsharedstubs.dll | 58368 | 1.0: true

    install.syslib.0.0.9.2 = d2kwut60.dll | 81920 | 1.0: true

    install.syslib.0.1.9.2 = d2kwut60.dll | 102400 | 1.0: true

    # You can also add your own libraries here, for example

    #install.syslib.0.0.user.1 = testwebutil.dll | 204872 | 1.0: true

    #install.syslib.0.0.user.1 = ffisamp.dll | 40960 | 1.0: true

    #install.syslib.0.1.user.1 = ffisamp.dll | 35328 | 1.0: true

    # 3. Download / upload options

    # For file upload and download options, you can set the default locations

    # on the server that webutil can use as a work space. Optionally, you can pass

    off # upload and download

    #

    # Details

    # -------

    # transfer.database.enabled: can be TRUE or FALSE - allows you to activate or

    # disable upload and download of data

    #                                server.

    # transfer.appsrv.enabled: can be TRUE or FALSE - allows you to activate or

    # disable the upload and download from the

    application server #.

    # transfer.appsrv.workAreaRoot: the root of the location in which can WebUtil

    # store temporary files uploaded by the client.

    # If no location is specified, application server

    # user_home/temp will be assumed.

    # This place is always readable and accessible writable

    # No matter the parameters of

    # transfer.appsrv. * are. This parameter is

    # If you need side customer

    # READ/WRITE_IMAGE_FILE procedures.

    # transfer.appsrv.accessControl:Can be TRUE or FALSE - allows you to specify

    # that loads and downloads can occur

    # the directories named in the

    # transfer.appsrv.read.n and

    entries transfer.appsrv.write.n # and their

    subdirectories #. If this parameter is set to FALSE,

    # transfers can happen anywhere.

    # transfer.appsrv.read. < n >: list of directory names that downloads can read

    #                                from.

    # transfer.appsrv.write. < n >: list of directory names that mail can write

    #                                to.

    #NOTE: by default, the file transfer is disabled by security measure

    Transfer.Database.Enabled = True

    Transfer.appsrv.Enabled = True

    transfer.appsrv.workAreaRoot =

    transfer.appsrv.accessControl = FALSE

    #List transfer.appsrv.read. < n > directories

    Transfer.appsrv.Read.1=c:\temp

    #List transfer.appsrv.write. < n > directories

    Transfer.appsrv.Write.1=c:\temp

    # 4. Others

    # Details

    # -------

    # BlockAllowHeartBeat: Continue the heart beat communication with the

    # Server when set to TRUE. By default, the value is

    # the value False. If set to False, there is no heart

    # fight mode blocking communication.

    BlockAllowHeartBeat = False

    Notes:

    The database version is 11g v.2

    Forms services version is 11g v.2

    The webutil has been installed and configured (I have done a project that requires reading a

    saved locally excel file - using webutil_ole2.)

    I didn't notice an error in the Java console.

    Thank you

    SIM

    This error indicates that your server is a unix platform: 47109-cannot locate image file/u01/oracle/temp /


    If it is correct, then your webutil.cfg is not been set correctly.  Entries for transfer.appsrv are in reference to the appsrv and not the client.  So you currently C:\temp which is a directory of Windows and not Unix.

    (2) Transfer.appsrv.Read.1 =c:\temp. It is already set.

    3) Transfer.appsrv.Write.1=c:\temp. It is already set.

  • Don't be message erro, no file or directory, including the file in the applications or the flash drive?

    I use the createinstallmedia command in the terminal.  I do not see the flash drive and the installer for OS X El Capitan is in the applications folder.  When I tried to run the command I got the message: no such file or directory.  Where I check to see what is the problem?

    Instead of typing on paths, drag the items in the Terminal window. If this does not work, after return with the exact command that you use.

    (144117)

  • Missing files in the Application directory.

    I just installed Adobe CS6 (I'm more used to it) on my computer. However, whenever I try to open the app, it just says, "some of the application content are missing from the Application directory. Please reinstall the application. "When I try to reinstall the application, it says simply,"Installer failed to initialize. This could be a missing file. Someone at - it solutions to this problem?

    Gus.Alves are you continue to receive this error?  If Yes, then I recommend Creative Suite 6 to uninstall and reinstall.  If you need a new copy of the retail installation files, they are available to Download Adobe Creative Suite 6 applications.

    If you continue to receive errors or have questions feel free to update this discussion.

  • Air App won't read a local text file using the openAsync/readUTFBytes on user (not administrator) mode

    I run an Air application, I did for the office, the real installed executable already deployed in the machine (not Flash Pro / Flex dev environment.). For some reason the application cannot read a file of text stored in the same application, unless I run my application as the administrator of the operating system.

    When I run the application as an administrator, or in the development environment, it works fine. Maybe this is related to a security issue? I have read the adobe air documentation, and it should work...

    I use openAsync/readUTFBytes on the user as shown here:

    var continueGamesConnection:FileStream();

    var continueFile:File = new File(File.applicationDirectory.resolvePath("continueGames.txt").nativePath.toString()); 

    continueGamesConnection.addEventListener(Event.COMPLETE, openSavedGames);

    continueGamesConnection.openAsync(continueFile, FileMode.UPDATE); 


    function openSavedGames(event:Event):void

    {

         continueGamesConnection.removeEventListener(Event.COMPLETE, openSavedGames);

         var content:URLVariables = new URLVariables();

         var loadedContent:String = new String();


         loadedContent = continueGamesConnection.readUTFBytes(continueGamesConnection.bytesAvailable);

         content.decode(loadedContent); 

         variableX = content. variableX

         //etc, etc. 

         continueGamesConnection.close();

    }

    Moreover, I also tried to use FileMode.READ and others, and it still gives me the same problem. Doesn't work only if ran on admin mode or dev environment...

    It's very frustrating, I tried to read other messages without a bit of luck... What solutions people use for this kind of problem?

    I have seen that you can set the application to run as administrator somehow, and I think that might work. However, it should work perfectly, since he does not seem against the Air API security. Looks like an overdose. But despite this, how do I do that?

    Your help is greatly appreciated!

    I think you can do less detail,

    var continueFile:File = File.applicationStorageDirectory.resolvePath("savedgames/continueGames.txt");
    


  • FF13 Reader Plugin puts ashx file on the desktop

    10.1.3.23 acrobat Plugin from Firefox 13: I want a site of regions Bank Clk the PDF icon and I have the open declaration as it has done recently. Today, it Dnloads year .ashx files on the desktop and I have Clk to see the statement of verification. Is not ideal, so HOW do I get the Plugin simply open the link in a Dbl - Clk as before? Support ashx at Merrill Lynch too vs simply opening PDF.

    IE9 opens PDF file as you wish with a Dbl - Clk on the icon.

    Ran repair / re-boot = no joy. No other Apps before but uninstalled/installed FoxitReader PDF and Reg entries deleted, etc.

    Posted BugBase question for ActionScript of Flash 11.3.300.262 with FF 13 pop-up so it's disappointing to have a 2nd issue of Adobe.

    Thank you very much!

    EDIT: I began to check into Fx 13 Tools/Options/Applications and re-everything choice of Adobe;

    SOMETHING CHANGED the choice of the SAVE vs Adobe Reader in Firefox - THAT solved the problem and I didn't notice the change.

    Thanks again & all the best!

  • File in the applications folder

    I accidentally dragged a + 1 GB MP4 file in my applications folder. When I try to drag the output file, it appears only in my movies folder (or another folder, including the desktop) as an alias of 440 KB. Through the get info (command I) I have reset the permissions so anyone can read/write, but the same problem persists. How can I fix this problem so I can drag the real file on applications and in the movie as a complete file folder? It is a weird scenario I have not experienced before.

    Thank you.

    Hey Danielmak,

    Certainly a strange scenario with your MP4 showing a reduction in the size with a few hundred KBs Alias. Not to worry, this should do the trick for you.

    Try right click on the file that is located in the Apps folder, and then click Copy 'filename '. Once you have copied to the clip board, you can then paste the original file in the folder sequences or according to folder that you choose. After you have copied, open the folder that you copied the file and check it's there and can open as expected. If all is good, you can delete the file you have in the Applications folder to remove it from this place.

    Thank you for using communities of Apple Support. Have a great day!

  • How can I access the log files of the application of a ThinApp on the virtual drive?

    I thinstalled an application using the v4.6 and I am able to launch and run the captured application.

    But the application creates log files to:

    c:\Program files\ensembleProAgent\LOGS\

    So I can access them on of ThinApp virtual drive?

    If so, any help is appreciated, I don't know where is the virtual drive or how I can access / read it.

    Thank you

    Joel

    Hello

    A virtual drive in the world of ThinApp means a disk that you have virtualized so he will be present for the virtualized application. If you mean by the word virtual drive where we keep the changes not applied to the physical environment are you talking about what we call the sandbox. Default location would be users with roaming profiles in a folder called Thinstall (ThinApp used to be called Thinstall until VMware has acquired the product)... Method of pomp for the sandbox would be to hit start - run on your client and enter %APPDATA%\microsoft\windows\sendto and click OK...

  • Can .air install some files with the application?

    I have an installer.air created by Adobe Flash. I have another file called settings.cfg that is necessary for my application from running. How to let the computer auto install settings.cfg in installation as well as the application directory when I run installer.air? Currently, I need to manually place the settings.cfg in the directory of the installed application.

    Click your appliction settings/general edit button and add the included files.

Maybe you are looking for