I have a simple COM dll with a method that takes two strings. In the type library editor of delphi these strings are defined as LPSTR. This translates to PChar in the TLB file. When upgrading from D2007 to D2009 this became a problem since PChar now has changed from PAnsiChar to PWideChar (it still becomes PChar in the TLB file when it is generated from the ridl file). And the interface needs to compatible with the previous one...
Is there a way to get PAnsiChar as type in the TLB file so that it corresponds to the previous declaration in D2007?