Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 42

Thread: Delphi XE2 is here!

  1. #31
    So, did anyone managed to run a Mac OS application compiled with Delphi XE 2 on actual Mac without installing the debugger (PAServer)?

    The empty project seems to run fine on my Mac Mini with Leopard 10.6.2 after copying dylibs from Delphi's directory, but in addition to the GUI window, it also opens Terminal window.

    After updating Leopard to 10.6.8, it doesn't even run. Clicking on the application opens Terminal window, which is blank.

  2. #32
    I have just tried it - shut down pa server and started up my mac app and it runs fine. macosx 10.6.8

    However, I have found that the GetCurrentDir command returns '/' when I run the application by double clicking on the Mac. Whereas if I start my App up with paserver running that same command returns a full path to the executable within the .app folder.

    That GetCurrentDir only returns "/" is very annoying.
    The views expressed on this programme are bloody good ones. - Fred Dagg

  3. #33
    Czar, thanks for the reply. However, when you install pa server, it installs a bunch of other stuff required for the application to run.

    How can you distribute the compiled Mac OS applications without having to install pa server? Or is the debugger a requirement and need to be bundled with every Mac OS application you make?

  4. #34
    I have not got access to a second mac to try that but I would be surprised if you had to distribute other files - have you set your build to "release" - perhaps if you leave it on "debugger" it requires extra files. You can change setting in the project group.
    The views expressed on this programme are bloody good ones. - Fred Dagg

  5. #35
    Quote Originally Posted by czar View Post
    I have not got access to a second mac to try that but I would be surprised if you had to distribute other files - have you set your build to "release" - perhaps if you leave it on "debugger" it requires extra files. You can change setting in the project group.
    Yes, my test machine is Mac Mini with Core 2 Duo 2.2 Ghz and Nvidia Geforce 9300. I've put fresh installation of OS X Leopard 10.6.2, updated it to 10.6.8. In Delphi XE 2, target Mac OS, Release Build. It's basically an application of an edit box, button and memo. If you simply copy the application to Mac Mini and run it, Terminal opens. This time, passing dylib files from Delphi's folder didn't help - running application does nothing but opens an empty terminal window.

    In my previous tests I've succeeded only after installing PAServer. However, I want to test the application on "Clean Install" of Mac OS, similar to what the customers will be using. It seems that you need to deploy PAServer along with your Mac OS application compiled with Delphi XE 2, which is a bit of nuisance.

  6. #36
    That would seem to be a right bother.

    I would have thought the pa server was only used for debugging and that the "deployed" application should be run as is.

    I would like a bit more clarity on the whole issue.

    I have also discovered that the MacBook that I own is quite slow - I believe it is because it doesn't have a GPU as such just a crappy intel graphics chip. Which means I also have to be aware of what effects etc are performance killers.
    Last edited by czar; 09-09-2011 at 09:24 PM.
    The views expressed on this programme are bloody good ones. - Fred Dagg

  7. #37
    The views expressed on this programme are bloody good ones. - Fred Dagg

  8. #38
    HI Lifepower

    I have been asking at the emb forums

    https://forums.embarcadero.com/threa...=390749#390749
    The views expressed on this programme are bloody good ones. - Fred Dagg

  9. #39
    Thanks for the post, I've replied on EMB forums.

    By the way, compiling similar project with one edit box, one button and a memo in FPC/Lazarus works without problems on the same Mac, and it does not open terminal window.

  10. #40
    After playing more with Delphi XE 2 Professional, I'd like to share my comments about the product.

    I've been using Delphi XE 2 beta in its last months before release and it is why I've purchased Delphi XE 2 Professional right after the release. It was expensive, had to sell one of my best laptops and a home pc, since my budget was quite low, in addition to purchasing used Mac Mini with pretty good specs.

    I think this release is a real bargain and it is a product I would really like to see evolve. I am still unhappy about Embarcadero's business practices, specifically the activation limit on Delphi XE 2 and the crippled/overpaid Starter editions, but I think they have finally made a product that is worth buying after Delphi 7 and Turbo Delphi.

    The IDE of Delphi XE 2 is somewhat unstable, it messes up after 10-20 compilations (either internal error or a compiler error about perfectly fine code), after which you have to restart the IDE. This is strange, since the beta I've been using was rock stable.

    The 32-bit compiler seems to be the same as in Delphi XE and earlier versions. Although some people always complained about its FPU performance, for me it seemed pretty good, performance critical tasks could always be coded in assembly using MMX/SSE instructions.

    The 64-bit compiler is excellent in optimizations. Suffice to say that 32-bit pixel alpha blending coded in Pascal, which in 32-bit compiler was a performance black-hole, in 64-bit compiler is highly optimized - the entire blending is made without memory accesses using internal registers. The compiler seem to use a great deal of available internal CPU registers (although I would like to see it using all of them).

    I was also surprised that they have provided DirectX headers that work perfectly both in 32-bit and 64-bit, although OpenGL headers on Windows seem to be quite outdated.

    Mac OS compiler seems to be quite polished as well, although it is still 32-bit (but this is an advantage because Delphi's 32-bit compiler is very well polished). Although I'm still not fond of the PAServer requirement, I like their solution to overcome Apple's barriers.

    Documentation still requires a lot of work, for certain parts of FireMonkey there is no documentation at all, so you have to do a lot of cross-platform source code digging.

    FireMonkey itself, although an elegant solution to cross-platform problem, at this moment is more a marketing hype than reality. It is a very large framework that still requires a lot of work. GPU acceleration is a marketing trend, since VCL (based on GDI) on Windows XP and Windows 7 is also GPU accelerated.

    FireMonkey's DirectX implementation is on the level of "Hello World" program; it seems to be made by a person who has no experience in making Direct3D applications: device initialization and texture handling are the worst (at very minimal level of implementation), the rendering pipeline is prone to DrawPrimitive overhead with no caching whatsoever. To illustrate, drawing a grid of small images 30 by 30 will give you 10 FPS or less. They really need to hire someone with Direct3D experience to rework this part.

    FireMonkey's OpenGL implementation seems to be pretty polished. I wonder why they didn't provide implementation based on OpenGL for Windows, since it will require minimal code changes and is less prone to the overhead mentioned earlier.

    Personally, I still think they have misjudged FireMonkey's potential as a whole - instead of purchasing this intellectual property, they should have worked on Cocoa-based VCL-like API (even if it's not compatible with VCL), since on Windows there is no beating VCL. Windows Vista and 7 native GUI controls look much better than those in FireMonkey, and they work according to user's preferences (thinking of those people who change the Windows look and those with disabilities who prefer higher contrast and different color schemes).

    In any case, there are several opportunities for improvement, but even in its current state, I think Delphi XE 2 as a whole product has a lot of potential. I hope that other people can also decide to purchase Delphi XE 2 to support their development team, so we can see updates coming out very soon.

Page 4 of 5 FirstFirst ... 2345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •