#include "LibSymbolInfo.h"
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
Go to the source code of this file.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 30 of file genwindef.cpp.
33 string outfile(
"exports.def" );
34 string library(
"UnknownLib" );
41 while (
argv[arg][0] ==
'-' ) {
56 for ( arg; arg <
argc; arg++ ) {
57 objfiles +=
argv[arg];
58 if ( arg + 1 < argc ) objfiles +=
" ";
64 cerr <<
"windef: Error opening file " << outfile <<
endl;
67 out <<
"LIBRARY " << library <<
endl;
68 out <<
"EXPORTS" << endl;
BOOL DumpSymbols(LPTSTR lpszLibPathName, std::ostream &pFile)