AIMP Forum

AIMP for Windows => Дополнения / Addons => Плагины / Plugins => Topic started by: vhanla on January 06, 2013, 00:42:45

Title: Can't post or get to/from Internet from within my plugin
Post by: vhanla on January 06, 2013, 00:42:45
Hello, first and foremost, thanks for this awesome audio player, I love Aimp3 and use it almost everyday.

I wrote a simple plugin that scrobbles to LastFM, it works perfectly as an external application, but it can't work as a plugin and throws the following error.
(http://i.imgur.com/islG3.png)
Access violation at address 0762F9D0 in module 'LastFMScrobbler.dll'. Read of address 000003E0

I don't know why, it doesn't work.
BTW: I'm using Delphi and Indy, I also tried with Synapse components for Internet communication.

I need to do a GET & POST to ws.audioscrobbler.com that is only HTTP (using latest LastFM API), SSL is not required.
Is there any way I can achieve that? I don't know if your plugin system limits some routines on purpose for some reason.

---
Anyway, I am using an external executable to make it work.