Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all 1888 articles
Browse latest View live

[Error] Unable to match bundle identifier "Project1" with AppID in all provisioning profiles

$
0
0

I am using XE10, OSX 10.11.5, IOS 9.3.2, XCode 7.3, PaServer 8.0.1.12.

For emulator i can debug programs without problem.

This error occurs all times when i try to build Delphi IOS device phone app.

(The same error is showed in the provisioning screen of options if the Configuration is not Development) If i select the correct Configuration, the screen shows

How can i fix this issue?

Thanks in advance.

Juan.


MAPI Mail Multiple recipients are the same

$
0
0

Hi, I tried send mail with MapiSendMail (Windows.Mapi) to multiple recipients in Delphi Seattle, also Berlin, but when I add multiple recipients, each of them is the same. The same problem is with Attachments. I tried also third party software, but it also probably use Windows.Mapi for sending mail and the reason is the same - multiple recipients and attachments are the same. Is there any patch? Thanks  

Popup Menu behavior changes Delphi 2007 to XE5

$
0
0

After updating a Delphi 2007 project to XE5 I have noticed that popup menus from edit boxes (and other controls) on forms no longer show the forms assigned popup menu but the default windows popup menu instead. Similarly db grid in-place editors no longer show the grids assigned popup menu. Is this behavior change by design? Was some bug fixed since Delphi 2007 that changed this behavior?  

JCL/JVCL and 10.1 Berlin Installation Issues

$
0
0

Hi all,

Has anyone else been having a nightmare installing the JCL/JVCL on 10.1 Berlin?
Personally, it's starting to get to the point where it just isn't worth the effort to use any of the JEDI stuff anymore.

I downloaded the JCL and JVCL master zip files from sourceforge.
I then ran the install.bat file for the JCL and encountered the JEDI.INC file missing error.
So I downloaded the jedi.inc master file and put it in the ..\jcl\source\include folder.
I re-ran the .bat file and now get a BCC32.exe not found error.

So I tried a different tack and opened the JclPackagesD240.groupproj manually and installed that.
That seemed to work fine ... seemed to ...
I then tried to run the jvcl install.bat file and it gives:
"No Delphi/BCB/BDS/RAD-Studio versions was found that has the required dependencies installed. Please install the dependencies first."

So obviously trying to install the jcl manually screws up anything going onwards with the jvcl.

Has anyone got any solutions or ideas to see how I can get out of this mess, especially since I've been round in circles for about 3 days now.

 

Thanks
Mike

How can I get mouse/tap/gesture events in FMX.WebBrowser.TWebBrowser on IOS/Android/Win platforms?

$
0
0

Hi, community. I'm using RAD Studio Seattle 10 with IOS, Android, Win platforms.

TWebBrowser has no available mouse events in Object Inspector, though TWebBrowser is inherited from TControl, which has them.There are only OnTap and OnGesture events in TWebBrowser, but they don't work. I tried use OnTouch event of the TForm, which works at all controls, but even this event doesn't work. Also there is no way to mesure webcontent bounds rect, so there's no way to listen of any changes of viewportposition.

Is it a BUG? How can I fix or work around this issue?

P.S. Please, tell me, that I'm not alone. Did anybody face with this issue?

 

WSDL/SOAP on Multi-Device application don't work on Android - C++ Builder Berlin 10.1

$
0
0

Hello,

I made a test application to test Multi-Device application and validate our migration to the new embarcadero C++ Builder 10.1 Berlin... unfortunately it didn't get so well...

We have a web-service developed in C++ builder 2007 (ISAPI). When i import the WSDL in my project, everything work fine in Windows 32 and 64 but unfortunately the application didn't work on android....

I've got these message :

  • on Android : "Unfortunately, [applicationName] has stopped".
  • on C++ Builder : "Fatal error : application not responding..." (translated from french)
  • on C++ Builder : Exception : Segmentation fault (11).
  • on C++ Builder : Access Violation Exception at 203EE6F4 in "dbkdebugide240.bpl"...

I don't have to call the web service, the simple presence of the .cpp file in the project is enough to make the application stop ... I am unable to debug since the application stop before calling any line of my code...

I search on internet and found nothing about it, maybe one post on QualityCenter but the website didn't respond....

Plz help me, is-that normal? am i missing something? or the bug is known?

Sincerely,

William  

I work on android 4.4.4 ARM emulator and Deploy on Zebra MC92N terminal

Any method of making a suitable LIB file for a DLL created with Microsoft VS C++?

$
0
0

A hardware manufacturer has provided a DLL to interface with their USB device.  This DLL is a C++ Class Library created in Microsoft VisualStudio.

The supplied LIB files would not link (no surprises there - wrong format), so I used IMPLIB to create Embarcadero compatible LIB files.  However, the link still failed reporting that all of the external class methods (including constructors and destructors) referenced in my code had not been found.

Using IMPDEF showed that there was obscure name decoration, that obviously was not compatible with the name decoration used by RAD Studio.

A quick search online turned up a StackOverflow article which stated that this issue was not only between different company compilers, but even between different versions of compiler for the same manufacturer - there is no standard for name decoration in C++ DLLs.

If I can't link to this DLL, I essentially can't use the hardware.

Does anyone know a method of generating a LIB file from a DLL created in Microsoft VS C++ that will link to a RAD Studio Win32 executable project?

TDSRestConnection and string parameters

$
0
0

Hi all,

We have a small 3-tier application with a DataSnap-server and a windows-client
using a TDSRestConnection component to connect to this datasnap server over HTTP/REST.
We have several server-methods with string parameters.
In Delphi 10.1 Berlin the spaces in these string parameters are replaced by plus-signs (+)

One can easily reproduce this effect.
Create a basic datasnap server with sample methods using the datasnap server wizard.
(VCL Forms application, protocol HTTP, include sample methods and use a TDSServerModule as ancestor type for the server methods)

Create a windows VCL-client with a TDSRestConnection component to make the connection with the server.
Call the sample ReverseString method with for instance "Hello   world" as parameter. (3 spaces between the words)
The server will return "Hello+++world"

This effect is only visible with Delphi 10.1 Berlin, not with Seattle.
Anyone an idea how to avoid this or is this a bug ?

Regards
Freddy


Kinvey PushReceived called 8 times on Android

$
0
0

Hi,
I just tried to develop a quick simple app to get notifications from Kinvey and everything works fine on iOS (iPad and iPhone), when I send a string, it's propagated to iOS and I add it to a Memo field for each notification string.
On Android though, I get each notification 8 times... 

Any idea why?
I don't have any loop, so I just don't get it why I get 1 notification on iOS and why I go 8 times into the PushReceived event when on Android.


My Code for PushReceived is as follows:

procedure TForm1.PushEventsPushReceived(Sender: TObject;
  const AData: TPushData);
begin
    Memo.Lines.Add('-- '+formatDateTime('dd-mm-yyyy hh:nn:ss', Now )+' --' ) ;
    {$IF DEFINED(iOS)}
      Memo.Lines.Add(AData.APS.Alert) ;
      Memo.Lines.Add(AData.APS.Badge) ;
   {$ENDIF}
   {$IF DEFINED (ANDROID)}
      If( AData.GCM.Title <> '') Then
         Memo.Lines.Add('- '+AData.GCM.Title+' -') ;
      Memo.Lines.Add(AData.GCM.Msg) ;
   {$ENDIF}
   Memo.Lines.Add('') ;
end;

Thanks for any clue.

Steve J

FireDac: any way to get SQL data as an object?

$
0
0

Hi,
I was wondering whether it's possible to actually get the result of an SQL statement as an object?
Did anybody typecast a result into an object?

Something like:
The class TProduct has a idProduct: integer, idName:String, idPrice:integer and equivalent fields in a Database, is it possible to get the select from the DB and avoid the idProduct := sql.FieldByName("idProduct").AsInteger, etc... ? A kind of auto field matching, filling the variables automatically (besides blobs)?

The example here is simple, but when you have 20+ fields it's more cumbersome: you need to manually assign each field.
That would be convenient too to write data into the DB.
I'd like to avoid storing the class as a BLOB so we can still query the values.

Thanks for any guidance.

Steve

RTTI over DLL boundaries

$
0
0

Hello,

I'm trying to migrate a project from our old borland to the latest XE 10.1, using trial. 

I ran into a problem while compiling ICU : while compiling the second dll (icuin), which depends on the first one (icuuc), there is a link error :

[ilink64 Error] Error: Unresolved external 'typeinfo for icu_53::UMemory' referenced from E:\DEV\COMPONENTS\ICU\WINDOWS\WIN64\RELEASE\COLLATIONKEYS.O

With UMemory defined (in icuuc) as this (comments stripped)

class U_COMMON_API UMemory {
public:
    static void * U_EXPORT2 operator new(size_t size) U_NO_THROW;
    static void * U_EXPORT2 operator new[](size_t size) U_NO_THROW;
    static void U_EXPORT2 operator delete(void *p) U_NO_THROW;
    static void U_EXPORT2 operator delete[](void *p) U_NO_THROW;
    static inline void * U_EXPORT2 operator new(size_t, void *ptr) U_NO_THROW { return ptr; }
    static inline void U_EXPORT2 operator delete(void *, void *) U_NO_THROW {}
};

U_COMMON_API is defined as __declspec( dllexport ) in icuuc and as __declspec( dllimport ) in icuin ; U_EXPORT_2 is __cdecl

I can't figure why it needs this information as there is no virtual methods in UMemory, nor than I figure how to make this to compile :(

I've put the cbproj files in a gist, if needed on undertand anything: https://gist.github.com/BastienDurel/6d7971d2379629c922d7ae9b76df510f

Thanks,

 

TeeChart for RAD Studio 10.1

$
0
0

The feature list for RAD Studio 10.1 indicates it includes TeeChart but it is not installed in the Tool Palette and I cannot find a design time package to install.  The GetIt Manager doesn't list TeeChart as an option.  What do I need to do to install TeeChart in RAD Stuation 10.1?

adv manager

$
0
0

Hello all I'm Very new to Android app development.

I've installed my fresh new copy of Berlin and I have tried to compile and execute in the ADV the AdapterBindSourceSampler, but even if I have installed the android SDK in the windows 10 menu, I can't find where to set up my Android emulator because under Samples I have not found the android SDK menu where i can find the Android avd manager and the Android tools application as shown in the help file. 

What's wrong in my installation? 

thenk you for your help

 

franz

Search for Usages tabs

$
0
0

New searches no longer generate a new tab?  In XE7, a new search always generated a new tab, as the documentation says:

Note that each new Search for Usages command adds its own tab to the Search for Usages window.

But, now that I've upgraded to Delphi 10, search results always replace the existing tab.  Is there a setting in the IDE so I can get this functionality back?

Safe to upgrade to Xcode 7.3 ?

$
0
0

Hi All,
Did anyone upgrade to Xcode 7.3 on the Mac? Does it break anything with iOS and OS X dev on Seattle 10?
Thanks 


DirectShow9.hpp problem

$
0
0

Dir Sir:

I add #include in my project and run

1.Get message as below

[bcc32 Error] amvideo.h(389): E2015 Ambiguity between 'std::abs(long double)' and 'std::abs(double)'
  Full parser context
    Main.cpp(5): #include c:\program files (x86)\embarcadero\studio\17.0\include\windows\rtl\DirectShow9.hpp
    DirectShow9.hpp(11): #include c:\program files (x86)\embarcadero\studio\17.0\include\windows\rtl\Winapi.DirectShow9.hpp
    Winapi.DirectShow9.hpp(50): #include c:\program files (x86)\embarcadero\studio\17.0\include\windows\sdk\amvideo.h
    amvideo.h(396): decision to instantiate: long SAFE_DIBSIZE(const tagBITMAPINFOHEADER *,unsigned long *)
    --- Resetting parser context for instantiation...
    amvideo.h(378): parsing: long SAFE_DIBSIZE(const tagBITMAPINFOHEADER *,unsigned long *)

2.I modify dw = abs(pbi->biHeight); --> dw = abs((double)pbi->biHeight); and run again

3.Get message as below

[bcc32 Error] Winapi.DirectShow9.hpp(237): E2451 Undefined symbol 'IDirectShowStream'
  Full parser context
    Main.cpp(5): #include c:\program files (x86)\embarcadero\studio\17.0\include\windows\rtl\DirectShow9.hpp
    DirectShow9.hpp(11): #include c:\program files (x86)\embarcadero\studio\17.0\include\windows\rtl\Winapi.DirectShow9.hpp

I try to ask for help and get answer as:

We've examined the issue you faced and it does not relate to our controls. You can replicate it even without them - just create a new project, add the "#include " string to an *.h file and try to recompile the application.

So, the problem is related to the IDE and we've created a corresponding ticket in Embarcadero Quality Center - RSP-15280.

 

Please advise.

 

Listview with dynamic appearance and Android view not working

$
0
0

With XE 10.1 does anyone get "Cannot assign a TAppearanceObjectItem to a TAppearanceObjectItem" if you have a multidevice application with a listview on it set to dynamic appearance and you then create an Android View from the Master view. I am sure this must be a know issue but I am having trouble finding anything about it. Thanks

IDE is freezing

$
0
0

I keep having the problem that when I am adding available source code to my current project the IDE starts hanging/freezing - sometimes a few seconds but now most of the time for indefinite times. I have disconneted network connections but could see no influence. I have disabled "TwineCompile" but could hardly see any difference.
Sometimes in the past setting up an entirely new project helped.

I also keep getting a frozen IDE when I have loaded a large project, changed something in the project settings and just save the project. It keeps using up an entire CPU-core for a very long time.

I am working under Win7 64 Bit professional.

Does anyone have an idead how to solve this annoying situation?

10.1 C++ Run Command from Menu broken

$
0
0

Since 10.1 Berlin when I click on "Menu->Run->Run" or enter a key which I had assigned via GExperts to the "Run"-Command it only functions at the first attempt, if I try it again, the command "build all" was executed instead. This worked in version 10 seattle. I have a project group with about 70 projects in it. Someone has seen this also? Thanks in advance, Harald

appendix: the make system seems totally broken, the only things which works is right click in the project manager and make/build from there, it is very annoying, thinking about going back to seattle and not to renew the update subscription, if this will not be fixed.

How can I set PrintDialog's options in background.

$
0
0

Hi everybody.

 

I want to print something with Printer of "Microsoft Print to PDF" and file name of "myfile.pdf".  But I do not want to show any dialog box.

/* This is a code displaying PrintDialog and SaveDialog */

if ( PrintDialog->Execute() ) {

    Printer->BeginDoc();

    // some code

    Printer->EndDoc();

}

 

Is there anybody knows how to do this?

 

Thanks.

 

 

Viewing all 1888 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>