Click to See Complete Forum and Search --> : DLL use In Crystal Reports


mramesh73
May 10th, 2004, 04:47 AM
Hi K.Babu!

This is Ramesh and i have a qury for u,i have developed a DLL in VB and registered it for usein asp and vb and i aslo want to make use of this DLL in Crystal Reports without VB/ASp as Interface for Reports

Please tell me how to call the functions written in DLL in Crystal Reports directly

i have put my DLL in the directory where other Crystal Reports DLL are and registered but dont know how to call this dll in reports

Waiting for ur reply soon

~Phil~
May 22nd, 2004, 06:32 AM
Hi,
You need to have your DLL name start with CRUFLxxxx where xxxx is the rest of the DLL name i.e. CRUFLmyStuff.DLL, then copy into Crystal dir and then register from DOS prompt with: -
regsvr32 c:\winnt\crystal\CRUFLmyStuff.DLL)
after this restart CR and you should find your DLL function's from
formula workshop / functions / additional functions / Visual Basic UFL's and there should be your DLL functions.

If this don't work check out Crystals white paper SCR_User_Defined_Functions.pdf

good luck!

dilemma
June 4th, 2004, 11:38 PM
Hello mramesh73,

Just curious to know whether phil's resolution helped. I have plans of creating dll for the same purpose down the road.

Thanks