Home › Forum › Omnis General Forum › Register and Call DLL
Tagged: General Coding
-
Register and Call DLL
Posted by Gianni on September 9, 2019 at 3:52 pmHi All,
on Omnis Studio 5.x with Mac OS X I used the instructions “Register DLL and Call DLL” but passing to Omnis 8.x I saw that these instructions is no longer supported. Is there an alternative?
Thanks in advance!
GianniGianni replied 4 years, 10 months ago 2 Members · 6 Replies -
6 Replies
-
Hey Gianni,
It seems that it is still supported. Where are you seeing that it is not supported? The commands are still implemented in Omnis 10. I also still see this technote on the website.
https://developer.omnis.net/technotes/tnno0006.jsp
We are currently migrating to omnis 10 and use this command in many places so hopefully it still works correctly.-
Dear Scott,
I refer to Mac OS X.
Until the Omnis Studio 5.x.x version I used to
these instructions but passing to the version
Omnis Studio 8.x.x are no longer supported.
This is demonstrated by the fact that my old code
(Omnis Studio 5) was
Calculate icPathDylib as ‘/usr/local/lib/tsidclnt.dylib’
Register DLL (icPathDylib, ‘tsidCheckService’, ‘I’, kFalse) Returns lnErr
Call DLL (icPathDylib, ‘tsidCheckService’) Returns lnRet
When I converted the library into Omnis Studio 8 it is
become:
Calculate icPathDylib as ‘/usr/local/lib/tsidclnt.dylib’
X250825050 (icPathDylib, ‘tsidCheckService’, ‘I’, kFalse) Returns lnErr
X250825051 (icPathDylib, ‘tsidCheckService’) Returns lnRet
Please let me know…
Thks a lot.
Gianni
-
-
That is strange maybe, it was left out of Omnis 8. Like I said we are going from Omnis 4.3.2.1 to Omnis 10 and we have those commands all over the place and they all seem to work. It’s even in the help documentation in the app. What happens when you try to type in the commands? Do they come up?
It’s still in the documentation online so it’s still supported.
https://developer.omnis.net/onlinedocs/index.jsp -
If you look at the Omnis 5.x Help and look for the “Register DLL” command in the upper right part it says “All Platforms” if you look in the Omnis 8.x Help it says only “Windows and Linux “.
In any case, if I try to type the command in the code, I will insert the letter R and the letter E, but the letter G cannot write it.
Do you have a Macintosh ?
Can you try on it ?
Thanks in advance.
Gianni -
Sorry for the delay, for some reason I wasn’t getting notified on this thread. Yes I can type on Mac in omnis 10.
The plaform says windows because there are no DLLs on Mac, but you should be able to still type it. It would be odd if they took it out of Omnis 8 and put it back in Omnis 10. -
Hi Scott, I confirm your suspicions.
With Omnis Studio 8.1.7 the commands “Register e Call DLL”
were gone while with Omnis Studio 1.0.0.3 the commands
are back again!!!
Best rgds.
Gianni
P.S.
I always refer to the Macintosh platform only.
Log in to reply.