├── krnln ├── LTrimZeroChr.h ├── lib.h ├── mem.h ├── PY.OBJ ├── lib2.h ├── mem.cpp ├── midi.h ├── StdAfx.h ├── md5t.cpp ├── midi.cpp ├── Diskid32.obj ├── FileManager.cpp ├── GetDatePart.cpp ├── GetSpecTime.cpp ├── GetTimePart.cpp ├── HelpFunc12.cpp ├── Myfunctions.cpp ├── Myfunctions.h ├── SDataToStr.cpp ├── eHelpFunc.cpp ├── krnln_ChDir.cpp ├── krnln_FSeek.cpp ├── krnln_IDiv.cpp ├── krnln_InBin.cpp ├── krnln_InStr.cpp ├── krnln_LCase.cpp ├── krnln_LTrim.cpp ├── krnln_MkDir.cpp ├── krnln_RTrim.cpp ├── krnln_RmDir.cpp ├── krnln_RpBin.cpp ├── krnln_ToBin.cpp ├── krnln_ToInt.cpp ├── krnln_UCase.cpp ├── krnln_UNum.cpp ├── krnln_abs.cpp ├── krnln_asc.cpp ├── krnln_atn.cpp ├── krnln_band.cpp ├── krnln_beep.cpp ├── krnln_bin.cpp ├── krnln_bnot.cpp ├── krnln_bor.cpp ├── krnln_bxor.cpp ├── krnln_chr.cpp ├── krnln_close.cpp ├── krnln_cos.cpp ├── krnln_day.cpp ├── krnln_exp.cpp ├── krnln_feof.cpp ├── krnln_fgets.cpp ├── krnln_fix.cpp ├── krnln_fputs.cpp ├── krnln_hex.cpp ├── krnln_hour.cpp ├── krnln_int.cpp ├── krnln_kill.cpp ├── krnln_left.cpp ├── krnln_len.cpp ├── krnln_like.cpp ├── krnln_loc.cpp ├── krnln_lock.cpp ├── krnln_lof.cpp ├── krnln_log.cpp ├── krnln_mid.cpp ├── krnln_mod.cpp ├── krnln_month.cpp ├── krnln_name.cpp ├── krnln_now.cpp ├── krnln_oct.cpp ├── krnln_open.cpp ├── krnln_p2int.cpp ├── krnln_pbin.cpp ├── krnln_ping.cpp ├── krnln_pow.cpp ├── krnln_pstr.cpp ├── krnln_read.cpp ├── krnln_reset.cpp ├── krnln_rgb.cpp ├── krnln_right.cpp ├── krnln_rnd.cpp ├── krnln_round.cpp ├── krnln_run.cpp ├── krnln_sgn.cpp ├── krnln_shl.cpp ├── krnln_shr.cpp ├── krnln_sin.cpp ├── krnln_sleep.cpp ├── krnln_space.cpp ├── krnln_split.cpp ├── krnln_sqr.cpp ├── krnln_str.cpp ├── krnln_tan.cpp ├── krnln_trim.cpp ├── krnln_val.cpp ├── krnln_write.cpp ├── krnln_year.cpp ├── replaceText.cpp ├── CloneBinData.cpp ├── CloneTextData.cpp ├── DllEntryFunc.cpp ├── GetRegRootVal.cpp ├── LTrimZeroChr.cpp ├── NumToChinese.cpp ├── krnln_BJCase.cpp ├── krnln_BinLeft.cpp ├── krnln_BinLen.cpp ├── krnln_BinMid.cpp ├── krnln_ChDrive.cpp ├── krnln_CurDir.cpp ├── krnln_FileLen.cpp ├── krnln_GetAttr.cpp ├── krnln_GetEnv.cpp ├── krnln_InsBin.cpp ├── krnln_InsLine.cpp ├── krnln_InsText.cpp ├── krnln_MsgBox.cpp ├── krnln_PlayMID.cpp ├── krnln_PutEnv.cpp ├── krnln_QJCase.cpp ├── krnln_ReadBin.cpp ├── krnln_SetAttr.cpp ├── krnln_SortAry.cpp ├── krnln_StrComp.cpp ├── krnln_TimeChg.cpp ├── krnln_ToByte.cpp ├── krnln_ToFloat.cpp ├── krnln_ToLong.cpp ├── krnln_ToShort.cpp ├── krnln_ToTime.cpp ├── krnln_TrimAll.cpp ├── krnln_Unlock.cpp ├── krnln_Variant.cpp ├── krnln_WeekDay.cpp ├── krnln_ZeroAry.cpp ├── krnln_create.cpp ├── krnln_minute.cpp ├── krnln_p2float.cpp ├── krnln_second.cpp ├── krnln_string.cpp ├── DateTimeFormat.cpp ├── FreeAryElement.cpp ├── GetAryElementInf.cpp ├── GetDataTypeType.cpp ├── krnln_BinRight.cpp ├── krnln_CryptOpen.cpp ├── krnln_Dispatch.cpp ├── krnln_DoEvents.cpp ├── krnln_FileCopy.cpp ├── krnln_FileMove.cpp ├── krnln_GetAllPY.cpp ├── krnln_GetCmdLine.cpp ├── krnln_GetKeyText.cpp ├── krnln_GetRunPath.cpp ├── krnln_GetSysVer.cpp ├── krnln_GetWinPic.cpp ├── krnln_InBinRev.cpp ├── krnln_InStrRev.cpp ├── krnln_InputBox.cpp ├── krnln_IsCalcOK.cpp ├── krnln_IsDebugVer.cpp ├── krnln_MakeLong.cpp ├── krnln_MakeWord.cpp ├── krnln_NumToRMB.cpp ├── krnln_NumToText.cpp ├── krnln_PlayMusic.cpp ├── krnln_PlayStop.cpp ├── krnln_ReadFile.cpp ├── krnln_ReadLine.cpp ├── krnln_ReadText.cpp ├── krnln_RemoveData.cpp ├── krnln_RpSubBin.cpp ├── krnln_RpSubText.cpp ├── krnln_SeekToEnd.cpp ├── krnln_SetKeyText.cpp ├── krnln_SetSysTime.cpp ├── krnln_SpaceBin.cpp ├── krnln_SplitBin.cpp ├── krnln_StrToUTF8.cpp ├── krnln_TimeDiff.cpp ├── krnln_TimePart.cpp ├── krnln_TimeToText.cpp ├── krnln_UTF8ToStr.cpp ├── krnln_WriteBin.cpp ├── krnln_WriteFile.cpp ├── krnln_WriteLine.cpp ├── krnln_WriteMem.cpp ├── krnln_WriteText.cpp ├── krnln_p2double.cpp ├── krnln_randomize.cpp ├── GetDaysOfSpecMonth.cpp ├── krnln_FileDateTime.cpp ├── krnln_GetBackColor.cpp ├── krnln_GetDatePart.cpp ├── krnln_GetDiskLabel.cpp ├── krnln_GetHDiskCode.cpp ├── krnln_GetHostName.cpp ├── krnln_GetLastError.cpp ├── krnln_GetSpecTime.cpp ├── krnln_GetTickCount.cpp ├── krnln_GetTimePart.cpp ├── krnln_HostNameToIP.cpp ├── krnln_IPToHostName.cpp ├── krnln_IsFileExist.cpp ├── krnln_OpenMemFile.cpp ├── krnln_ReplaceText.cpp ├── krnln_SaveRegItem.cpp ├── krnln_SeekToBegin.cpp ├── krnln_SetDiskLabel.cpp ├── BlackMoonCallUserDll.cpp ├── BlackMoonLibNotifySys.cpp ├── krnln_ClearClipBoard.cpp ├── krnln_DeleteRegItem.cpp ├── krnln_GetBinElement.cpp ├── krnln_GetBinRegItem.cpp ├── krnln_GetColorCount.cpp ├── krnln_GetDataTypeSize.cpp ├── krnln_GetIntInsideBin.cpp ├── krnln_GetNumRegItem.cpp ├── krnln_GetRunFileName.cpp ├── krnln_GetScreenHeight.cpp ├── krnln_GetScreenWidth.cpp ├── krnln_GetSectionNames.cpp ├── krnln_GetTempFileName.cpp ├── krnln_GetTextRegItem.cpp ├── krnln_IsRegItemExist.cpp ├── krnln_RestroeCursor.cpp ├── krnln_ReverseIntBytes.cpp ├── krnln_RunConsoleApp.cpp ├── krnln_SetIntInsideBin.cpp ├── krnln_SetWaitCursor.cpp ├── GetSysDataTypeDataSize.cpp ├── krnln_GetClipBoardText.cpp ├── krnln_GetCursorHorzPos.cpp ├── krnln_GetCursorVertPos.cpp ├── krnln_GetDiskFreeSpace.cpp ├── krnln_GetDiskTotalSpace.cpp ├── krnln_IsHaveTextInClip.cpp ├── krnln_SetClipBoardText.cpp ├── krnln_GetDaysOfSpecMonth.cpp ├── krnln_GetRuntimeDataType.cpp ├── krnln_OpenManyFileDialog.cpp ├── md5t.h ├── StdAfx.cpp ├── BlackMoonResDll.cpp ├── IsInFileMangerList.cpp ├── GetWeekDay.cpp ├── EyInit.cpp ├── EyComInit.cpp ├── BlackMoonDll.cpp ├── BlackMoonDll2.cpp ├── BlackMoonCallPropertyVaule.cpp ├── BlackMoonExe.cpp ├── MyMemFile.h └── MyMemFile.cpp ├── MFCObj ├── MFCBlackMoon.aps ├── MFCBlackMoon.rc ├── MFCBlackMoon.def ├── StdAfx.cpp ├── Resource.h ├── res │ └── MFCBlackMoon.rc2 ├── EyMFCComInit.cpp ├── EyMFCComInit.h ├── MFCBlackMoonCon.cpp ├── MFCBlackMoon.h ├── StdAfx.h ├── BlackMoonMFCdll.cpp └── MFCBlackMoon.cpp ├── Project ├── MFCBlackMoon_VS2019.vcxproj.user ├── krnln_VS2019_Obj.vcxproj.user ├── krnln_VS2019.vcxproj.user ├── MFCBlackMoon_VC6.clw ├── krnln_VS2019_Obj.vcxproj.filters ├── MFCBlackMoon_VS2019.vcxproj.filters ├── krnln_VC6_Obj.dsp ├── MFCBlackMoon_VC6.dsp ├── krnln_VS2019_Obj.vcxproj ├── MFCBlackMoon_VS2019.vcxproj ├── krnln_VS2019.vcxproj └── krnln_VC6.dsp ├── .gitignore ├── .github └── workflows │ ├── blackmoon_krnln.yml │ ├── blackmoon_mfc.yml │ └── blackmoon_krnlnobj.yml ├── krnln_VC6.dsw ├── LICENSE ├── Readme.txt ├── README.md └── krnln_VS2019.sln /krnln/LTrimZeroChr.h: -------------------------------------------------------------------------------- 1 | void LTrimZeroChr(char* str); -------------------------------------------------------------------------------- /krnln/lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/lib.h -------------------------------------------------------------------------------- /krnln/mem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/mem.h -------------------------------------------------------------------------------- /krnln/PY.OBJ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/PY.OBJ -------------------------------------------------------------------------------- /krnln/lib2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/lib2.h -------------------------------------------------------------------------------- /krnln/mem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/mem.cpp -------------------------------------------------------------------------------- /krnln/midi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/midi.h -------------------------------------------------------------------------------- /krnln/StdAfx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/StdAfx.h -------------------------------------------------------------------------------- /krnln/md5t.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/md5t.cpp -------------------------------------------------------------------------------- /krnln/midi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/midi.cpp -------------------------------------------------------------------------------- /krnln/Diskid32.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/Diskid32.obj -------------------------------------------------------------------------------- /krnln/FileManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/FileManager.cpp -------------------------------------------------------------------------------- /krnln/GetDatePart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetDatePart.cpp -------------------------------------------------------------------------------- /krnln/GetSpecTime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetSpecTime.cpp -------------------------------------------------------------------------------- /krnln/GetTimePart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetTimePart.cpp -------------------------------------------------------------------------------- /krnln/HelpFunc12.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/HelpFunc12.cpp -------------------------------------------------------------------------------- /krnln/Myfunctions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/Myfunctions.cpp -------------------------------------------------------------------------------- /krnln/Myfunctions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/Myfunctions.h -------------------------------------------------------------------------------- /krnln/SDataToStr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/SDataToStr.cpp -------------------------------------------------------------------------------- /krnln/eHelpFunc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/eHelpFunc.cpp -------------------------------------------------------------------------------- /krnln/krnln_ChDir.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ChDir.cpp -------------------------------------------------------------------------------- /krnln/krnln_FSeek.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_FSeek.cpp -------------------------------------------------------------------------------- /krnln/krnln_IDiv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_IDiv.cpp -------------------------------------------------------------------------------- /krnln/krnln_InBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_InStr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InStr.cpp -------------------------------------------------------------------------------- /krnln/krnln_LCase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_LCase.cpp -------------------------------------------------------------------------------- /krnln/krnln_LTrim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_LTrim.cpp -------------------------------------------------------------------------------- /krnln/krnln_MkDir.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_MkDir.cpp -------------------------------------------------------------------------------- /krnln/krnln_RTrim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RTrim.cpp -------------------------------------------------------------------------------- /krnln/krnln_RmDir.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RmDir.cpp -------------------------------------------------------------------------------- /krnln/krnln_RpBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RpBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_ToBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ToBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_ToInt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ToInt.cpp -------------------------------------------------------------------------------- /krnln/krnln_UCase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_UCase.cpp -------------------------------------------------------------------------------- /krnln/krnln_UNum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_UNum.cpp -------------------------------------------------------------------------------- /krnln/krnln_abs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_abs.cpp -------------------------------------------------------------------------------- /krnln/krnln_asc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_asc.cpp -------------------------------------------------------------------------------- /krnln/krnln_atn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_atn.cpp -------------------------------------------------------------------------------- /krnln/krnln_band.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_band.cpp -------------------------------------------------------------------------------- /krnln/krnln_beep.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_beep.cpp -------------------------------------------------------------------------------- /krnln/krnln_bin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_bin.cpp -------------------------------------------------------------------------------- /krnln/krnln_bnot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_bnot.cpp -------------------------------------------------------------------------------- /krnln/krnln_bor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_bor.cpp -------------------------------------------------------------------------------- /krnln/krnln_bxor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_bxor.cpp -------------------------------------------------------------------------------- /krnln/krnln_chr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_chr.cpp -------------------------------------------------------------------------------- /krnln/krnln_close.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_close.cpp -------------------------------------------------------------------------------- /krnln/krnln_cos.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_cos.cpp -------------------------------------------------------------------------------- /krnln/krnln_day.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_day.cpp -------------------------------------------------------------------------------- /krnln/krnln_exp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_exp.cpp -------------------------------------------------------------------------------- /krnln/krnln_feof.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_feof.cpp -------------------------------------------------------------------------------- /krnln/krnln_fgets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_fgets.cpp -------------------------------------------------------------------------------- /krnln/krnln_fix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_fix.cpp -------------------------------------------------------------------------------- /krnln/krnln_fputs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_fputs.cpp -------------------------------------------------------------------------------- /krnln/krnln_hex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_hex.cpp -------------------------------------------------------------------------------- /krnln/krnln_hour.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_hour.cpp -------------------------------------------------------------------------------- /krnln/krnln_int.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_int.cpp -------------------------------------------------------------------------------- /krnln/krnln_kill.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_kill.cpp -------------------------------------------------------------------------------- /krnln/krnln_left.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_left.cpp -------------------------------------------------------------------------------- /krnln/krnln_len.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_len.cpp -------------------------------------------------------------------------------- /krnln/krnln_like.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_like.cpp -------------------------------------------------------------------------------- /krnln/krnln_loc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_loc.cpp -------------------------------------------------------------------------------- /krnln/krnln_lock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_lock.cpp -------------------------------------------------------------------------------- /krnln/krnln_lof.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_lof.cpp -------------------------------------------------------------------------------- /krnln/krnln_log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_log.cpp -------------------------------------------------------------------------------- /krnln/krnln_mid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_mid.cpp -------------------------------------------------------------------------------- /krnln/krnln_mod.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_mod.cpp -------------------------------------------------------------------------------- /krnln/krnln_month.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_month.cpp -------------------------------------------------------------------------------- /krnln/krnln_name.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_name.cpp -------------------------------------------------------------------------------- /krnln/krnln_now.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_now.cpp -------------------------------------------------------------------------------- /krnln/krnln_oct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_oct.cpp -------------------------------------------------------------------------------- /krnln/krnln_open.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_open.cpp -------------------------------------------------------------------------------- /krnln/krnln_p2int.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_p2int.cpp -------------------------------------------------------------------------------- /krnln/krnln_pbin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_pbin.cpp -------------------------------------------------------------------------------- /krnln/krnln_ping.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ping.cpp -------------------------------------------------------------------------------- /krnln/krnln_pow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_pow.cpp -------------------------------------------------------------------------------- /krnln/krnln_pstr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_pstr.cpp -------------------------------------------------------------------------------- /krnln/krnln_read.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_read.cpp -------------------------------------------------------------------------------- /krnln/krnln_reset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_reset.cpp -------------------------------------------------------------------------------- /krnln/krnln_rgb.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_rgb.cpp -------------------------------------------------------------------------------- /krnln/krnln_right.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_right.cpp -------------------------------------------------------------------------------- /krnln/krnln_rnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_rnd.cpp -------------------------------------------------------------------------------- /krnln/krnln_round.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_round.cpp -------------------------------------------------------------------------------- /krnln/krnln_run.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_run.cpp -------------------------------------------------------------------------------- /krnln/krnln_sgn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_sgn.cpp -------------------------------------------------------------------------------- /krnln/krnln_shl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_shl.cpp -------------------------------------------------------------------------------- /krnln/krnln_shr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_shr.cpp -------------------------------------------------------------------------------- /krnln/krnln_sin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_sin.cpp -------------------------------------------------------------------------------- /krnln/krnln_sleep.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_sleep.cpp -------------------------------------------------------------------------------- /krnln/krnln_space.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_space.cpp -------------------------------------------------------------------------------- /krnln/krnln_split.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_split.cpp -------------------------------------------------------------------------------- /krnln/krnln_sqr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_sqr.cpp -------------------------------------------------------------------------------- /krnln/krnln_str.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_str.cpp -------------------------------------------------------------------------------- /krnln/krnln_tan.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_tan.cpp -------------------------------------------------------------------------------- /krnln/krnln_trim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_trim.cpp -------------------------------------------------------------------------------- /krnln/krnln_val.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_val.cpp -------------------------------------------------------------------------------- /krnln/krnln_write.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_write.cpp -------------------------------------------------------------------------------- /krnln/krnln_year.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_year.cpp -------------------------------------------------------------------------------- /krnln/replaceText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/replaceText.cpp -------------------------------------------------------------------------------- /MFCObj/MFCBlackMoon.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/MFCObj/MFCBlackMoon.aps -------------------------------------------------------------------------------- /MFCObj/MFCBlackMoon.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/MFCObj/MFCBlackMoon.rc -------------------------------------------------------------------------------- /krnln/CloneBinData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/CloneBinData.cpp -------------------------------------------------------------------------------- /krnln/CloneTextData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/CloneTextData.cpp -------------------------------------------------------------------------------- /krnln/DllEntryFunc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/DllEntryFunc.cpp -------------------------------------------------------------------------------- /krnln/GetRegRootVal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetRegRootVal.cpp -------------------------------------------------------------------------------- /krnln/LTrimZeroChr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/LTrimZeroChr.cpp -------------------------------------------------------------------------------- /krnln/NumToChinese.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/NumToChinese.cpp -------------------------------------------------------------------------------- /krnln/krnln_BJCase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_BJCase.cpp -------------------------------------------------------------------------------- /krnln/krnln_BinLeft.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_BinLeft.cpp -------------------------------------------------------------------------------- /krnln/krnln_BinLen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_BinLen.cpp -------------------------------------------------------------------------------- /krnln/krnln_BinMid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_BinMid.cpp -------------------------------------------------------------------------------- /krnln/krnln_ChDrive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ChDrive.cpp -------------------------------------------------------------------------------- /krnln/krnln_CurDir.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_CurDir.cpp -------------------------------------------------------------------------------- /krnln/krnln_FileLen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_FileLen.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetAttr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetAttr.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetEnv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetEnv.cpp -------------------------------------------------------------------------------- /krnln/krnln_InsBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InsBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_InsLine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InsLine.cpp -------------------------------------------------------------------------------- /krnln/krnln_InsText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InsText.cpp -------------------------------------------------------------------------------- /krnln/krnln_MsgBox.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_MsgBox.cpp -------------------------------------------------------------------------------- /krnln/krnln_PlayMID.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_PlayMID.cpp -------------------------------------------------------------------------------- /krnln/krnln_PutEnv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_PutEnv.cpp -------------------------------------------------------------------------------- /krnln/krnln_QJCase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_QJCase.cpp -------------------------------------------------------------------------------- /krnln/krnln_ReadBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ReadBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_SetAttr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SetAttr.cpp -------------------------------------------------------------------------------- /krnln/krnln_SortAry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SortAry.cpp -------------------------------------------------------------------------------- /krnln/krnln_StrComp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_StrComp.cpp -------------------------------------------------------------------------------- /krnln/krnln_TimeChg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_TimeChg.cpp -------------------------------------------------------------------------------- /krnln/krnln_ToByte.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ToByte.cpp -------------------------------------------------------------------------------- /krnln/krnln_ToFloat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ToFloat.cpp -------------------------------------------------------------------------------- /krnln/krnln_ToLong.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ToLong.cpp -------------------------------------------------------------------------------- /krnln/krnln_ToShort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ToShort.cpp -------------------------------------------------------------------------------- /krnln/krnln_ToTime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ToTime.cpp -------------------------------------------------------------------------------- /krnln/krnln_TrimAll.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_TrimAll.cpp -------------------------------------------------------------------------------- /krnln/krnln_Unlock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_Unlock.cpp -------------------------------------------------------------------------------- /krnln/krnln_Variant.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_Variant.cpp -------------------------------------------------------------------------------- /krnln/krnln_WeekDay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_WeekDay.cpp -------------------------------------------------------------------------------- /krnln/krnln_ZeroAry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ZeroAry.cpp -------------------------------------------------------------------------------- /krnln/krnln_create.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_create.cpp -------------------------------------------------------------------------------- /krnln/krnln_minute.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_minute.cpp -------------------------------------------------------------------------------- /krnln/krnln_p2float.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_p2float.cpp -------------------------------------------------------------------------------- /krnln/krnln_second.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_second.cpp -------------------------------------------------------------------------------- /krnln/krnln_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_string.cpp -------------------------------------------------------------------------------- /krnln/DateTimeFormat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/DateTimeFormat.cpp -------------------------------------------------------------------------------- /krnln/FreeAryElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/FreeAryElement.cpp -------------------------------------------------------------------------------- /krnln/GetAryElementInf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetAryElementInf.cpp -------------------------------------------------------------------------------- /krnln/GetDataTypeType.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetDataTypeType.cpp -------------------------------------------------------------------------------- /krnln/krnln_BinRight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_BinRight.cpp -------------------------------------------------------------------------------- /krnln/krnln_CryptOpen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_CryptOpen.cpp -------------------------------------------------------------------------------- /krnln/krnln_Dispatch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_Dispatch.cpp -------------------------------------------------------------------------------- /krnln/krnln_DoEvents.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_DoEvents.cpp -------------------------------------------------------------------------------- /krnln/krnln_FileCopy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_FileCopy.cpp -------------------------------------------------------------------------------- /krnln/krnln_FileMove.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_FileMove.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetAllPY.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetAllPY.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetCmdLine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetCmdLine.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetKeyText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetKeyText.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetRunPath.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetRunPath.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetSysVer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetSysVer.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetWinPic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetWinPic.cpp -------------------------------------------------------------------------------- /krnln/krnln_InBinRev.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InBinRev.cpp -------------------------------------------------------------------------------- /krnln/krnln_InStrRev.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InStrRev.cpp -------------------------------------------------------------------------------- /krnln/krnln_InputBox.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_InputBox.cpp -------------------------------------------------------------------------------- /krnln/krnln_IsCalcOK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_IsCalcOK.cpp -------------------------------------------------------------------------------- /krnln/krnln_IsDebugVer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_IsDebugVer.cpp -------------------------------------------------------------------------------- /krnln/krnln_MakeLong.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_MakeLong.cpp -------------------------------------------------------------------------------- /krnln/krnln_MakeWord.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_MakeWord.cpp -------------------------------------------------------------------------------- /krnln/krnln_NumToRMB.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_NumToRMB.cpp -------------------------------------------------------------------------------- /krnln/krnln_NumToText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_NumToText.cpp -------------------------------------------------------------------------------- /krnln/krnln_PlayMusic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_PlayMusic.cpp -------------------------------------------------------------------------------- /krnln/krnln_PlayStop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_PlayStop.cpp -------------------------------------------------------------------------------- /krnln/krnln_ReadFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ReadFile.cpp -------------------------------------------------------------------------------- /krnln/krnln_ReadLine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ReadLine.cpp -------------------------------------------------------------------------------- /krnln/krnln_ReadText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ReadText.cpp -------------------------------------------------------------------------------- /krnln/krnln_RemoveData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RemoveData.cpp -------------------------------------------------------------------------------- /krnln/krnln_RpSubBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RpSubBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_RpSubText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RpSubText.cpp -------------------------------------------------------------------------------- /krnln/krnln_SeekToEnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SeekToEnd.cpp -------------------------------------------------------------------------------- /krnln/krnln_SetKeyText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SetKeyText.cpp -------------------------------------------------------------------------------- /krnln/krnln_SetSysTime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SetSysTime.cpp -------------------------------------------------------------------------------- /krnln/krnln_SpaceBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SpaceBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_SplitBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SplitBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_StrToUTF8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_StrToUTF8.cpp -------------------------------------------------------------------------------- /krnln/krnln_TimeDiff.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_TimeDiff.cpp -------------------------------------------------------------------------------- /krnln/krnln_TimePart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_TimePart.cpp -------------------------------------------------------------------------------- /krnln/krnln_TimeToText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_TimeToText.cpp -------------------------------------------------------------------------------- /krnln/krnln_UTF8ToStr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_UTF8ToStr.cpp -------------------------------------------------------------------------------- /krnln/krnln_WriteBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_WriteBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_WriteFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_WriteFile.cpp -------------------------------------------------------------------------------- /krnln/krnln_WriteLine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_WriteLine.cpp -------------------------------------------------------------------------------- /krnln/krnln_WriteMem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_WriteMem.cpp -------------------------------------------------------------------------------- /krnln/krnln_WriteText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_WriteText.cpp -------------------------------------------------------------------------------- /krnln/krnln_p2double.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_p2double.cpp -------------------------------------------------------------------------------- /krnln/krnln_randomize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_randomize.cpp -------------------------------------------------------------------------------- /krnln/GetDaysOfSpecMonth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetDaysOfSpecMonth.cpp -------------------------------------------------------------------------------- /krnln/krnln_FileDateTime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_FileDateTime.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetBackColor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetBackColor.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetDatePart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetDatePart.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetDiskLabel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetDiskLabel.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetHDiskCode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetHDiskCode.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetHostName.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetHostName.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetLastError.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetLastError.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetSpecTime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetSpecTime.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetTickCount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetTickCount.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetTimePart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetTimePart.cpp -------------------------------------------------------------------------------- /krnln/krnln_HostNameToIP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_HostNameToIP.cpp -------------------------------------------------------------------------------- /krnln/krnln_IPToHostName.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_IPToHostName.cpp -------------------------------------------------------------------------------- /krnln/krnln_IsFileExist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_IsFileExist.cpp -------------------------------------------------------------------------------- /krnln/krnln_OpenMemFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_OpenMemFile.cpp -------------------------------------------------------------------------------- /krnln/krnln_ReplaceText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ReplaceText.cpp -------------------------------------------------------------------------------- /krnln/krnln_SaveRegItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SaveRegItem.cpp -------------------------------------------------------------------------------- /krnln/krnln_SeekToBegin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SeekToBegin.cpp -------------------------------------------------------------------------------- /krnln/krnln_SetDiskLabel.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SetDiskLabel.cpp -------------------------------------------------------------------------------- /krnln/BlackMoonCallUserDll.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/BlackMoonCallUserDll.cpp -------------------------------------------------------------------------------- /krnln/BlackMoonLibNotifySys.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/BlackMoonLibNotifySys.cpp -------------------------------------------------------------------------------- /krnln/krnln_ClearClipBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ClearClipBoard.cpp -------------------------------------------------------------------------------- /krnln/krnln_DeleteRegItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_DeleteRegItem.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetBinElement.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetBinElement.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetBinRegItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetBinRegItem.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetColorCount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetColorCount.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetDataTypeSize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetDataTypeSize.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetIntInsideBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetIntInsideBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetNumRegItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetNumRegItem.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetRunFileName.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetRunFileName.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetScreenHeight.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetScreenHeight.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetScreenWidth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetScreenWidth.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetSectionNames.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetSectionNames.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetTempFileName.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetTempFileName.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetTextRegItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetTextRegItem.cpp -------------------------------------------------------------------------------- /krnln/krnln_IsRegItemExist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_IsRegItemExist.cpp -------------------------------------------------------------------------------- /krnln/krnln_RestroeCursor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RestroeCursor.cpp -------------------------------------------------------------------------------- /krnln/krnln_ReverseIntBytes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_ReverseIntBytes.cpp -------------------------------------------------------------------------------- /krnln/krnln_RunConsoleApp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_RunConsoleApp.cpp -------------------------------------------------------------------------------- /krnln/krnln_SetIntInsideBin.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SetIntInsideBin.cpp -------------------------------------------------------------------------------- /krnln/krnln_SetWaitCursor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SetWaitCursor.cpp -------------------------------------------------------------------------------- /krnln/GetSysDataTypeDataSize.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/GetSysDataTypeDataSize.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetClipBoardText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetClipBoardText.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetCursorHorzPos.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetCursorHorzPos.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetCursorVertPos.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetCursorVertPos.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetDiskFreeSpace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetDiskFreeSpace.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetDiskTotalSpace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetDiskTotalSpace.cpp -------------------------------------------------------------------------------- /krnln/krnln_IsHaveTextInClip.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_IsHaveTextInClip.cpp -------------------------------------------------------------------------------- /krnln/krnln_SetClipBoardText.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_SetClipBoardText.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetDaysOfSpecMonth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetDaysOfSpecMonth.cpp -------------------------------------------------------------------------------- /krnln/krnln_GetRuntimeDataType.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_GetRuntimeDataType.cpp -------------------------------------------------------------------------------- /krnln/krnln_OpenManyFileDialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongjianhua163/BlackMoonKernelStaticLib/HEAD/krnln/krnln_OpenManyFileDialog.cpp -------------------------------------------------------------------------------- /krnln/md5t.h: -------------------------------------------------------------------------------- 1 | BOOL GetMD5(char* pMd5String,char* strPath); 2 | 3 | BOOL GetBufMD5(unsigned char* pMd5String,unsigned char* rbuff,DWORD BufSize); -------------------------------------------------------------------------------- /Project/MFCBlackMoon_VS2019.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Project/krnln_VS2019_Obj.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /krnln/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // krnln.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /MFCObj/MFCBlackMoon.def: -------------------------------------------------------------------------------- 1 | ; MFCBlackMoon.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "MFCBlackMoon" 4 | DESCRIPTION 'MFCBlackMoon Windows Dynamic Link Library' 5 | 6 | EXPORTS 7 | ; Explicit exports can go here 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.ncb 2 | *.opt 3 | *.plg 4 | *.suo 5 | .vs/* 6 | Release/* 7 | Debug/* 8 | Project/krnln_VS2005.vcproj.* 9 | Project/krnln_VS2005_Obj.vcproj.* 10 | Project/*.plg 11 | Project/Release/* 12 | Project/ReleaseDll/* 13 | Project/Debug/* 14 | -------------------------------------------------------------------------------- /MFCObj/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // MFCBlackMoon.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /krnln/BlackMoonResDll.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | 4 | extern "C" { 5 | 6 | 7 | int __stdcall DllMain( HANDLE hModule, 8 | DWORD ul_reason_for_call, 9 | LPVOID lpReserved 10 | ) 11 | { 12 | 13 | return 1; 14 | 15 | } 16 | 17 | } -------------------------------------------------------------------------------- /krnln/IsInFileMangerList.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | extern PFILEELEMENT pFileList; 4 | 5 | BOOL IsInFileMangerList(PFILEELEMENT pFile) 6 | { 7 | PFILEELEMENT pObjFile = pFileList; 8 | 9 | while(pObjFile) 10 | { 11 | if(pObjFile == pFile) 12 | return TRUE; 13 | if (pObjFile == (PFILEELEMENT)pObjFile->pLast) 14 | break; 15 | pObjFile = (PFILEELEMENT)pObjFile->pLast; 16 | } 17 | return FALSE; 18 | } -------------------------------------------------------------------------------- /krnln/GetWeekDay.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include 3 | #include 4 | #pragma comment(lib, "OleAut32.lib") 5 | 6 | INT GetWeekDay(DATE date) 7 | { 8 | SYSTEMTIME st = {0}; 9 | VariantTimeToSystemTime(date, &st); 10 | return st.wDayOfWeek + 1; 11 | /* 12 | DATE dt,dd; 13 | dt = modf(date,&dd); 14 | INT nRet = (INT)fmod(dd,7); 15 | if(nRet <= 0) 16 | nRet += 7; 17 | return nRet; 18 | */ 19 | } -------------------------------------------------------------------------------- /MFCObj/Resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by MFCBLACKMOON.RC 4 | // 5 | 6 | // Next default values for new objects 7 | // 8 | #ifdef APSTUDIO_INVOKED 9 | #ifndef APSTUDIO_READONLY_SYMBOLS 10 | 11 | #define _APS_NEXT_RESOURCE_VALUE 1000 12 | #define _APS_NEXT_CONTROL_VALUE 1000 13 | #define _APS_NEXT_SYMED_VALUE 1000 14 | #define _APS_NEXT_COMMAND_VALUE 32771 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /MFCObj/res/MFCBlackMoon.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // MFCBLACKMOON.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /Project/krnln_VS2019.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(ProjectDir) 5 | WindowsLocalDebugger 6 | 7 | 8 | false 9 | 10 | -------------------------------------------------------------------------------- /Project/MFCBlackMoon_VC6.clw: -------------------------------------------------------------------------------- 1 | ; CLW file contains information for the MFC ClassWizard 2 | 3 | [General Info] 4 | Version=1 5 | ClassCount=1 6 | Class1=CMFCBlackMoonApp 7 | LastClass=CMFCBlackMoonApp 8 | NewFileInclude2=#include "..\MFCObj\MFCBlackMoon.h" 9 | ResourceCount=0 10 | NewFileInclude1=#include "..\MFCObj\StdAfx.h" 11 | 12 | [CLS:CMFCBlackMoonApp] 13 | Type=0 14 | HeaderFile=..\MFCObj\MFCBlackMoon.h 15 | ImplementationFile=..\MFCObj\MFCBlackMoon.cpp 16 | Filter=N 17 | BaseClass=CWinApp 18 | VirtualFilter=AC 19 | 20 | -------------------------------------------------------------------------------- /krnln/EyInit.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | extern "C" PDESTROY DestroyAddress; 4 | 5 | extern "C" PDESTROY HFileDestroyAddress; 6 | 7 | extern "C" PDESTROY DestroyMidiPlayer; 8 | extern "C" HANDLE hBlackMoonHeap; 9 | extern "C" { 10 | 11 | 12 | void _cdecl E_Init(){ 13 | 14 | hBlackMoonHeap =::GetProcessHeap(); 15 | //CoInitialize(0); 16 | BlackMoonInitAllElib(); 17 | } 18 | 19 | 20 | void _cdecl E_DestroyRes(){ 21 | 22 | if(DestroyAddress) 23 | DestroyAddress(); 24 | 25 | if(HFileDestroyAddress) 26 | HFileDestroyAddress(); 27 | 28 | if(DestroyMidiPlayer) 29 | DestroyMidiPlayer(); 30 | BlackMoonFreeAllElib(); 31 | } 32 | 33 | } -------------------------------------------------------------------------------- /krnln/EyComInit.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | extern "C" PDESTROY DestroyAddress; 4 | 5 | extern "C" PDESTROY HFileDestroyAddress; 6 | 7 | extern "C" PDESTROY DestroyMidiPlayer; 8 | 9 | extern "C" HANDLE hBlackMoonHeap; 10 | extern "C" { 11 | 12 | 13 | void _cdecl E_Init(){ 14 | hBlackMoonHeap =::GetProcessHeap(); 15 | CoInitialize(0); 16 | BlackMoonInitAllElib(); 17 | } 18 | 19 | void _cdecl E_DestroyRes(){ 20 | 21 | if(DestroyAddress) 22 | DestroyAddress(); 23 | 24 | if(HFileDestroyAddress) 25 | HFileDestroyAddress(); 26 | 27 | if(DestroyMidiPlayer) 28 | DestroyMidiPlayer(); 29 | BlackMoonFreeAllElib(); 30 | CoUninitialize(); 31 | } 32 | 33 | 34 | } -------------------------------------------------------------------------------- /krnln/BlackMoonDll.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | INT nBMProtectESP = 0; 3 | INT nBMProtectEBP = 0; 4 | PDESTROY DllEntryFunc(); 5 | extern HANDLE hBlackMoonInstanceHandle; 6 | extern "C" PDESTROY DestroyAddress; 7 | extern "C" { 8 | 9 | //PDESTROY ECodeStart(); 10 | 11 | int __stdcall DllMain( HANDLE hModule, 12 | DWORD ul_reason_for_call, 13 | LPVOID lpReserved 14 | ) 15 | { 16 | 17 | switch (ul_reason_for_call) 18 | { 19 | case DLL_PROCESS_ATTACH: 20 | hBlackMoonInstanceHandle = hModule; 21 | E_Init(); 22 | DestroyAddress = DllEntryFunc(); 23 | break; 24 | case DLL_PROCESS_DETACH: 25 | E_DestroyRes(); 26 | break; 27 | 28 | 29 | } 30 | 31 | return 1; 32 | 33 | } 34 | 35 | } -------------------------------------------------------------------------------- /MFCObj/EyMFCComInit.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | typedef void (*PDESTROY)(void); 3 | extern "C" PDESTROY DestroyAddress; 4 | 5 | extern "C" PDESTROY HFileDestroyAddress; 6 | 7 | extern "C" PDESTROY DestroyMidiPlayer; 8 | 9 | extern "C" HANDLE hBlackMoonHeap; 10 | 11 | void BlackMoonInitAllElib(); 12 | void BlackMoonFreeAllElib(); 13 | 14 | extern "C" { 15 | 16 | 17 | void _cdecl E_Init(){ 18 | hBlackMoonHeap =::GetProcessHeap(); 19 | AfxOleInit(); 20 | CoInitialize(0); 21 | BlackMoonInitAllElib(); 22 | } 23 | 24 | void _cdecl E_DestroyRes(){ 25 | 26 | if(DestroyAddress) 27 | DestroyAddress(); 28 | 29 | if(HFileDestroyAddress) 30 | HFileDestroyAddress(); 31 | 32 | if(DestroyMidiPlayer) 33 | DestroyMidiPlayer(); 34 | BlackMoonFreeAllElib(); 35 | //CoUninitialize(); 36 | } 37 | 38 | 39 | } -------------------------------------------------------------------------------- /krnln/BlackMoonDll2.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | INT nBMProtectESP = 0; 3 | INT nBMProtectEBP = 0; 4 | PDESTROY DllEntryFunc(); 5 | extern HANDLE hBlackMoonInstanceHandle; 6 | extern "C" PDESTROY DestroyAddress; 7 | extern "C" { 8 | 9 | //PDESTROY ECodeStart(); 10 | int __stdcall EDllMain( HANDLE hModule, 11 | DWORD ul_reason_for_call, 12 | LPVOID lpReserved 13 | ); 14 | 15 | int __stdcall DllMain( HANDLE hModule, 16 | DWORD ul_reason_for_call, 17 | LPVOID lpReserved 18 | ) 19 | { 20 | 21 | switch (ul_reason_for_call) 22 | { 23 | case DLL_PROCESS_ATTACH: 24 | hBlackMoonInstanceHandle = hModule; 25 | E_Init(); 26 | DestroyAddress = DllEntryFunc(); 27 | break; 28 | case DLL_PROCESS_DETACH: 29 | E_DestroyRes(); 30 | break; 31 | } 32 | 33 | return EDllMain(hModule,ul_reason_for_call,lpReserved); 34 | 35 | } 36 | 37 | } -------------------------------------------------------------------------------- /.github/workflows/blackmoon_krnln.yml: -------------------------------------------------------------------------------- 1 | name: BlackMoon Krnln 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | pull_request: 7 | branches: [master] 8 | 9 | jobs: 10 | bmkrnln-debug-win32: 11 | runs-on: windows-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | 15 | # Add msuild to local environment 16 | - name: Add msbuild to PATH 17 | uses: microsoft/setup-msbuild@v1.0.2 18 | 19 | # Test build 20 | - name: Build BlackMoon Krnln 21 | run: msbuild Project/krnln_VS2019.vcxproj /p:configuration=debug /p:platform=win32 -maxcpucount:4 22 | 23 | bmkrnln-release-win32: 24 | runs-on: windows-latest 25 | steps: 26 | - uses: actions/checkout@v2 27 | 28 | # Add msuild to local environment 29 | - name: Add msbuild to PATH 30 | uses: microsoft/setup-msbuild@v1.0.2 31 | 32 | # Test build 33 | - name: Build BlackMoon Krnln 34 | run: msbuild Project/krnln_VS2019.vcxproj /p:configuration=release /p:platform=win32 -maxcpucount:4 35 | -------------------------------------------------------------------------------- /.github/workflows/blackmoon_mfc.yml: -------------------------------------------------------------------------------- 1 | name: BlackMoon MFC 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | pull_request: 7 | branches: [master] 8 | 9 | jobs: 10 | bmmfc-debug-win32: 11 | runs-on: windows-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | 15 | # Add msuild to local environment 16 | - name: Add msbuild to PATH 17 | uses: microsoft/setup-msbuild@v1.0.2 18 | 19 | # Test build 20 | - name: Build BlackMoon MFC 21 | run: msbuild Project/MFCBlackMoon_VS2019.vcxproj /p:configuration=debug /p:platform=win32 -maxcpucount:4 22 | 23 | bmmfc-release-win32: 24 | runs-on: windows-latest 25 | steps: 26 | - uses: actions/checkout@v2 27 | 28 | # Add msuild to local environment 29 | - name: Add msbuild to PATH 30 | uses: microsoft/setup-msbuild@v1.0.2 31 | 32 | # Test build 33 | - name: Build BlackMoon MFC 34 | run: msbuild Project/MFCBlackMoon_VS2019.vcxproj /p:configuration=release /p:platform=win32 -maxcpucount:4 35 | -------------------------------------------------------------------------------- /.github/workflows/blackmoon_krnlnobj.yml: -------------------------------------------------------------------------------- 1 | name: BlackMoon Krnln OBJ 2 | 3 | on: 4 | push: 5 | branches: [master] 6 | pull_request: 7 | branches: [master] 8 | 9 | jobs: 10 | bmkrobj-debug-win32: 11 | runs-on: windows-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | 15 | # Add msuild to local environment 16 | - name: Add msbuild to PATH 17 | uses: microsoft/setup-msbuild@v1.0.2 18 | 19 | # Test build 20 | - name: Build BlackMoon Krnln OBJ 21 | run: msbuild Project/krnln_VS2019_Obj.vcxproj /p:configuration=debug /p:platform=win32 -maxcpucount:4 22 | 23 | bmkrobj-release-win32: 24 | runs-on: windows-latest 25 | steps: 26 | - uses: actions/checkout@v2 27 | 28 | # Add msuild to local environment 29 | - name: Add msbuild to PATH 30 | uses: microsoft/setup-msbuild@v1.0.2 31 | 32 | # Test build 33 | - name: Build BlackMoon Krnln OBJ 34 | run: msbuild Project/krnln_VS2019_Obj.vcxproj /p:configuration=release /p:platform=win32 -maxcpucount:4 35 | -------------------------------------------------------------------------------- /krnln/BlackMoonCallPropertyVaule.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "Myfunctions.h" 3 | EXTERN_C void _cdecl BlackMoonGetClassPropertyVaule( 4 | INT nIDX,HUNIT hUnit, INT nPropertyIndex,INT nRevrev) 5 | { 6 | PFN_GET_PROPERTY_DATA pfn; 7 | _asm mov pfn,eax; 8 | UNIT_PROPERTY_VALUE sProperty; 9 | sProperty.m_data.m_nDataSize=0; 10 | sProperty.m_data.m_pData = 0; 11 | pfn(hUnit,nPropertyIndex,&sProperty); 12 | 13 | if(nIDX && nPropertyIndex < 32) 14 | { 15 | 16 | BOOL bIsText = (nIDX >> nPropertyIndex) & 1; 17 | if(bIsText) 18 | { 19 | char* pStr=CloneTextData(sProperty.m_szText,mystrlen(sProperty.m_szText)); 20 | sProperty.m_szText = pStr; 21 | } 22 | } 23 | 24 | _asm mov eax,sProperty.m_int; 25 | _asm mov edx,sProperty.m_data.m_nDataSize; 26 | } 27 | 28 | EXTERN_C void _cdecl BlackMoonSetClassPropertyVaule( 29 | INT nIDX,HUNIT hUnit, INT nPropertyIndex,INT nRevrev,UNIT_PROPERTY_VALUE sProperty,...) 30 | { 31 | 32 | PFN_NOTIFY_PROPERTY_CHANGED pfn; 33 | _asm mov pfn,eax; 34 | pfn(hUnit, nPropertyIndex, &sProperty, NULL); 35 | 36 | } -------------------------------------------------------------------------------- /krnln/BlackMoonExe.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | extern "C" int ECodeStart(); 3 | //BOOL bIsEnterFromBMEntrypoint = FALSE; 4 | INT nBMProtectESP = 0; 5 | INT nBMProtectEBP = 0; 6 | extern "C" { 7 | 8 | 9 | int _cdecl BMEntrypoint (){ 10 | //bIsEnterFromBMEntrypoint = TRUE; 11 | 12 | E_Init(); 13 | ECodeStart(); 14 | return 0; 15 | 16 | } 17 | } 18 | 19 | 20 | 21 | 22 | int APIENTRY WinMain(HINSTANCE hInstance, 23 | HINSTANCE hPrevInstance, 24 | LPSTR lpCmdLine, 25 | int nCmdShow) 26 | { 27 | E_Init(); 28 | int nRet; 29 | // int nRet = ECodeStart(); 30 | _asm{ 31 | mov nBMProtectESP,esp; 32 | mov nBMProtectEBP,ebp; 33 | call ECodeStart; 34 | mov nRet,eax; 35 | 36 | } 37 | //MessageBox(NULL,"I am Back",NULL,nRet); 38 | return nRet; 39 | } 40 | 41 | int main(int argc, char* argv[]) 42 | { 43 | E_Init(); 44 | int nRet; 45 | // int nRet = ECodeStart(); 46 | _asm{ 47 | mov nBMProtectESP,esp; 48 | mov nBMProtectEBP,ebp; 49 | call ECodeStart; 50 | mov nRet,eax; 51 | 52 | } 53 | return nRet; 54 | } 55 | -------------------------------------------------------------------------------- /krnln_VC6.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "krnln"=.\Project\krnln_VC6.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Project: "krnln_Obj"=.\Project\krnln_VC6_Obj.dsp - Package Owner=<4> 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<4> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | Project: "MFC_Obj"=.\Project\MFCBlackMoon_VC6.dsp - Package Owner=<4> 31 | 32 | Package=<5> 33 | {{{ 34 | }}} 35 | 36 | Package=<4> 37 | {{{ 38 | }}} 39 | 40 | ############################################################################### 41 | 42 | Global: 43 | 44 | Package=<5> 45 | {{{ 46 | }}} 47 | 48 | Package=<3> 49 | {{{ 50 | }}} 51 | 52 | ############################################################################### 53 | 54 | -------------------------------------------------------------------------------- /MFCObj/EyMFCComInit.h: -------------------------------------------------------------------------------- 1 | #if !defined(AFX_MFCBLACKMOON_H__66A6D0ED_F1AB_4149_9834_F05CAE45D193__INCLUDED_) 2 | #define AFX_MFCBLACKMOON_H__66A6D0ED_F1AB_4149_9834_F05CAE45D193__INCLUDED_ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif // _MSC_VER > 1000 7 | 8 | #ifndef __AFXWIN_H__ 9 | #error include 'stdafx.h' before including this file for PCH 10 | #endif 11 | 12 | #include "resource.h" // main symbols 13 | 14 | ///////////////////////////////////////////////////////////////////////////// 15 | // CMFCBlackMoonApp 16 | // See MFCBlackMoon.cpp for the implementation of this class 17 | // 18 | 19 | class CMFCBlackMoonDLLApp : public CWinApp 20 | { 21 | public: 22 | CMFCBlackMoonDLLApp(); 23 | 24 | // Overrides 25 | // ClassWizard generated virtual function overrides 26 | //{{AFX_VIRTUAL(CMFCBlackMoonDLLApp) 27 | public: 28 | virtual BOOL InitInstance(); 29 | virtual int ExitInstance(); 30 | //}}AFX_VIRTUAL 31 | 32 | //{{AFX_MSG(CMFCBlackMoonDLLApp) 33 | // NOTE - the ClassWizard will add and remove member functions here. 34 | // DO NOT EDIT what you see in these blocks of generated code ! 35 | //}}AFX_MSG 36 | DECLARE_MESSAGE_MAP() 37 | }; 38 | 39 | 40 | ///////////////////////////////////////////////////////////////////////////// 41 | 42 | //{{AFX_INSERT_LOCATION}} 43 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 44 | 45 | #endif // !defined(AFX_MFCBLACKMOON_H__66A6D0ED_F1AB_4149_9834_F05CAE45D193__INCLUDED_) 46 | -------------------------------------------------------------------------------- /MFCObj/MFCBlackMoonCon.cpp: -------------------------------------------------------------------------------- 1 | // test.cpp : Defines the entry point for the console application. 2 | // 3 | #include "stdafx.h" 4 | #include 5 | 6 | #ifdef _DEBUG 7 | #define new DEBUG_NEW 8 | #undef THIS_FILE 9 | static char THIS_FILE[] = __FILE__; 10 | #endif 11 | 12 | #pragma comment(lib, "nafxcw.lib") 13 | 14 | extern "C" { 15 | int ECodeStart(); 16 | void _cdecl E_Init(); 17 | } 18 | ///////////////////////////////////////////////////////////////////////////// 19 | // The one and only application object 20 | extern "C" int ECodeStart(); 21 | //BOOL bIsEnterFromBMEntrypoint = FALSE; 22 | INT nBMProtectESP = 0; 23 | INT nBMProtectEBP = 0; 24 | 25 | CWinApp; 26 | 27 | using namespace std; 28 | 29 | int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) 30 | { 31 | int nRetCode = 0; 32 | // initialize MFC and print and error on failure 33 | if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0)) 34 | { 35 | // TODO: change error code to suit your needs 36 | cerr << _T("Fatal Error: MFC initialization failed") << endl; 37 | nRetCode = 1; 38 | } 39 | else 40 | { 41 | // TODO: code your application's behavior here. 42 | // CString strHello; 43 | // strHello=_T("I am MfcBlackMoon"); 44 | // cout << (LPCTSTR)strHello << endl; 45 | 46 | E_Init(); 47 | // int nRet = ECodeStart(); 48 | _asm{ 49 | mov nBMProtectESP,esp; 50 | mov nBMProtectEBP,ebp; 51 | call ECodeStart; 52 | mov nRetCode,eax; 53 | 54 | } 55 | } 56 | 57 | return nRetCode; 58 | } 59 | 60 | 61 | -------------------------------------------------------------------------------- /MFCObj/MFCBlackMoon.h: -------------------------------------------------------------------------------- 1 | // MFCBlackMoon.h : main header file for the MFCBLACKMOON DLL 2 | // 3 | 4 | #if !defined(AFX_MFCBLACKMOON_H__66A6D0ED_F1AB_4149_9834_F05CAE45D193__INCLUDED_) 5 | #define AFX_MFCBLACKMOON_H__66A6D0ED_F1AB_4149_9834_F05CAE45D193__INCLUDED_ 6 | 7 | #if _MSC_VER > 1000 8 | #pragma once 9 | #endif // _MSC_VER > 1000 10 | 11 | #ifndef __AFXWIN_H__ 12 | #error include 'stdafx.h' before including this file for PCH 13 | #endif 14 | 15 | #include "resource.h" // main symbols 16 | 17 | ///////////////////////////////////////////////////////////////////////////// 18 | // CMFCBlackMoonApp 19 | // See MFCBlackMoon.cpp for the implementation of this class 20 | // 21 | 22 | class CMFCBlackMoonApp : public CWinApp 23 | { 24 | public: 25 | CMFCBlackMoonApp(); 26 | 27 | // Overrides 28 | // ClassWizard generated virtual function overrides 29 | //{{AFX_VIRTUAL(CMFCBlackMoonApp) 30 | public: 31 | virtual BOOL InitInstance(); 32 | 33 | //}}AFX_VIRTUAL 34 | 35 | //{{AFX_MSG(CMFCBlackMoonApp) 36 | // NOTE - the ClassWizard will add and remove member functions here. 37 | // DO NOT EDIT what you see in these blocks of generated code ! 38 | //}}AFX_MSG 39 | DECLARE_MESSAGE_MAP() 40 | }; 41 | 42 | 43 | ///////////////////////////////////////////////////////////////////////////// 44 | 45 | //{{AFX_INSERT_LOCATION}} 46 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 47 | 48 | #endif // !defined(AFX_MFCBLACKMOON_H__66A6D0ED_F1AB_4149_9834_F05CAE45D193__INCLUDED_) 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2019, 钟建华 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | * Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /Readme.txt: -------------------------------------------------------------------------------- 1 | ======================================================================== 2 | 黑月编译器插件的核心静态库开源相关事项 3 | ======================================================================== 4 | 5 | 原作者:云外归鸟 6 | 后续升级:泪闯天涯(邓学彬) 7 | 后续优化:被封七号 8 | 9 | 一、编译与安装 10 | 1.根据你电脑上所安装的VS版本,打开对应的工程文件 11 | 2.打开工程后能看见三个方案:krnln、krnln_Obj、MFCBlackMoon。 12 | 通常情况下你不需要理会后两者,除非你知道它的作用。 13 | 选中krnln方案,切换配置为Release,并编译。 14 | 3.编译后,将release目录下的kernel.lib替换到易语言安装目录的 15 | \BlackMoon\obj\kernel.lib。(黑月4.0以上版本) 16 | \BlackMoon\lib\kernel.lib。(黑月4.0以下版本) 17 | 18 | 二、源码使用事项 19 | 原则上,只要不是商业用途及非法用途,源码可以任意使用及传播, 20 | 编译后的静态库文件kernel.lib可以用于编译链接到商业作品中。 21 | 在复制与传播时,必须注明开源地址: 22 | https://github.com/zhongjianhua163/BlackMoonKernelStaticLib (国外服务器) 23 | https://gitee.com/zhongjianhua163/BlackMoonKernelStaticLib (国内服务器) 24 | 25 | 三、代码编写规范 26 | 如果你想参与更新、优化或修复BUG,请仔细阅读以下事项: 27 | 0.代码的必须能让所有版本的VS通过编译,若需要使用特定版本的VS的特性, 28 | 则需要合理使用宏 _MSC_VER 来进行兼容。 29 | 1.变量、常量、函数等命名时尽量能准确表达其属性及用途。 30 | 2.少用或尽量不要用内联汇编。 31 | 如果必须要用到内联汇编,则尽量不要使用新的指令集,如SSE\AVX等。 32 | 如果必须要用到新的指令集,请务必做好自适配代码,确保老的CPU及远古级别的 33 | 32位CPU能正常运行,并实现指定效果。(常规做法是编写两份代码,一份使用新 34 | 的指令集,另一份使用常规指令集,并根据用户的CPU所支持的指令集来进行调用) 35 | 3.确保代码的简洁美观、高效、稳定及安全性。 36 | 4.确保函数的参数、返回值及运行效果与易语言原生核心库保持一致。 37 | 5.编辑的源代码文件的时候,请使用ANSI和GB2312编码,切勿使用UTF8或其他编码。 38 | 6.使用git来push前,请将自动替换换行符功能: autoCRLF 设置为 false。 39 | 40 | 四、如何参与到项目开发中来? 41 | 1.可以加入此开源项目的管理团队 42 | 2.可以在github或gitee中通过Issues页面提交错误和改进建议 43 | 3.可以在github或gitee中 fork, 修改后通过 pull request 合并代码 44 | 45 | 46 | ///////////////////////////////////////////////////////////////////////////// 47 | -------------------------------------------------------------------------------- /Project/krnln_VS2019_Obj.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 源文件 23 | 24 | 25 | 源文件 26 | 27 | 28 | 源文件 29 | 30 | 31 | 源文件 32 | 33 | 34 | 源文件 35 | 36 | 37 | 38 | 39 | 头文件 40 | 41 | 42 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 黑月核心静态库 2 | 3 | [![BlackMoon Krnln](https://github.com/TheSnowfield/BlackMoonKernelStaticLib/workflows/BlackMoon%20Krnln/badge.svg)](#) 4 | [![BlackMoon Krnln OBJ](https://github.com/TheSnowfield/BlackMoonKernelStaticLib/workflows/BlackMoon%20Krnln%20OBJ/badge.svg)](#) 5 | [![BlackMoon MFC](https://github.com/TheSnowfield/BlackMoonKernelStaticLib/workflows/BlackMoon%20MFC/badge.svg)](#) 6 | 7 | ## 编译与安装 8 | 1. 根据你电脑上所安装的VS版本,打开对应的工程文件 9 | 2. 打开工程后能看见三个方案:krnln、krnln_Obj、MFCBlackMoon。 10 | 通常情况下你不需要理会后两者,除非你知道它的作用。选中krnln方案,切换配置为Release,并编译。 11 | 3. 编译后,将release目录下的kernel.lib替换到易语言安装目录的 12 | \BlackMoon\obj\kernel.lib。(黑月4.0以上版本) 13 | \BlackMoon\lib\kernel.lib。(黑月4.0以下版本) 14 | 15 | ## 源码使用事项 16 | 原则上,只要不是商业用途及非法用途,源码可以任意使用及传播, 17 | 编译后的静态库文件kernel.lib可以用于编译链接到商业作品中。 18 | 在复制与传播时,必须注明开源地址: 19 | https://github.com/zhongjianhua163/BlackMoonKernelStaticLib (国外服务器) 20 | https://gitee.com/zhongjianhua163/BlackMoonKernelStaticLib (国内服务器) 21 | 22 | ## 代码编写规范 23 | 如果你想参与更新、优化或修复BUG,请仔细阅读以下事项: 24 | 1. 代码的必须能让所有版本的VS通过编译,若需要使用特定版本的VS的特性, 25 | 则需要合理使用宏 _MSC_VER 来进行兼容。 26 | 2. 变量、常量、函数等命名时尽量能准确表达其属性及用途。 27 | 3. 少用或尽量不要用内联汇编。 28 | 如果必须要用到内联汇编,则尽量不要使用新的指令集,如SSE\AVX等。 29 | 如果必须要用到新的指令集,请务必做好自适配代码,确保老的CPU及远古级别的 30 | 32位CPU能正常运行,并实现指定效果。(常规做法是编写两份代码,一份使用新 31 | 的指令集,另一份使用常规指令集,并根据用户的CPU所支持的指令集来进行调用) 32 | 4. 确保代码的简洁美观、高效、稳定及安全性。 33 | 5. 确保函数的参数、返回值及运行效果与易语言原生核心库保持一致。 34 | 6. 编辑的源代码文件的时候,请使用ANSI和GB2312编码,切勿使用UTF8或其他编码。 35 | 7. 使用git来push前,请将自动替换换行符功能: autoCRLF 设置为 false。 36 | 37 | ## 参与贡献 38 | 1. 可以加入此开源项目的管理团队 39 | 2. 可以在GitHub或Gitee中通过Issues页面提交错误和改进建议 40 | 3. 可以在GitHub或Gitee中`Fork`, 修改后通过`Pull Request`合并代码 41 | 42 | 43 | ## 许可证 44 | 原作者:云外归鸟 45 | 后续升级:泪闯天涯(邓学彬) 46 | 后续优化:被封七号 47 | 48 | 根据 `BSD 3-Clause` 获得许可 49 | -------------------------------------------------------------------------------- /MFCObj/StdAfx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #if !defined(AFX_STDAFX_H__2E3BE724_6CE0_4B24_8A39_6BCD4E07A00B__INCLUDED_) 7 | #define AFX_STDAFX_H__2E3BE724_6CE0_4B24_8A39_6BCD4E07A00B__INCLUDED_ 8 | 9 | #if _MSC_VER > 1000 10 | #pragma once 11 | #endif // _MSC_VER > 1000 12 | 13 | #ifndef _WIN32_WINNT 14 | 15 | #ifdef _WIN32_WINNT_MAXVER 16 | #define _WIN32_WINNT _WIN32_WINNT_MAXVER 17 | #else 18 | #define _WIN32_WINNT 0x0502 19 | #endif 20 | 21 | #endif 22 | 23 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 24 | 25 | #include // MFC core and standard components 26 | #include // MFC extensions 27 | 28 | #ifndef _AFX_NO_OLE_SUPPORT 29 | #include // MFC OLE classes 30 | #include // MFC OLE dialog classes 31 | #include // MFC Automation classes 32 | #endif // _AFX_NO_OLE_SUPPORT 33 | 34 | 35 | #ifndef _AFX_NO_DB_SUPPORT 36 | #include // MFC ODBC database classes 37 | #endif // _AFX_NO_DB_SUPPORT 38 | 39 | #ifndef _AFX_NO_DAO_SUPPORT 40 | #include // MFC DAO database classes 41 | #endif // _AFX_NO_DAO_SUPPORT 42 | 43 | #include // MFC support for Internet Explorer 4 Common Controls 44 | #ifndef _AFX_NO_AFXCMN_SUPPORT 45 | #include // MFC support for Windows Common Controls 46 | #endif // _AFX_NO_AFXCMN_SUPPORT 47 | 48 | 49 | //{{AFX_INSERT_LOCATION}} 50 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 51 | 52 | #endif // !defined(AFX_STDAFX_H__2E3BE724_6CE0_4B24_8A39_6BCD4E07A00B__INCLUDED_) 53 | -------------------------------------------------------------------------------- /krnln/MyMemFile.h: -------------------------------------------------------------------------------- 1 | // MyMemFile.h: interface for the CMyMemFile class. 2 | // 3 | ////////////////////////////////////////////////////////////////////// 4 | 5 | #if !defined(AFX_MYMEMFILE_H__0D0A64A2_866B_4027_AD22_AEFE48A79B01__INCLUDED_) 6 | #define AFX_MYMEMFILE_H__0D0A64A2_866B_4027_AD22_AEFE48A79B01__INCLUDED_ 7 | 8 | #if _MSC_VER > 1000 9 | #pragma once 10 | #endif // _MSC_VER > 1000 11 | 12 | class CMyMemFile 13 | { 14 | 15 | public: 16 | 17 | // Constructors 18 | CMyMemFile(UINT nGrowBytes = 1024); 19 | CMyMemFile(BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes = 0); 20 | 21 | // Operations 22 | void Attach(BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes = 0); 23 | BYTE* Detach(); 24 | 25 | // Advanced Overridables 26 | protected: 27 | virtual BYTE* Alloc(DWORD nBytes); 28 | virtual BYTE* Realloc(BYTE* lpMem, DWORD nBytes); 29 | // virtual BYTE* Memcpy(BYTE* lpMemTarget, const BYTE* lpMemSource, UINT nBytes); 30 | virtual void Free(BYTE* lpMem); 31 | virtual void GrowFile(DWORD dwNewLen); 32 | 33 | // Implementation 34 | protected: 35 | UINT m_nGrowBytes; 36 | DWORD m_nPosition; 37 | DWORD m_nBufferSize; 38 | DWORD m_nFileSize; 39 | BYTE* m_lpBuffer; 40 | BOOL m_bAutoDelete; 41 | 42 | public: 43 | DWORD GetFileSize(); 44 | virtual ~CMyMemFile(); 45 | 46 | virtual DWORD GetPosition() const; 47 | //BOOL GetStatus(CFileStatus& rStatus) const; 48 | enum SeekPosition { begin = 0x0, current = 0x1, end = 0x2 }; 49 | virtual LONG Seek(LONG lOff, UINT nFrom); 50 | virtual void SetLength(DWORD dwNewLen); 51 | virtual UINT Read(void* lpBuf, UINT nCount); 52 | virtual void Write(const void* lpBuf, UINT nCount); 53 | virtual void Abort(); 54 | // virtual void Flush(); 55 | virtual void Close(); 56 | enum BufferCommand { bufferRead, bufferWrite, bufferCommit, bufferCheck }; 57 | virtual UINT GetBufferPtr(UINT nCommand, UINT nCount = 0, 58 | void** ppBufStart = NULL, void** ppBufMax = NULL); 59 | 60 | // Unsupported APIs 61 | // virtual CFile* Duplicate() const; 62 | // virtual void LockRange(DWORD dwPos, DWORD dwCount); 63 | // virtual void UnlockRange(DWORD dwPos, DWORD dwCount); 64 | 65 | }; 66 | 67 | #endif // !defined(AFX_MYMEMFILE_H__0D0A64A2_866B_4027_AD22_AEFE48A79B01__INCLUDED_) 68 | -------------------------------------------------------------------------------- /Project/MFCBlackMoon_VS2019.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 源文件 23 | 24 | 25 | 源文件 26 | 27 | 28 | 源文件 29 | 30 | 31 | 源文件 32 | 33 | 34 | 35 | 36 | 头文件 37 | 38 | 39 | 头文件 40 | 41 | 42 | 头文件 43 | 44 | 45 | 头文件 46 | 47 | 48 | 49 | 50 | 源文件 51 | 52 | 53 | 资源文件 54 | 55 | 56 | 57 | 58 | 资源文件 59 | 60 | 61 | -------------------------------------------------------------------------------- /MFCObj/BlackMoonMFCdll.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "stdafx.h" 3 | #include "EyMFCComInit.h" 4 | //#define _EDLLMAIN 5 | #ifdef _DEBUG 6 | #define new DEBUG_NEW 7 | #undef THIS_FILE 8 | static char THIS_FILE[] = __FILE__; 9 | #endif 10 | 11 | ///////////////////////////////////////////////////////////////////////////// 12 | // CMFCBlackMoonDLLApp 13 | 14 | BEGIN_MESSAGE_MAP(CMFCBlackMoonDLLApp, CWinApp) 15 | //{{AFX_MSG_MAP(CMFCBlackMoonDLLApp) 16 | // NOTE - the ClassWizard will add and remove mapping macros here. 17 | // DO NOT EDIT what you see in these blocks of generated code! 18 | //}}AFX_MSG_MAP 19 | END_MESSAGE_MAP() 20 | 21 | ///////////////////////////////////////////////////////////////////////////// 22 | // CMFCBlackMoonDLLApp construction 23 | 24 | CMFCBlackMoonDLLApp::CMFCBlackMoonDLLApp() 25 | { 26 | // TODO: add construction code here, 27 | // Place all significant initialization in InitInstance 28 | } 29 | 30 | ///////////////////////////////////////////////////////////////////////////// 31 | // The one and only CMFCBlackMoonDLLApp object 32 | #pragma comment(lib, "nafxcw.lib") 33 | CMFCBlackMoonDLLApp theApp; 34 | 35 | typedef void (*PDESTROY)(void); 36 | PDESTROY DllEntryFunc(); 37 | extern HANDLE hBlackMoonInstanceHandle; 38 | extern "C" PDESTROY DestroyAddress; 39 | extern "C" { 40 | //PDESTROY ECodeStart(); 41 | void _cdecl E_Init(); 42 | void _cdecl E_DestroyRes(); 43 | #ifdef _EDLLMAIN 44 | int __stdcall EDllMain( HANDLE hModule, 45 | DWORD ul_reason_for_call, 46 | LPVOID lpReserved 47 | ); 48 | #endif 49 | } 50 | INT nBMProtectESP = 0; 51 | INT nBMProtectEBP = 0; 52 | BOOL CMFCBlackMoonDLLApp::InitInstance() 53 | { 54 | // TODO: Add your specialized code here and/or call the base class 55 | //MessageBox(NULL,"I am MfcBlackMoon","DLL",MB_OK); 56 | hBlackMoonInstanceHandle = m_hInstance; 57 | E_Init(); 58 | DestroyAddress = DllEntryFunc(); 59 | 60 | #ifdef _EDLLMAIN 61 | int nRet = EDllMain(m_hInstance,DLL_PROCESS_ATTACH,0); 62 | if(nRet==0) 63 | return nRet; 64 | #endif 65 | 66 | 67 | 68 | return CWinApp::InitInstance(); 69 | } 70 | 71 | int CMFCBlackMoonDLLApp::ExitInstance() 72 | { 73 | // TODO: Add your specialized code here and/or call the base class 74 | #ifdef _EDLLMAIN 75 | int nRet = EDllMain(m_hInstance,DLL_PROCESS_DETACH,0); 76 | #endif 77 | E_DestroyRes(); 78 | 79 | return CWinApp::ExitInstance(); 80 | } 81 | 82 | 83 | -------------------------------------------------------------------------------- /MFCObj/MFCBlackMoon.cpp: -------------------------------------------------------------------------------- 1 | // MFCBlackMoon.cpp : Defines the initialization routines for the DLL. 2 | // 3 | 4 | #include "stdafx.h" 5 | #include "MFCBlackMoon.h" 6 | 7 | #ifdef _DEBUG 8 | #define new DEBUG_NEW 9 | #undef THIS_FILE 10 | static char THIS_FILE[] = __FILE__; 11 | #endif 12 | 13 | // 14 | // Note! 15 | // 16 | // If this DLL is dynamically linked against the MFC 17 | // DLLs, any functions exported from this DLL which 18 | // call into MFC must have the AFX_MANAGE_STATE macro 19 | // added at the very beginning of the function. 20 | // 21 | // For example: 22 | // 23 | // extern "C" BOOL PASCAL EXPORT ExportedFunction() 24 | // { 25 | // AFX_MANAGE_STATE(AfxGetStaticModuleState()); 26 | // // normal function body here 27 | // } 28 | // 29 | // It is very important that this macro appear in each 30 | // function, prior to any calls into MFC. This means that 31 | // it must appear as the first statement within the 32 | // function, even before any object variable declarations 33 | // as their constructors may generate calls into the MFC 34 | // DLL. 35 | // 36 | // Please see MFC Technical Notes 33 and 58 for additional 37 | // details. 38 | // 39 | 40 | ///////////////////////////////////////////////////////////////////////////// 41 | // CMFCBlackMoonApp 42 | 43 | BEGIN_MESSAGE_MAP(CMFCBlackMoonApp, CWinApp) 44 | //{{AFX_MSG_MAP(CMFCBlackMoonApp) 45 | // NOTE - the ClassWizard will add and remove mapping macros here. 46 | // DO NOT EDIT what you see in these blocks of generated code! 47 | //}}AFX_MSG_MAP 48 | END_MESSAGE_MAP() 49 | 50 | ///////////////////////////////////////////////////////////////////////////// 51 | // CMFCBlackMoonApp construction 52 | 53 | CMFCBlackMoonApp::CMFCBlackMoonApp() 54 | { 55 | // TODO: add construction code here, 56 | // Place all significant initialization in InitInstance 57 | } 58 | 59 | ///////////////////////////////////////////////////////////////////////////// 60 | // The one and only CMFCBlackMoonApp object 61 | //#pragma comment(lib, "nafxcw.lib") 62 | CMFCBlackMoonApp theApp; 63 | extern "C" { 64 | int ECodeStart(); 65 | void _cdecl E_Init(); 66 | } 67 | INT nBMProtectESP = 0; 68 | INT nBMProtectEBP = 0; 69 | BOOL CMFCBlackMoonApp::InitInstance() 70 | { 71 | // TODO: Add your specialized code here and/or call the base class 72 | // MessageBox(NULL,"I am MfcBlackMoon","NULL",MB_OK); 73 | E_Init(); 74 | int nRet; 75 | // int nRet = ECodeStart(); 76 | _asm{ 77 | mov nBMProtectESP,esp; 78 | mov nBMProtectEBP,ebp; 79 | call ECodeStart; 80 | mov nRet,eax; 81 | 82 | } 83 | return CWinApp::InitInstance(); 84 | } 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /krnln_VS2019.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29519.87 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "krnln", "Project\krnln_VS2019.vcxproj", "{90C7C825-74BF-4F91-BF9C-4A1E762F24B9}" 7 | EndProject 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "krnln_Obj", "Project\krnln_VS2019_Obj.vcxproj", "{9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}" 9 | EndProject 10 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MFCBlackMoon", "Project\MFCBlackMoon_VS2019.vcxproj", "{302FE4C1-503E-476A-AD7B-D6768D2E0158}" 11 | EndProject 12 | Global 13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 14 | Debug|x64 = Debug|x64 15 | Debug|x86 = Debug|x86 16 | Release|x64 = Release|x64 17 | Release|x86 = Release|x86 18 | ReleaseDll|x64 = ReleaseDll|x64 19 | ReleaseDll|x86 = ReleaseDll|x86 20 | EndGlobalSection 21 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 22 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Debug|x64.ActiveCfg = Debug|x64 23 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Debug|x64.Build.0 = Debug|x64 24 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Debug|x86.ActiveCfg = Debug|Win32 25 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Debug|x86.Build.0 = Debug|Win32 26 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Release|x64.ActiveCfg = Release|x64 27 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Release|x64.Build.0 = Release|x64 28 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Release|x86.ActiveCfg = Release|Win32 29 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.Release|x86.Build.0 = Release|Win32 30 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.ReleaseDll|x64.ActiveCfg = Release|x64 31 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.ReleaseDll|x64.Build.0 = Release|x64 32 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.ReleaseDll|x86.ActiveCfg = Release|Win32 33 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9}.ReleaseDll|x86.Build.0 = Release|Win32 34 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}.Debug|x64.ActiveCfg = Debug|x64 35 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}.Debug|x86.ActiveCfg = Debug|Win32 36 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}.Release|x64.ActiveCfg = Release|x64 37 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}.Release|x86.ActiveCfg = Release|Win32 38 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}.ReleaseDll|x64.ActiveCfg = Release|x64 39 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}.ReleaseDll|x64.Build.0 = Release|x64 40 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4}.ReleaseDll|x86.ActiveCfg = Release|Win32 41 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.Debug|x64.ActiveCfg = Debug|x64 42 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.Debug|x64.Build.0 = Debug|x64 43 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.Debug|x86.ActiveCfg = Debug|Win32 44 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.Release|x64.ActiveCfg = Release|x64 45 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.Release|x64.Build.0 = Release|x64 46 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.Release|x86.ActiveCfg = Release|Win32 47 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.ReleaseDll|x64.ActiveCfg = ReleaseDll|x64 48 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.ReleaseDll|x64.Build.0 = ReleaseDll|x64 49 | {302FE4C1-503E-476A-AD7B-D6768D2E0158}.ReleaseDll|x86.ActiveCfg = ReleaseDll|Win32 50 | EndGlobalSection 51 | GlobalSection(SolutionProperties) = preSolution 52 | HideSolutionNode = FALSE 53 | EndGlobalSection 54 | GlobalSection(ExtensibilityGlobals) = postSolution 55 | SolutionGuid = {86CE5FFF-CA06-48E5-9A32-FDA961C5F884} 56 | EndGlobalSection 57 | EndGlobal 58 | -------------------------------------------------------------------------------- /Project/krnln_VC6_Obj.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="krnln_Obj" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Static Library" 0x0104 6 | 7 | CFG=krnln_Obj - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "krnln_VC6_Obj.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "krnln_VC6_Obj.mak" CFG="krnln_Obj - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "krnln_Obj - Win32 Release" (based on "Win32 (x86) Static Library") 21 | !MESSAGE "krnln_Obj - Win32 Debug" (based on "Win32 (x86) Static Library") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName "" 27 | # PROP Scc_LocalPath "" 28 | CPP=cl.exe 29 | RSC=rc.exe 30 | 31 | !IF "$(CFG)" == "krnln_Obj - Win32 Release" 32 | 33 | # PROP BASE Use_MFC 0 34 | # PROP BASE Use_Debug_Libraries 0 35 | # PROP BASE Output_Dir "..\Release" 36 | # PROP BASE Intermediate_Dir ".\Release" 37 | # PROP BASE Target_Dir "" 38 | # PROP Use_MFC 0 39 | # PROP Use_Debug_Libraries 0 40 | # PROP Output_Dir "..\Release" 41 | # PROP Intermediate_Dir ".\Release" 42 | # PROP Target_Dir "" 43 | # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 44 | # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_LIB" /YX /FD /c 45 | # ADD BASE RSC /l 0x804 /d "NDEBUG" 46 | # ADD RSC /l 0x804 /d "NDEBUG" 47 | BSC32=bscmake.exe 48 | # ADD BASE BSC32 /nologo 49 | # ADD BSC32 /nologo 50 | LIB32=link.exe -lib 51 | # ADD BASE LIB32 /nologo 52 | # ADD LIB32 /nologo 53 | 54 | !ELSEIF "$(CFG)" == "krnln_Obj - Win32 Debug" 55 | 56 | # PROP BASE Use_MFC 0 57 | # PROP BASE Use_Debug_Libraries 1 58 | # PROP BASE Output_Dir "..\Debug" 59 | # PROP BASE Intermediate_Dir ".\Debug" 60 | # PROP BASE Target_Dir "" 61 | # PROP Use_MFC 0 62 | # PROP Use_Debug_Libraries 1 63 | # PROP Output_Dir "Debug" 64 | # PROP Intermediate_Dir "Debug" 65 | # PROP Target_Dir "" 66 | # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 67 | # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 68 | # ADD BASE RSC /l 0x804 /d "_DEBUG" 69 | # ADD RSC /l 0x804 /d "_DEBUG" 70 | BSC32=bscmake.exe 71 | # ADD BASE BSC32 /nologo 72 | # ADD BSC32 /nologo 73 | LIB32=link.exe -lib 74 | # ADD BASE LIB32 /nologo 75 | # ADD LIB32 /nologo 76 | 77 | !ENDIF 78 | 79 | # Begin Target 80 | 81 | # Name "krnln_Obj - Win32 Release" 82 | # Name "krnln_Obj - Win32 Debug" 83 | # Begin Group "Source Files" 84 | 85 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 86 | # Begin Source File 87 | 88 | SOURCE=..\krnln\BlackMoonDll.cpp 89 | # End Source File 90 | # Begin Source File 91 | 92 | SOURCE=..\krnln\BlackMoonDll2.cpp 93 | # End Source File 94 | # Begin Source File 95 | 96 | SOURCE=..\krnln\BlackMoonExe.cpp 97 | # End Source File 98 | # Begin Source File 99 | 100 | SOURCE=..\krnln\BlackMoonResDll.cpp 101 | # End Source File 102 | # Begin Source File 103 | 104 | SOURCE=..\krnln\DllEntryFunc.cpp 105 | # End Source File 106 | # Begin Source File 107 | 108 | SOURCE=..\krnln\EyComInit.cpp 109 | # End Source File 110 | # Begin Source File 111 | 112 | SOURCE=..\krnln\EyInit.cpp 113 | # End Source File 114 | # End Group 115 | # Begin Group "Header Files" 116 | 117 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 118 | # Begin Source File 119 | 120 | SOURCE=..\krnln\StdAfx.h 121 | # End Source File 122 | # End Group 123 | # End Target 124 | # End Project 125 | -------------------------------------------------------------------------------- /Project/MFCBlackMoon_VC6.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="MFCBlackMoon" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 6 | 7 | CFG=MFCBlackMoon - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "MFCBlackMoon_VC6.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "MFCBlackMoon_VC6.mak" CFG="MFCBlackMoon - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "MFCBlackMoon - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") 21 | !MESSAGE "MFCBlackMoon - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") 22 | !MESSAGE "MFCBlackMoon - Win32 ReleaseDLL" (based on "Win32 (x86) Dynamic-Link Library") 23 | !MESSAGE 24 | 25 | # Begin Project 26 | # PROP AllowPerConfigDependencies 0 27 | # PROP Scc_ProjName "" 28 | # PROP Scc_LocalPath "" 29 | CPP=cl.exe 30 | MTL=midl.exe 31 | RSC=rc.exe 32 | 33 | !IF "$(CFG)" == "MFCBlackMoon - Win32 Release" 34 | 35 | # PROP BASE Use_MFC 5 36 | # PROP BASE Use_Debug_Libraries 0 37 | # PROP BASE Output_Dir "..\Release" 38 | # PROP BASE Intermediate_Dir ".\Release" 39 | # PROP BASE Target_Dir "" 40 | # PROP Use_MFC 5 41 | # PROP Use_Debug_Libraries 0 42 | # PROP Output_Dir "..\Release" 43 | # PROP Intermediate_Dir ".\Release" 44 | # PROP Target_Dir "" 45 | # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /Yu"stdafx.h" /FD /c 46 | # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_MBCS" /D "_USRDLL" /FD /D /D /c 47 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 48 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 49 | # ADD BASE RSC /l 0x804 /d "NDEBUG" 50 | # ADD RSC /l 0x804 /d "NDEBUG" 51 | BSC32=bscmake.exe 52 | # ADD BASE BSC32 /nologo 53 | # ADD BSC32 /nologo 54 | LINK32=link.exe 55 | # ADD BASE LINK32 /nologo /subsystem:windows /dll /machine:I386 56 | # ADD LINK32 /nologo /subsystem:windows /dll /machine:I386 57 | 58 | !ELSEIF "$(CFG)" == "MFCBlackMoon - Win32 Debug" 59 | 60 | # PROP BASE Use_MFC 5 61 | # PROP BASE Use_Debug_Libraries 1 62 | # PROP BASE Output_Dir "..\Debug" 63 | # PROP BASE Intermediate_Dir ".\Debug" 64 | # PROP BASE Target_Dir "" 65 | # PROP Use_MFC 5 66 | # PROP Use_Debug_Libraries 1 67 | # PROP Output_Dir "..\Debug" 68 | # PROP Intermediate_Dir ".\Debug" 69 | # PROP Target_Dir "" 70 | # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_WINDLL" /Yu"stdafx.h" /FD /GZ /c 71 | # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_MBCS" /D "_USRDLL" /Yu"stdafx.h" /FD /GZ /c 72 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 73 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 74 | # ADD BASE RSC /l 0x804 /d "_DEBUG" 75 | # ADD RSC /l 0x804 /d "_DEBUG" 76 | BSC32=bscmake.exe 77 | # ADD BASE BSC32 /nologo 78 | # ADD BSC32 /nologo 79 | LINK32=link.exe 80 | # ADD BASE LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept 81 | # ADD LINK32 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept 82 | 83 | !ELSEIF "$(CFG)" == "MFCBlackMoon - Win32 ReleaseDLL" 84 | 85 | # PROP BASE Use_MFC 5 86 | # PROP BASE Use_Debug_Libraries 0 87 | # PROP BASE Output_Dir "..\Release" 88 | # PROP BASE Intermediate_Dir ".\ReleaseDll" 89 | # PROP BASE Target_Dir "" 90 | # PROP Use_MFC 5 91 | # PROP Use_Debug_Libraries 0 92 | # PROP Output_Dir "..\Release" 93 | # PROP Intermediate_Dir ".\ReleaseDll" 94 | # PROP Ignore_Export_Lib 0 95 | # PROP Target_Dir "" 96 | # ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FD /D /D /c 97 | # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WINDLL" /D "_MBCS" /D "_USRDLL" /D "_EDLLMAIN" /FD /D /D /c 98 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 99 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 100 | # ADD BASE RSC /l 0x804 /d "NDEBUG" 101 | # ADD RSC /l 0x804 /d "NDEBUG" 102 | BSC32=bscmake.exe 103 | # ADD BASE BSC32 /nologo 104 | # ADD BSC32 /nologo 105 | LINK32=link.exe 106 | # ADD BASE LINK32 /nologo /subsystem:windows /dll /machine:I386 107 | # ADD LINK32 /nologo /subsystem:windows /dll /machine:I386 108 | 109 | !ENDIF 110 | 111 | # Begin Target 112 | 113 | # Name "MFCBlackMoon - Win32 Release" 114 | # Name "MFCBlackMoon - Win32 Debug" 115 | # Name "MFCBlackMoon - Win32 ReleaseDLL" 116 | # Begin Group "Source Files" 117 | 118 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 119 | # Begin Source File 120 | 121 | SOURCE=..\MFCObj\BlackMoonMFCdll.cpp 122 | # End Source File 123 | # Begin Source File 124 | 125 | SOURCE=..\MFCObj\EyMFCComInit.cpp 126 | # End Source File 127 | # Begin Source File 128 | 129 | SOURCE=..\MFCObj\MFCBlackMoon.cpp 130 | # End Source File 131 | # Begin Source File 132 | 133 | SOURCE=..\MFCObj\MFCBlackMoon.def 134 | # End Source File 135 | # Begin Source File 136 | 137 | SOURCE=..\MFCObj\MFCBlackMoon.rc 138 | # End Source File 139 | # Begin Source File 140 | 141 | SOURCE=..\MFCObj\MFCBlackMoonCon.cpp 142 | # End Source File 143 | # Begin Source File 144 | 145 | SOURCE=..\MFCObj\StdAfx.cpp 146 | # ADD CPP /Yc"stdafx.h" 147 | # End Source File 148 | # End Group 149 | # Begin Group "Header Files" 150 | 151 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 152 | # Begin Source File 153 | 154 | SOURCE=..\MFCObj\EyMFCComInit.h 155 | # End Source File 156 | # Begin Source File 157 | 158 | SOURCE=..\MFCObj\MFCBlackMoon.h 159 | # End Source File 160 | # Begin Source File 161 | 162 | SOURCE=..\MFCObj\Resource.h 163 | # End Source File 164 | # Begin Source File 165 | 166 | SOURCE=..\MFCObj\StdAfx.h 167 | # End Source File 168 | # End Group 169 | # Begin Group "Resource Files" 170 | 171 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" 172 | # Begin Source File 173 | 174 | SOURCE=..\MFCObj\res\MFCBlackMoon.rc2 175 | # End Source File 176 | # End Group 177 | # Begin Source File 178 | 179 | SOURCE=..\ReadMe.txt 180 | # End Source File 181 | # End Target 182 | # End Project 183 | -------------------------------------------------------------------------------- /krnln/MyMemFile.cpp: -------------------------------------------------------------------------------- 1 | // MyMemFile.cpp: implementation of the CMyMemFile class. 2 | // 3 | ////////////////////////////////////////////////////////////////////// 4 | 5 | #include "stdafx.h" 6 | #include "MyMemFile.h" 7 | 8 | ////////////////////////////////////////////////////////////////////// 9 | // Construction/Destruction 10 | ////////////////////////////////////////////////////////////////////// 11 | 12 | //////////////////////////////////////////////////////////////////////////// 13 | // CMyMemFile implementation 14 | 15 | CMyMemFile::CMyMemFile(UINT nGrowBytes) 16 | { 17 | m_nGrowBytes = nGrowBytes; 18 | m_nPosition = 0; 19 | m_nBufferSize = 0; 20 | m_nFileSize = 0; 21 | m_lpBuffer = NULL; 22 | m_bAutoDelete = TRUE; 23 | } 24 | 25 | CMyMemFile::CMyMemFile(BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes) 26 | { 27 | 28 | m_nGrowBytes = nGrowBytes; 29 | m_nPosition = 0; 30 | m_nBufferSize = nBufferSize; 31 | m_nFileSize = nGrowBytes == 0 ? nBufferSize : 0; 32 | m_lpBuffer = lpBuffer; 33 | m_bAutoDelete = FALSE; 34 | } 35 | 36 | void CMyMemFile::Attach(BYTE* lpBuffer, UINT nBufferSize, UINT nGrowBytes) 37 | { 38 | 39 | m_nGrowBytes = nGrowBytes; 40 | m_nPosition = 0; 41 | m_nBufferSize = nBufferSize; 42 | m_nFileSize = nGrowBytes == 0 ? nBufferSize : 0; 43 | m_lpBuffer = lpBuffer; 44 | m_bAutoDelete = FALSE; 45 | } 46 | 47 | BYTE* CMyMemFile::Detach() 48 | { 49 | BYTE* lpBuffer = m_lpBuffer; 50 | m_lpBuffer = NULL; 51 | m_nFileSize = 0; 52 | m_nBufferSize = 0; 53 | m_nPosition = 0; 54 | 55 | return lpBuffer; 56 | } 57 | 58 | CMyMemFile::~CMyMemFile() 59 | { 60 | // Close should have already been called, but we check anyway 61 | if (m_lpBuffer) 62 | Close(); 63 | m_nGrowBytes = 0; 64 | m_nPosition = 0; 65 | m_nBufferSize = 0; 66 | m_nFileSize = 0; 67 | } 68 | 69 | BYTE* CMyMemFile::Alloc(DWORD nBytes) 70 | { 71 | return (BYTE*)malloc((UINT)nBytes); 72 | } 73 | 74 | BYTE* CMyMemFile::Realloc(BYTE* lpMem, DWORD nBytes) 75 | { 76 | return (BYTE*)realloc(lpMem, (UINT)nBytes); 77 | } 78 | 79 | 80 | 81 | void CMyMemFile::Free(BYTE* lpMem) 82 | { 83 | free(lpMem); 84 | } 85 | 86 | DWORD CMyMemFile::GetPosition() const 87 | { 88 | 89 | return m_nPosition; 90 | } 91 | 92 | void CMyMemFile::GrowFile(DWORD dwNewLen) 93 | { 94 | 95 | if (dwNewLen > m_nBufferSize) 96 | { 97 | // grow the buffer 98 | DWORD dwNewBufferSize = (DWORD)m_nBufferSize; 99 | 100 | // watch out for buffers which cannot be grown! 101 | if (m_nGrowBytes == 0) 102 | return; 103 | 104 | // determine new buffer size 105 | while (dwNewBufferSize < dwNewLen) 106 | dwNewBufferSize += m_nGrowBytes; 107 | 108 | // allocate new buffer 109 | BYTE* lpNew; 110 | if (m_lpBuffer == NULL) 111 | lpNew = Alloc(dwNewBufferSize); 112 | else 113 | lpNew = Realloc(m_lpBuffer, dwNewBufferSize); 114 | 115 | if (lpNew == NULL) 116 | return; 117 | 118 | m_lpBuffer = lpNew; 119 | m_nBufferSize = dwNewBufferSize; 120 | } 121 | } 122 | 123 | void CMyMemFile::SetLength(DWORD dwNewLen) 124 | { 125 | 126 | if (dwNewLen > m_nBufferSize) 127 | GrowFile(dwNewLen); 128 | 129 | if (dwNewLen < m_nPosition) 130 | m_nPosition = dwNewLen; 131 | 132 | m_nFileSize = dwNewLen; 133 | 134 | } 135 | 136 | UINT CMyMemFile::Read(void* lpBuf, UINT nCount) 137 | { 138 | 139 | if (nCount == 0) 140 | return 0; 141 | 142 | 143 | if (m_nPosition > m_nFileSize) 144 | return 0; 145 | 146 | UINT nRead; 147 | if (m_nPosition + nCount > m_nFileSize) 148 | nRead = (UINT)(m_nFileSize - m_nPosition); 149 | else 150 | nRead = nCount; 151 | 152 | memcpy((BYTE*)lpBuf, (BYTE*)m_lpBuffer + m_nPosition, nRead); 153 | m_nPosition += nRead; 154 | 155 | 156 | return nRead; 157 | } 158 | 159 | void CMyMemFile::Write(const void* lpBuf, UINT nCount) 160 | { 161 | 162 | 163 | if (nCount == 0) 164 | return; 165 | 166 | 167 | if (m_nPosition + nCount > m_nBufferSize) 168 | GrowFile(m_nPosition + nCount); 169 | 170 | 171 | memcpy((BYTE*)m_lpBuffer + m_nPosition, (BYTE*)lpBuf, nCount); 172 | 173 | m_nPosition += nCount; 174 | 175 | if (m_nPosition > m_nFileSize) 176 | m_nFileSize = m_nPosition; 177 | 178 | } 179 | 180 | LONG CMyMemFile::Seek(LONG lOff, UINT nFrom) 181 | { 182 | 183 | LONG lNewPos = m_nPosition; 184 | 185 | if (nFrom == begin) 186 | lNewPos = lOff; 187 | else if (nFrom == current) 188 | lNewPos += lOff; 189 | else if (nFrom == end) 190 | lNewPos = m_nFileSize + lOff; 191 | else 192 | return -1; 193 | 194 | if (lNewPos < 0) 195 | return -1; 196 | 197 | m_nPosition = lNewPos; 198 | 199 | return m_nPosition; 200 | } 201 | /* 202 | void CMyMemFile::Flush() 203 | { 204 | ASSERT_VALID(this); 205 | } 206 | */ 207 | void CMyMemFile::Close() 208 | { 209 | ASSERT((m_lpBuffer == NULL && m_nBufferSize == 0) || 210 | !m_bAutoDelete || AfxIsValidAddress(m_lpBuffer, (UINT)m_nBufferSize, FALSE)); 211 | ASSERT(m_nFileSize <= m_nBufferSize); 212 | 213 | m_nGrowBytes = 0; 214 | m_nPosition = 0; 215 | m_nBufferSize = 0; 216 | m_nFileSize = 0; 217 | if (m_lpBuffer && m_bAutoDelete) 218 | Free(m_lpBuffer); 219 | m_lpBuffer = NULL; 220 | } 221 | 222 | void CMyMemFile::Abort() 223 | { 224 | Close(); 225 | } 226 | 227 | // only CMyMemFile supports "direct buffering" interaction with CArchive 228 | UINT CMyMemFile::GetBufferPtr(UINT nCommand, UINT nCount, 229 | void** ppBufStart, void**ppBufMax) 230 | { 231 | 232 | 233 | if (nCommand == bufferCheck) 234 | return 1; // just a check for direct buffer support 235 | 236 | if (nCommand == bufferCommit) 237 | { 238 | // commit buffer 239 | m_nPosition += nCount; 240 | if (m_nPosition > m_nFileSize) 241 | m_nFileSize = m_nPosition; 242 | return 0; 243 | } 244 | 245 | 246 | // when storing, grow file as necessary to satisfy buffer request 247 | if (nCommand == bufferWrite && m_nPosition + nCount > m_nBufferSize) 248 | GrowFile(m_nPosition + nCount); 249 | 250 | // store buffer max and min 251 | *ppBufStart = m_lpBuffer + m_nPosition; 252 | 253 | // end of buffer depends on whether you are reading or writing 254 | if (nCommand == bufferWrite) 255 | *ppBufMax = m_lpBuffer + min(m_nBufferSize, m_nPosition + nCount); 256 | else 257 | { 258 | if (nCount == (UINT)-1) 259 | nCount = m_nBufferSize - m_nPosition; 260 | *ppBufMax = m_lpBuffer + min(m_nFileSize, m_nPosition + nCount); 261 | m_nPosition += LPBYTE(*ppBufMax) - LPBYTE(*ppBufStart); 262 | } 263 | 264 | // return number of bytes in returned buffer space (may be <= nCount) 265 | return LPBYTE(*ppBufMax) - LPBYTE(*ppBufStart); 266 | } 267 | 268 | DWORD CMyMemFile::GetFileSize() 269 | { 270 | return m_nFileSize; 271 | } 272 | -------------------------------------------------------------------------------- /Project/krnln_VS2019_Obj.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 16.0 34 | {9EF1C5E2-3C57-47CE-9F68-DACA1CD298D4} 35 | Win32Proj 36 | krnln_Obj 37 | 10.0 38 | krnln_Obj 39 | 40 | 41 | 42 | StaticLibrary 43 | true 44 | v142 45 | MultiByte 46 | 47 | 48 | StaticLibrary 49 | false 50 | v142 51 | false 52 | MultiByte 53 | 54 | 55 | StaticLibrary 56 | true 57 | v142 58 | Unicode 59 | 60 | 61 | StaticLibrary 62 | false 63 | v142 64 | true 65 | Unicode 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | true 87 | krnln 88 | 89 | 90 | true 91 | 92 | 93 | false 94 | krnln 95 | 96 | 97 | false 98 | 99 | 100 | 101 | NotUsing 102 | Level3 103 | Disabled 104 | false 105 | WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) 106 | true 107 | StdAfx.h 108 | MultiThreadedDebug 109 | 110 | 111 | 112 | Windows 113 | true 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | Use 123 | Level3 124 | Disabled 125 | true 126 | _DEBUG;_LIB;%(PreprocessorDefinitions) 127 | true 128 | pch.h 129 | 130 | 131 | Windows 132 | true 133 | 134 | 135 | 136 | 137 | NotUsing 138 | Level3 139 | MaxSpeed 140 | true 141 | true 142 | false 143 | WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) 144 | true 145 | StdAfx.h 146 | MultiThreaded 147 | 148 | 149 | 150 | Windows 151 | true 152 | true 153 | true 154 | 155 | 156 | 157 | 158 | Use 159 | Level3 160 | MaxSpeed 161 | true 162 | true 163 | true 164 | NDEBUG;_LIB;%(PreprocessorDefinitions) 165 | true 166 | pch.h 167 | 168 | 169 | Windows 170 | true 171 | true 172 | true 173 | 174 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /Project/MFCBlackMoon_VS2019.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | ReleaseDll 10 | Win32 11 | 12 | 13 | ReleaseDll 14 | x64 15 | 16 | 17 | Release 18 | Win32 19 | 20 | 21 | Debug 22 | x64 23 | 24 | 25 | Release 26 | x64 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 16.0 51 | {302FE4C1-503E-476A-AD7B-D6768D2E0158} 52 | MFCDLLProj 53 | MFCBlackMoon 54 | 10.0 55 | MFCBlackMoon 56 | 57 | 58 | 59 | DynamicLibrary 60 | true 61 | v142 62 | MultiByte 63 | Static 64 | 65 | 66 | DynamicLibrary 67 | false 68 | v142 69 | true 70 | MultiByte 71 | Static 72 | 73 | 74 | DynamicLibrary 75 | false 76 | v142 77 | true 78 | MultiByte 79 | Static 80 | 81 | 82 | DynamicLibrary 83 | true 84 | v142 85 | Unicode 86 | Static 87 | 88 | 89 | DynamicLibrary 90 | false 91 | v142 92 | true 93 | Unicode 94 | Static 95 | 96 | 97 | DynamicLibrary 98 | false 99 | v142 100 | true 101 | Unicode 102 | Static 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | false 130 | 131 | 132 | false 133 | $(SolutionDir)Release 134 | 135 | 136 | true 137 | 138 | 139 | true 140 | 141 | 142 | false 143 | 144 | 145 | false 146 | 147 | 148 | 149 | NotUsing 150 | Level3 151 | MaxSpeed 152 | true 153 | true 154 | true 155 | WIN32;_WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions) 156 | StdAfx.h 157 | 158 | false 159 | 160 | 161 | Windows 162 | true 163 | true 164 | ..\MFCObj\MFCBlackMoon.def 165 | 166 | 167 | false 168 | NDEBUG;%(PreprocessorDefinitions) 169 | 170 | 171 | 0x0804 172 | NDEBUG;%(PreprocessorDefinitions) 173 | $(IntDir);%(AdditionalIncludeDirectories) 174 | 175 | 176 | 177 | 178 | NotUsing 179 | Level3 180 | MaxSpeed 181 | true 182 | true 183 | true 184 | WIN32;_WINDOWS;NDEBUG;_USRDLL;_EDLLMAIN;%(PreprocessorDefinitions) 185 | StdAfx.h 186 | 187 | 188 | false 189 | 190 | 191 | Windows 192 | true 193 | true 194 | ..\MFCObj\MFCBlackMoon.def 195 | 196 | 197 | false 198 | NDEBUG;%(PreprocessorDefinitions) 199 | 200 | 201 | 0x0804 202 | NDEBUG;%(PreprocessorDefinitions) 203 | $(IntDir);%(AdditionalIncludeDirectories) 204 | 205 | 206 | 207 | 208 | NotUsing 209 | Level3 210 | Disabled 211 | true 212 | WIN32;_WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions) 213 | StdAfx.h 214 | 215 | 216 | 217 | Windows 218 | ..\MFCObj\MFCBlackMoon.def 219 | 220 | 221 | false 222 | _DEBUG;%(PreprocessorDefinitions) 223 | 224 | 225 | 0x0804 226 | _DEBUG;%(PreprocessorDefinitions) 227 | $(IntDir);%(AdditionalIncludeDirectories) 228 | 229 | 230 | 231 | 232 | Use 233 | Level3 234 | Disabled 235 | true 236 | _WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions) 237 | pch.h 238 | 239 | 240 | Windows 241 | ..\MFCObj\MFCBlackMoon.def 242 | 243 | 244 | false 245 | _DEBUG;%(PreprocessorDefinitions) 246 | 247 | 248 | 0x0804 249 | _DEBUG;%(PreprocessorDefinitions) 250 | $(IntDir);%(AdditionalIncludeDirectories) 251 | 252 | 253 | 254 | 255 | Use 256 | Level3 257 | MaxSpeed 258 | true 259 | true 260 | true 261 | _WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions) 262 | pch.h 263 | 264 | 265 | Windows 266 | true 267 | true 268 | ..\MFCObj\MFCBlackMoon.def 269 | 270 | 271 | false 272 | NDEBUG;%(PreprocessorDefinitions) 273 | 274 | 275 | 0x0804 276 | NDEBUG;%(PreprocessorDefinitions) 277 | $(IntDir);%(AdditionalIncludeDirectories) 278 | 279 | 280 | 281 | 282 | Use 283 | Level3 284 | MaxSpeed 285 | true 286 | true 287 | true 288 | _WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions) 289 | pch.h 290 | 291 | 292 | Windows 293 | true 294 | true 295 | ..\MFCObj\MFCBlackMoon.def 296 | 297 | 298 | false 299 | NDEBUG;%(PreprocessorDefinitions) 300 | 301 | 302 | 0x0804 303 | NDEBUG;%(PreprocessorDefinitions) 304 | $(IntDir);%(AdditionalIncludeDirectories) 305 | 306 | 307 | 308 | 309 | 310 | -------------------------------------------------------------------------------- /Project/krnln_VS2019.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 16.0 280 | {90C7C825-74BF-4F91-BF9C-4A1E762F24B9} 281 | Win32Proj 282 | krnln 283 | 10.0 284 | krnln 285 | 286 | 287 | 288 | StaticLibrary 289 | true 290 | v142 291 | MultiByte 292 | 293 | 294 | StaticLibrary 295 | false 296 | v142 297 | true 298 | MultiByte 299 | false 300 | 301 | 302 | StaticLibrary 303 | true 304 | v142 305 | MultiByte 306 | 307 | 308 | StaticLibrary 309 | false 310 | v142 311 | true 312 | MultiByte 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | true 334 | krnln 335 | 336 | 337 | true 338 | 339 | 340 | false 341 | krnln 342 | 343 | 344 | false 345 | 346 | 347 | 348 | NotUsing 349 | Level3 350 | Disabled 351 | false 352 | WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) 353 | true 354 | StdAfx.h 355 | MultiThreadedDebug 356 | 357 | 358 | Windows 359 | true 360 | 361 | 362 | 363 | 364 | Use 365 | Level3 366 | Disabled 367 | true 368 | _DEBUG;_LIB;%(PreprocessorDefinitions) 369 | true 370 | pch.h 371 | 372 | 373 | Windows 374 | true 375 | 376 | 377 | 378 | 379 | NotUsing 380 | Level3 381 | MaxSpeed 382 | true 383 | true 384 | false 385 | WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) 386 | true 387 | StdAfx.h 388 | MultiThreaded 389 | false 390 | 391 | 392 | true 393 | 394 | 395 | 396 | Windows 397 | true 398 | true 399 | true 400 | 401 | 402 | 403 | 404 | Use 405 | Level3 406 | MaxSpeed 407 | true 408 | true 409 | true 410 | NDEBUG;_LIB;%(PreprocessorDefinitions) 411 | true 412 | pch.h 413 | 414 | 415 | Windows 416 | true 417 | true 418 | true 419 | 420 | 421 | 422 | 423 | 424 | -------------------------------------------------------------------------------- /Project/krnln_VC6.dsp: -------------------------------------------------------------------------------- 1 | # Microsoft Developer Studio Project File - Name="krnln" - Package Owner=<4> 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 3 | # ** DO NOT EDIT ** 4 | 5 | # TARGTYPE "Win32 (x86) Static Library" 0x0104 6 | 7 | CFG=krnln - Win32 Debug 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, 9 | !MESSAGE use the Export Makefile command and run 10 | !MESSAGE 11 | !MESSAGE NMAKE /f "krnln_VC6.mak". 12 | !MESSAGE 13 | !MESSAGE You can specify a configuration when running NMAKE 14 | !MESSAGE by defining the macro CFG on the command line. For example: 15 | !MESSAGE 16 | !MESSAGE NMAKE /f "krnln_VC6.mak" CFG="krnln - Win32 Debug" 17 | !MESSAGE 18 | !MESSAGE Possible choices for configuration are: 19 | !MESSAGE 20 | !MESSAGE "krnln - Win32 Release" (based on "Win32 (x86) Static Library") 21 | !MESSAGE "krnln - Win32 Debug" (based on "Win32 (x86) Static Library") 22 | !MESSAGE 23 | 24 | # Begin Project 25 | # PROP AllowPerConfigDependencies 0 26 | # PROP Scc_ProjName "" 27 | # PROP Scc_LocalPath "" 28 | CPP=cl.exe 29 | RSC=rc.exe 30 | 31 | !IF "$(CFG)" == "krnln - Win32 Release" 32 | 33 | # PROP BASE Use_MFC 2 34 | # PROP BASE Use_Debug_Libraries 0 35 | # PROP BASE Output_Dir "..\Release" 36 | # PROP BASE Intermediate_Dir ".\Release" 37 | # PROP BASE Target_Dir "" 38 | # PROP Use_MFC 0 39 | # PROP Use_Debug_Libraries 0 40 | # PROP Output_Dir "..\Release" 41 | # PROP Intermediate_Dir ".\Release" 42 | # PROP Target_Dir "" 43 | # ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c 44 | # ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FR /Yu"stdafx.h" /FD /c 45 | # ADD BASE RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL" 46 | # ADD RSC /l 0x804 /d "NDEBUG" 47 | BSC32=bscmake.exe 48 | # ADD BASE BSC32 /nologo 49 | # ADD BSC32 /nologo 50 | LIB32=link.exe -lib 51 | # ADD BASE LIB32 /nologo 52 | # ADD LIB32 /nologo /out:"..\Release\krnln.lib" 53 | 54 | !ELSEIF "$(CFG)" == "krnln - Win32 Debug" 55 | 56 | # PROP BASE Use_MFC 2 57 | # PROP BASE Use_Debug_Libraries 1 58 | # PROP BASE Output_Dir "..\Debug" 59 | # PROP BASE Intermediate_Dir ".\Debug" 60 | # PROP BASE Target_Dir "" 61 | # PROP Use_MFC 0 62 | # PROP Use_Debug_Libraries 1 63 | # PROP Output_Dir "..\Debug" 64 | # PROP Intermediate_Dir ".\Debug" 65 | # PROP Target_Dir "" 66 | # ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c 67 | # ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c 68 | # ADD BASE RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL" 69 | # ADD RSC /l 0x804 /d "_DEBUG" 70 | BSC32=bscmake.exe 71 | # ADD BASE BSC32 /nologo 72 | # ADD BSC32 /nologo 73 | LIB32=link.exe -lib 74 | # ADD BASE LIB32 /nologo 75 | # ADD LIB32 /nologo 76 | 77 | !ENDIF 78 | 79 | # Begin Target 80 | 81 | # Name "krnln - Win32 Release" 82 | # Name "krnln - Win32 Debug" 83 | # Begin Group "Source Files" 84 | 85 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" 86 | # Begin Source File 87 | 88 | SOURCE="..\krnln\BlackMoonCallPropertyVaule.cpp" 89 | # End Source File 90 | # Begin Source File 91 | 92 | SOURCE="..\krnln\BlackMoonCallUserDll.cpp" 93 | # End Source File 94 | # Begin Source File 95 | 96 | SOURCE="..\krnln\BlackMoonLibNotifySys.cpp" 97 | # End Source File 98 | # Begin Source File 99 | 100 | SOURCE="..\krnln\CloneBinData.cpp" 101 | # End Source File 102 | # Begin Source File 103 | 104 | SOURCE="..\krnln\CloneTextData.cpp" 105 | # End Source File 106 | # Begin Source File 107 | 108 | SOURCE="..\krnln\DateTimeFormat.cpp" 109 | # End Source File 110 | # Begin Source File 111 | 112 | SOURCE="..\krnln\DllEntryFunc.cpp" 113 | # End Source File 114 | # Begin Source File 115 | 116 | SOURCE="..\krnln\eHelpFunc.cpp" 117 | # End Source File 118 | # Begin Source File 119 | 120 | SOURCE="..\krnln\FileManager.cpp" 121 | # End Source File 122 | # Begin Source File 123 | 124 | SOURCE="..\krnln\FreeAryElement.cpp" 125 | # End Source File 126 | # Begin Source File 127 | 128 | SOURCE="..\krnln\GetAryElementInf.cpp" 129 | # End Source File 130 | # Begin Source File 131 | 132 | SOURCE="..\krnln\GetDataTypeType.cpp" 133 | # End Source File 134 | # Begin Source File 135 | 136 | SOURCE="..\krnln\GetDatePart.cpp" 137 | # End Source File 138 | # Begin Source File 139 | 140 | SOURCE="..\krnln\GetDaysOfSpecMonth.cpp" 141 | # End Source File 142 | # Begin Source File 143 | 144 | SOURCE="..\krnln\GetRegRootVal.cpp" 145 | # End Source File 146 | # Begin Source File 147 | 148 | SOURCE="..\krnln\GetSpecTime.cpp" 149 | # End Source File 150 | # Begin Source File 151 | 152 | SOURCE="..\krnln\GetSysDataTypeDataSize.cpp" 153 | # End Source File 154 | # Begin Source File 155 | 156 | SOURCE="..\krnln\GetTimePart.cpp" 157 | # End Source File 158 | # Begin Source File 159 | 160 | SOURCE="..\krnln\GetWeekDay.cpp" 161 | # End Source File 162 | # Begin Source File 163 | 164 | SOURCE="..\krnln\HelpFunc12.cpp" 165 | # End Source File 166 | # Begin Source File 167 | 168 | SOURCE="..\krnln\IsInFileMangerList.cpp" 169 | # End Source File 170 | # Begin Source File 171 | 172 | SOURCE="..\krnln\krnln_abs.cpp" 173 | # End Source File 174 | # Begin Source File 175 | 176 | SOURCE="..\krnln\krnln_asc.cpp" 177 | # End Source File 178 | # Begin Source File 179 | 180 | SOURCE="..\krnln\krnln_atn.cpp" 181 | # End Source File 182 | # Begin Source File 183 | 184 | SOURCE="..\krnln\krnln_band.cpp" 185 | # End Source File 186 | # Begin Source File 187 | 188 | SOURCE="..\krnln\krnln_beep.cpp" 189 | # End Source File 190 | # Begin Source File 191 | 192 | SOURCE="..\krnln\krnln_bin.cpp" 193 | # End Source File 194 | # Begin Source File 195 | 196 | SOURCE="..\krnln\krnln_BinLeft.cpp" 197 | # End Source File 198 | # Begin Source File 199 | 200 | SOURCE="..\krnln\krnln_BinLen.cpp" 201 | # End Source File 202 | # Begin Source File 203 | 204 | SOURCE="..\krnln\krnln_BinMid.cpp" 205 | # End Source File 206 | # Begin Source File 207 | 208 | SOURCE="..\krnln\krnln_BinRight.cpp" 209 | # End Source File 210 | # Begin Source File 211 | 212 | SOURCE="..\krnln\krnln_BJCase.cpp" 213 | # End Source File 214 | # Begin Source File 215 | 216 | SOURCE="..\krnln\krnln_bnot.cpp" 217 | # End Source File 218 | # Begin Source File 219 | 220 | SOURCE="..\krnln\krnln_bor.cpp" 221 | # End Source File 222 | # Begin Source File 223 | 224 | SOURCE="..\krnln\krnln_bxor.cpp" 225 | # End Source File 226 | # Begin Source File 227 | 228 | SOURCE="..\krnln\krnln_ChDir.cpp" 229 | # End Source File 230 | # Begin Source File 231 | 232 | SOURCE="..\krnln\krnln_ChDrive.cpp" 233 | # End Source File 234 | # Begin Source File 235 | 236 | SOURCE="..\krnln\krnln_chr.cpp" 237 | # End Source File 238 | # Begin Source File 239 | 240 | SOURCE="..\krnln\krnln_ClearClipBoard.cpp" 241 | # End Source File 242 | # Begin Source File 243 | 244 | SOURCE="..\krnln\krnln_close.cpp" 245 | # End Source File 246 | # Begin Source File 247 | 248 | SOURCE="..\krnln\krnln_cos.cpp" 249 | # End Source File 250 | # Begin Source File 251 | 252 | SOURCE="..\krnln\krnln_create.cpp" 253 | # End Source File 254 | # Begin Source File 255 | 256 | SOURCE="..\krnln\krnln_CryptOpen.cpp" 257 | # End Source File 258 | # Begin Source File 259 | 260 | SOURCE="..\krnln\krnln_CurDir.cpp" 261 | # End Source File 262 | # Begin Source File 263 | 264 | SOURCE="..\krnln\krnln_day.cpp" 265 | # End Source File 266 | # Begin Source File 267 | 268 | SOURCE="..\krnln\krnln_DeleteRegItem.cpp" 269 | # End Source File 270 | # Begin Source File 271 | 272 | SOURCE="..\krnln\krnln_Dispatch.cpp" 273 | # End Source File 274 | # Begin Source File 275 | 276 | SOURCE="..\krnln\krnln_DoEvents.cpp" 277 | # End Source File 278 | # Begin Source File 279 | 280 | SOURCE="..\krnln\krnln_exp.cpp" 281 | # End Source File 282 | # Begin Source File 283 | 284 | SOURCE="..\krnln\krnln_feof.cpp" 285 | # End Source File 286 | # Begin Source File 287 | 288 | SOURCE="..\krnln\krnln_fgets.cpp" 289 | # End Source File 290 | # Begin Source File 291 | 292 | SOURCE="..\krnln\krnln_FileCopy.cpp" 293 | # End Source File 294 | # Begin Source File 295 | 296 | SOURCE="..\krnln\krnln_FileDateTime.cpp" 297 | # End Source File 298 | # Begin Source File 299 | 300 | SOURCE="..\krnln\krnln_FileLen.cpp" 301 | # End Source File 302 | # Begin Source File 303 | 304 | SOURCE="..\krnln\krnln_FileMove.cpp" 305 | # End Source File 306 | # Begin Source File 307 | 308 | SOURCE="..\krnln\krnln_fix.cpp" 309 | # End Source File 310 | # Begin Source File 311 | 312 | SOURCE="..\krnln\krnln_fputs.cpp" 313 | # End Source File 314 | # Begin Source File 315 | 316 | SOURCE="..\krnln\krnln_FSeek.cpp" 317 | # End Source File 318 | # Begin Source File 319 | 320 | SOURCE="..\krnln\krnln_GetAllPY.cpp" 321 | # End Source File 322 | # Begin Source File 323 | 324 | SOURCE="..\krnln\krnln_GetAttr.cpp" 325 | # End Source File 326 | # Begin Source File 327 | 328 | SOURCE="..\krnln\krnln_GetBackColor.cpp" 329 | # End Source File 330 | # Begin Source File 331 | 332 | SOURCE="..\krnln\krnln_GetBinElement.cpp" 333 | # End Source File 334 | # Begin Source File 335 | 336 | SOURCE="..\krnln\krnln_GetBinRegItem.cpp" 337 | # End Source File 338 | # Begin Source File 339 | 340 | SOURCE="..\krnln\krnln_GetClipBoardText.cpp" 341 | # End Source File 342 | # Begin Source File 343 | 344 | SOURCE="..\krnln\krnln_GetCmdLine.cpp" 345 | # End Source File 346 | # Begin Source File 347 | 348 | SOURCE="..\krnln\krnln_GetColorCount.cpp" 349 | # End Source File 350 | # Begin Source File 351 | 352 | SOURCE="..\krnln\krnln_GetCursorHorzPos.cpp" 353 | # End Source File 354 | # Begin Source File 355 | 356 | SOURCE="..\krnln\krnln_GetCursorVertPos.cpp" 357 | # End Source File 358 | # Begin Source File 359 | 360 | SOURCE="..\krnln\krnln_GetDataTypeSize.cpp" 361 | # End Source File 362 | # Begin Source File 363 | 364 | SOURCE="..\krnln\krnln_GetDatePart.cpp" 365 | # End Source File 366 | # Begin Source File 367 | 368 | SOURCE="..\krnln\krnln_GetDaysOfSpecMonth.cpp" 369 | # End Source File 370 | # Begin Source File 371 | 372 | SOURCE="..\krnln\krnln_GetDiskFreeSpace.cpp" 373 | # End Source File 374 | # Begin Source File 375 | 376 | SOURCE="..\krnln\krnln_GetDiskLabel.cpp" 377 | # End Source File 378 | # Begin Source File 379 | 380 | SOURCE="..\krnln\krnln_GetDiskTotalSpace.cpp" 381 | # End Source File 382 | # Begin Source File 383 | 384 | SOURCE="..\krnln\krnln_GetEnv.cpp" 385 | # End Source File 386 | # Begin Source File 387 | 388 | SOURCE="..\krnln\krnln_GetHDiskCode.cpp" 389 | # End Source File 390 | # Begin Source File 391 | 392 | SOURCE="..\krnln\krnln_GetHostName.cpp" 393 | # End Source File 394 | # Begin Source File 395 | 396 | SOURCE="..\krnln\krnln_GetIntInsideBin.cpp" 397 | # End Source File 398 | # Begin Source File 399 | 400 | SOURCE="..\krnln\krnln_GetKeyText.cpp" 401 | # End Source File 402 | # Begin Source File 403 | 404 | SOURCE="..\krnln\krnln_GetLastError.cpp" 405 | # End Source File 406 | # Begin Source File 407 | 408 | SOURCE="..\krnln\krnln_GetNumRegItem.cpp" 409 | # End Source File 410 | # Begin Source File 411 | 412 | SOURCE="..\krnln\krnln_GetRunFileName.cpp" 413 | # End Source File 414 | # Begin Source File 415 | 416 | SOURCE="..\krnln\krnln_GetRunPath.cpp" 417 | # End Source File 418 | # Begin Source File 419 | 420 | SOURCE="..\krnln\krnln_GetRuntimeDataType.cpp" 421 | # End Source File 422 | # Begin Source File 423 | 424 | SOURCE="..\krnln\krnln_GetScreenHeight.cpp" 425 | # End Source File 426 | # Begin Source File 427 | 428 | SOURCE="..\krnln\krnln_GetScreenWidth.cpp" 429 | # End Source File 430 | # Begin Source File 431 | 432 | SOURCE="..\krnln\krnln_GetSectionNames.cpp" 433 | # End Source File 434 | # Begin Source File 435 | 436 | SOURCE="..\krnln\krnln_GetSpecTime.cpp" 437 | # End Source File 438 | # Begin Source File 439 | 440 | SOURCE="..\krnln\krnln_GetSysVer.cpp" 441 | # End Source File 442 | # Begin Source File 443 | 444 | SOURCE="..\krnln\krnln_GetTempFileName.cpp" 445 | # End Source File 446 | # Begin Source File 447 | 448 | SOURCE="..\krnln\krnln_GetTextRegItem.cpp" 449 | # End Source File 450 | # Begin Source File 451 | 452 | SOURCE="..\krnln\krnln_GetTickCount.cpp" 453 | # End Source File 454 | # Begin Source File 455 | 456 | SOURCE="..\krnln\krnln_GetTimePart.cpp" 457 | # End Source File 458 | # Begin Source File 459 | 460 | SOURCE="..\krnln\krnln_GetWinPic.cpp" 461 | # End Source File 462 | # Begin Source File 463 | 464 | SOURCE="..\krnln\krnln_hex.cpp" 465 | # End Source File 466 | # Begin Source File 467 | 468 | SOURCE="..\krnln\krnln_HostNameToIP.cpp" 469 | # End Source File 470 | # Begin Source File 471 | 472 | SOURCE="..\krnln\krnln_hour.cpp" 473 | # End Source File 474 | # Begin Source File 475 | 476 | SOURCE="..\krnln\krnln_IDiv.cpp" 477 | # End Source File 478 | # Begin Source File 479 | 480 | SOURCE="..\krnln\krnln_InBin.cpp" 481 | # End Source File 482 | # Begin Source File 483 | 484 | SOURCE="..\krnln\krnln_InBinRev.cpp" 485 | # End Source File 486 | # Begin Source File 487 | 488 | SOURCE="..\krnln\krnln_InputBox.cpp" 489 | # End Source File 490 | # Begin Source File 491 | 492 | SOURCE="..\krnln\krnln_InsBin.cpp" 493 | # End Source File 494 | # Begin Source File 495 | 496 | SOURCE="..\krnln\krnln_InsLine.cpp" 497 | # End Source File 498 | # Begin Source File 499 | 500 | SOURCE="..\krnln\krnln_InsText.cpp" 501 | # End Source File 502 | # Begin Source File 503 | 504 | SOURCE="..\krnln\krnln_InStr.cpp" 505 | # End Source File 506 | # Begin Source File 507 | 508 | SOURCE="..\krnln\krnln_InStrRev.cpp" 509 | # End Source File 510 | # Begin Source File 511 | 512 | SOURCE="..\krnln\krnln_int.cpp" 513 | # End Source File 514 | # Begin Source File 515 | 516 | SOURCE="..\krnln\krnln_IPToHostName.cpp" 517 | # End Source File 518 | # Begin Source File 519 | 520 | SOURCE="..\krnln\krnln_IsCalcOK.cpp" 521 | # End Source File 522 | # Begin Source File 523 | 524 | SOURCE="..\krnln\krnln_IsFileExist.cpp" 525 | # End Source File 526 | # Begin Source File 527 | 528 | SOURCE="..\krnln\krnln_IsHaveTextInClip.cpp" 529 | # End Source File 530 | # Begin Source File 531 | 532 | SOURCE="..\krnln\krnln_IsRegItemExist.cpp" 533 | # End Source File 534 | # Begin Source File 535 | 536 | SOURCE="..\krnln\krnln_kill.cpp" 537 | # End Source File 538 | # Begin Source File 539 | 540 | SOURCE="..\krnln\krnln_LCase.cpp" 541 | # End Source File 542 | # Begin Source File 543 | 544 | SOURCE="..\krnln\krnln_left.cpp" 545 | # End Source File 546 | # Begin Source File 547 | 548 | SOURCE="..\krnln\krnln_len.cpp" 549 | # End Source File 550 | # Begin Source File 551 | 552 | SOURCE="..\krnln\krnln_like.cpp" 553 | # End Source File 554 | # Begin Source File 555 | 556 | SOURCE="..\krnln\krnln_loc.cpp" 557 | # End Source File 558 | # Begin Source File 559 | 560 | SOURCE="..\krnln\krnln_lock.cpp" 561 | # End Source File 562 | # Begin Source File 563 | 564 | SOURCE="..\krnln\krnln_lof.cpp" 565 | # End Source File 566 | # Begin Source File 567 | 568 | SOURCE="..\krnln\krnln_log.cpp" 569 | # End Source File 570 | # Begin Source File 571 | 572 | SOURCE="..\krnln\krnln_LTrim.cpp" 573 | # End Source File 574 | # Begin Source File 575 | 576 | SOURCE="..\krnln\krnln_MakeLong.cpp" 577 | # End Source File 578 | # Begin Source File 579 | 580 | SOURCE="..\krnln\krnln_MakeWord.cpp" 581 | # End Source File 582 | # Begin Source File 583 | 584 | SOURCE="..\krnln\krnln_mid.cpp" 585 | # End Source File 586 | # Begin Source File 587 | 588 | SOURCE="..\krnln\krnln_minute.cpp" 589 | # End Source File 590 | # Begin Source File 591 | 592 | SOURCE="..\krnln\krnln_MkDir.cpp" 593 | # End Source File 594 | # Begin Source File 595 | 596 | SOURCE="..\krnln\krnln_mod.cpp" 597 | # End Source File 598 | # Begin Source File 599 | 600 | SOURCE="..\krnln\krnln_month.cpp" 601 | # End Source File 602 | # Begin Source File 603 | 604 | SOURCE="..\krnln\krnln_MsgBox.cpp" 605 | # End Source File 606 | # Begin Source File 607 | 608 | SOURCE="..\krnln\krnln_name.cpp" 609 | # End Source File 610 | # Begin Source File 611 | 612 | SOURCE="..\krnln\krnln_now.cpp" 613 | # End Source File 614 | # Begin Source File 615 | 616 | SOURCE="..\krnln\krnln_NumToRMB.cpp" 617 | # End Source File 618 | # Begin Source File 619 | 620 | SOURCE="..\krnln\krnln_NumToText.cpp" 621 | # End Source File 622 | # Begin Source File 623 | 624 | SOURCE="..\krnln\krnln_oct.cpp" 625 | # End Source File 626 | # Begin Source File 627 | 628 | SOURCE="..\krnln\krnln_open.cpp" 629 | # End Source File 630 | # Begin Source File 631 | 632 | SOURCE="..\krnln\krnln_OpenManyFileDialog.cpp" 633 | # End Source File 634 | # Begin Source File 635 | 636 | SOURCE="..\krnln\krnln_OpenMemFile.cpp" 637 | # End Source File 638 | # Begin Source File 639 | 640 | SOURCE="..\krnln\krnln_p2double.cpp" 641 | # End Source File 642 | # Begin Source File 643 | 644 | SOURCE="..\krnln\krnln_p2float.cpp" 645 | # End Source File 646 | # Begin Source File 647 | 648 | SOURCE="..\krnln\krnln_p2int.cpp" 649 | # End Source File 650 | # Begin Source File 651 | 652 | SOURCE="..\krnln\krnln_pbin.cpp" 653 | # End Source File 654 | # Begin Source File 655 | 656 | SOURCE="..\krnln\krnln_ping.cpp" 657 | # End Source File 658 | # Begin Source File 659 | 660 | SOURCE="..\krnln\krnln_PlayMID.cpp" 661 | # End Source File 662 | # Begin Source File 663 | 664 | SOURCE="..\krnln\krnln_PlayMusic.cpp" 665 | # End Source File 666 | # Begin Source File 667 | 668 | SOURCE="..\krnln\krnln_PlayStop.cpp" 669 | # End Source File 670 | # Begin Source File 671 | 672 | SOURCE="..\krnln\krnln_pow.cpp" 673 | # End Source File 674 | # Begin Source File 675 | 676 | SOURCE="..\krnln\krnln_pstr.cpp" 677 | # End Source File 678 | # Begin Source File 679 | 680 | SOURCE="..\krnln\krnln_PutEnv.cpp" 681 | # End Source File 682 | # Begin Source File 683 | 684 | SOURCE="..\krnln\krnln_QJCase.cpp" 685 | # End Source File 686 | # Begin Source File 687 | 688 | SOURCE="..\krnln\krnln_randomize.cpp" 689 | # End Source File 690 | # Begin Source File 691 | 692 | SOURCE="..\krnln\krnln_read.cpp" 693 | # End Source File 694 | # Begin Source File 695 | 696 | SOURCE="..\krnln\krnln_ReadBin.cpp" 697 | # End Source File 698 | # Begin Source File 699 | 700 | SOURCE="..\krnln\krnln_ReadFile.cpp" 701 | # End Source File 702 | # Begin Source File 703 | 704 | SOURCE="..\krnln\krnln_ReadLine.cpp" 705 | # End Source File 706 | # Begin Source File 707 | 708 | SOURCE="..\krnln\krnln_ReadText.cpp" 709 | # End Source File 710 | # Begin Source File 711 | 712 | SOURCE="..\krnln\krnln_RemoveData.cpp" 713 | # End Source File 714 | # Begin Source File 715 | 716 | SOURCE="..\krnln\krnln_ReplaceText.cpp" 717 | # End Source File 718 | # Begin Source File 719 | 720 | SOURCE="..\krnln\krnln_reset.cpp" 721 | # End Source File 722 | # Begin Source File 723 | 724 | SOURCE="..\krnln\krnln_RestroeCursor.cpp" 725 | # End Source File 726 | # Begin Source File 727 | 728 | SOURCE="..\krnln\krnln_ReverseIntBytes.cpp" 729 | # End Source File 730 | # Begin Source File 731 | 732 | SOURCE="..\krnln\krnln_rgb.cpp" 733 | # End Source File 734 | # Begin Source File 735 | 736 | SOURCE="..\krnln\krnln_right.cpp" 737 | # End Source File 738 | # Begin Source File 739 | 740 | SOURCE="..\krnln\krnln_RmDir.cpp" 741 | # End Source File 742 | # Begin Source File 743 | 744 | SOURCE="..\krnln\krnln_rnd.cpp" 745 | # End Source File 746 | # Begin Source File 747 | 748 | SOURCE="..\krnln\krnln_round.cpp" 749 | # End Source File 750 | # Begin Source File 751 | 752 | SOURCE="..\krnln\krnln_RpBin.cpp" 753 | # End Source File 754 | # Begin Source File 755 | 756 | SOURCE="..\krnln\krnln_RpSubBin.cpp" 757 | # End Source File 758 | # Begin Source File 759 | 760 | SOURCE="..\krnln\krnln_RpSubText.cpp" 761 | # End Source File 762 | # Begin Source File 763 | 764 | SOURCE="..\krnln\krnln_RTrim.cpp" 765 | # End Source File 766 | # Begin Source File 767 | 768 | SOURCE="..\krnln\krnln_run.cpp" 769 | # End Source File 770 | # Begin Source File 771 | 772 | SOURCE="..\krnln\krnln_RunConsoleApp.cpp" 773 | # End Source File 774 | # Begin Source File 775 | 776 | SOURCE="..\krnln\krnln_SaveRegItem.cpp" 777 | # End Source File 778 | # Begin Source File 779 | 780 | SOURCE="..\krnln\krnln_second.cpp" 781 | # End Source File 782 | # Begin Source File 783 | 784 | SOURCE="..\krnln\krnln_SeekToBegin.cpp" 785 | # End Source File 786 | # Begin Source File 787 | 788 | SOURCE="..\krnln\krnln_SeekToEnd.cpp" 789 | # End Source File 790 | # Begin Source File 791 | 792 | SOURCE="..\krnln\krnln_SetAttr.cpp" 793 | # End Source File 794 | # Begin Source File 795 | 796 | SOURCE="..\krnln\krnln_SetClipBoardText.cpp" 797 | # End Source File 798 | # Begin Source File 799 | 800 | SOURCE="..\krnln\krnln_SetDiskLabel.cpp" 801 | # End Source File 802 | # Begin Source File 803 | 804 | SOURCE="..\krnln\krnln_SetIntInsideBin.cpp" 805 | # End Source File 806 | # Begin Source File 807 | 808 | SOURCE="..\krnln\krnln_SetKeyText.cpp" 809 | # End Source File 810 | # Begin Source File 811 | 812 | SOURCE="..\krnln\krnln_SetSysTime.cpp" 813 | # End Source File 814 | # Begin Source File 815 | 816 | SOURCE="..\krnln\krnln_SetWaitCursor.cpp" 817 | # End Source File 818 | # Begin Source File 819 | 820 | SOURCE="..\krnln\krnln_sgn.cpp" 821 | # End Source File 822 | # Begin Source File 823 | 824 | SOURCE="..\krnln\krnln_shl.cpp" 825 | # End Source File 826 | # Begin Source File 827 | 828 | SOURCE="..\krnln\krnln_shr.cpp" 829 | # End Source File 830 | # Begin Source File 831 | 832 | SOURCE="..\krnln\krnln_sin.cpp" 833 | # End Source File 834 | # Begin Source File 835 | 836 | SOURCE="..\krnln\krnln_sleep.cpp" 837 | # End Source File 838 | # Begin Source File 839 | 840 | SOURCE="..\krnln\krnln_SortAry.cpp" 841 | # End Source File 842 | # Begin Source File 843 | 844 | SOURCE="..\krnln\krnln_space.cpp" 845 | # End Source File 846 | # Begin Source File 847 | 848 | SOURCE="..\krnln\krnln_SpaceBin.cpp" 849 | # End Source File 850 | # Begin Source File 851 | 852 | SOURCE="..\krnln\krnln_split.cpp" 853 | # End Source File 854 | # Begin Source File 855 | 856 | SOURCE="..\krnln\krnln_SplitBin.cpp" 857 | # End Source File 858 | # Begin Source File 859 | 860 | SOURCE="..\krnln\krnln_sqr.cpp" 861 | # End Source File 862 | # Begin Source File 863 | 864 | SOURCE="..\krnln\krnln_str.cpp" 865 | # End Source File 866 | # Begin Source File 867 | 868 | SOURCE="..\krnln\krnln_StrComp.cpp" 869 | # End Source File 870 | # Begin Source File 871 | 872 | SOURCE="..\krnln\krnln_string.cpp" 873 | # End Source File 874 | # Begin Source File 875 | 876 | SOURCE="..\krnln\krnln_StrToUTF8.cpp" 877 | # End Source File 878 | # Begin Source File 879 | 880 | SOURCE="..\krnln\krnln_tan.cpp" 881 | # End Source File 882 | # Begin Source File 883 | 884 | SOURCE="..\krnln\krnln_TimeChg.cpp" 885 | # End Source File 886 | # Begin Source File 887 | 888 | SOURCE="..\krnln\krnln_TimeDiff.cpp" 889 | # End Source File 890 | # Begin Source File 891 | 892 | SOURCE="..\krnln\krnln_TimePart.cpp" 893 | # End Source File 894 | # Begin Source File 895 | 896 | SOURCE="..\krnln\krnln_TimeToText.cpp" 897 | # End Source File 898 | # Begin Source File 899 | 900 | SOURCE="..\krnln\krnln_ToBin.cpp" 901 | # End Source File 902 | # Begin Source File 903 | 904 | SOURCE="..\krnln\krnln_ToByte.cpp" 905 | # End Source File 906 | # Begin Source File 907 | 908 | SOURCE="..\krnln\krnln_ToFloat.cpp" 909 | # End Source File 910 | # Begin Source File 911 | 912 | SOURCE="..\krnln\krnln_ToInt.cpp" 913 | # End Source File 914 | # Begin Source File 915 | 916 | SOURCE="..\krnln\krnln_ToLong.cpp" 917 | # End Source File 918 | # Begin Source File 919 | 920 | SOURCE="..\krnln\krnln_ToShort.cpp" 921 | # End Source File 922 | # Begin Source File 923 | 924 | SOURCE="..\krnln\krnln_ToTime.cpp" 925 | # End Source File 926 | # Begin Source File 927 | 928 | SOURCE="..\krnln\krnln_trim.cpp" 929 | # End Source File 930 | # Begin Source File 931 | 932 | SOURCE="..\krnln\krnln_TrimAll.cpp" 933 | # End Source File 934 | # Begin Source File 935 | 936 | SOURCE="..\krnln\krnln_UCase.cpp" 937 | # End Source File 938 | # Begin Source File 939 | 940 | SOURCE="..\krnln\krnln_Unlock.cpp" 941 | # End Source File 942 | # Begin Source File 943 | 944 | SOURCE="..\krnln\krnln_UNum.cpp" 945 | # End Source File 946 | # Begin Source File 947 | 948 | SOURCE="..\krnln\krnln_UTF8ToStr.cpp" 949 | # End Source File 950 | # Begin Source File 951 | 952 | SOURCE="..\krnln\krnln_val.cpp" 953 | # End Source File 954 | # Begin Source File 955 | 956 | SOURCE="..\krnln\krnln_Variant.cpp" 957 | # End Source File 958 | # Begin Source File 959 | 960 | SOURCE="..\krnln\krnln_WeekDay.cpp" 961 | # End Source File 962 | # Begin Source File 963 | 964 | SOURCE="..\krnln\krnln_write.cpp" 965 | # End Source File 966 | # Begin Source File 967 | 968 | SOURCE="..\krnln\krnln_WriteBin.cpp" 969 | # End Source File 970 | # Begin Source File 971 | 972 | SOURCE="..\krnln\krnln_WriteFile.cpp" 973 | # End Source File 974 | # Begin Source File 975 | 976 | SOURCE="..\krnln\krnln_WriteLine.cpp" 977 | # End Source File 978 | # Begin Source File 979 | 980 | SOURCE="..\krnln\krnln_WriteMem.cpp" 981 | # End Source File 982 | # Begin Source File 983 | 984 | SOURCE="..\krnln\krnln_WriteText.cpp" 985 | # End Source File 986 | # Begin Source File 987 | 988 | SOURCE="..\krnln\krnln_year.cpp" 989 | # End Source File 990 | # Begin Source File 991 | 992 | SOURCE="..\krnln\krnln_ZeroAry.cpp" 993 | # End Source File 994 | # Begin Source File 995 | 996 | SOURCE="..\krnln\LTrimZeroChr.cpp" 997 | # End Source File 998 | # Begin Source File 999 | 1000 | SOURCE="..\krnln\md5t.cpp" 1001 | # End Source File 1002 | # Begin Source File 1003 | 1004 | SOURCE="..\krnln\mem.cpp" 1005 | # End Source File 1006 | # Begin Source File 1007 | 1008 | SOURCE="..\krnln\midi.cpp" 1009 | # End Source File 1010 | # Begin Source File 1011 | 1012 | SOURCE="..\krnln\Myfunctions.cpp" 1013 | # End Source File 1014 | # Begin Source File 1015 | 1016 | SOURCE="..\krnln\MyMemFile.cpp" 1017 | # End Source File 1018 | # Begin Source File 1019 | 1020 | SOURCE="..\krnln\NumToChinese.cpp" 1021 | # End Source File 1022 | # Begin Source File 1023 | 1024 | SOURCE="..\krnln\replaceText.cpp" 1025 | # End Source File 1026 | # Begin Source File 1027 | 1028 | SOURCE="..\krnln\SDataToStr.cpp" 1029 | # End Source File 1030 | # Begin Source File 1031 | 1032 | SOURCE="..\krnln\StdAfx.cpp" 1033 | # ADD CPP /Yc"stdafx.h" 1034 | # End Source File 1035 | # End Group 1036 | # Begin Group "Header Files" 1037 | 1038 | # PROP Default_Filter "h;hpp;hxx;hm;inl" 1039 | # Begin Source File 1040 | 1041 | SOURCE="..\krnln\lib2.h" 1042 | # End Source File 1043 | # Begin Source File 1044 | 1045 | SOURCE="..\krnln\LTrimZeroChr.h" 1046 | # End Source File 1047 | # Begin Source File 1048 | 1049 | SOURCE="..\krnln\md5t.h" 1050 | # End Source File 1051 | # Begin Source File 1052 | 1053 | SOURCE="..\krnln\mem.h" 1054 | # End Source File 1055 | # Begin Source File 1056 | 1057 | SOURCE="..\krnln\midi.h" 1058 | # End Source File 1059 | # Begin Source File 1060 | 1061 | SOURCE="..\krnln\Myfunctions.h" 1062 | # End Source File 1063 | # Begin Source File 1064 | 1065 | SOURCE="..\krnln\MyMemFile.h" 1066 | # End Source File 1067 | # Begin Source File 1068 | 1069 | SOURCE="..\krnln\StdAfx.h" 1070 | # End Source File 1071 | # End Group 1072 | # Begin Source File 1073 | 1074 | SOURCE="..\Readme.txt" 1075 | # End Source File 1076 | # Begin Source File 1077 | 1078 | SOURCE="..\krnln\Diskid32.obj" 1079 | # End Source File 1080 | # Begin Source File 1081 | 1082 | SOURCE="..\krnln\PY.OBJ" 1083 | # End Source File 1084 | # End Target 1085 | # End Project 1086 | --------------------------------------------------------------------------------