-
1. Re: VST Audio for CS5 SDK question
Zac Lam Sep 9, 2010 4:01 PM (in response to gagrinds)Does the Premiere Pro plug-in loader see the plug-ins in the location you've installed them? You can verify this by checking the Plugin Loading Log. It'll be here on Vista:
[user folder]\AppData\Roaming\Adobe\Premiere Pro\5.0\Plugin Loading.log
If you don't see your VST plug-ins mentioned in that log, we recommend the plug-ins be installed to the path pointed to by the registry key:
HKEY_LOCAL_MACHINE/Software/VST
Hope this helps,
Zac
-
2. Re: VST Audio for CS5 SDK question
gagrinds Sep 9, 2010 7:26 PM (in response to Zac Lam)Zac,
In the examples you gave me years ago, I made following declaration:
AEffect *main (audioMasterCallback audioMaster)
{
...
}
In CS4 it complained so I made the following change:
int *main (audioMasterCallback audioMaster)
{
...
}
This worked in CS4 and the compiler stopped complaining. However, it did not work in CS5. I tried several other things, but it fails to load.
What should it be?
Thanks,
Gene
Gene A. Grindstaff
Executive Manager
Security, Government & Infrastructure (SG&I) Division
Intergraph Corporation
PO Box 6695, Huntsville, AL 35813 USA
P 1.256.730.6983 F 1.256.730.8046 M 1.256.566.5376
www.intergraph.com
-
3. Re: VST Audio for CS5 SDK question
Rallymax Sep 9, 2010 8:44 PM (in response to gagrinds)Don't know the answer but dllmain is to do with windows dll not adobe
so I'd look for 64bit dll on msdn.Microsoft.com
I dont know if you can have a main() anymore on win 64
Quick search found this
// DllMain() function prototype.
BOOL WINAPI DllMain ( HINSTANCE hinstDLL,
DWORD fdwReason, LPVOID lpvReserved );
-
4. Re: VST Audio for CS5 SDK question
gagrinds Sep 10, 2010 5:31 AM (in response to Rallymax)It also has dllmain for Windows loading, but the main() is the exported call back entry point. However, the compiler complains that main() should be of type int not a structure pointer. If you make it type int, it crashes CS4 and will not load on CS5.
I just need to know how to work around this issue.
Gene
-
5. Re: VST Audio for CS5 SDK question
Rallymax Sep 10, 2010 6:42 AM (in response to gagrinds)Can you change the name from main to something else? In exporteres the
callback is not called main.
I suspect that you're fighting the windows definition and adobes
callback definition. If u change the name it'll fix that.
-
6. Re: VST Audio for CS5 SDK question
gagrinds Sep 10, 2010 6:48 AM (in response to Rallymax)Yes, I can change it, but I need to know the standard calling convention name that Adobe and VST expects to be there. Does anyone know what it should be.
Gene
-
7. Re: VST Audio for CS5 SDK question
Rallymax Sep 10, 2010 7:06 AM (in response to gagrinds)My guess is that it's AEFilter*
-
8. Re: VST Audio for CS5 SDK question
Rallymax Sep 10, 2010 7:07 AM (in response to gagrinds)Sorry AEffect*
-
9. Re: VST Audio for CS5 SDK question
gagrinds Sep 10, 2010 7:19 AM (in response to Rallymax)Yes, I know that it must be of type AEffecs*, but I presume it must have a standard name just like Premiere Pro video, transitions, etc. Have a standard name or callback.
Do know the name?
Gene
-
10. Re: VST Audio for CS5 SDK question
Rallymax Sep 10, 2010 7:55 AM (in response to gagrinds)Hi,
Can you post the .cpp file that Zac made for you?
It’s kinda hard to help you if I can’t work out what sort of callback you were trying to make.
Btw,
Based on your original post...
>In the examples you gave me years ago, I made following declaration:
>AEffect *main (audioMasterCallback audioMaster) { ...
>}
>In CS4 it complained so I made the following change:
>int *main (audioMasterCallback audioMaster) { ...
>}
>
...I just grep'ed for the "audioMasterCallback" in all CS3|4|5 SDKs for AE and Premiere and it's not there.
I'm wondering how you compiled at all when there is no definition for it in the headers?
D:\My Downloads\Adobe\SDK>dir /ad
Volume in drive D is MEDIA
Volume Serial Number is E20D-79C1
Directory of D:\My Downloads\Adobe\SDK
09/10/2010 07:34 AM
.
09/10/2010 07:34 AM..
01/24/2010 04:52 PMAdobe After Effects CS3 SDK
09/10/2010 07:34 AMAdobe After Effects CS4 SDK
09/10/2010 07:34 AMAdobe After Effects CS5 Win SDK
01/24/2010 04:52 PMAdobe Premiere Pro CS3 r1 SDK
09/10/2010 07:31 AMPremiere Pro CS4 r1 SDK Win
09/10/2010 07:32 AMPremiere Pro CS5 Win SDK
0 File(s) 0 bytes
8 Dir(s) 125,591,977,984 bytes free
D:\My Downloads\Adobe\SDK>grep audioMasterCallback . -rn
D:\My Downloads\Adobe\SDK
-
11. Re: VST Audio for CS5 SDK question
gagrinds Sep 10, 2010 8:11 AM (in response to Rallymax)I am traveling this morning, so I cannot upload anything for a while. Since the interface is defined in the VST documents, you probably will not find any documentation. I did look in the includes an some of the VST documentation, but I did not see anything that would help.
When I get back to the office I will dump the entry points for one of Adobe's audio dlls and see what entry point it has.
I just thought one of you might have used the VST SDK and knew the answer.
Thanks,
Gene
-
12. Re: VST Audio for CS5 SDK question
gagrinds Sep 10, 2010 5:16 PM (in response to Rallymax)The correct entry name is MAIN not main.
Thanks,
Gene



