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)
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.
Hm, on first glance, you are doing everything right. I would have expected it to work.
ReplyDeleteEgg in my face! I should have closely checked the string I pass to the dll then I would have seen that it
ReplyDelete1. 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)
The question is removed now - I didn't get a chance to look at it. Have you solved the problem?
ReplyDeleteYes. 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.
ReplyDeleteAh - I see your comment from 4:08 now. I wonder why that didn't appear before.
ReplyDeleteWe all have bugs like that sometimes!