Re: Cannot open include file:problem with Dll header

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




priyanka wrote:
i am trying to use dll for my project..i have include "test.lib" in
link tab in project
And now i want to use function of dll by including "test.h" file in
stdfx.h.
but while compile it gives error .
Cannot open include file: Cannot open include file: `test.h` no such
file or directory
Any help........how to solve this problem

Hi Priyanka.

Which compiler ?

In case if its Visual Studio then set include file directory entry in
as:-
for MSVC 6.0
Project->Settings->C/C++ Tab->Preprocessor->Additoinal Include
Directories
for MSVC 2003.NET
Project->Properties->C/C++->General->Additoinal Include Directories

Try then.

Thanks,
Abhishek

.



Relevant Pages

  • Re: Python DLL in Windows Folder
    ... Assume an application embedding Python being compiled with MSVC 8.0. ... good programs aren't DLL implementation specific and good ... modification), there is no need to compile your own interpreter, it just ...
    (comp.lang.python)
  • Re: VBA and VSTO
    ... If you compile in VB6 with Global MultiUse than all you have to do is set a reference in Excel to your dll via Tools, References and you can access your functions in the dll directly. ... You will have to register the dll as well with Windows with Regsvr32, but that can be done quite simply in VBA. ...
    (microsoft.public.excel.programming)
  • Re: HOW CAN I OPEN A COM PROJECT COMPILED IN VS2005, IN VS2003?
    ... I keep getting the .exe output when I compile in the VC7. ... the General Configuration Type to be .dll in the Project Property. ... Microsoft MVP, MCSD ... instead create my own folders for file grouping... ...
    (microsoft.public.win32.programmer.ole)
  • GlobalMultiUse component breaks its compatibility !!!
    ... I have a component (ActiveX dll) with only one class in it. ... compiled, even though the binary compatibility is set, a new UUID is ... Public Property Let MyStringProp(ByVal vNewValue As String) ... Compile the project. ...
    (microsoft.public.vb.com)
  • LNK2020 using managed/unmanaged classes combination and workaround question
    ... mark 'DLL' and 'Export Symbols'). ... this is a managed class added to the DLL. ... To the Windows Forms project, ... make sure you compile everything with /clr. ...
    (microsoft.public.dotnet.languages.vc)