-
Notifications
You must be signed in to change notification settings - Fork 6
Add support for read / writers #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @ahuarte47 😃 I need help for writing the C++ Wrapper Code, is there anything you can give me to ease the process? |
Hello @realvictorprm, thanks for your idea. We did not need to implement the reader/writer wrappers for our project. Sorry, I know this new feature is very interesting but, unfortunately this project was finished some time ago and We have no founds to add new features like this to this SDK. Did you have a look at "$(FME_HOME)\pluginbuilder\samples\cpp\code\FMEReaderWriter" folder? It is a good point to start. |
Yes I already started looking into it. I'm trying to implement it for the SDK. |
ok, what help would you like? |
I try to get the general idea of how interop there works.
Is it right that for testing it's not needed to wrap all methods?
Am 16.08.2017 9:18 AM schrieb "Alvaro Huarte" <[email protected]>:
… ok, what help would you like?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYPM8Na5O9s1kJl5YIlQ0ToxVOsut2fMks5sYpfUgaJpZM4O2PfO>
.
|
You can write a full IFMEReader/IFMEWriter implementation (Empty methods is ok to start) in C++/CLI which call a new interface similar to this. Then, in the .NET client side, you can write your implementation with empty methods too. The key of this is to load the .NET assembly in the C++/CLI (Maybe in the C++ constructor) with something similar to this. Sorry, I do not know this is useful for you |
Fortunately, there are few public methods to define for IFMEReader/IFMEWriter classes. |
I need to look into the section with the App Domain. Looks like I need to
refresh my knowledge
Am 16.08.2017 9:42 AM schrieb "Alvaro Huarte" <[email protected]>:
… Fortunately, there are few public methods to define for
IFMEReader/IFMEWriter classes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYPM8AUI2dC-VT__jHQS_9I7PW75ghb8ks5sYp1agaJpZM4O2PfO>
.
|
My plan would be to define the interfaces in the C++ CLI code and the DotNetWrapper class. @ahuarte47 So far I understood you there is some kind of assembly loading needed afterwards? |
Yes, in a point of the C++/CLI code you have to load the DotNetWrapper class deployed in your specific .DLL file. I would write something similar to this |
Help,
Although I'm still getting into the FME SDK API, I think it's right that the .net sdk doesn't support the reader and writer extension functionality yet.
Because I need this for the company I would appreciate if this would be implemented next.
The text was updated successfully, but these errors were encountered: