Insufficient info.
As usually, no function definitions in the header. Where are these functions bodies? The linker can't obtain them. Check out all sources, libraries and the project settings.
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
Please, read my previous post again (and again ;) ).
Where are these two functions DEFINED???
You post DECLARATIONS (prototypes) of these functions.
For example, I (header file) declare: I have 2000000000$.
You (linker) ask me: where are this lots of money?
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
Ooh... I know English is not my native language but...
I'm not interesting where you CALL these functions.
My question was: where were these two functions defined? A function definition code looks like
type function_name(parameters)
{
function_body
}
Where is
LONG PASCAL DLOpen(....)
{
...
}
???
Probably these functions were placed in the library. Did you attach this library to your project? Where is this library?..
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
I see you don't understand a difference between a function declaration (prototype) and a functions definition (header+body). The DLOpen function prototype in your header file is not the DLOpen function. It's a declaration only. You declare (to compiler): "See, I have this function elsewhere. Let this functions calls in my code below correspond the prototype". A prototype does not generate machine code. If you call DLOpen in your program, you must have this function definition (header+body) in your source codes or in an external library (included in the project).
Obviously you don't know where is DLOpen and where is DLClose source or object codes.
I don't know as well...
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
I don't know what you found in .h file but it seems the functions body was placed in .cpp or .c file.
In any case you are trying to feed .h (text) file to the linker...
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
As far as I could judge it's a header file of Linux dlopen function (prototype, declaration but not definition again). It does not bear a relation to your Visual C++ (6.0 ? ) project.
I never used DevLink library for Windows. It seems you are trying to link your code with this library (may be I'm wrong). As far as I know there is devlink.lib in this package (and devlink.dll, but it's the other story). If so you must add this .lib file to your project settings.
Does you really hope to implement a useful program without any docs for third-party library used? Look at http://support.avaya.com/elmodocs2/ip_office/R3.1/devlinken.pdf . It's DevLink library manual. See notes on page 5. May be it helps...
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
Try to copy it into the same folder where exe was placed.
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348