|
With VS2005, I want to create a DLL and automatically export all symbols without adding __declspec(dllexport) everywhere and without hand-creating .def files. Is threre a way to do this?
Started by Jazz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The problem with doing it on a DLL is that you have to link the DLL without the exported definitions once to create the .lib file, then generate....
I have upwards of 8,000 function references to export from one DLL.
On the .lib file.
|
|
Visual Studio 2008 doesn't appear to be loading symbols for MFC dlls when I debug my application. This used to work fine in 2005 - ie. when it loaded the dll it said "Symbols loaded" and can then debug it. In 2008 (having upgraded to MFC 9, so they are...
Started by Peter on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Scott Hanselman shows how to do this globallyThe .pdb files have to exactly match the .dll build - have you checked it's not using a cached copy the Tools / Options / Debugging / ....
Use the Microsoft Symbol Server.
Of the symbols.
|
|
I have a native release dll that is built with symbols. There is a post build step that modifies the dll. The post build step does some compression and probably appends some data. The pdb file is still valid however neither WinDbg nor Visual Studio 20...
Started by sean e on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
On the processed dll, chkmatch shows this info:
Executable: TimeDateStamp: 4a086937 Debug info dll, it reports this....
To chkmatch.
Confirmed, now Visual Studio loads the symbols for dumps that reference the processed dll.
|
Ask your Facebook Friends
|
I've scoured Google and found to large a variety of tools and answers. I want to disassemble a DLL into something at least readable, e.g. recognise Win32 API calls by their names etc. How do I go about this?
Started by ProfK on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
When you install these, you're basically getting symbol information (debugging info) for the majority of the Windows API, including your debugger and/or compiler where the....
I think what you're looking for are the Windows Symbol Packages .
|
|
I'm trying to build a shared library (DLL) on Windows, using MSVC 6 (retro!) and I have a peculiar link issue I need to resolve. My shared library must access some global state, controlled by the loading application.
Broadly, what I have is this:
application...
Started by Chris R on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
An easier solution....
This is actually there.
And applications import symbols from each other, but on Windows you can't have a DLL import symbols_library_method(void) { }
The MSDN article about exporting function from DLL:s.
|
|
I have several hundreds of DLLs belonging to a huge spagetti-code-project and need to see which calls do they export or import. And it would be also great if I would be able to get a dependency graph between DLLs. Could anyone recommend me free and reliable...
Started by ORA600 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To get more information out of a regular dll you would have to resort to disassemblers and reading assembly scripts and/or use grep to filter the output....
And if it is a COM DLL with a Type Library you can use OleView to get more information.
|
|
I have a shared object(dll). How do i find out what all symbols are exported from that?
Started by chappar on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Http://en.wikipedia.org/wiki/Nm_%28Unix%29
Do you have a "shared object" (usually a shared library on AIX... .
If no object files are listed in your code to access the symbols.
See man nm
GNU nm lists the symbols from object files objfile....
|
|
So, I have an interesting issue. I am working with a proprietary set of dlls that I ,obviously, don't have the source for. The goal is to write an intermediate dll that groups together a large series of funnction calls from the proprietary dlls. The problem...
Started by Psavach on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Eg: your dll code needs the library using LoadLibrary(), then create....
It should be as easy as you think it should be .
Your DLL should not export for the HeapAlloc function.
Compiling" tells me that you're approaching this from the wrong end .
|
|
I have a makefile project that builds and links a DLL, using the command-line cl.exe compiler, which is included in the VC++ Express (free) tool. I now want to convert that makefile project into a Visual Studio project.
The DLL is not actually C++; it...
Started by Cheeso on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Use this approach if....
The first couple of subsections of Exporting from a DLL , which says,
You can export functions from a DLL using two methods:
Create a module definition (.def) file and use the .def file when building the DLL.
|
|
Is there any way to force visual studio to link all symbols from a lib file into the dll as atm it is optimizing "unused" functions which are needed by the program using the dll at run time.
I tried using the /OPT:NOREF and /OPT:NOICF but they dont seem...
Started by Lodle on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Now if users of the DLL are going) only export functions from a DLL....
How is the DLL going to call the functions from your lib at runtime? That sounds a bit hard to believe.
Haven't found a better solution that works across platforms.
|