modula3 / cm3

Critical Mass Modula-3
http://modula3.github.io/cm3/
Other
139 stars 25 forks source link

Windows API headers are outdated? #1062

Closed ghost closed 2 years ago

ghost commented 2 years ago

Is there any plans to update them to contemporary versions?

VictorMiasnikov commented 2 years ago

Windows API headers are outdated

May be. You can try use m3swig[.exe] utility

ghost commented 2 years ago

Windows API headers are outdated

May be. You can try use m3swig[.exe] utility

This is something the developers should do, not the users.

VictorMiasnikov commented 2 years ago

Why? We have big runtime inside m3lib and m3core.

What You want implement on low-level API?

08.09.2022, 20:04, "pwd96m4a" @.***>:

Windows API headers are outdated

May be. You can try use m3swig[.exe] utility

This is something the developers should do, not the users.

ghost commented 2 years ago

Why? We have big runtime insidd m3lib and m3core.What You want implement on low-level API?

Windows API is the way you talk with Windows OS. Don't be confused as Windows API is not only about GUI. Think about this: you want to use Windows' Shadow Copy service to make a shadow copy of the C drive running Windows itself in order to backup it to a drive image. How could you do this without using the Windows API? Don't count .NET framework and Microsoft already wrapped the Windows API to be ready to use API on .NET.

VictorMiasnikov commented 2 years ago

(

} Windows' Shadow Copy

I know it as "WSS" or VSS. I don't remember exactly

)

I read "cm3 discussion(s)" on Github.

It contains good answers. It is good.

It doesn't contain "m3swig". It's strange...

09.09.2022, 12:11, "pwd96m4a" @.***>:

Why? We have big runtime insidd m3lib and m3core.What You want implement on low-level API?

Windows API is the way you talk with Windows OS. Don't be confused as Windows API is not only about GUI. Think about this: you want to use Windows' Shadow Copy service to make a shadow copy of the C drive running Windows itself in order to backup it to a drive image. How could you do this without using the Windows API? Don't count .NET framework and Microsoft already wrapped the Windows API to be ready to use API on .NET.