on ‎2025 May 21 2:31 PM
We have a few UFLs that we have built over the years and we are in the process of converting them to 64-bits, using this sample, but one thing is unclear: Does the actual DLL name have any significance? Ie the sampe is called "u212samp" or old UFLs were all called U25* but it appears that if I create an ufl from the sample and name it something bginning with u25, then CR 2025 will not load it, but u212 loads fine. For example the old 32-bit UFL was U25C128.dll and if I create a DLL by that name it will not load, but U212128.dll works fine.
I use the same project and just change:
The DEF file, project target name and linker output file.
Any ideas?
Request clarification before answering.
Hi Anders,
If you look in the x86 or x64 folder you'll find this dll:
uf12manager.dll and u2lcom.dll which are CR's C++ and COM UFL interface dll's.
uf12manager.dll is for C++/C# UFL's and it specifically looks for custom UFL and the dll must begin with u212 so the interface will load them.
Same for COM UFL dll's, they must begin with u25.
So not sure why your U25C128.dll doesn't load, possibly because it is a COM dll and you did not register using regsvr32.exe it? if you try registering it you'll get an error that it's not a COM dll if it fails to register it.
I believe also the older COM UFL's had to begin with CRUFL.... and for C++ they were u2l.... for those to be loaded by CR.
I any case it's CR's UFL Managers that are specifically looking for any dll beginning with u212 and for COM they should start with U25... will attempt to load it. Also note in the sample you do need to set CR Designers Framework in the ini file so CR knows what flavour of .NET your UFL is using.
Hope that's clear as mud... lol
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.