Hi Sanal,

It is not possible to link DLL to object files. Instead you need to link the
.lib file of the corresponding dll or a .def file which defines the exported
symbols of the dll. So use the .lib file of
VerificationCardDetail.dll for linking.

Regards
Nandika




On 10/4/07, Sanal Kumaran <[EMAIL PROTECTED]> wrote:
>
>
> hi ,
>
> im getting error  while linking ..
> anybody suffered this problem b4?
>
> C:\Program Files\Microsoft Visual Studio\VC98\Bin>link.exe /nologo
> /LIBPATH:%AXI
> S2C_HOME%\lib axutil.lib axiom.lib   axis2_parser.lib axis2_engine.lib
> /DLL D:\a
> xis2c\lib\VerificationCardDetail.dll  /OUT:cardVerify.dll
> CardVerifyTxn_svc.obj
>
> D:\axis2c\lib\VerificationCardDetail.dll : fatal error LNK1136: invalid
> or corru
> pt file
>
>
> can we link dynamic libraries to our object file along with static
> libraries ?
> whether the syntax is correct?
>
>
> I would be thankful
> sanal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://nandikajayawardana.blogspot.com/

Reply via email to