Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP7, CR9, UFLs, OLEDB and migranes
Message
From
29/01/2003 00:07:50
 
 
To
28/01/2003 20:02:42
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00731935
Message ID:
00746534
Views:
30
There are two rules for creating a UFL in VFP:

1. The name of the DLL must begin with CRUFL. This means that your project should also start with CRUFL. By default, the name of the project will be used for the DLL. I can't tell from your postings if you've done that.

2. You must declare the parameter and return value data types for the public methods. You've done that in your code.

The last thing to remember is that Crystal will read the registry when it loads, looking for CRUFL. If you build the DLL while Crystal is running, you'll have to Exit, then reload it.


>Craig,
>
>No I have not gotten ANY UFLs working. See my message #742535 for an example of a really trivial test UFL I cannot get to work. It was on a clean install of Win XP Pro (also Win 2K Pro), with clean installs of VFP7 and CR 9. Also CR 8.5 with latest (Jan 1) updates.
>
>All Crystal can tell me is that I must be doing something wrong, but nobody there understands or can test VFP.
>
>It is possible I am missing something in the UFL rulebook, but I can't figure out what. Since it seems to work for you, I would appreciate it if you could look at that simple test and see if I am missing something that is obvious to you.
>
>...Jim
>
>>Did you ever get UFLs to work in CR9? I just wrote one using VFP 7 and it works fine.
>>
>>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform