Hi,
I have a C program sourcecode (not a running program) for a punycode converter to encode and decode mailadresses with German umlauts.
Is there a way to convert this code into something that I can use in Visual LANSA?
Kind regards,
Joerg
Can I use C-program-source code in Visual LANSA?
-
Joerg Hamacher
- Posts: 120
- Joined: Thu Feb 11, 2016 12:01 am
Re: Can I use C-program-source code in Visual LANSA?
Hi
If you have c code, the easiest way is to wrap it in a Built In Function. See the Technical Reference guild, Appendix B.
https://docs.lansa.com/15/en/LANSA015/D ... I_0005.htm
There are samples in that section, and at the very last page, a skeleton for C code.
You could also see very old samples in the LANSA\Imports\ov_bifs
If you have c code, the easiest way is to wrap it in a Built In Function. See the Technical Reference guild, Appendix B.
https://docs.lansa.com/15/en/LANSA015/D ... I_0005.htm
There are samples in that section, and at the very last page, a skeleton for C code.
You could also see very old samples in the LANSA\Imports\ov_bifs
-
Tim McEntee
- Posts: 57
- Joined: Thu May 26, 2016 8:46 am
Re: Can I use C-program-source code in Visual LANSA?
Hi Joerg
I have not done this with C
Can you use the Lansa call command.
This will work with a Vl/Windows environment.
For VL/Web you would do a call to a server module that would run your program and return the value.
Tim
I have not done this with C
Can you use the Lansa call command.
This will work with a Vl/Windows environment.
For VL/Web you would do a call to a server module that would run your program and return the value.
Tim