Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare DLL's
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01464409
Message ID:
01464437
Views:
55
>>>You sure clsEncryption.clsEncrypt is the class name? It also needs to be registered, if in fact, it's a COM DLL.
>>>
>>
>>From the Object Browser....
>>
>>Method DecryptDataFromFile(sFileName As String, lLength As Long, sNABP As String) As String
>>Member of clsEncryption.clsEncrypt
>>
>>I'm at a loss.....
>
>How you call it? Please full code, not only the method line.
	lnCount = 1
	oProg.Update( TIME() + ": PDA POS Deliveries file received from Data Warehouse" )
	Waitabit(1)

*TMT 05/13/10 The file is encrypted - we must encryt it so we can process the data... data will be 
*stored in memory variables and NOT written to any disk files....
*	DECLARE STRING DecryptDataFromFile IN "clsEncryption.dll" STRING sFileName, LONG lLength, STRING sNABP

	_screen.Show
	SET STEP ON 


	loclsEncrypt = CREATEOBJECT("clsEncryption.clsEncrypt")
*Convert encrypted file to unencrypted string of memory data
	lcUnencryptedStringofData = loclsEncrypt.DecryptDataFromFile(lcFile, lnLength, lcNABP)
	
	
	RETURN 
Thanks
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform