I'm devoloping an unmanaged visual c++ application (Win32) which uses an external dll written in C.
The application compiles successfully but it immediately throws a Memory Access Violation Error (0xC0000005:) at the first call to the external library.
The application is used to access a Loquendo Text To Speech Engine.
Here there is the code which makes references to the external code:
#include "C:\Program Files (x86)\Loquendo\LTTS7\include\loqtts.h"
#include "C:\Program Files (x86)\Loquendo\LTTS7\include\loqtypes.h"
ttsHandleType hReader; // Reader handle
//Initializes a LoquendoTTS Reader using the implicit session
Thanks to everybody,