MSFN Forum: Using shared library built from lower version Visual Studio - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Using shared library built from lower version Visual Studio Visual Studio Co-mingle Rate Topic: -----

#1 User is offline   hail_bird 

  • Group: Members
  • Posts: 2
  • Joined: 23-October 05

Posted 23 October 2005 - 08:33 PM

Hi,

I met a Visual Studio co-mingle problem.

I provided a FPrintStructA( FILE *fp, struct A *sp ) function in a shared library built using Visual Studio 2000 with /MD option. This function print the content of structure sp into the file fp. The user of the shared library usually print out some prompts in to the file, before calling FPrintStructA().

The shared library works well when the caller of the shared library also developed using Visual Studio 2000. However, if the caller is developed using Visual Studio 2005 or 2003, there will be an exception. The reason is the conflict of runtime library (MSVCRT vs MSVCR80 and MSVCR71).

Is it possible for me to work out a Visual Studio 2000 shared library, which provides usable FPrintStructA to VS2005 or VS2003 users?

howie bao


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy