0
我得到一个无法找到DLL入口异常,对于我知道的函数。我只是得到它一些(我不知道它是否取决于上下文(线程等)或参数)。无法找到入口点
的方法被定义为这样的:
[DllImport("libspotify")]
internal static extern bool sp_track_is_available(IntPtr sessionPtr, IntPtr trackPtr);
什么可能是错的任何想法?
你确定这个函数实际上是导出的吗?使用[DLL导出查看器](http://www.nirsoft.net/utils/dll_export_viewer.html)确保其正确导出。 – Icemanind
我无法在spotify的在线文档中找到它......也许这是一种被'sp_track_get_availability'取代的旧方法? https://developer.spotify.com/technologies/libspotify/docs/12.1.45/group__track.html –
我认为这就是发生了什么 - 见https://github.com/akezeke/spotyxbmc2/commit/df266f14#L3R1330 –