Hello,
I am trying to make the library compatible with WinCE platform.
As to my trials, I face PChar() -> PWideChar() conversions in the code. However, I got stuck in ZAbstractRODataset.pas file. CharToOem() and OemToChar() functions seems undefined for WinCE platform. I could not see where I can fix this so far.
I would like to ask if this compatibility is feasible in terms of idea. If not I shall not try further and stop where I am.
Thanks & regards,
Ertan
WinCE compatibility
Re: WinCE compatibility
I doubt OEM conversion is ever needed for anything... it's something ancient from the DOS ages. I'd say you could just make this stuff unavailable under WinCE platform.
What PChar() -> PWideChar() conversion problems do you face?
What PChar() -> PWideChar() conversion problems do you face?
Re: WinCE compatibility
Nothing so far about PChar() -> PWideChar() coversions.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: WinCE compatibility
Hello Ertan,
Windows CE is more or less dead, I think. But that shouldn't stop you from developing if you need it or if you have fun doing it. I am willing to accept patches, if they don't break other targets )
Regarding CharToOem and OemToChar: OEM only has a meaning on the regular Windows for PCs. Windows CE never supported DOS applications and so OEM doesn't have a meaning there. If you really need these functions you could create some stubs that only get used on Windows CE and just return the same string that is given to them without any conversion.
With best regards,
Jan
Windows CE is more or less dead, I think. But that shouldn't stop you from developing if you need it or if you have fun doing it. I am willing to accept patches, if they don't break other targets )
Regarding CharToOem and OemToChar: OEM only has a meaning on the regular Windows for PCs. Windows CE never supported DOS applications and so OEM doesn't have a meaning there. If you really need these functions you could create some stubs that only get used on Windows CE and just return the same string that is given to them without any conversion.
With best regards,
Jan