Solved

Retrieving constants from a dll, like netapi32.dll

Posted on 1998-03-18
1
212 Views
Last Modified: 2010-04-06
Hello people,

How do i get the values of the constants declared in a dll.
I need to know the values of the flags JOB_RUN_PERIODICALLY, JOB_ADD_CURRENT_DATE and other flags used in the NetScheduleJodAdd / Enum functions.

Thanx for your time
0
Comment
Question by:mories
1 Comment
 
LVL 2

Accepted Solution

by:
greendot earned 50 total points
ID: 1360606
You won't be able to extract it out of a DLL.  You'll need to get it out of some sort of header file.

These will be provided in Delphi units or in C/C++ .h files.

These are converted to values at compile time, so back-engineering them is quite difficult.
The only way you could get them out of a DLL is if they happened to store them in the resource section.  You can get at that with a tool like Borland's Resource Workshop.

-joe


0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi application Soap connection 5 104
Print Graphic and Text to Epson TM-T88v 12 261
Press three keys together and trigger a function 3 57
RESTRequest Parameter 4 31
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question