Artikash / Example-Extension

Examples showing how to create extensions for Textractor.
GNU General Public License v3.0
8 stars 12 forks source link

Error trying to build the example Extension #3

Open LordFrz opened 1 year ago

LordFrz commented 1 year ago

Was trying to build the example before I tried adding in any of my own modifications and get the following error.

Severity    Code    Description Project File    Line    Suppression State
Error   C4716   'ProcessSentence': must return a value  ExampleExtension    \Example-Extension-master\ExampleExtension\Extension.cpp    52  

Not sure what I'm doing wrong, I can't build the main project either with similar issues. Ultimately I can probably just use the lua extension to do the task so it's not a big deal, just bugs me that I can't figure out why it won't build the example.

LordFrz commented 1 year ago

I did get it to compile by adding a return false; at the bottom, ill try to add my own code to see if still works as an extension.

rafael-vasconcellos commented 7 months ago

I did get it to compile by adding a return false; at the bottom, ill try to add my own code to see if still works as an extension.

did you manage to add it to textractor? I did get it to compile, but the output is a DLL file and not an XDLL file, trying to add it to textractor will result in an "invalid extension" error (I didn't change the source code yet)