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
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:
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.
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!
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 1
Newest Members:dan_1, phlub, josh, bmarx, Tom Helvey, Ludovic, Mihir Shah, Mina, robbie, Matteo Desantis
Moderators: W Pirkle: 555
Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 555, VariableCook: 3