VoiceOfExperience

During execution under the debugger of the debug configuration of MyOgm, I see the following in the output window.

'MyPgm.exe': Loaded 'C:\Program Files\Adobe\Acrobat 7.0\ActiveX\pdfshell.dll

Since I am not using pdf or ActiveX in my program, where did this come from Is VC++ linking it into MyPgm How can I remove it, and all similar baggage



Re: Visual C++ General Adobe\Acrobat 7.0\ActiveX\pdfshell.dll appearing in my executable

Bite Qiu - MSFT

hello

check project properties page->linker->input->additional dependencies to see if pdfshell.dll is in there and delete it. If you cannot find it. Try to use dependency walker to see which function you are importing from this dll and search this(maybe not only one) function(s) in your project, it is much likely that nothing found, then search this function in google to see if there is any hints available online. You may also paste out this function if you tried with no success.

thanks

rico






Re: Visual C++ General Adobe\Acrobat 7.0\ActiveX\pdfshell.dll appearing in my executable

VoiceOfExperience

pdfshell.dll does not appear as a linker input, either in the project or in my library which it uses. Dependency Walker does not show pdfshell.dll in its list of modules. A quick Google search doesn't turn up anything useful.

Any other suggestions If I had to guess, I would suspect htmlhelp.lib, which is one of the additional linker inputs.





Re: Visual C++ General Adobe\Acrobat 7.0\ActiveX\pdfshell.dll appearing in my executable

Bite Qiu - MSFT

VoiceOfExperience wrote:

pdfshell.dll does not appear as a linker input, either in the project or in my library which it uses. Dependency Walker does not show pdfshell.dll in its list of modules. A quick Google search doesn't turn up anything useful.

Any other suggestions If I had to guess, I would suspect htmlhelp.lib, which is one of the additional linker inputs.

It shouldn't be, you are not linking to pdfshell.dll directly but this dll must linked by other libraries that you are using. Try to add /verbose switch to the linker settings and build it again, see if there is anything useful in the output window.






Re: Visual C++ General Adobe\Acrobat 7.0\ActiveX\pdfshell.dll appearing in my executable

Viorel.

 VoiceOfExperience wrote:
[...] Any other suggestions [...]

Maybe one of Adobe products, installed on your computer, uses system-wide "hooks" in order to intercept some of Windows events, and the hook procedures are located in pdfshell.dll file This DLL will be attached to all of running processes, including yours. Visual Studio displays all of DLLs which are loaded together with your executable.

 

I hope this makes sense.

 





Re: Visual C++ General Adobe\Acrobat 7.0\ActiveX\pdfshell.dll appearing in my executable

VoiceOfExperience

Neither the /verbose nor /verbose:lib produces any useful information



Re: Visual C++ General Adobe\Acrobat 7.0\ActiveX\pdfshell.dll appearing in my executable

VoiceOfExperience

How would I find out whether this is the case