Re: Re C cartridge calling a dll in OAS 4

From: Finn Ellebaek Nielsen <fen_at_changegroup.dk>
Date: Thu, 1 Jul 1999 00:35:44 +0100
Message-ID: <7le64l$6f3$1_at_news.inet.tele.dk>


Martin Mr <oa43_at_dial.pipex.com> wrote in message news:01bedad4$cf7f4920$4f5095c1_at_dnyeaqvf...
> Hi Finn
>
> I am trying to explicitly include the dll as I don't have a lib file.
> When I include windows.h I am having compile errors "error C2632: char
> followed by int is illegal.
>
> Thanks Martin

Hi Martin.

If you #include <windows.h> as the first include you will avoid that error, not sure what including windows.h means for wrb.h, oci*.h, etc. You will need an import library file for the DLL so you can link with it. If you're using Visual Studio you can create this .lib file with "lib /def:xxxx.dll" from the command line where xxxx.dll is your DLL.

HTH. Finn Received on Thu Jul 01 1999 - 01:35:44 CEST

Original text of this message