Ash Gajjar
23rd June 2011, 14:34
I have slightly modified a dll in Ban 5.2a, which compiled succesfully

When I run a session ehich calls this dll, I get a fatal error "Dynamic link faulure" followed by the actual function. Depending on the session I use, there could be various functions it fails on.

I have no idea what may be causing this to occur

george7a
23rd June 2011, 15:06
Hi,

1) please post a screen shot of the error
2) please post the relevant code parts

vahdani
24th June 2011, 09:50
Hi,

this is usually caused by the wrong number of expected funtions parameters and is probably means that you have used a wrong script version to implement your changes. It is normal that the number of parameters change or even new functions are added by each new release or even by some new solutions.

mahendra
2nd March 2020, 16:06
Hi,

this is usually caused by the wrong number of expected funtions parameters and is probably means that you have used a wrong script version to implement your changes. It is normal that the number of parameters change or even new functions are added by each new release or even by some new solutions.




Then what is the solution for his ..?
can you please suggest us .

avpatil
2nd March 2020, 19:59
Check the number of arguments and type in the scripts that is calling the DLL. It is also possible if variables names clashes in DLL, like external variables in DLL and script have same name but different data type

OmeLuuk
3rd March 2020, 12:53
Then what is the solution for his ..?
can you please suggest us .
What I usually do in such case is try to the test the quality of the programming of DLL's.

For instance, when you have an issue with tcibddll0001, on the ERP server (needed to run the program in the right context) set the USER=bsp (or USER=baan) variabele (to use package combination to get the right package-VRC / components).

Then use the ${BSE}/bin/bic_info portingset program:export USER=bsp
${BSE}/bin/bic_info otcibddll0001 -a -qo tcibddll0001.txtIf you are lucky you can find DLL Usage and Function Usage information which explains you what arguments are expected and what they do.