For Programmers: Free Programming Magazines  


Home > Archive > VC Language > May 2006 > ___pioinfo









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ___pioinfo
My Real Name

2006-05-25, 7:08 pm

I have a library that was built with 'multithreaded'. I'm trying to link it
with an application built with '(debug) multithreaded DLL'. After ignoring
default libraries 'libc.lib,msvcrtd.lib,libcmt.lib' I'm still left with:

libcimt.lib(filebuf.obj) : error LNK2001: unresolved external symbol
___pioinfo

Anything I can do to get this to link?

Gary Chang[MSFT]

2006-05-26, 4:13 am

Hi,

Thank you posting!

>I have a library that was built with 'multithreaded'. I'm trying
>to link it with an application built with '(debug) multithreaded
>DLL'. After ignoring default libraries

'libc.lib,msvcrtd.lib,libcmt.lib'...

I suggest you compile both of your DLL and application with the same
version's runtime library(multithreaded /MT or /MTd), and don't ignore the
default libraries if you don't have ant particular reasons.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
========================================
==========
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.

My Real Name

2006-05-26, 7:09 pm

In article <SUJMltIgGHA.4688@TK2MSFTNGXA01.phx.gbl>, Gary Chang[MSFT] wrote:
> From: v-garych@online.microsoft.com ("Gary Chang[MSFT]")
> Date: Fri, 26 May 2006 06:12:31 GMT
> Subject: RE: ___pioinfo
> Newsgroups: microsoft.public.vc.language
>
> Hi,
>
> Thank you posting!
>
> 'libc.lib,msvcrtd.lib,libcmt.lib'...
>
> I suggest you compile both of your DLL and application with the same
> version's runtime library(multithreaded /MT or /MTd), and don't ignore the
> default libraries if you don't have ant particular reasons.
>
> Thanks!
>
> Best regards,
>
> Gary Chang
> Microsoft Online Community Support
> ========================================
==========
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ========================================
==========
> This posting is provided "AS IS" with no warranties, and confers no rights.
>

The DLL was supplied by someone else and isn't easily able to be rebuilt.
Any other ideas?

Gary Chang[MSFT]

2006-05-29, 4:19 am

>The DLL was supplied by someone else and isn't easily able
>to be rebuilt.
>Any other ideas?


In this case, let your application compile with same runtime libraries
version as the DLL's(/MDd)

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
========================================
==========
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com