ReadMe.txt:
==============================================================================
Mobi-Sys VisualMake the Project Maintenance and Build Utility for VB 5.0 / 6
.0
==============================================================================
Download the Visual Make Trial (VBox 4.1 protected) from
http://www.visualmak
e.com
When the trial period expires run VisualMake V2.1 TrialReset.exe
This will uninstall Visual Make and clear all the hidden settings
to cheat the VBox 4.1 protection.
Source code (M$ Visual C++ 6.0) is included. Maybe you can use it for other
VBox 4.1 protected applications.
This is a Crack&Source release
Have fun
StdAfx.cpp:
// stdafx.cpp : source file that includes just the standard includes
// VisualMakeTrialReset.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
StdAfx.h:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__1A8E0285_CE5D_4DF2_BE69_AFF6DE28C17C_
_INCLUDED_)
#define AFX_STDAFX_H__1A8E0285_CE5D_4DF2_BE69_AFF6DE28C17C__INCL
UDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows head
ers
#include <stdio.h>
// TODO: reference additional headers your program requires here
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before t
he previous line.
#endif // !defined(AFX_STDAFX_H__1A8E0285_CE5D_4DF2_BE69_AFF6DE28C
49;7C__INCLUDED_)
VisualMakeTrialReset.cpp:
// VisualMakeTrialReset.cpp : Defines the entry point for the console applicatio
n.
//
#include "stdafx.h"
#include <windows.h>
#include <TCHAR.H>
#include <conio.h>
int main(int argc, char* argv[])
{
printf("Visual Make V2.1 Trial Period reset (VBOX 4.10 Protecti
on)\n\n");
printf("Visual Make will be uninstalled and the trial period will be reset.
\n");
printf("You then can install the trial software again.\n");
printf("You must have administrative rights to run this program!\n");
printf("Press Enter to continue.\n");
//---------------------------------------------------------------
// Uninstall Visual Make
//---------------------------------------------------------------
//Get user input
if(_getch() == 0x0D)
{
printf("\nProgess:\n");
printf("Uninstalling Visual Make...\n");
HKEY regKey = NULL;
DWORD dwResult;
dwResult = RegOpenKeyEx(HKEY_LOCAL_MACHINE,
_T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Visua
l Make\\"),
0, KEY_READ, ®Key);
DWORD Type;
ULONG size = 500;
UCHAR *szUninstall = new UCHAR[size];
memset(szUninstall, 0, size);
dwResult = RegQueryValueEx(regKey, "UninstallString", NULL, &Typ
e, szUninstall, &size);
if(regKey)
RegCloseKey(regKey);
if(dwResult != ERROR_SUCCESS)
{
delete szUninstall;
printf("Cannot find uninstall string of Visual Make in registry! Unistall
manually!\n");
printf("Press Enter to continue when ready.\n");
//Get user input
if(_getch() != 0x0D)
{
//Quit if user does not press Enter
return 1;
}
}
else
{
//Launch Visual Make uninstaller
PROCESS_INFORMATION pi;
STARTUPINFO si;
memset(&si, 0, sizeof(STARTUPINFO));
si.cb = sizeof(STARTUPINFO);
BOOL bRet;
bRet = CreateProcess(NULL, (char *)szUninstall, NULL, NULL, FALSE,
CREATE_NEW_PROCESS_GROUP, NULL, NULL, &si, &pi);
delete szUninstall;
if(bRet == FALSE)
{
printf("Cannot launch uninstall program of Visual Make\nUnistall manuall
y! ");
printf("Press Enter to continue when ready.\n");
return 1;
//Get user input
if(_getch() != 0x0D)
{
//Quit if user does not press Enter
return 1;
}
}
else
{
printf("Press Enter to continue when Visual Make uninstall is completed.
..\n");
//Get user input
if(_getch() != 0x0D)
{
//Quit if user does not press Enter
return 1;
}
}
}
//---------------------------------------------------------------
// Delete Trial Registry entries
//---------------------------------------------------------------
printf("Deleting trial registry keys...\n");
//HKEY_CURRENT_USER
regKey = NULL;
dwResult = RegOpenKeyEx(HKEY_CURRENT_USER, _T("SOFTWARE\\Classes\\CLS
ID\\"),
0, KEY_ALL_ACCESS, ®Key);
if(dwResult == ERROR_SUCCESS)
{
dwResult = RegDeleteKey(regKey, "{570B7C2D-E3DD-96BC-D439-633
79027AA18}");
}
if(regKey)
dwResult =RegCloseKey(regKey);
//HKEY_LOCAL_MACHINE
regKey = NULL;
dwResult = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("SOFTWARE\\Classes\\CL
SID\\"),
0, KEY_ALL_ACCESS, ®Key);
if(dwResult == ERROR_SUCCESS)
{
dwResult = RegDeleteKey(regKey, "{570B7C2D-E3DD-96BC-D439-633
79027AA18}");
}
if(regKey)
dwResult =RegCloseKey(regKey);
//HKEY_CLASSES_ROOT
regKey = NULL;
dwResult = RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("CLSID\\"),
0, KEY_ALL_ACCESS, ®Key);
if(dwResult == ERROR_SUCCESS)
{
dwResult = RegDeleteKey(regKey, "{570B7C2D-E3DD-96BC-D439-633
79027AA18}");
}
if(regKey)
dwResult =RegCloseKey(regKey);
//HKEY_LOCAL_MACHINE
regKey = NULL;
dwResult = RegOpenKeyEx(HKEY_LOCAL_MACHINE, _T("SOFTWARE\\Classes\\.t
xt\\"),
0, KEY_ALL_ACCESS, ®Key);
if(dwResult == ERROR_SUCCESS)
{
dwResult = RegDeleteKey(regKey, "{564984D8-1ADC-5CE9-D59F
-1B1C578CCB61}");
}
if(regKey)
dwResult =RegCloseKey(regKey);
//---------------------------------------------------------------
// Delete Trial Files
//---------------------------------------------------------------
printf("Deleting trial files...\n");
//C:WINNT\PreviewSoft\Visual Make*.*
CHAR path[500];
GetWindowsDirectory(path, 254);
_tcscat(path, _T("\\PreviewSoft\\Visual Make*.*"));
BOOL bFound = TRUE;
HANDLE h = 0;
WIN32_FIND_DATA fdFileData;
h = FindFirstFile(path, &fdFileData);
while((h != INVALID_HANDLE_VALUE) && bFound)
{
CHAR file[500];
GetWindowsDirectory(file, 499);
_tcscat(file, _T("\\PreviewSoft\\"));
_tcscat(file, fdFileData.cFileName);
DeleteFile(file);
bFound = FindNextFile(h, &fdFileData);
}
//C:\os382284.bin
DeleteFile(_T("C:\\os382284.bin"));
//C:\WINNT\System32\ws431287.ocx
CHAR file[500];
GetWindowsDirectory(file, 499);
_tcscat(file, _T("\\System32\\ws431287.ocx"));
DeleteFile(file);
printf("Trial Period reset complete. You may now install the product again
.\n");
printf("Press any key to quit.\n");
//Get user input
_getch();
}
return 0;
}
VisualMakeTrialReset.dsp:
# Microsoft Developer Studio Project File - Name="VisualMakeTrialReset"
- Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x01&
#48;3
CFG=VisualMakeTrialReset - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "VisualMakeTrialReset.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "VisualMakeTrialReset.mak" CFG="VisualMakeTrialRes
et - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "VisualMakeTrialReset - Win32 Release" (based on "Win32 (
120;86) Console Application")
!MESSAGE "VisualMakeTrialReset - Win32 Debug" (based on "Win32 (
0;86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "VisualMakeTrialReset - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D
4;_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CO
NSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib ad
vapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib k
ernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.
lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:c
onsole /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi3
2.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel
32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib o
le32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:consol
e /machine:I386 /out:"Release/VisualMake V2.1 TrialReset.exe"
!ELSEIF "$(CFG)" == "VisualMakeTrialReset - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG"
; /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D
"_CONSOLE" /D "_MBCS" /FR /Yu"stdafx.h" /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib ad
vapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib k
ernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.
lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:c
onsole /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi3
2.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel
32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib o
le32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:consol
e /debug /machine:I386 /out:"Debug/VisualMake V2.1 TrialReset.exe
34; /pdbtype:sept
!ENDIF
# Begin Target
# Name "VisualMakeTrialReset - Win32 Release"
# Name "VisualMakeTrialReset - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\StdAfx.cpp
# ADD CPP /Yc"stdafx.h"
# End Source File
# Begin Source File
SOURCE=.\VisualMakeTrialReset.cpp
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=.\StdAfx.h
# End Source File
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# Begin Source File
SOURCE=.\ReadMe.txt
# End Source File
# End Target
# End Project
VisualMakeTrialReset.dsw:
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "VisualMakeTrialReset"=.\VisualMakeTrialReset.dsp - Package Own
er=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################