Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Deployment problems


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Apr 24, 2017 10:25 AM Last Post By: aidan levy Threads: [ Previous | Next ]
aidan levy

Posts: 31
Registered: 7/6/16
Deployment problems  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 13, 2017 5:26 AM
In my application I need load picture so I use this code :

1. Image1->Bitmap->LoadFromFile(GetDefaultFilePath("on.png"));

2. function to receive full path :

String TTabbedForm::GetDefaultFilePath(const String FileName)
{
String Result = "";

#if defined(_PLAT_IOS)
Result = System::Ioutils::TPath::Combine(System::Ioutils::TPath::GetDocumentsPath(),FileName);
#endif

return Result;
}

3. I have added #include <System.IOUtils.hpp> to h file

4. In deployment I added file with remote path StartUp\Documents\ . I see this file in package.

As you can see everything as in instruction and for Android it work but in iOS32 ( iPhone 4s) not work !

What to do ?

I work on Berlin Update 1.
aidan levy

Posts: 31
Registered: 7/6/16
Re: Deployment problems  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 24, 2017 10:25 AM   in response to: aidan levy in response to: aidan levy
I found problem. It`s bug in deployment. File not copied if contain underscore symbol. For example : Image_600x400.png
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02