Sign in to follow this  
stu_pidd_cow

CKZIP setting up problem...

Recommended Posts

I'm trying to setup the ckzip library with MSVS (C++) 2008, and everything seemed alright at first. I compiled this example program:
#include "stdafx.h"

#include <windows.h>

#include "zip/CkZip.h"
#include "zip/CkZipEntry.h"

int main()
{
    CkZip zip;
    zip.UnlockComponent("unlockCode");

    zip.NewZip("myZip.zip");
    zip.AppendFiles("./Tree/*",true,0);

    zip.put_PasswordProtect(true);
    zip.SetPassword("myPassword");

    zip.WriteZipAndClose(0);

    return 0;
}

and it compiled fine but the console box popped up saying this:
Quote:
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.
I searched on the net and went through Event Viewer and then sxstrace.exe, and I found this error:
Quote:
ERROR: Cannot resolve reference Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0". ERROR: Activation Context generation failed. End Activation Context Generation.
What do I do to fix this? Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this