TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
subhajit bhadury
NA
33
0
LZO.dll Decompression
Aug 30 2007 5:37 AM
Hi all, Iam using lzo.dll in C#.net project. Code is
public byte[] Decompress(byte[] src) {
if(_traceSwitch.TraceVerbose) {
Trace.WriteLine(String.Format("LZOCompressor: trying to decompress {0}", src.Length));
}
int origlen = BitConverter.ToInt32(src, src.Length - 4);
byte[] dst = new byte[origlen];
int outlen = 600;
lzo1x_decompress(src, (src.Length - 4), dst, ref outlen, _workMemory);
if(_traceSwitch.TraceVerbose) {
Trace.WriteLine(String.Format("LZOCompressor: decompressed {0} to {1} bytes", src.Length, origlen));
}
return dst;
}
but when i call this function its giving an error
'System.ExecutionEngineException' ......and stick on the line "lzo1x_decompress(src, (src.Length - 4), dst, ref outlen, _workMemory);"
Plzz help me to solve this.
Reply
Answers (
0
)
Urgent Help !! In certifcate enrollment in Windows CA using C# ( XENROLL.dll)
Insert Table using Office Interop Power Point