What could be the reason why this code fails in Delphi XE2 while it works in Delphi 2007? - Stack Overflow


http://stackoverflow.com/q/24955984/49925?sgp=2

Comments

  1. Hm, on first glance, you are doing everything right. I would have expected it to work.

    ReplyDelete
  2. Egg in my face! I should have closely checked the string I pass to the dll then I would have seen that it
    1. was different, depending whether it was the Delphi 2007 or Delphi XE2 executable (I am still investigating why that is the case)
    2. was wrongly formatted for a projection in Delphi XE2 (see answer on SO)

    ReplyDelete
  3. The question is removed now - I didn't get a chance to look at it. Have you solved the problem?

    ReplyDelete
  4. Yes. I have removed the question myself after it turned out that it wasn't an issue of passing the same parameter in Delphi 2007 or XE2 but rather that the parameter strings were different  and one of them was just improperly formatted. Stupid me for not seeing that immediately. The removal was prompted by several comments telling me that I should remove it and already two votes to close it.

    ReplyDelete
  5. Ah - I see your comment from 4:08 now. I wonder why that didn't appear before.

    We all have bugs like that sometimes!

    ReplyDelete

Post a Comment