I have a created a class in visual C#:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICSharpCode.SharpZipLib.Zip;
namespace SharpZip
{
public class Zip
{
public void Unzip(string fileName, string path)
{
FastZip fz = new FastZip();
fz.ExtractZip(fileName, path, "");
}
}
}
now, I have a small program in visual c++ to use this class:
#include <windows.h>
#include <WinInet.h>
#include <iostream>
using namespace std;
#using "unzipfile.dll"
using namespace SharpZip;
int main()
{ char ch;
Zip file;
BOOL BSuccess;
DWORD DWFlags;
BSuccess = InternetGetConnectedState(&DWFlags, 0 );
if ( BSuccess ) cout << "Online. ";
else cout << "Offline. ";
file.Unzip("c:\\windows\\system32\\streams.zip","c\\windows\\system32");
cout << "Press Any Key To Quit: "; cin >> ch;
return 1;
}
Everythings compiles and builds and then when I run, it gives an error:
"THE EXCEPTION UNKNOWN SOFTWARE EXCEPTION (0XE0434F4d) occured in the application
location 0x7c812afb".
Can you tell me why is this happenning? Anyone?
VISUAL C++, VISUAL C#
Talk about your favorite PC games, Steam and building awesome custom rigs!
Moderator:Moderators
Post Reply
1 post •Page 1 of 1
Jump to
- Community
- ↳ News
- ↳ Forum 42
- ↳ Midwest Gaming Classic Discussion
- ↳ MGC 2010 Archive
- ↳ The Trading Post
- ↳ Trading Post Feedback
- Video Games
- ↳ Xbox 360, PlayStation 3, Wii
- ↳ Xbox 360
- ↳ PC Gaming
- ↳ Miscellaneous Console & Arcade Hacking
- ↳ Handheld Hacking
- ↳ 2000's Gaming
- ↳ 1990's Gaming
- ↳ 1980's Gaming
- General Hacking and Mods
- ↳ Hacking Videogame Consoles - The Book
- ↳ Reference (We need more submissions!)
- ↳ Screens
- ↳ Miscellaneous
- ↳ NES
- ↳ SNES
- ↳ Atari 2600/5200/7800
- ↳ Sega Genesis/Mega Drive
- ↳ Playstation 1 & 2
- ↳ PlayStation 3
- ↳ Xbox & Xbox 360
- ↳ Nintendo 64
- ↳ GameCube & Wii
- ↳ Sega Dreamcast
- ↳ Batteries
- ↳ Handhelds
- ↳ Case Construction
- ↳ Portable Screen Hacking
- ↳ Technical Questions and Answers