From 51d99dcee41b325688373b11c8855b71ef887384 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sat, 19 Nov 2011 18:25:28 +0000 Subject: added Autorun plugin git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@180 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- Autorun/autorun.dsp | 125 ++++++++++++++++++++++++++++++ Autorun/autorun.dsw | 29 +++++++ Autorun/autorun.h | 14 ++++ Autorun/autorun.rc | 83 ++++++++++++++++++++ Autorun/autorun.sln | 20 +++++ Autorun/autorun.txt | 50 ++++++++++++ Autorun/autorun.vcxproj | 155 +++++++++++++++++++++++++++++++++++++ Autorun/autorun.vcxproj.filters | 40 ++++++++++ Autorun/main.c | 165 ++++++++++++++++++++++++++++++++++++++++ Autorun/resource.h | 15 ++++ 10 files changed, 696 insertions(+) create mode 100644 Autorun/autorun.dsp create mode 100644 Autorun/autorun.dsw create mode 100644 Autorun/autorun.h create mode 100644 Autorun/autorun.rc create mode 100644 Autorun/autorun.sln create mode 100644 Autorun/autorun.txt create mode 100644 Autorun/autorun.vcxproj create mode 100644 Autorun/autorun.vcxproj.filters create mode 100644 Autorun/main.c create mode 100644 Autorun/resource.h (limited to 'Autorun') diff --git a/Autorun/autorun.dsp b/Autorun/autorun.dsp new file mode 100644 index 0000000..c824755 --- /dev/null +++ b/Autorun/autorun.dsp @@ -0,0 +1,125 @@ +# Microsoft Developer Studio Project File - Name="autorun" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=autorun - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "autorun.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "autorun.mak" CFG="autorun - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "autorun - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "autorun - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "autorun - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 1 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "autorun_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O1 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "autorun_EXPORTS" /FR /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /win32 +# SUBTRACT MTL /mktyplib203 +# ADD BASE RSC /l 0x809 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib advapi32.lib /nologo /base:"0x30040000" /dll /pdb:none /map /machine:I386 /out:"../../bin/release/plugins/autorun.dll" /merge:.rdata=.text /FILEALIGN:512 /SECTION:.text,ER /IGNORE:4078 + +!ELSEIF "$(CFG)" == "autorun - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "autorun_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "autorun_EXPORTS" /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x809 /d "_DEBUG" +# ADD RSC /l 0x809 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /base:"0x30040000" /dll /debug /machine:I386 /out:"../../bin/debug/plugins/autorun.dll" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "autorun - Win32 Release" +# Name "autorun - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=.\main.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=.\autorun.h +# End Source File +# Begin Source File + +SOURCE=.\resource.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\autorun.rc +# End Source File +# Begin Source File + +SOURCE=.\hsp.ico +# End Source File +# End Group +# End Target +# End Project diff --git a/Autorun/autorun.dsw b/Autorun/autorun.dsw new file mode 100644 index 0000000..49c576b --- /dev/null +++ b/Autorun/autorun.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "autorun"=.\autorun.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/Autorun/autorun.h b/Autorun/autorun.h new file mode 100644 index 0000000..4452ef7 --- /dev/null +++ b/Autorun/autorun.h @@ -0,0 +1,14 @@ +#define IDD_OPT_AUTORUN 101 +#define IDC_AUTORUN 102 + +#define SUB_KEY "Software\\Microsoft\\Windows\\CurrentVersion\\Run" +#define ModuleName "Autorun" + +// Plugin UUID for New plugin loader +// req. 0.7.18+ core +// {EB0465E2-CEEE-11DB-83EF-C1BF55D89593} + +#define MIID_AUTORUN {0xeb0465e2, 0xceee, 0x11db, { 0x83, 0xef, 0xc1, 0xbf, 0x55, 0xd8, 0x95, 0x93}} + +HKEY ROOT_KEY = HKEY_CURRENT_USER; + diff --git a/Autorun/autorun.rc b/Autorun/autorun.rc new file mode 100644 index 0000000..b643834 --- /dev/null +++ b/Autorun/autorun.rc @@ -0,0 +1,83 @@ +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "autorun.h" +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Russian resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) +#ifdef _WIN32 +LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT +#pragma code_page(1251) +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_OPT_AUTORUN DIALOGEX 0, 0, 200, 90 +STYLE DS_3DLOOK | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE +EXSTYLE WS_EX_CONTROLPARENT +FONT 8, "MS Shell Dlg" +BEGIN + GROUPBOX "Autorun",0,3,3,193,60 + CONTROL "Launch Miranda IM at system startup",IDC_AUTORUN,"Button", + BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,15,20,165,10 + LTEXT "Note: At startup Miranda IM will use current profile", + IDC_STATIC,15,35,165,20,NOT WS_GROUP +END + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""autorun.h""\r\n" + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // Russian resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/Autorun/autorun.sln b/Autorun/autorun.sln new file mode 100644 index 0000000..0fb1f73 --- /dev/null +++ b/Autorun/autorun.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "autorun", "autorun.vcxproj", "{268D951C-2816-3E44-FD3D-C8EB75B47C28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {268D951C-2816-3E44-FD3D-C8EB75B47C28}.Debug|Win32.ActiveCfg = Debug|Win32 + {268D951C-2816-3E44-FD3D-C8EB75B47C28}.Debug|Win32.Build.0 = Debug|Win32 + {268D951C-2816-3E44-FD3D-C8EB75B47C28}.Release|Win32.ActiveCfg = Release|Win32 + {268D951C-2816-3E44-FD3D-C8EB75B47C28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Autorun/autorun.txt b/Autorun/autorun.txt new file mode 100644 index 0000000..cec7052 --- /dev/null +++ b/Autorun/autorun.txt @@ -0,0 +1,50 @@ +Autorun 0.1.0.0 + +Written by and copyright (c) Sergey V. Gershovich a.k.a. Jazzy$, March 2003 + e-mail: jazzy@arcticsu.ru + +This plugin is a simple way to enable/disable to launch Miranda IM +with system startup. + + +***** DISCLAIMER OF WARRANTY ***** + +This software and the accompanying files are presented "AS IS" and without +warranties whether expressed or implied. Use it at your own risk. + +********************************** + +Usage +------ +Goto: Options->Plugins->Autorun + + +Version history +---------------------- +0.1.0.0: - Preparation for 0.8.x.x plugin loader + MIID_AUTORUN {EB0465E2-CEEE-11DB-83EF-C1BF55D89593} +0.0.0.3: - Decrease size of plugin to 3 kb + - Change image base address to: 0x30040000 + - Miranda IM v0.3alpha build 040303 or higher is required! + - Language strings updated + +0.0.0.2: - Some bugfix with long path & DB-filename + +0.0.0.1: - Initial release + + +Translation +----------- +"Autorun" can be translated with the Miranda IM language files + + +;; == Autorun v0.0.0.3 == + +;Name of plugin +;[Autorun] + +;Options page string +;[Launch Miranda IM at system startup] + +;Options page string +;[Note: At startup Miranda IM will use current profile] \ No newline at end of file diff --git a/Autorun/autorun.vcxproj b/Autorun/autorun.vcxproj new file mode 100644 index 0000000..8465839 --- /dev/null +++ b/Autorun/autorun.vcxproj @@ -0,0 +1,155 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + + DynamicLibrary + false + MultiByte + + + DynamicLibrary + false + MultiByte + + + + + + + + + + + + + + + .\Debug\ + .\Debug\ + true + + + .\Release\ + .\Release\ + false + true + + + + MultiThreadedDebug + Default + false + Disabled + true + Level3 + true + EditAndContinue + ./include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;%(PreprocessorDefinitions) + .\Debug\ + .\Debug\autorun.pch + .\Debug\ + .\Debug\ + EnableFastChecks + + + true + _DEBUG;%(PreprocessorDefinitions) + .\Debug\autorun.tlb + true + Win32 + + + 0x0809 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\Debug\autorun.bsc + + + true + true + true + Console + ./Debug/bin/autorun.dll + .\Debug\autorun.lib + 0x30040000 + odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + + + + + MultiThreaded + OnlyExplicitInline + true + true + MinSpace + true + Level3 + ./include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;%(PreprocessorDefinitions) + .\Release\ + true + .\Release\autorun.pch + .\Release\ + .\Release\ + + + true + NDEBUG;%(PreprocessorDefinitions) + .\Release\autorun.tlb + false + Win32 + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\Release\autorun.bsc + + + true + true + Console + ./Release/bin/autorun.dll + .\Release\autorun.lib + .rdata=.text + 0x30040000 + kernel32.lib;user32.lib;advapi32.lib;%(AdditionalDependencies) + /FILEALIGN:512 /SECTION:.text,ER /IGNORE:4078 /IGNORE:4078 + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Autorun/autorun.vcxproj.filters b/Autorun/autorun.vcxproj.filters new file mode 100644 index 0000000..2977fdc --- /dev/null +++ b/Autorun/autorun.vcxproj.filters @@ -0,0 +1,40 @@ + + + + + {08a21636-368d-4feb-8d0d-0a27f237e1a2} + cpp;c;cxx;rc;def;r;odl;idl;hpj;bat + + + {9e6f20dc-3391-4299-9f74-e91d4f984ad3} + h;hpp;hxx;hm;inl + + + {18fd6180-ebb2-4558-b945-c4dac823f11b} + ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe + + + + + Header Files + + + Header Files + + + + + Resource Files + + + + + Resource Files + + + + + Source Files + + + \ No newline at end of file diff --git a/Autorun/main.c b/Autorun/main.c new file mode 100644 index 0000000..34b0d0f --- /dev/null +++ b/Autorun/main.c @@ -0,0 +1,165 @@ +#include +#include "autorun.h" + +#include "newpluginapi.h" +#include "m_langpack.h" +#include "m_options.h" +#include "m_database.h" +#pragma hdrstop + + +HINSTANCE hInst; +PLUGINLINK *pluginLink; +HANDLE hHookOptionInit = NULL; + +PLUGININFOEX pluginInfoEx= +{ // about plugin + sizeof(PLUGININFOEX), + "Autorun", + PLUGIN_MAKE_VERSION(0,1,0,1), + "This plugin is a simple way to enable/disable to launch Miranda IM with system startup.", + "Sergey V. Gershovich a.k.a. Jazzy$ (fixed by Wolfram3D)", + "", + "Copyright © 2002-2007 Sergey V. Gershovich a.k.a. Jazzy$", + "http://miranda-im.org/download/index.php?action=viewfile&id=285", + 0, 0, + MIID_AUTORUN +}; + +BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) +{ + // plugin entry point + if (fdwReason == DLL_PROCESS_ATTACH) + { + hInst = hinstDLL; + DisableThreadLibraryCalls(hinstDLL); + } + return TRUE; +} +void GetProfilePath(char *res) +{ + char dbname[MAX_PATH], dbpath[MAX_PATH], exename[MAX_PATH]; + CallService(MS_DB_GETPROFILENAME,sizeof(dbname),(LPARAM)(char*) dbname); + CallService(MS_DB_GETPROFILEPATH,sizeof(dbpath),(LPARAM)(char*) dbpath); + GetModuleFileName(NULL,exename,sizeof(exename)); + lstrcat(dbpath,"\\"); + lstrcpyn(dbpath+lstrlen(dbpath),dbname,lstrlen(dbname)-3); + strcat(dbpath, "\\"); + strcat(dbpath, dbname); // path + profile name + wsprintf(res,"\"%s\" \"%s\"",exename, dbpath); +} + +static void SetAutorun(BOOL autorun) +{ + HKEY hKey; + DWORD dw; + switch (autorun) + { + case TRUE: + if (RegCreateKeyEx(ROOT_KEY, SUB_KEY,0,NULL,0,KEY_CREATE_SUB_KEY|KEY_SET_VALUE,NULL,&hKey,&dw) == ERROR_SUCCESS) + { + char result[MAX_PATH]; + GetProfilePath (result); + RegSetValueEx(hKey,"MirandaIM",0,REG_SZ,result,lstrlen(result)+1); + RegCloseKey(hKey); + break; + } + case FALSE: + if (RegOpenKey(ROOT_KEY,SUB_KEY,&hKey) == ERROR_SUCCESS) + { + RegDeleteValue(hKey,"MirandaIM"); + RegCloseKey(hKey); + break; + } + } +} + + +static BOOL CmpCurrentAndRegistry() +{ + HKEY hKey; + DWORD dwBufLen = MAX_PATH; + char result[MAX_PATH], dbpath[MAX_PATH]; + GetProfilePath (result); + + if (RegOpenKeyEx(ROOT_KEY, SUB_KEY, 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS) + { + if (RegQueryValueEx(hKey,"MirandaIM",NULL,NULL,(LPBYTE)dbpath,&dwBufLen) == ERROR_SUCCESS) + { + return (lstrcmpi(result,dbpath) == 0 ? TRUE : FALSE); + } + else + return FALSE; + } + else + return FALSE; +} + +static BOOL CALLBACK DlgProcAutorunOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +{ + switch (msg) + { + case WM_INITDIALOG: + TranslateDialogDefault(hwndDlg); + CheckDlgButton(hwndDlg,IDC_AUTORUN,CmpCurrentAndRegistry()); // Check chekbox if Registry value exists + return TRUE; + case WM_COMMAND: + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); // Send message to activate "Apply" button + return TRUE; + break; + case WM_NOTIFY: + switch(((LPNMHDR)lParam)->idFrom) { + case 0: + switch (((LPNMHDR)lParam)->code) + { + case PSN_APPLY: // if "Apply" pressed then... + SetAutorun(IsDlgButtonChecked(hwndDlg,IDC_AUTORUN)); //Save changes to registry; + return TRUE; + } + break; + } + break; + } + return FALSE; +} + + +static int AutorunOptInitialise(WPARAM wParam,LPARAM lParam) +{ + OPTIONSDIALOGPAGE odp; + odp.cbSize=sizeof(odp); + odp.position=100100000; + odp.hInstance=hInst; + odp.pszTemplate=MAKEINTRESOURCE(IDD_OPT_AUTORUN); + odp.pszTitle=Translate(ModuleName); + odp.pszGroup=Translate("Plugins"); + odp.pfnDlgProc=DlgProcAutorunOpts; + odp.flags=ODPF_BOLDGROUPS; + CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp); + return 0; +} +//========================================================================== +__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) +{ + return &pluginInfoEx; +} + +static const MUUID interfaces[] = {MIID_AUTORUN, MIID_LAST}; +__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) +{ + return interfaces; +} + +int __declspec(dllexport) Load(PLUGINLINK *link) +{ + pluginLink = link; + hHookOptionInit = HookEvent(ME_OPT_INITIALISE,AutorunOptInitialise); + return 0; +} + +int __declspec(dllexport) Unload(void) +{ + if (hHookOptionInit) + UnhookEvent(hHookOptionInit); + return 0; +} \ No newline at end of file diff --git a/Autorun/resource.h b/Autorun/resource.h new file mode 100644 index 0000000..c5b53f1 --- /dev/null +++ b/Autorun/resource.h @@ -0,0 +1,15 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by autorun.rc +// + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif -- cgit v1.2.3