Changeset 38329 for lang/c

Show
Ignore:
Timestamp:
08/22/10 20:13:52 (3 years ago)
Author:
saturday06
Message:

readme

Location:
lang/c/NetworkUpdater/trunk
Files:
2 added
8 modified

Legend:

Unmodified
Added
Removed
  • lang/c/NetworkUpdater/trunk/Build/MSW.am

    r38310 r38329  
    2929 
    3030NETWORKUPDATER_TEMPLATES = \ 
     31  License.txt \ 
    3132  Distribution.h \ 
    3233  Headers.h \ 
     
    5354        cat $(NETWORKUPDATER_TEMPLATES) | perl crlf.pl $@ 
    5455 
    55 ../Windows/NetworkUpdater.h: NetworkUpdater.h 
    56         cat $< | perl crlf.pl $@ 
     56../Windows/NetworkUpdater.h: License.txt NetworkUpdater.h 
     57        cat License.txt NetworkUpdater.h | perl crlf.pl $@ 
    5758 
    5859Extracter/7za/7za.exe.inl: 
  • lang/c/NetworkUpdater/trunk/Build/MSW.c

    r38326 r38329  
    627627            goto clean_up; 
    628628        } 
    629         GetTempPath(system_temp_path_chars, object->system_temp_dir_path); 
     629        GetTempPath((DWORD)system_temp_path_chars, object->system_temp_dir_path); 
    630630    } 
    631631#endif 
     
    680680/* http://support.microsoft.com/kb/238393 */ 
    681681HRESULT NUI_AutoWrap(WORD autoType, VARIANT *pvResult, IDispatch *pDisp, 
    682                      const OLECHAR* ptcName, size_t cArgs, VARIANT* rargs) 
     682                     const OLECHAR* ptcName, UINT cArgs, VARIANT* rargs) 
    683683{ 
    684684    DISPPARAMS dp = { NULL, NULL, 0, 0 }; 
  • lang/c/NetworkUpdater/trunk/Build/Sample.c

    r38306 r38329  
     1/* This file is placed in the public domain. */ 
     2 
    13#include <stdio.h> 
    24#include "NetworkUpdater.h" 
  • lang/c/NetworkUpdater/trunk/Build/TODO.txt

    r38316 r38329  
    33* Vista以降のVirtualStore対策はきちんとやっておく 
    44* 各オブジェクトを、グローバルなデータ構造で管理してAPI呼び出し時に毎回チェック←InternetStatusCallback関数で超必要 
     5* GUPのXMLファイルに対応 
     6* win-getと連携したい 
     7* てえええええええすううとおおおおおお 
     8* かばれっじ100ぱーーーーーーーーーーせんと 
     9* コピーするexeの署名についてまじめに考える 
     10* らいせんすおあああああああああ 
    511 
  • lang/c/NetworkUpdater/trunk/Build/Test.vcproj

    r38212 r38329  
    4545                                MinimalRebuild="false" 
    4646                                BasicRuntimeChecks="0" 
     47                                SmallerTypeCheck="true" 
    4748                                RuntimeLibrary="3" 
    48                                 DisableLanguageExtensions="false" 
    4949                                UsePrecompiledHeader="0" 
    5050                                WarningLevel="4" 
  • lang/c/NetworkUpdater/trunk/Windows/NetworkUpdater.c

    r38326 r38329  
     1/* 
     2 
     3Copyright (c) 2010 Isamu Mogi 
     4 
     5This software is provided 'as-is', without any express or implied 
     6warranty. In no event will the authors be held liable for any damages 
     7arising from the use of this software. 
     8 
     9Permission is granted to anyone to use this software for any purpose, 
     10including commercial applications, and to alter it and redistribute it 
     11freely, subject to the following restrictions: 
     12 
     13    1. The origin of this software must not be misrepresented; you must not 
     14    claim that you wrote the original software. If you use this software 
     15    in a product, an acknowledgment in the product documentation would be 
     16    appreciated but is not required. 
     17 
     18    2. Altered source versions must be plainly marked as such, and must not be 
     19    misrepresented as being the original software. 
     20 
     21    3. This notice may not be removed or altered from any source 
     22    distribution. 
     23 
     24 
     25*/ 
     26 
     27/* 
     28 
     29�z��I_7ZA_EXE_DATA , NUI_CLIENT7Z_EXE_DATA , NUI_7ZXA_DLL_DATA �̗v�f�� 
     307-Zip (http://www.7-zip.org/) �̃o�C�i���t�@�C���̃f�[�^�̂��߁A���̕����̈����� 
     317-Zip �̃��C�Z���X (http://www.7-zip.org/license.txt) �ɏ]���܂��B�܂��A 
     32�}�N�� NU_EXTRACTER_7ZIP_ALONE ������U_EXTRACTER_7ZIP ��`�����ꍇ�A 
     33�v���O�����́A7-Zip �ƃ����N���ꂽ��ɂȂ����B���Y���C�Z���X�ɒ��ӂ��Ă��������B 
     34 
     35�z��I_MINIUNZ_EXE_DATA �̗v�f��miniunz.exe (http://www.zlib.net/) �� 
     36�o�C�i���t�@�C���̃f�[�^�̂��߁A���̕����̈�����miniunz.exe �̃��C�Z���X 
     37(http://www.zlib.net/zlib_license.html) �ɏ]���܂��B�܂��A 
     38�}�N�� NU_EXTRACTER_ZIP ��`�����ꍇ�A�v���O�����́Aminiunz.exe �ƃ����N 
     39���ꂽ��ɂȂ����B���Y���C�Z���X�ɒ��ӂ��Ă��������B 
     40 
     41*/ 
     42 
    143#define NUI_DISTRIBUTION 
    244#ifndef NETWORKUPDATER_HEADERS_H 
     
    12001242            goto clean_up; 
    12011243        } 
    1202         GetTempPath(system_temp_path_chars, object->system_temp_dir_path); 
     1244        GetTempPath((DWORD)system_temp_path_chars, object->system_temp_dir_path); 
    12031245    } 
    12041246#endif 
     
    12531295/* http://support.microsoft.com/kb/238393 */ 
    12541296HRESULT NUI_AutoWrap(WORD autoType, VARIANT *pvResult, IDispatch *pDisp, 
    1255                      const OLECHAR* ptcName, size_t cArgs, VARIANT* rargs) 
     1297                     const OLECHAR* ptcName, UINT cArgs, VARIANT* rargs) 
    12561298{ 
    12571299    DISPPARAMS dp = { NULL, NULL, 0, 0 }; 
  • lang/c/NetworkUpdater/trunk/Windows/NetworkUpdater.h

    r38326 r38329  
     1/* 
     2 
     3Copyright (c) 2010 Isamu Mogi 
     4 
     5This software is provided 'as-is', without any express or implied 
     6warranty. In no event will the authors be held liable for any damages 
     7arising from the use of this software. 
     8 
     9Permission is granted to anyone to use this software for any purpose, 
     10including commercial applications, and to alter it and redistribute it 
     11freely, subject to the following restrictions: 
     12 
     13    1. The origin of this software must not be misrepresented; you must not 
     14    claim that you wrote the original software. If you use this software 
     15    in a product, an acknowledgment in the product documentation would be 
     16    appreciated but is not required. 
     17 
     18    2. Altered source versions must be plainly marked as such, and must not be 
     19    misrepresented as being the original software. 
     20 
     21    3. This notice may not be removed or altered from any source 
     22    distribution. 
     23 
     24 
     25*/ 
     26 
     27/* 
     28 
     29�z��I_7ZA_EXE_DATA , NUI_CLIENT7Z_EXE_DATA , NUI_7ZXA_DLL_DATA �̗v�f�� 
     307-Zip (http://www.7-zip.org/) �̃o�C�i���t�@�C���̃f�[�^�̂��߁A���̕����̈����� 
     317-Zip �̃��C�Z���X (http://www.7-zip.org/license.txt) �ɏ]���܂��B�܂��A 
     32�}�N�� NU_EXTRACTER_7ZIP_ALONE ������U_EXTRACTER_7ZIP ��`�����ꍇ�A 
     33�v���O�����́A7-Zip �ƃ����N���ꂽ��ɂȂ����B���Y���C�Z���X�ɒ��ӂ��Ă��������B 
     34 
     35�z��I_MINIUNZ_EXE_DATA �̗v�f��miniunz.exe (http://www.zlib.net/) �� 
     36�o�C�i���t�@�C���̃f�[�^�̂��߁A���̕����̈�����miniunz.exe �̃��C�Z���X 
     37(http://www.zlib.net/zlib_license.html) �ɏ]���܂��B�܂��A 
     38�}�N�� NU_EXTRACTER_ZIP ��`�����ꍇ�A�v���O�����́Aminiunz.exe �ƃ����N 
     39���ꂽ��ɂȂ����B���Y���C�Z���X�ɒ��ӂ��Ă��������B 
     40 
     41*/ 
     42 
    143#ifndef NETWORKUPDATER_H_36317064016 
    244#define NETWORKUPDATER_H_36317064016 
  • lang/c/NetworkUpdater/trunk/Windows/Sample.c

    r38327 r38329  
     1/* This file is placed in the public domain. */ 
     2 
    13#include <windows.h> 
    24#include <stdio.h>