question

Yuan sky avatar image
0 Likes"
Yuan sky asked anthony.johnson answered

can we use the command (query) in the dll?

querydll errorcommand
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@Yuan sky,

Have you tried it? I'm thinking that it should work.

0 Likes 0 ·
Yuan sky avatar image Yuan sky Jeff Nordgren commented ·

Hi Jeff,

thanks for your reply.I have tried it, it can't work. Can you share me the newest version of dll,and I try again.

0 Likes 0 ·
Yuan sky avatar image Yuan sky Jeff Nordgren commented ·

Hi Jeff,

We have tried the newest version of dll maker.But there is an error which is as follows:

error LNK2001: unresolved external symbol "class std::function<class FlexSim::Variant __cdecl(void)> FlexSim::defQueryCallback" (?defQueryCallback@FlexSim@@3V?$function@$$A6A?AVVariant@FlexSim@@XZ@std@@A).

Can you give me some advise? @anthony.johnson what do you think of the error?

0 Likes 0 ·
Yuan sky avatar image Yuan sky Yuan sky commented ·
0 Likes 0 ·

1 Answer

anthony.johnson avatar image
0 Likes"
anthony.johnson answered

No, you cannot call query() from a dll. We'll add this to our development list, although query() is a pretty unique command that was designed mainly for flexscript, so it might be difficult to get it working right.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.