on 03-13-2013 6:28 AM
My 32 bit UDFs (U25xxxx.dll) are working fine.
However now I want to create create 64bit UDfs for crystal Reports 2011.
looking at some of the u212xxx.dll used for UDFs I understand that I need to export following functions
UF12CallFunction
UF12CallMemCalcFunction
UF12ErrorRecovery
UF12GetFunctionDefinitions
UF5Initialize
UFEndJob
UFGetVersion
UFSetProductLocale
UFStartJob
UFTerminate.
From where can I get helper files like ufdll.h, ufmain.h etc along with instructions/sample code for creating 64 bit Native C++ dll (NOT .NET dll)
Thanks
Jay
Hi Jay,
CR is a 32 bit application so your 64 bit UFL will never work. If you plan to use it on BI 4.0 then you'll have to update it to .NET.
Search kbase, there is a sample available in both COM and C#.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See if the following will help:
Creating a Crystal Reports Custom Function Library by Ryan Farley
Also, the search string 'crystal UFL' should return more info (KBAs, etc.). Search box is in top right corner.
The SAP Crystal Reports .NET API Guide also contains good info - search for UFL in the Guide.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
All of this things don't help. I need the description or better an example of a u212xxx.dll in C++. Not for u2l, u25 etc. and not for .NET
I found a u212samp.dll on your homepage, but in the zip file the source code is missing. Is it possible to get this sourcecode.
I don't understand why it is so difficult to get an example source code from the owner of Crystal-Reports. 20 years ago it was only one call to Seagate and I got the example source code of the u2lxxx.dll
Sorry about that, this system seems to have allowed part of the file attached to the KBA, odd behaviour, it removed parts without warning...
Link below has the complete project, link is only good for 45 days from today
https://mdocs.sap.com/mcm/public/v1/open?shr=hkl3oHRiThFKJtb4DjHdyy8EPyp1loN3_beRpq9mE2c
Don
Hi Don,
Would it be possible to repost link of C++ UFL example one more time? I'm looking for documentation which could help to develop CR UFL using C++, already done one using C#, now we have review which way would be better but unfortunately there is close to none of documentation/dev.guide containing C++ references. Seems that only links out there is yours.
Regards
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.