https://github.com/chapvic/dll2def
Pure C win32 application to create .def file from a dynamic link library
https://github.com/chapvic/dll2def
console-tool dll2def dllexport
Last synced: 18 days ago
JSON representation
Pure C win32 application to create .def file from a dynamic link library
- Host: GitHub
- URL: https://github.com/chapvic/dll2def
- Owner: chapvic
- License: mit
- Created: 2020-10-17T22:13:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-17T22:13:52.000Z (over 5 years ago)
- Last Synced: 2025-02-25T17:45:25.081Z (over 1 year ago)
- Topics: console-tool, dll2def, dllexport
- Language: C
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dll2def - Pure C win32 application to create .def file from a dynamic link library (DLL)
### Compile:
_GCC_
```
gcc -O2 -D_CRT_SECURE_NO_WARNINGS -s -static -o dll2def.exe dll2def.c
```
_MSVC_
```
cl /MT /O2 /D_CRT_SECURE_NO_WARNINGS dll2def.c
```
### Usage:
```
dll2def [outpath]
infile - input file
outpath - full or relative output path
```
### Examples:
```
1. dll2def shell32.dll - create shell32.def in the current directory
2. dll2def shell32 - same as (1), but '.dll' extension will be added automaticaly
3. dll2def shell32 \some\path\ - create \some\path\shell32.def
4. dll2def shell32 \some\path\my - create \some\path\my.def, extension will be added automaticaly
```