Jump to content

Pat Heuvel

Members
  • Content Count

    9
  • Joined

  • Last visited

Everything posted by Pat Heuvel

  1. Pat Heuvel

    Profiler for Delphi

    Gday, Thanks for making this tool available! I've just tried to use it on a C++ Builder 32-bit binary and got the following: map2pdb - Copyright (c) 2021 Anders Melander Version 3.1.2 Fatal: [ 44] Modules overlap: C:\PROGRAM, C:\PROGRAM 0001:0003AD33 00000297 C=CODE S=_TEXT G=(none) M=C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\22.0\LIB\WIN32\DEBUG\RTL.LIB|System.Internal.ExcUtils ACBP=A9 Am I doing something wrong? My command line is D:\Devel\CPP\BlueVane\BVMultisport\Win32\Debug>map2pdb BVMultisport.map -bind Executable was compiled under RS 11.3, with recommended options for the mapfile. Thank you!
  2. Pat Heuvel

    FireDAC - how to change an FDQuery field type?

    In design view, right click your query and select "Fields Editor...". If the field that has been changed is listed here, delete it and click "Add All Fields" or "Add Field...".
  3. Gday, When I try to install Athens, I get the error "no more platforms pending to install". It's a fresh OS install on VMWare Fusion on an M1 Mac. Any suggestions please? Ta, Pat
  4. Pat Heuvel

    Delphi IDE LAAAAGGGING

    How much RAM and what processor does your development machine have?
  5. Gday all, I have an application that was working prior to Monterey. It uses the PostgreSQL libraries libpq.dylib (and its related dylibs). Since Monterey, it can't successfully load libpq.dylib. I realise this could also mean that it can't succesfully load one of the libraries upon which libpq relies. I have added an FDPhysPgDriverLink instance to my data module, and login, database, server and port vales are correct. After some research, I came across this article: http://clarkkromenaker.com/post/library-dynamic-loading-mac/ I expect I need to add an LC_RPATH command to my binary, pointing to @executable_path/../Libraries (which is where I put libpq.dylib et al). I've tried doing this in a shell on the Mac, but that fails because it invalidates the code signing. Is there a way to add this stuff (ideally during the build process within the IDE)? Oh, I'm using RAD Studio 11.2 (plus patch) on Windows 10 Pro PC and XCode 14.1 on Macbook Pro M1. Thanks, Pat
  6. Pat Heuvel

    FB-3 SELECT WHERE

    select * from mytable where tname = 'AA' and invno is null or datediff(day, current_date, tdate) >= 10
  7. Pat Heuvel

    64 bit PostgreSQL and Embarcadero ???

    You should only need the bitness that relates to your binary. But you will also get the same message if the libraries that libpq needs aren't there, so make sure you also have: libeay32.dll libintl-8.dll ssleay32.dll in the same directory. If you still need the 32-bit libpq, you can get it by downloading an old pgadmin.
  8. Pat Heuvel

    Create a bitmap of selected control?

    Gday, From the Delphi drag and drop example: DragImage := Control.MakeScreenshot; Svc.BeginDragDrop(Self, DragData, DragImage); DragImage is a TBitmap Control is a TControl descendent Regards, Pat
  9. Pat Heuvel

    libpq.dll for FireDAC?

    If all else fails, Download and install PGAdmin 3.
×