Thread: filever?
View Single Post
  #78  
Old February 4th 19, 02:42 PM posted to alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default filever?

On 04/02/2019 05.33, T wrote:
On 2/3/19 7:20 PM, Mayayana wrote:
"T" wrote

| Â*Â*Â* That's probably not the right syntax, but you can get
| the idea from that. The Perl library takes in the request,
| translates it, and makes the call itself. That would be a
| very clunky way to write software, but you could use it in
| Windows or under WINE to accomplish all sorts of things.
|
|
|
| yes, I have seen all that.Â* I can't read C so it is not of much use.


You should learn at least to read C, regardless if you use Perl or
whatever, because the documentation you need to read assumes C. Both
Windows and Linux provide C header files (.h) to access structures, and
if the equivalent file doesn't exist in your language of choice you have
to translate the .h to Perl or whatever, yourself.


Â*Â*Â* It has nothing to do with C. You just have to know what
to call, which is in the MSDN docs. It might not be of any
use to you, but you can do it. The file version functions are
an example. But I don't know how complicated it might be
for Perl with datatypes. For instance, GetVersionEx returns
the Windows version info. It's a very simple call. But it returns
a pointer to a data structure. So Perl would need to provide a
way for you to access that.



If I know where to point, I can easily find it with Perl.

I just can't find where to point in the docs.Â* Do you
know where these docs are?


Windows internals documents. Several expensive books. Start he

https://en.wikipedia.org/wiki/Microsoft_Developer_Network

--
Cheers, Carlos.
Ads