When I build a DLL function, I need to use the query function to query a global table.
But I found that the code copied directly FROM the flexsim code editor, such as query("SELECT A FROM TableName WHERE B >0"), will report an error in visual studio.
I've tried many ways, but none of them worked.
How can I solve this problem?