Hi, I am new to wine and it seems I would be sticking to it for sometime.
I saw the builtin gdi32.dll specs. They seem quite different from What I see in dependency walker for gdi32 on windows xp. Actually, due to this difference, I get Function Not implemented error when i run wine.
I am using the 20030318 build of wine from winehq.
When i opened the gdi32.spec.c file, the header says it is automatically generated and that it should not be edited. Now, I want to contribute to wine by updating the builtin gdi32.dll parallel to the native one installed on xp.
But, how to go ahead with it ?? Or more precisely How gdi32.spec.c is generated using winebuild. How can I add missing functions.. (NamedEscape) and how can i update export table of gdi32.dll.so Any suggestions pointers are welcome
TIA kks
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
"KK" == KK singh kk_singh@yahoo.com writes:
KK> Hi, I am new to wine and it seems I would be sticking to it for KK> sometime.
KK> I saw the builtin gdi32.dll specs. They seem quite different from KK> What I see in dependency walker for gdi32 on windows xp. Actually, KK> due to this difference, I get Function Not implemented error when i KK> run wine.
You missed the crucial information, _what_ function is not implemented.
Normally missing GDI32 functions are only called when using native XP core dlls (user32, perhaps comctl32, comdlg32 and shell32 ) too, which will lead to other errors too.
KK> I am using the 20030318 build of wine from winehq.
KK> When i opened the gdi32.spec.c file, the header says it is KK> automatically generated and that it should not be edited. Now, I KK> want to contribute to wine by updating the builtin gdi32.dll KK> parallel to the native one installed on xp.
The .spec file is the source. Add the functionname, the arguments and the stub function name there. Implement the stub function in an appropriate C File in dlls/gdi32.
If you see that you need more stub functions, perhaps consider adding a new file for all those unimplemented functions.
KK> But, how to go ahead with it ?? Or more precisely How gdi32.spec.c KK> is generated using winebuild. How can I add missing KK> functions.. (NamedEscape) and how can i update export table of KK> gdi32.dll.so Any suggestions pointers are welcome
Bye
--- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de wrote:
"KK" == KK singh kk_singh@yahoo.com writes:
KK> Hi, I am new to wine and it seems I would be
sticking to it for KK> sometime.
KK> I saw the builtin gdi32.dll specs. They seem
quite different from KK> What I see in dependency walker for gdi32 on windows xp. Actually, KK> due to this difference, I get Function Not implemented error when i KK> run wine.
You missed the crucial information, _what_ function is not implemented.
KK> The function not implemented is NamedEscape, it is
KK> used by atmlib.dll. KK> When i see atmlib in dependency walker, it wants KK> the function NamedEscape at Entrypoint 77C8F547. KK> The base address for GDI32 is 000077c7. This means
KK> the function should be implemeted at 0001f547 in KK> gdi32.dll and the hint value in imports is 464. KK> Query 1> Do i need to worry about all this ? (The KK> Answer i believe is yes. Murphies law )
KK> Query 2> How can i sepcify all these details in KK> the spec file. KK> If i make an Entry for NamedEscape (assuming it is
KK> Alphabetically sorted) in the spec file, it seems KK> to be getting an ordinal value of 409. How can i KK> ensure that it gets the right ordinal value of KK> 465.
Normally missing GDI32 functions are only called when using native XP core dlls (user32, perhaps comctl32, comdlg32 and shell32 ) too, which will lead to other errors too.
KK> I am not using any of these in native form...
KK> I am using the 20030318 build of wine from
winehq.
KK> When i opened the gdi32.spec.c file, the
header says it is KK> automatically generated and that it should not be edited. Now, I KK> want to contribute to wine by updating the builtin gdi32.dll KK> parallel to the native one installed on xp.
The .spec file is the source. Add the functionname, the arguments and the stub function name there. Implement the stub function in an appropriate C File in dlls/gdi32.
If you see that you need more stub functions, perhaps consider adding a new file for all those unimplemented functions.
KK> But, how to go ahead with it ?? Or more
precisely How gdi32.spec.c KK> is generated using winebuild. How can I add missing KK> functions.. (NamedEscape) and how can i update export table of KK> gdi32.dll.so Any suggestions pointers are welcome
Bye
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
"KK singh" kk_singh@yahoo.com wrote:
Normally missing GDI32 functions are only called when using native XP core dlls (user32, perhaps comctl32, comdlg32 and shell32 ) too, which will lead to other errors too.
KK> I am not using any of these in native form...
You *are* using such a dll. It's called...
ATMLIB.DLL
Find out, what dll or application requires this system component, which clearly will never work under Wine.
VALUE "CompanyName", "Adobe Systems" VALUE "FileDescription", "Windows NT OpenType/Type 1 API Library." VALUE "OriginalFilename", "ATMLIB.DLL" VALUE "ProductName", "Adobe Type Manager"
--- Dmitry Timoshkov dmitry@baikal.ru wrote:
"KK singh" kk_singh@yahoo.com wrote:
Normally missing GDI32 functions are only called when using native XP core dlls (user32, perhaps comctl32, comdlg32 and
shell32
) too, which will lead to other errors too.
KK> I am not using any of these in native form...
You *are* using such a dll. It's called...
ATMLIB.DLL
Find out, what dll or application requires this system component, which clearly will never work under Wine.
KK > **NEVER** is bit challenging !!! KK > What if the required functions are implemented in
KK > gdi32.dll ? This one seems to raise the issue of KK > changing other builtin libraries, But some hack KK > should exist. KK > What if a builtin implementation of ATMLIB.dll is
KK > written, which doesnt use the missing functions.
VALUE "CompanyName", "Adobe Systems" VALUE "FileDescription", "Windows NT OpenType/Type 1 API Library." VALUE "OriginalFilename", "ATMLIB.DLL" VALUE "ProductName", "Adobe Type Manager"
-- Dmitry.
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
"KK singh" kk_singh@yahoo.com wrote:
KK > **NEVER** is bit challenging !!!
1. Because atmlib.dll is a user level front end for the kernel level atmfd.dll. 2. We really don't need to reimplement Adobe Type Manager, we already have freetype for that task.
P.S. Could you please try to avoid inserting those "KK >" line prefixes? They make your mails completely unreadable.