Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Maximum Resource Count .PNG
No permission to create posts
July 18, 2017
5:49 pm
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

I am experiencing an issue even within RackAfx blank projects that my .dll is unable to load 18 .PNG files.

 

Is there a maximum number of .PNG's or way to add images through another avenue besides the RackAfx supplied .rc?

July 18, 2017
6:01 pm
Avatar
W Pirkle
Admin
Forum Posts: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

What do you mean by "load 18 PNG files" -- is this just 18 user-PNGs, or does this involve custom views or other uses?

The short answer is that there is no limit in RackAFX/Visual Studio, but there is a limit of 256 PNG files for your exported projects -- so far, no one has requested more than 256, which seems like a reasonable limit. 

There is no other way to add images other than the .RC in Visual Studio (for RackAFX or any other software) - the RC resources are compiled into your plugin via the RC file.

RackAFX itself is compiled with VS2015 and uses the same .RC mechanism, and VSTGUI4 for the main UI as well as the GUI Designer - it has about 125 PNG files in the RC file, available at any time (think GUI Designer) and you can see that there are about 150 or so various VSTGUI controls on the main UI too. 

- WP

July 19, 2017
7:40 am
Avatar
Skyler
Member
Members
Forum Posts: 47
Member Since:
November 17, 2015
sp_UserOfflineSmall Offline

I followed the video on adding .PNG and was having no problems, until the beginning of this week.

If I add my .PNG's to the .rc file my .dll will not load into Rackafx.  I didn't know if I was creating problems with the amount resource's I am using.

 

Maybe it's my compiler?

 

There is an error when loading my .dll in Rackafx but no problems within Ableton.  That is a work around for now.

 

Thanks Will.

July 19, 2017
11:24 am
Avatar
W Pirkle
Admin
Forum Posts: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

There is no real limit to the amount of resources your visual studio project uses, unless you run out of RAM or disk space, which is very rare.

And, on the grand scale of things, your plugin project code is tiny compared to full blown applications like RackAFX, so something is probably amiss with your coding. I've sent your email to a RackAFX consultant - one of my former students who is a very brilliant programmer and engineer; hopefully he can help you fix this.

- Will 

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online: W Pirkle
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Derek: 41

Peter: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 478

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 29

Topics: 479

Posts: 1870

Newest Members:

certvalue111, sobhana s, sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 140

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 140