# Visual Studio 2015 compatible PVRTexLib.dll

**URL:** https://forums.imgtec.com/t/visual-studio-2015-compatible-pvrtexlib-dll/2413
**Category:** PowerVR Insider
**Created:** [January 4, 2016, 1:51pm UTC](https://forums.imgtec.com/t/visual-studio-2015-compatible-pvrtexlib-dll/2413 "2016-01-04T13:51:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![donpedro13](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@donpedro13](https://forums.imgtec.com/u/donpedro13)
#### Post date: [January 4, 2016, 1:51pm UTC](https://forums.imgtec.com/t/visual-studio-2015-compatible-pvrtexlib-dll/2413/1 "2016-01-04T13:51:25Z")

</div>

Hello

In the most recent PowerVR SDK (4.0), PVRTexLib.dll was compiled and linked with Visual Studio 2013. Since this dll exports C++ functions, ABI compatibility is of concern. I would like to use this dll in a program that was compiled and linked with Viusal Studio 2015.

Even though mixing C++ dlls produced by different major versions of MSVC is strongly discouraged (I think it’s stated by Microsoft as well, but can’t cite it), I sense that this is the “supported way to go” in case of this dll (since there are no dlls provided for different versions of MSVC). Is this assumption correct?

Thanks,  
Peter

---

<div class="post-metadata">

### Author: ![donpedro13](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@donpedro13](https://forums.imgtec.com/u/donpedro13)
#### Post date: [January 4, 2016, 2:03pm UTC](https://forums.imgtec.com/t/visual-studio-2015-compatible-pvrtexlib-dll/2413/2 "2016-01-04T14:03:09Z")

</div>

By the way, the crash described in this topic might be caused by mixing dlls (allocating a block with version X and attempting to free it with version Y): [https://www.imgcommunity.local/forums/topic/pvrtexlib-crash-with-visual-studio-2015](https://www.imgcommunity.local/forums/topic/pvrtexlib-crash-with-visual-studio-2015)

---

<div class="post-metadata">

### Author: ![JoeDavis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/joedavis/32/71_2.png) [@JoeDavis](https://forums.imgtec.com/u/JoeDavis)
#### Post date: [January 5, 2016, 10:11am UTC](https://forums.imgtec.com/t/visual-studio-2015-compatible-pvrtexlib-dll/2413/3 "2016-01-05T10:11:13Z")

</div>

Hi Peter,

[blockquote]I sense that this is the “supported way to go” in case of this dll [since there are no dlls provided for different versions of MSVC]. Is this assumption correct?[/blockquote]  
That’s correct. Our development team decided to support a single DLL for all recent versions of MSVC. If you encounter any compatibility issues with VS 2015, please let us know.

I’ve added your feedback on DLL compatibility to BRN58175 for the engineer’s reference.

---

<div class="post-metadata">

### Author: ![jacobvr](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/jacobvr/32/239_2.png) [@jacobvr](https://forums.imgtec.com/u/jacobvr)
#### Post date: [January 6, 2016, 11:29am UTC](https://forums.imgtec.com/t/visual-studio-2015-compatible-pvrtexlib-dll/2413/4 "2016-01-06T11:29:20Z")

</div>

Visual Studio 2015 contains many new and exciting features to support cross-platform mobile development, web & cloud development, IDE productivity enhancements, and more… So I really need try out Visual Studio 2015…
