



Hi, I have a user who is on WinXP and getting an error message about the function getTickCount64(). From Microsofts site I can see that this function is only included for Win Vista and higher.
I searched through my project and certainly didn't call the function myself. So my guess is, that either the VST library or some other 3rd party tools I've included are calling it.Â
- Does anyone know of this function?
- Is there a way I can find out where this function is called? (compiler flags maybe?)
Â
Thanks in advance, Frederik
Hi Frederik
This function is not called directly from RackAFX, but it is likely coming from the timer.cpp file in VSTGUI4. And it should only get called when the user opens a custom GUI window. The GUI and VST2/VST3 capabilities are all coded inside of a static library Sock2VST3 that your plugin links with. In RackAFX v6.9 (the just-released version), you can enable/disable this easily from newly created projects in v6.9. When you create the project, check the box marked "Lean Plugin (for Game Developers)" and it will build a new project that does not link to the external library. For existing v6.9 projects, you can also turn this on/off as you wish.Â
v6.8.x also included this option but there was a bug which did not fully un-link the code. If you want to use it on an older project, check the same box when you edit the project. Then, open the plugin.cpp file and make sure that this line of code is NOT commented out:
#define LEAN_RAFX_PLUGIN
This #define is what disables the GUI code below it.Â
When you create a lean plugin, you can only use the RackAFX main GUI for your controls - the custom GUI code does not exist.Â
- Will


Hi Will,
The plugin in question has left RackAFX via MakeVST button and continued its existence as a pure VST project.
Unfortunately, it has custom GUI windows all over the place... I think I'll need to declare the plugin "WinVista and higher" on vst4free.com.
Good to hear there's an option to untangle the project from this function though.
Thanks for your answer!
Frederik
Most Users Ever Online: 152
Currently Online:
3 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chaes: 56
Skyler: 48
StevieD: 46
Derek: 46
Frodson: 45
Peter: 43
TheSmile: 43
Nickolai: 43
clau_ste: 39
jeanlecode: 37
Member Stats:
Guest Posters: 2
Members: 784
Moderators: 1
Admins: 6
Forum Stats:
Groups: 13
Forums: 42
Topics: 850
Posts: 3372
Moderators: W Pirkle: 693