Can't see exported function in dumpbin The Next CEO of Stack OverflowIn what cases do I use malloc vs new?When should I write the keyword 'inline' for a function/method?Why do we need virtual functions in C++?What is the copy-and-swap idiom?C++ - Can you build one static library into another?C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?Why should C++ programmers minimize use of 'new'?Image Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionSeeing source code from a .dll or .lib file using dumpbinC++ DLL recreate based on dumpbin
Return the Closest Prime Number
Why do remote companies require working in the US?
How should I support this large drywall patch?
How to get regions to plot as graphics
Is it okay to store user locations?
How do we know the LHC results are robust?
How to start emacs in "nothing" mode (`fundamental-mode`)
Is it safe to use c_str() on a temporary string?
How do I get the green key off the shelf in the Dobby level of Lego Harry Potter 2?
Need some help with wall behind rangetop
Where to find order of arguments for default functions
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
How to make a variable always equal to the result of some calculations?
Failed to fetch jessie backports repository
MAZDA 3 2006 (UK) - poor acceleration then takes off at 3250 revs
How to make a software documentation "officially" citable?
Trouble understanding the speech of overseas colleagues
Shade part of a Venn diagram
The King's new dress
Should I tutor a student who I know has cheated on their homework?
How do I go from 300 unfinished/half written blog posts, to published posts?
Opposite of a diet
How to count occurrences of text in a file?
How can I quit an app using Terminal?
Can't see exported function in dumpbin
The Next CEO of Stack OverflowIn what cases do I use malloc vs new?When should I write the keyword 'inline' for a function/method?Why do we need virtual functions in C++?What is the copy-and-swap idiom?C++ - Can you build one static library into another?C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?Why should C++ programmers minimize use of 'new'?Image Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionSeeing source code from a .dll or .lib file using dumpbinC++ DLL recreate based on dumpbin
my.dll
|
_______________________
| | |
lib1.lib lib2.lib ... libn.lib
In lib1.lib I export a function called foo(). When I call dumpbin /exports my.dll I can't see the function. What should I do? I do that in Visual Studio 2017 C++.
c++ linker dumpbin
add a comment |
my.dll
|
_______________________
| | |
lib1.lib lib2.lib ... libn.lib
In lib1.lib I export a function called foo(). When I call dumpbin /exports my.dll I can't see the function. What should I do? I do that in Visual Studio 2017 C++.
c++ linker dumpbin
You should not see anything from your static libraries. Only the functions and variables you export from your dll will be visible.
– drescherjm
Mar 7 at 14:49
I found a solution: setting "Use Library Dependency Inputs" to true for lib1.lib
– ifs
Mar 7 at 15:20
You can answer you own question.
– drescherjm
Mar 7 at 15:24
add a comment |
my.dll
|
_______________________
| | |
lib1.lib lib2.lib ... libn.lib
In lib1.lib I export a function called foo(). When I call dumpbin /exports my.dll I can't see the function. What should I do? I do that in Visual Studio 2017 C++.
c++ linker dumpbin
my.dll
|
_______________________
| | |
lib1.lib lib2.lib ... libn.lib
In lib1.lib I export a function called foo(). When I call dumpbin /exports my.dll I can't see the function. What should I do? I do that in Visual Studio 2017 C++.
c++ linker dumpbin
c++ linker dumpbin
asked Mar 7 at 14:29
ifsifs
264
264
You should not see anything from your static libraries. Only the functions and variables you export from your dll will be visible.
– drescherjm
Mar 7 at 14:49
I found a solution: setting "Use Library Dependency Inputs" to true for lib1.lib
– ifs
Mar 7 at 15:20
You can answer you own question.
– drescherjm
Mar 7 at 15:24
add a comment |
You should not see anything from your static libraries. Only the functions and variables you export from your dll will be visible.
– drescherjm
Mar 7 at 14:49
I found a solution: setting "Use Library Dependency Inputs" to true for lib1.lib
– ifs
Mar 7 at 15:20
You can answer you own question.
– drescherjm
Mar 7 at 15:24
You should not see anything from your static libraries. Only the functions and variables you export from your dll will be visible.
– drescherjm
Mar 7 at 14:49
You should not see anything from your static libraries. Only the functions and variables you export from your dll will be visible.
– drescherjm
Mar 7 at 14:49
I found a solution: setting "Use Library Dependency Inputs" to true for lib1.lib
– ifs
Mar 7 at 15:20
I found a solution: setting "Use Library Dependency Inputs" to true for lib1.lib
– ifs
Mar 7 at 15:20
You can answer you own question.
– drescherjm
Mar 7 at 15:24
You can answer you own question.
– drescherjm
Mar 7 at 15:24
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55046192%2fcant-see-exported-function-in-dumpbin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55046192%2fcant-see-exported-function-in-dumpbin%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You should not see anything from your static libraries. Only the functions and variables you export from your dll will be visible.
– drescherjm
Mar 7 at 14:49
I found a solution: setting "Use Library Dependency Inputs" to true for lib1.lib
– ifs
Mar 7 at 15:20
You can answer you own question.
– drescherjm
Mar 7 at 15:24