HIya
As masm comes with Microsoft's H2INC.exe utility,i was neither able to properly compile original unmodified .H files.Both spit tens of errors compiliing WINBASE.H.
SO is there any alternate to an H2INC-style utility that would be able to properly and cleanly compile any of the existing .H files to .ASM source.
And i was wondering if theres a utility which could convert .HLA files to .ASM source.
As masm comes with Microsoft's H2INC.exe utility,i was neither able to properly compile original unmodified .H files.Both spit tens of errors compiliing WINBASE.H.
SO is there any alternate to an H2INC-style utility that would be able to properly and cleanly compile any of the existing .H files to .ASM source.
And i was wondering if theres a utility which could convert .HLA files to .ASM source.
SO is there any alternate to an H2INC-style utility that would be able to properly and cleanly compile any of the existing .H files to .ASM source.
And i was wondering if theres a utility which could convert .HLA files to .ASM source.
Randy Hyde's .HLA compiler will do that, IIRC.There was a member who did a more "up-to-date" version of h2inc.exe and posted the source... You may find it with a search of this board
Sliver
Sliver
Seems to me the process of converting C/C++ headers to MASM includes is pretty straightforward.
I can't see why what is done by hand can't be coded, maybe someone with some spare time would consider it.
I can't see why what is done by hand can't be coded, maybe someone with some spare time would consider it.
Bitrake is absolutly right. I have tried h2inc and i have it but it is really very rough on latest c++ files.:rolleyes:
Also the usage of #define in the Windows headers makes it very difficult for the utility to convert to assembly.
So basically is not that simple, one must create an entire C++ preprocessor in order to make a converter. (wich is half way on making an entire compiler :).
So basically is not that simple, one must create an entire C++ preprocessor in order to make a converter. (wich is half way on making an entire compiler :).