|
From: Steven E. <Ste...@kn...> - 2001-10-25 04:01:50
|
As a short term dirty hack, couldnt you do both? Load them as a user space dll and as a kernel mode driver? -----Original Message----- From: James Tabor To: ros...@re... Sent: 10/24/01 11:08 PM Subject: [ros-kernel] Re: Unicode Library Eric Kohl wrote: > > "Aliberti Emanuele" <ea...@io...> wrote: > > > > > >I finished porting unicode over to ROS. It's about 800 kbytes+ zipped. > So, > > > > What is the "unicode library"? > > > I guess he is talking about the ansi/oem<->unicode conversion tables from > Wine. > > I'm not sure if we should use it as a dll. The main problem is that the > conversion tables must be accessible from kernel *and* user mode. Loading > them as a kernel mode driver will not allow us to use non-default code-page > tables in user mode. Loading them as a dll does not allow us to use them in > kernel mode. > > IIRC, WinNT loads the default code-page tables (oem-unicode, ansi-unicode > and unicode case-table) into a named memory section (use winobj to see them) > and maps a view into every process. The code-page tables can also be loaded > separately by MultiByteToWideChar() and WideCharToMultiByte(), at least I > think they do so. > > Regards, > > Eric Kohl > Hi Eric, Okay, I believe the unicode goes into kernel32.dll as "codepage"'s. I'm using a Process Explorer and a Dll Explorer to verify this. Yeah! What should I do? Write it into the kernel32.dll? James ==================================================== = To remove yourself from this mailing list, go to = = http://www.reactos.com/home/mailing.html = ==================================================== ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ |