# Compiller error

**URL:** <https://oscat.discourse.group/t/compiller-error/2274>\
**Category:** oscat.lib fuer CoDeSys 3\
**Created:** [30. Januar 2018 um 13:33 UTC](https://oscat.discourse.group/t/compiller-error/2274 "2018-01-30T13:33:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mRadek](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@mRadek](https://oscat.discourse.group/u/mRadek)\
**Post date:** [30. Januar 2018 um 13:33 UTC](https://oscat.discourse.group/t/compiller-error/2274/1 "2018-01-30T13:33:15Z")

</div>

Hi

I try to use OSCAT library, downloaded from Codesys website.  
I’m using Codesys 3.5.12.0 (64-bit), OSCAT BASIC 3.3.3.0 and CODESYS COntrol Win V3 x64 device

During the compilation I’m getting some errors related to the type conversions:

Cannot convert type ‘POINTER TO BYTE’ to type ‘DWORD’ in \_BUFFER\_CLEAR and \_BUFFER\_INIT objects

Did I missed any other library in my project?  
I’m totally new with Codesys.

Would you help me ,please?

Ohhhhh…  
I found, that was my error.  
I added the library to the DeviceApplication instead to the Application 🙂
