Global Woes
Posted: Thu Feb 07, 2008 12:10 pm
Self Created DLL Code
Upon Running, I get "
Syntax Error at Line 2
Why?
Also : How do I create .ocx files with VB6 for use with PureDisHelper?
ActiveX document, exe , or dll , or control?
Which one out of the above do i select in VB6 to create ActiveX control for PureDisHelper?!
Code: Select all
;library crypt
Global md5_f$, crc$,des$,base-en$,base-de$,md5_h$ = ""
ProcedureDLL.s md5_hash_file(file$)
res$=MD5FileFingerprint(file$)
md5_f$=res$
ProcedureReturn md5_f$
EndProcedure
ProcedureDLL.s md5_hash_string(str$)
res$=MD5Fingerprint(@str$, Len(str$))
md5_h$=res$
ProcedureReturn md5_h$
EndProcedure
ProcedureDLL.s des(p$,k$)
res$=DESFingerprint(p$,k$)
des$=res$
ProcedureReturn des$
EndProcedure
ProcedureDLL.s crc32(str$)
*MemID=AllocateMemory(500)
If *MemID
PokeS(*MemID,str$)
res$=CRC32Fingerprint(*MemID,MemorySize(*MemID))
crc$=res$
FreeMemory(*MemID)
ProcedureReturn crc$
EndProcedure
Syntax Error at Line 2
Why?
Also : How do I create .ocx files with VB6 for use with PureDisHelper?
ActiveX document, exe , or dll , or control?
Which one out of the above do i select in VB6 to create ActiveX control for PureDisHelper?!