Message423

Author admin
Recipients
Date 2018-06-11.23:38:23
Content
[BitBucket user: AlbertoSP]
[BitBucket date: 2018-06-11.21:38:23]

Update:
Tried to add the findcallback and it works fine, so the error may be in the extra arguments of registerMoveCallback (freeMove, applyMove and/or moveSize).

The code now is 

```
#!c

  /* Register the callbacks */
  OrthancPluginRegisterMoveCallback(context, (OrthancPluginMoveCallback) OnMoveCallback, moveSize, applyMove, freeMove);
  OrthancPluginRegisterFindCallback(context, (OrthancPluginFindCallback) OnFindCallback);
```
and the method findcallback 
```
#!c

ORTHANC_PLUGINS_API OrthancPluginFindCallback OnFindCallback (OrthancPluginFindAnswers *answers, const OrthancPluginFindQuery *query, const char *issuerAet, const char *calledAet)
{
  OrthancPluginLogWarning(context, "Sample plugin is findcallback");
}
```
History
Date User Action Args
2026-07-29 15:51:22adminlinkissue93 messages
2026-07-29 15:51:22admincreate