Search:

Type: Posts; User: Charles Pegge

Search: Search took 0.02 seconds.

  1. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    Hi Petr,

    The DateTime stamp is a 32 bit value representing the time in seconds since 1 Jan 1970. My algorithm disagrees with this (compared with a GNU compiled EXE) by exactly 1 hour for some...
  2. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    Thanks. Working on these longer programs and a thinBasic module DK gives me ample opportunity to sample my own porridge - ande detect any lumpy bits, (before any one else does! ) - also preparing the...
  3. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    Well they are bloated by 512 bytes with the exports section, and I have not attempted any tricks like combining sections or using UBX compression.

    Once the EXE is loaded into memory the minimum...
  4. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    Oxygen Update:

    http://community.thinbasic.com/index.php?topic=1845

    Yet another small fix but now we have demo code producing MessageBox, HelloWin and Opengl 4 Port viewer.

    Despite their...
  5. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    Thanks for testing Petr.

    The next step is to drop some of the current Asm examples into this framework and run them as standalones. To do this they must not have any run-time dependencies on...
  6. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    I've finally cracked the basic PE format for making DLLs & EXEs

    This program generates a skeleton EXE file t.exe which has export and import sections. t.exe does nothing but execute successfully...
  7. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    Well I thought it would be fun to make a compiler in thinBasic :)

    O2 script is well suited to building these headers. They are quite complicated with a number of pointers and mappings to resolve....
  8. Replies
    19
    Views
    13,933

    Re: Investigating PE format (EXE and DLL)

    Thanks Petr - my basic is very primitive - may also end up as FB or PB.

    The prospect is to be able to create standalone code using Asmosphere and thinBasic as a compiler. We can then produce...
  9. Replies
    19
    Views
    13,933

    Investigating PE format (EXE and DLL)

    Below is an elementry program and some notes which I am using to gain detailed knowledge of the PE formats. I'll leave you to guess why :)

    some useful links:

    An In-Depth Look into the Win32...
Results 1 to 9 of 9