SideSwipe
June 20th, 2002, 07:18
I wrote a small assembly language program that makes a few calls to a .DLL This DLL is a commercial utility. It is Time restricted to one month. When I disassemble my program with W32dasm and "LOAD PROCESS", the DLL shows up in the Active DLL's box, and can be freely disassembled and traced. If I move the date ahead 1 month and LOAD PROCESS, a windows message box appears "Cant Load DLL". How can the DLL know I changed the date before it gets run? Does windows check DLL's for date stamps before it can load it? Is it some file attribute.? What the hell is going on?
SideSwipe
SideSwipe

, I assume a simple Win32DLL. Then it must have a function called DllMain which gets a DWORD fdwReason. If it is DLL_PROCESS_ATTACH, then the app checks "whatever". If "whatever" is true, DllMain returns TRUE and DLL init succeeds (Note Addtionally, the DLL may keep some global variables) else DllMain returns false and app gets Can't load DLL msg?
