How to call the dll(Dynamic Ling Library) using TDL..

Discussion in 'Tally Integration' started by mohankumar, Oct 31, 2012.

    
  1. mohankumar

    mohankumar New Member


    Hai,
    I need a help how to call the dll(Dynamic Ling Library) using TDL. Please any one help me and send the code. I had tried CallDllFuction function but it doesn't work.

    Please any one help me.
     


  2. admin

    admin Administrator Staff Member



  3. Suresh

    Suresh New Member


    Hi, what is your exact Need ?
    I have used CallDllFunction in many projects
     


  4. JObimon Arackal JOhn

    JObimon Arackal JOhn Active Member


    Yes that is correct.there is no problem I met while i call dll function.

    1)Please check following if your dll is developed using.net language make sure that it is resgtered with regasm.exe not with regsvr32
    2) please make sure that in your dll Project following are done
    a.you have singed the project
    b. you given ticked to the option "make assembly com visible'
    3) you have to declare parameters in tdl as per the function you call from dll (both in Parameter and out parameter)
    4) if Any Value is returned by dll function , that is also to be declared in tdl
     


  5. JObimon Arackal JOhn

    JObimon Arackal JOhn Active Member


    you can use $$COMExecute function also
     


Share This Page