Ingreso rápido:  

Forum: VirtualDJ Plugins

Tema: bundle plugin wont starting
YoricyaHome userMember since 2022
Hi! I wrote a simple Hello World plugin, and I placed it in folder /Users/aroslav/Documents/VirtualDJ/Plugins64/Other/plugin.bundle and start VirtualDJ in terminal by $ > /Applications/VirtualDJ.app/Contents/MacOS/VirtualDJ but the plugin does not work, Hello World is not displayed in terminal

code:
```c++
#include "vdjPlugin8.h"

class MyPlugin : public IVdjPlugin8
{

public:

HRESULT VDJ_API OnLoad() override
{
printf("Hello World 2\n");
return S_OK;
}

HRESULT VDJ_API OnGetPluginInfo(TVdjPluginInfo8 *infos) override
{
infos->Author = "Yoricya";
infos->Description = "Hello World Plugin";
infos->Version = "v0.1";
infos->PluginName = "Hello World";
infos->Flags = 0x00;
infos->Bitmap = NULL;

return S_OK;
}
};


HRESULT VDJ_API DllGetClassObject(const GUID &rclsid,const GUID &riid,void** ppObject)
{
printf("Hello World 1");
if (memcmp(&rclsid,&CLSID_VdjPlugin8,sizeof(GUID))==0 && memcmp(&riid,&IID_IVdjPluginBasic8,sizeof(GUID))==0)
{
*ppObject=new CMyPlugin8();
}
else
{
return CLASS_E_CLASSNOTAVAILABLE;
}

return NO_ERROR;
}
```

terminal out:
```log
aroslav@iMacPro-Aroslav ~ % /Applications/VirtualDJ.app/Contents/MacOS/VirtualDJ
libpng warning: iCCP: known incorrect sRGB profile
```

what should I do?
 

Mensajes Thu 26 Dec 24 @ 3:54 pm
locoDogPRO InfinityModeratorMember since 2013
Try place the bundle in soundeffects instead.
 

Mensajes Thu 26 Dec 24 @ 3:59 pm
YoricyaHome userMember since 2022
I tried all the folders, nothing works
 

Mensajes Thu 26 Dec 24 @ 4:08 pm
YoricyaHome userMember since 2022
I apologize for the duplicate topic, I accidentally created two because I thought that this not been created
 

Mensajes Thu 26 Dec 24 @ 4:10 pm
locoDogPRO InfinityModeratorMember since 2013
starting a topic name with . causes problems with link navigation.
 

Mensajes Thu 26 Dec 24 @ 4:11 pm
YoricyaHome userMember since 2022
Ahh, understand
 

Mensajes Thu 26 Dec 24 @ 4:14 pm
djcelPRO InfinityModeratorMember since 2004
 

Mensajes Thu 26 Dec 24 @ 11:35 pm
YoricyaHome userMember since 2022
Its intel Mac. Ahh, it possible to write a plugin, even a simple one, without a Pro license?
 

Mensajes Fri 27 Dec 24 @ 5:48 am