Author Topic: A translator for sdk header files (64 and 32 bits translate)  (Read 26358 times)

LiaoMi

  • Member
  • ****
  • Posts: 872
Re: A translator for sdk header files (64 and 32 bits translate)
« Reply #45 on: May 27, 2021, 06:10:46 PM »
Hello,
I made an oversight in the 10.6 version,corrected in the 10.7
I have also eliminates the risk with annotations in structures.

Hi TouEnMasm,

we will test it, thanks for your work  :thumbsup:

P.S.
Did you check knownfolders.h?
http://masm32.com/board/index.php?topic=9282.0

TouEnMasm

  • Member
  • *****
  • Posts: 1679
    • EditMasm
Re: A translator for sdk header files (64 and 32 bits translate)
« Reply #46 on: May 28, 2021, 02:01:41 AM »

Thanks for your help,I have made a last change in the code ,The typedef multi-dimensionnal are now translated as strucrure and usable by MASM.
Fa is a musical note to play with CL

TouEnMasm

  • Member
  • *****
  • Posts: 1679
    • EditMasm
Re: A translator for sdk header files (64 and 32 bits translate)
« Reply #47 on: May 28, 2021, 11:40:37 PM »
 :greensml:
I hope last change this time,Some structures wasn't recognize as there.Corrected.
Corrected thread problem,some files wasn't translate (list of files).
A very few number of files don't want to be translated in a list (threaded) and can be only translated as individual.
Those are
Quote
H:\Program Files\editmasm\ref\outils\translator\windows.phone.restricted.cellular.rcspresence.h
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\abi\windows.phone.restricted.cellular.videotelephony.h
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\ndis\version.h
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\km\hbapiwmi.h
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\km\iscsidef.h
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\km\iscsiop.h
I don't know for what on 2000 files those ones don't want to be translate in a thread.


Fa is a musical note to play with CL

TouEnMasm

  • Member
  • *****
  • Posts: 1679
    • EditMasm
Re: A translator for sdk header files (64 and 32 bits translate)
« Reply #48 on: May 31, 2021, 11:55:00 PM »
Hello,
Hope was lost but not the result.
This one:
Filter the MIDL_PASS Lines
Filter the VC++ structures and made a report in the journal.txt.
Solve the thread problem (Not enough memory)
                                         Three files are still resisting to the translation (group files mod,list) ,they are in asm (kxarm..).
Must stay the usual errors to correct.
* Constants not declared        (version number ,you can use an equate with the first term of the comparison GE)
* redefinitions of symbols  name = aname ....conflicting definitions

Tested on the whole sdk 10.0.19041.0 http://luce.yves.pagesperso-orange.fr/header.htm
Don't be afraid by the needed corrections,one ; to put definitions in comment is very usefull.
Chance is also possible,It's it work at the first time,It's not me but the chance.


« Last Edit: June 03, 2021, 10:55:15 PM by TouEnMasm »
Fa is a musical note to play with CL