cancel
Showing results for 
Search instead for 
Did you mean: 

64 Bit C++ Native UDF for Crystal Report 2011

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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

Former Member
0 Kudos

That it don't work with 64 bit, it's ok. But it there any example for 32 bit UFL?

former_member183750
Active Contributor
0 Kudos

See if the following will  help:

http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f047d2d3-871e-2b10-92ac-9276c19e383b&override...

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Here it is again

Link

Bah, stupid security settings...

Former Member
0 Kudos

Don,

Thank you so much for your help,

Is it possible that something is not correct in the link you posted, it looks like it pointing to nowhere, I've got nothing

Regards

Former Member
0 Kudos

Thank you, working now

Answers (0)