3GL: same function in 2 dlls?
Author: zdenek.socha@fullsys.cz (sochaz)
Hello,
we have several functions implemented in our dll (and we use them as 3GL call-out). Now, we want to migrate our dll to a new format with Unicode functionality and parameters. We have a signature like OURDLL, which is defined as C implementation, and set DLL name (in the signature) to ourdll.dll. Now we added a new dll named ourdll2.dll, defined a new signature OURDLL, with C implementation, character set used is UTF-16, and at this signature we defined a DLL name to ourdll2.dll. It is obvious, that both dll's have the same functions, only character set differs... we want to test both and call functions from both dll's.
Now, it seems that Uniface activates functions from the last dll defined in .asn file in [USER_3GL] section. Do you know, what's going wrong here? How else we can tell Uniface, which dll we want to call? We have 2 different dll files, we have 2 different signatures, at each signature we tell, in which dll it is located, we have both dll files in .asn file, but upon callin activate.... the last dll is activated, not the correct one.
I can't see anything in ulibrary.... currently we use this in Uniface 9.3.
Regards,
Zdenek