Author Topic: DateTime.dll  (Read 2806 times)

deeR44

  • Member
  • **
  • Posts: 101
DateTime.dll
« on: July 21, 2022, 07:14:39 AM »
 Where would I find this DLL file?

ty

NoCforMe

  • Member
  • *****
  • Posts: 1124
Re: DateTime.dll
« Reply #1 on: July 21, 2022, 08:17:07 AM »
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.

jj2007

  • Member
  • *****
  • Posts: 13957
  • Assembly is fun ;-)
    • MasmBasic
Re: DateTime.dll
« Reply #2 on: July 21, 2022, 09:35:18 AM »
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

  • Member
  • *****
  • Posts: 1124
Re: DateTime.dll
« Reply #3 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.

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 ...
« Last Edit: July 21, 2022, 11:05:22 AM by NoCforMe »

deeR44

  • Member
  • **
  • Posts: 101
Re: DateTime.dll
« Reply #4 on: July 21, 2022, 11:29:34 AM »
Quote
Quote
The 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

  • Member
  • **
  • Posts: 101
Re: DateTime.dll
« Reply #5 on: July 21, 2022, 11:36:07 AM »
Quote
I have two versions of this DLL (or at least one called "datetime.dll"):

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

NoCforMe

  • Member
  • *****
  • Posts: 1124
Re: DateTime.dll
« Reply #6 on: July 21, 2022, 12:12:30 PM »
So what export functions do you need specifically?

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10583
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: DateTime.dll
« Reply #7 on: July 21, 2022, 12:37:10 PM »
deeR44,

Have a poke around the Windows API functions, you can do it all that way.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

jj2007

  • Member
  • *****
  • Posts: 13957
  • Assembly is fun ;-)
    • MasmBasic
Re: DateTime.dll
« Reply #8 on: July 21, 2022, 12:38:57 PM »
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

  • Member
  • *****
  • Posts: 1124
Re: DateTime.dll
« Reply #9 on: July 21, 2022, 12:44:23 PM »
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.)

TimoVJL

  • Member
  • *****
  • Posts: 1320
Re: DateTime.dll
« Reply #10 on: July 21, 2022, 05:41:42 PM »
Search MS PECOFF.DOCX or pdf from net

MS site:
PE Format

May the source be with you

C3

  • Regular Member
  • *
  • Posts: 39
Re: DateTime.dll
« Reply #11 on: July 21, 2022, 10:14:14 PM »
Who want's to open "random" docx-files from net? MS isn't sharing anything on docx-format?

TimoVJL

  • Member
  • *****
  • Posts: 1320
Re: DateTime.dll
« Reply #12 on: July 21, 2022, 10:34:06 PM »
MS share many documents in .docx-format and it's safer than old .doc-format.

Quote
Microsoft 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

  • Member
  • *****
  • Posts: 1124
Re: DateTime.dll
« Reply #13 on: July 22, 2022, 03:30:03 AM »
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.)

Vortex

  • Member
  • *****
  • Posts: 2794
Re: DateTime.dll
« Reply #14 on: July 22, 2022, 04:04:17 AM »
Hi NoCforMe,

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

Code: [Select]
\PellesC\bin\podump.exe /EXPORTS DateTime.dll > exports.txt

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