Thread: WDL-OL
View Single Post
Old 04-19-2012, 03:34 AM   #67
stw
Human being with feelings
 
stw's Avatar
 
Join Date: Apr 2012
Posts: 250
Default Noob question

First a short "Hello..." to the community.
I'm new to the WDL stuff (in fact i'm just beginning with C++) and try to get my head around different things. My Plugin coding experience is limited to SynthMaker so far hence i'm facing a lot of new stuff.
Anyway most progress comes from plain learning by doing, and that's what i do at most basic steps right now. So please be patient if i'm asking really stupid quesions.
For now i just try to get some of the GUI handling straight and am stuck just at the very beginning. I started with the simple IPlugEffect project and tried to apply a background image to the plug.
I defined the unique ID and path in the resource.h
Code:
#define BG_ID         102
#define BG_FN		"resources/img/bg.png"
and called
Code:
pGraphics->AttachBackground(BG_ID, BG_FN);
The bg.png resides at the defined folder.
The VST2 project compiles without errors but as soon as the host trys to laod the .dll it crashes.
So what am i missing here?
Any help appreciated...
stw is online now   Reply With Quote