The exact Error messages are:

Link Error   : Hub.c: 'DmFindDataBase' referenced from 'LoginFormInit' is
undefined.

Link Error   : Hub.c: 'DmOpenDataBase' referenced from 'LoginFormInit' is
undefined.

When I get an error like this in MSVC++, it was always because I forgot to
include a library.  I just assumed it was the reason here.  The online help
in CW also suggested I was missing a library.  I suspect the solution is
something simple that I'm missing....

Thanks,
David

 - - - - -      Original Message Date  09/30/99 02:20:39 PM    - - - - -




[EMAIL PROTECTED] wrote:
> The linker can't find DmOpenDatabase and DmFindDatabase although it
> links DmCreateDatabase fine.  I've compiled and linked a sample with
> these API calls and it linked fine.

Can you give the specific error message you're getting?

I don't know your problem, but here is an important fact: calls to OS
functions don't get "linked" in the traditional sense.  There is no
library you link to.  Instead, each OS API call is implemented by a
short sequence of 68000 instructions (extreme simplification ahead!)
that causes a jump through an operating system trap dispatch table,
based on the API's ordinal number instead of its address.  The linker
has nothing to do with it.  So if you are seeing linker errors
complaining about OS functions, then something's very weird.

-slj-


Reply via email to