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

IOS - Distribution certificates

$
0
0

I am trying to deploy to IOS but getting the following error:

[PAClient Error] Error: E0776     "Error Domain=IDECodesignResolverErrorDomain Code=1 \"No certificate for team 'Company Name' matching '3rd Party Mac Developer Installer' found\" UserInfo={IDEProvisioningError_UserInfoKey_IDEProvisioningErrorSpecifier=3rd Party Mac Developer Installer, NSLocalizedDescription=No certificate for team 'Company Name' matching '3rd Party Mac Developer Installer' found, NSLocalizedRecoverySuggestion=Specify a different signing certificate for \"signingCertificate\" in your Export Options property list., IDEProvisioningError_UserInfoKey_IDEProvisioningErrorTeam=, IDEProvisioningError_UserInfoKey_IDEProvisioningErrorPlatform=com.apple.platform.iphoneos, IDEProvisioningError_UserInfoKey_IDEProvisioningErrorAction=5}"

I recently had apple modify my account to be a company developer and not a user, i think this is the problem but not sure how to resolve this now. I have generated all new certificates and provisions but still not working. Any ideas?


Error while installing TCompressProj

$
0
0

I am getting the following error while installing TCompressProj in Embarcadero Seattle XE10:-

" Cannot load package TCompressProj. It contains unit 'Semaan', which is also contained in package 'OpenGLPackage' "

Screenshot attached.

Re: Delphi Tokyo and iOS 11 Beta 2

$
0
0

Hi there

Ive read that Apple will be releasing iOS 11 to the public in the Autumn.  Bearing this in mind, Im wanting to start testing my FMX Apple Apps with iOS 11 Beta 2, to check that all works OK.

 

Is it possible to use Delphi Tokyo with iOS 11 Beta.  Does PAServer etc work OK etc???

Thanks

Lee

Problems after "iOS 11 Patch" install

$
0
0

I am getting F2613 Unit 'FMX.Platform.iOS' not found after installing the "iOS 11 Patch" and compiling an IOS App on either 32 or 64 bit. Android and and Windows Platforms work fine. It seems that the $Platform variable is not being set and so the path to the FMX units can't be found. Does anyone know how the $Platform variable works in XE ? Does the IDE set this when you change Platforms on the IDE. 

Tokyo and bookmark 0

$
0
0

Hello,

The shortcuts Ctrl-Shift-0 and Ctrl-0 for setting bookmark 0 and moving to bookmark 0 do not work in both versions of Tokyo. Bookmarks 1..9 do work.

How can I activate the shortcut for bookmark 0 ?

Thanks,

Hubert

 

Delphi Project UI Flicker

$
0
0

We have a couple of Delphi developed applications (Win32). Recent complaint from the users is that there is substantial UI flickering on Windows 10 when the Group Policies are being pushed to the PC. Sometimes it lasts for about 30 seconds and it does not allow the user to properly access the application.

Group policies by default are pushed every 60-90 minutes, to replicate the behavior just run "gpupdate /force" in a command prompt when you're on a windows domain. Even the Delphi IDE (10.1) does it.

Newer windows applications are not affected by this and it did not happen in Windows 7.

Any ideas on how to correct this?

Thanks in advance.

FMX grid behavior 10.1 - 10.2 different

$
0
0

We use a standard TClientDataSet and an FMX-grid for displaying data.

One field is displayed as a CheckColumn, and we need that only one row can have a checked value. 

We use OnEditingDone handler of the grid 

to uncheck previously selected item.

 

When OnEditingDone is called we make follow actions:

1) uncheck all other items except one that was just selected;

2) call Locate to move cursor to the selected item.

 

Calling Locate is required because without it the grid is not

refreshed (it shows previously selected items as selected though

their IsSelectedBool = false).

 

We don't call dataset's DisableControl/EnabledControl because

othwerise the grid won't be refreshed.

 

On Berlin the approach works fine.

On Tokyo we get Assert Violation when check any item.

 

The Assert Violation can be avoided by calling DisableControl/EnabledControl.

But grid is not refreshed after calling DisableControl/EnabledControl

and we can't find a way to refresh it (gr1.Repaint and  BindSourceDB1.ResetNeeded

don't help).

 

So, we need to find a way to make follow actions inside OnEditingDone:

- update list of item in the dataset;

- refresh the grid to dispaly actual state of updated items;

 

- avoid AV.

Project that show the error

20170903_Demo#8

SOAP Error : Handle in wrong state

$
0
0

We recently upgraded our c++ client using Embaracadero Tokyo 10.2 C++ Builder Update 1.  The client is using our own web service which has not been upgraded and built using Borland/Codegear C++ Builder.  We have tested and deployed the client.  In production, under certain situations (mainly slower connections), we are getting this error message.  Looks like this message is displayed when our backend/database operation crosses 30 seconds at which point we are supposed to see a time out message.  Instead this error is shown.  Not sure how to trouble shoot this issue.  Is there a possibility of incorrect handling of error messages between the client and the web service.  We never had this issue with our old client compiled using Codegear C++ Builder.

 


Is there a way to call crystal report from within delphi 10.2?

$
0
0

If I have reports in crystal report, is there a way to call them within the delphi code.

Please advise.


Thanks.

Delphi 10.2 64 bit windows compile to win32

$
0
0

Strange case ... i have installed delphi 10.2. I have create a console application and I compile it to a 64-bit Windows project but the executable is created in the win32 folder and it is a win32 and not win64 application. If I start the project with the play button it says "Counld not find program, '..." with the path of the project in the Win64 folder. New console project just created. In the project is defined WIN32 compiler directive and not WIN64, but 64-bit windows is selected.

Ho già disinstallato ed installato diverse volte ma il problema permane. Nello stesso PC è installata anche la versione XE7 che funziona correttamente.

 

Including header constructor causes duplicate member

$
0
0

Hi there, when I try to include a FramGrabber's headers into my project, it generates errors. Header File is: CyTypes.h    

	// Constructor for convenience
	CY_UTILS_LIB_API CyErrorInfo( );
	CY_UTILS_LIB_API CyErrorInfo( const char*    aMessage,
								  CyResult       aResult,
								  const char*    aSourceFile,
								  unsigned long  aSourceLine,
								  unsigned long  aSystemCode );

 CY_UTILS_LIB_API is defined eslsewhere in a dll:

#define CY_UTILS_LIB_API __declspec(dllimport)   

 

Can anyone help? This works with the old BorlandBuilder6, but here it causes trouble that I don't understand.  

Many thanks, René

focus problem

$
0
0

Hello there Hello there if the customer code is empty in the transaction number where the customer code and transaction number are in accordance with the business rule, we want to send a message and enter the related field. However, when we write the code in the onexit field in the transaction number field, the cursor is not the focus on the customer number. We do not have a problem when we want to do the same control at the button. procedure TForm1.Edit2Exit(Sender: TObject);

begin

  if CustomerCode.Text = '' then

  begin    

      ShowMessage('Error !!! Customer Code is null');

      CustomerCode.SetFocus;

      Abort;

  end;

end;

PAServer 10.1.1.33

$
0
0

for Tokyo i need PAserver 10.1.1.33 instat of 10.0.1.23. How to get/download it?

Installing Orpheus from Github

$
0
0

I'm trying to install Orpheus from GitHub, but am getting the following error message:

[DCC Fatal Error] pasall.tmp(1): F1027 Unit not found: 'System' or binary equivalents (.dcu)

 

When I'm installing Orpheus using the GetIt Manager and then install it again (in order to patch some bugs), I get those errors:

  c:\program files(x86)\development\embarcadero\studio\19.0\Bin\CodeGear.Cpp.Targets(3695,5):

error : Error: Unresolved external '__InitVCL' referenced from C:\PROGRAM FILES (X86)\DEVELOPMENT\EMBARCADERO\STUDIO\19.0\LIB\WIN32\RELEASE\CP32MTI.LIB|crtl

vcl

  c:\program files(x86)\development\embarcadero\studio\19.0\Bin\CodeGear.Cpp.Targets(3695,5):

error : Error: Unresolved external '__ExitVCL' referenced from C:\PROGRAM FILES (X86)\DEVELOPMENT\EMBARCADERO\STUDIO\19.0\LIB\WIN32\RELEASE\CP32MTI.LIB|crtl

vcl

  c:\program files(x86)\development\embarcadero\studio\19.0\Bin\CodeGear.Cpp.Targets(3695,5):

 error : Error: Unable to perform link

 

Any idea what I am doing wrong here?

Xcode 9 and SDK MacOSX 10.13

$
0
0

Today Xcode 9 with command-line tools for SDK MacOSX 10.13 arrived to my Mac.

After the upgrade I can still compile a Delphi project, but not C++ Builder.

Going back to SDK 10.12.4 got it working again for C++ Builder and Xcode 9.

Have anyone else tried installing Xcode 9?

 

 


Best way to build with BOTH bcc32 and bcc32c

$
0
0

Using C++ Builder Professional 10.2.1 and DUnitX.

I am writing unit tests to be sure that existing code built with bcc32 runs correctly when built with the clang compilers, bcc32c and bcc64. I will extend the project to include android and ios targets shortly. Right now, my test project includes 32-bit Windows target and 64-bit Windows target. To build for bcc32 and bcc32c, I have to change the project option 'Use classic Borland compiler'. Is there a way to have 2 32-bit Windows targets, one for bcc32 and one for bcc32c? Or maybe there is a better way to meet the need?

DBArtisan PC License Transfer

$
0
0

Need to transfer my PC Based DBArtisan licenses from my old PC to my new PC.   What is the process to get this done  ?   Regards,   Phil

long arithmetic

$
0
0
Hello! I want to buy a C ++ Builder BUT I do not understand,
 is there a long arithmetic in it like BigInteger from Microsoft VisualStudio C ++
or what is an alternative?

Speech input via SAPI 5.4 and TSpInProcRecoContext Problem

$
0
0

Hello there,

I am trying to use the SAPI 5.4 language input.
I have integrated SAPI 5.4 into the IDE and try to receive TSpInProcRecoContext input via the Micro.
According to MS I have to drag the micro or audio in via token and connect to SpInProcRecoContext. I fail at the handover, but why?
Can someone help me?

..

 SpInProcRecoContext1: TSpInProcRecoContext;
    SpObjectToken1: TSpObjectToken;

...

     SpVoice: Variant;
     objAudioTokenCategory : TSpObjectTokenCategory ;
     objAudioToken,
     objEngineToken,
     objProfileToken : ISpeechObjectToken;
     function startVoice: Integer;
     function stopVoice: Integer;
...


//------------------------------------------------------------------------------
// start voice
function TDM_Voice.startVoice: Integer;
var
  MyTokenCategory: WideString;
begin
  try
    SpInProcRecoContext1.EventInterests := SREAllEvents;


    MyTokenCategory := 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\AudioInput'; // SpeechCategoryAudioIn

    objAudioTokenCategory := TSpObjectTokenCategory.Create(Nil) ;
    objAudioTokenCategory.SetId(MyTokenCategory , false);

    objAudioToken := ISpeechObjectToken(objAudioTokenCategory.DefaultInterface);
    objAudioToken.SetId(objAudioTokenCategory.Default, MyTokenCategory, false);

    try
      MyTokenCategory := 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Recognizers'; // SpeechCategoryRecognizers
      objAudioTokenCategory.SetId(MyTokenCategory , false);
    except
      on E: Exception do begin // OLE-Fehler 80045002 > schon vorhanden also kein Fehler
        Logdatent_Schreiben('Fehler in StartVoice Fehler:' +E.Message);
      end;
    end;
    objEngineToken := ISpeechObjectToken(objAudioTokenCategory.DefaultInterface);
    objEngineToken.SetId(objAudioTokenCategory.Default, MyTokenCategory, false);

    try
      MyTokenCategory := 'HKEY_CURRENT_USER\SOFTWARE\Microsoft\Speech\RecoProfiles'; // SpeechCategoryRecoProfiles
      objAudioTokenCategory.SetId(MyTokenCategory , false);
    except
      on E: Exception do begin // OLE-Fehler 80045002 > already exists so no error
        Logdatent_Schreiben('Fehler in StartVoice Fehler:' +E.Message);
      end;
    end;
    objProfileToken := ISpeechObjectToken(objAudioTokenCategory.DefaultInterface);
    objProfileToken.SetId(objAudioTokenCategory.Default, MyTokenCategory, false);

    SpInProcRecoContext1.Recognizer.AudioInput := objAudioToken; // Error wrong Parameter Whey ????
    SpInProcRecoContext1.Recognizer.Profile := objProfileToken;
    SpInProcRecoContext1.Recognizer.CreateRecoContext;

    SpInProcRecoContext1.Connect;

    Logdatent_Schreiben('Starte Voice');
  except
    on E: Exception do begin
      Logdatent_Schreiben('Fehler in StartVoice Fehler:' +E.Message);
    end;
  end;
end;

 

I still found this:

https://msdn.microsoft.com/en-us/library/ee125184(v=vs.85).aspx

How do I implement it in Pascal?

Accessing external variable exported by DLL

$
0
0

I am trying to make a Delphi wrapper for the PDCurses (Public Domain Curses) DLL.
This DLL exports several variables.

Example from C(++) header:

#ifdef PDC_DLL_BUILD
# ifdef CURSES_LIBRARY
#  define PDCEX __declspec(dllexport) extern
# else
#  define PDCEX __declspec(dllimport)
# endif
#else
# define PDCEX extern
#endif

PDCEX  int          LINES;        /* terminal height */
PDCEX  int          COLS;         /* terminal width */
PDCEX  int          COLORS;
PDCEX  int          COLOR_PAIRS;

I am trying to access these variables from Delphi now and this seems to fail.
Using FPC one would do the following:

var
  LINES: Integer external LIBPDCURSES name 'LINES';
  COLS: Integer external LIBPDCURSES name 'COLS';
  COLORS: Integer external LIBPDCURSES name 'COLORS';
  COLOR_PAIRS: Integer external LIBPDCURSES name 'COLOR_PAIRS';

Is there a way to do the same with Delphi?
Using XE10.2 Starter I get an error stating this is a no-go.

If no: RFC? I would love to be able to create nice CLI UIs using PDCurses (As it's multi-platform and 16 & 32 & 64 bit compatible). :)

Viewing all 3212 articles
Browse latest View live


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