How to use SQL queries in a DLL project?

How to use SQL queries in a DLL project?

mark_s3
Not applicable
86 Views
1 Reply
Message 1 of 2

How to use SQL queries in a DLL project?

mark_s3
Not applicable

[ FlexSim 17.1.6 ]

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?

15214-iwmcpwsoqoq8cxrj8k2.png

Accepted solutions (1)
87 Views
1 Reply
Reply (1)
Message 2 of 2

philboboADSK
Autodesk
Autodesk
Accepted solution

Using FlexSim's SQL query() command may have worked in C++ at some point, but I don't think it does currently.

If you want to use query() or Table.query(), you might need to execute FlexScript to do so right now.



Phil BoBo
Sr. Manager, Software Development