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 Topic RSS sp_TopicIcon
function call of getTickCount64()
Avatar
Frodson
Member
Members
January 7, 2018 - 3:48 pm
Member Since: September 7, 2015
Forum Posts: 45
sp_UserOfflineSmall Offline

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

Avatar
W Pirkle
Admin
January 12, 2018 - 10:43 am
Member Since: January 29, 2017
Forum Posts: 352
sp_UserOfflineSmall Offline

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

Avatar
Frodson
Member
Members
January 12, 2018 - 3:43 pm
Member Since: September 7, 2015
Forum Posts: 45
sp_UserOfflineSmall Offline

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

Forum Timezone: America/New_York

Most Users Ever Online: 55

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

TheSmile: 43

Peter: 41

clau_ste: 39

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 571

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 586

Posts: 2347

Newest Members:

Simple, Chris_1, manyu, AdamR, Stuart, Al Calabrese, frankthetank, dhodgson, Wanderer, mister1234

Moderators: W Pirkle: 352

Administrators: Tom: 71, JD Young: 80, Will Pirkle: 0, W Pirkle: 352