Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declare DLL's
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01464409
Message ID:
01464437
Vues:
54
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform