Beckhoff / ADS

Beckhoff protocol to communicate with TwinCAT devices.
MIT License
502 stars 194 forks source link

Heap Corruption on AdsDelete #109

Closed mriepl closed 4 years ago

mriepl commented 4 years ago

Hello,

when i call the AdsSyncDelDeviceNotificaton my heap crashes, any ideas?

image

image

with the TcAdsDll everything is fine!

pbruenn commented 4 years ago

Do you have a small example to reproduce?

mriepl commented 4 years ago

i have called the callbackfunction with the wrong calling convention. AdsLib: without TcAdsDll: __stdcall