News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

DateTime.dll

Started by deeR44, July 21, 2022, 07:14:39 AM

Previous topic - Next topic

deeR44

 Where would I find this DLL file?

ty

NoCforMe

I have two versions of this DLL (or at least one called "datetime.dll"):

  • One is 92,385 bytes, datestamped 3/24/2007, found in .. \LilyPond\usr\bin
  • The other is much larger, 621,362 bytes, datestamped 3/17/2007, from .. \LilyPond\usr\lib\python2.4\lib-dynload

I could zip these up and post here if you like. It would be a strictly use-at-your-own-risk proposition. I have no idea what's in those. Pretty sure they're legit and not virus carriers.
Assembly language programming should be fun. That's why I do it.

jj2007

I have three Python installations, none has a datetime.dll
You will probably find one in CygWin.

Attention, "datetime" is a very common way to name a DLL that cares for date and time. What do you want from this DLL?

The Windows API has numerous date + time functions, some are being used in the MasmBasic macros:
Touch
GfDate$
Age
Date$, wDate$
Time$, wTime$
IsoWeek
TimeSF
TimeDiff
NanoTimer

NoCforMe

#3
JJ, any easy way to list what's inside a DLL? Sounds like another useful tool to have.

I see the dumppe.exe program does what I want to do. No source provided for this. Also couldn't find anything published on the format of PE files, though I know that info exists out there somewhere. Might be a fun project.

OK, found that info on the PE file format. Phew; that shit's complicated ...
Assembly language programming should be fun. That's why I do it.

deeR44

Quote
QuoteThe Windows API has numerous date + time functions, some are being used in the MasmBasic macros:

Thanks Jochen, but I'm not familiar with MasmBasic.

deeR44

QuoteI have two versions of this DLL (or at least one called "datetime.dll"):

Thanks NoCforMe, but it's too big and too old.

NoCforMe

So what export functions do you need specifically?
Assembly language programming should be fun. That's why I do it.

hutch--

deeR44,

Have a poke around the Windows API functions, you can do it all that way.

jj2007

Quote from: NoCforMe on July 21, 2022, 09:44:33 AM
JJ, any easy way to list what's inside a DLL? Sounds like another useful tool to have.

See TLPEView, an excellent tool developed by Timo.

NoCforMe

Thanks, but I meant how to do it myself. I like challenges like this. I'm going to try to read and absorb that entire series (5-6 web pages) that I posted a link to. If others can write a program to show what's inside a PE, I can too. (And no Win32 API calls are needed other than reading a file; it's all a matter of parsing it. Not even really parsing, but just identifying parts and displaying them.)
Assembly language programming should be fun. That's why I do it.

TimoVJL

Search MS PECOFF.DOCX or pdf from net

MS site:
PE Format

May the source be with you

C3

Who want's to open "random" docx-files from net? MS isn't sharing anything on docx-format?

TimoVJL

MS share many documents in .docx-format and it's safer than old .doc-format.

QuoteMicrosoft Portable Executable and
Common Object File Format
Specification
is official document from MS.

Old version 8.3
https://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/pecoff_v83.docx
May the source be with you

NoCforMe

Hey, thanks for that doc. I was actually able to open it with my old Word 2000 and save it in the old .doc format. (I actually prefer the older version of Word to the "new" sucky interface.)
Assembly language programming should be fun. That's why I do it.

Vortex

Hi NoCforMe,

You can use Pelles Podump and MS' dump to list the exported functions :

\PellesC\bin\podump.exe /EXPORTS DateTime.dll > exports.txt

\masm32\bin\dumpbin.exe /EXPORTS DateTime.dll > exports2.txt