Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invoking FoxPro DLL function from formula fields
Message
From
07/10/2005 18:51:48
 
 
To
07/10/2005 18:26:22
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057322
Message ID:
01057370
Views:
10
Well, something is missing.

Maybe I have to 'tell' Crystal where to find my dll or which functions to include ? or I am not creating my DLL properly ?

Aditional functions only lists:
2000 (u2l2000)
dts (u2ldts)
exch (u2lexch)
finra (u2lfinra)
2000 (u252000)
dts (u25dts)
samp1 (u25samp1)

Sorry to insist.
Thanks.

My fox code is only a test function:

Project CRUFLTranstr_sql
CRUFLTranstr_sql.prg  contains:

DEFINE CLASS Transtr_sql AS CUSTOM OLEPUBLIC

FUNCTION Translate_sql 
LPARAMETERS icString

	LOCAL lcString 

	lcString = icString + TIME()
	
	RETURN lcString

ENDPROC 

ENDDEFINE 
>Additional Functions -> VisualBasic UFLs (u2lcom.dll)
>
>One other thing to note...Crystal only looks for UFLs when it launches, so you have to build and register in VFP, then launch Crystal.
>
>>Craig,
>>
>>Crystal Reports Version 9.2
>>
>>Formula Editor - Aditional functions.
>>
>>I can see some default Dlls: u2l2000.dll, u2ldts.dll, u25samp1.dll, etc.
>>
>>Should we see our DLL in that list or another category ?
>>
>>Thanks
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform