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 –