Forwarded, because I don''t think he''s subscribed and I''m not getting an email notification in my Yahoo account. Dan -----Original Message----- From: CT [mailto:demerzel@gmail.com] Sent: Friday, February 04, 2005 4:17 PM To: Berger, Daniel Cc: win32utils-devel@rubyforge.org Subject: Re: Bug fix On Fri, 4 Feb 2005 16:53:17 -0600, Berger, Daniel <Daniel.Berger@qwest.com> wrote:> > Hm...what do you think about modifying ChangeModify#wait (or possibly > Ipc#wait) to accept an optional 2nd "recursive" argument, that"recursive" would be confusing, don''t you think? what with the same name used in ChangeNotify.new as well.> > So, something like this: > > cn = ChangeNotify.new("C:\\",true,filter) > > # This would break out on the first change > cn.wait{ |s| > p s > } > > # This would recycle the block indefinitely, unless you broke out > manually somehow cn.wait(ChangeNotify::INFINITE,true){ |s| > p s > }Hmm. I don''t know. I''m not sure if I wanna remember the ChangeNotify::INFINITE constant - the default behaviour is intuitive, to me(though the name''s more ipc-ish than filesystem). Maybe a new method in changenotify - something like the start_monitoring(sic) in DirectoryWatcher. (I feel the API is too much tied with ipc as it is. True, it inherits from ipc, but I''m not sure if someone with the general watch-for-file-system-changes use-case wants to know that there is ipc and monitors going on behind the scenes. Just my 2 paise, and hope I''m not treading on any toes) At any rate, if there is nothing more special than a while(true) wrap going on inside this special version of wait, I don''t feel anything is gained over - cn.wait {|s| p s } while true You can see that this is growing on me, even as I type:)> > Regards, > > DanKeep up the good work! I just looked up Change Journals in MSDN and I can''t wait for it to come out. I have *just* the thing to do with it, for which plan to use changenotify for now. CT
Park Heesob
2005-Feb-04 22:56 UTC
[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS
Hi all, I committed win32-changenotify 0.3.0 to CVS. What is it? ========== A class for monitoring events related to files and directories. Synopsis ======= require "win32/changejournal" include Win32 # Indefinitely wait for a change in ''C:\'' and any of its # subdirectories. Print the file and action affected. cj = ChangeJournal.new(''C:\'') cj.wait{ |info| p info.file_name p info.action } Try and give some comments, please. Regards, Park Heesob
Shashank Date
2005-Feb-05 12:40 UTC
[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS
Hi Park. I was not able to compile this using free Visual Studio ++ (VC 7) compiler. See attached transcript. Thanks, -- Shashank Park Heesob wrote:>Hi all, > >I committed win32-changenotify 0.3.0 to CVS. > >What is it? >==========> A class for monitoring events related to files and directories. > >Synopsis >=======> require "win32/changejournal" > include Win32 > > # Indefinitely wait for a change in ''C:\'' and any of its > # subdirectories. Print the file and action affected. > > cj = ChangeJournal.new(''C:\'') > cj.wait{ |info| > p info.file_name > p info.action > } > >Try and give some comments, please. > >Regards, > >Park Heesob > >_______________________________________________ >win32utils-devel mailing list >win32utils-devel@rubyforge.org >http://rubyforge.org/mailman/listinfo/win32utils-devel > > >-------------- next part -------------- Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\win32utils>setvc7.cmd C:\win32utils>set PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\Microsoft.NET\Framework\v1.1.4322;C:\Program Files\Microsoft.NET\SDK\v1.1\Bin;C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\Program Files\Microsoft SDK\Bin\Win64;C:\Program Files\Microsoft SDK\Bin;C:\bison\bin;c:\ruby\bin; C:\win32utils>ruby makeall.rb win32-changejournal: ------------------------- creating Makefile NMAKE : fatal error U1077: ''cl'' : return code ''0x2'' Stop. cl -nologo -MD -Zi -O2b2xg- -G5 -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -I. -I./.. -I./../missing -D_WIN32_WINNT=0x0501 -c -Tcchangejournal.c changejournal.c c:\win32utils\win32-changejournal\changejournal.h(47) : error C2039: ''FileNameOffset'' : is not a member of ''USN_RECORD'' C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1895) : see declaration of ''USN_RECORD'' changejournal.c(60) : error C2065: ''DELETE_USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(60) : error C2146: syntax error : missing '';'' before identifier ''dujd'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(60) : error C2065: ''dujd'' : undeclared identifier changejournal.c(61) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(61) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(61) : error C2065: ''fOk'' : undeclared identifier changejournal.c(63) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(64) : error C2224: left of ''.DeleteFlags'' must have struct/union type changejournal.c(65) : error C2065: ''FSCTL_DELETE_USN_JOURNAL'' : undeclared identifier changejournal.c(74) : error C2146: syntax error : missing '')'' before identifier ''pUsnJournalData'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2143: syntax error : missing '')'' before ''identifier'' changejournal.c(74) : error C2081: ''PUSN_JOURNAL_DATA'' : name in formal parameter list illegal changejournal.c(74) : error C2061: syntax error : identifier ''pUsnJournalData'' changejournal.c(74) : error C2059: syntax error : '';'' changejournal.c(74) : error C2059: syntax error : '')'' changejournal.c(74) : error C2449: found ''{'' at file scope (missing function header?) changejournal.c(83) : error C2059: syntax error : ''}'' changejournal.c(191) : error C2065: ''USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(191) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(191) : error C2065: ''ujd'' : undeclared identifier changejournal.c(194) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(194) : error C2065: ''USN_DELETE_FLAG_DELETE'' : undeclared identifier changejournal.c(194) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function changejournal.c(280) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(285) : error C2065: ''ERROR_JOURNAL_DELETE_IN_PROGRESS'' : undeclared identifier changejournal.c(285) : error C2051: case expression not constant changejournal.c(289) : error C2065: ''USN_DELETE_FLAG_NOTIFY'' : undeclared identifier changejournal.c(293) : error C2065: ''ERROR_JOURNAL_NOT_ACTIVE'' : undeclared identifier changejournal.c(293) : error C2051: case expression not constant changejournal.c(316) : error C2224: left of ''.FirstUsn'' must have struct/union type changejournal.c(316) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(385) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2275: ''DWORD'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(141) : see declaration of ''DWORD'' changejournal.c(386) : error C2146: syntax error : missing '';'' before identifier ''dwTimeout'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2065: ''dwTimeout'' : undeclared identifier changejournal.c(386) : error C2065: ''dwWait'' : undeclared identifier changejournal.c(387) : error C2275: ''READ_USN_JOURNAL_DATA'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1881) : see declaration of ''READ_USN_JOURNAL_DATA'' changejournal.c(387) : error C2146: syntax error : missing '';'' before identifier ''rujd'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(387) : error C2065: ''rujd'' : undeclared identifier changejournal.c(388) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(388) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(402) : error C2440: ''='' : cannot convert from ''READ_USN_JOURNAL_DATA'' to ''int'' changejournal.c(403) : error C2224: left of ''.BytesToWaitFor'' must have struct/union type changejournal.c(447) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(453) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(453) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function C:\win32utils>cd win32-changejournal C:\win32utils\win32-changejournal>dir *.cmd Volume in drive C has no label. Volume Serial Number is 6B0E-6992 Directory of C:\win32utils\win32-changejournal 02/05/2005 11:04 AM 191 cmp_cn.cmd 1 File(s) 191 bytes 0 Dir(s) 7,408,238,592 bytes free C:\win32utils\win32-changejournal>cmp_cn.cmd C:\win32utils\win32-changejournal>cl -nologo -MD -Zi -O2b2xg- -G5 -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I./.. -I./../missing -D_WIN32_WINNT=0x0501 -c -Tcchangejournal.c changejournal.c changejournal.c c:\win32utils\win32-changejournal\changejournal.h(47) : error C2039: ''FileNameOffset'' : is not a member of ''USN_RECORD'' C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1895) : see declaration of ''USN_RECORD'' changejournal.c(60) : error C2065: ''DELETE_USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(60) : error C2146: syntax error : missing '';'' before identifier ''dujd'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(60) : error C2065: ''dujd'' : undeclared identifier changejournal.c(61) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(61) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(61) : error C2065: ''fOk'' : undeclared identifier changejournal.c(63) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(64) : error C2224: left of ''.DeleteFlags'' must have struct/union type changejournal.c(65) : error C2065: ''FSCTL_DELETE_USN_JOURNAL'' : undeclared identifier changejournal.c(74) : error C2146: syntax error : missing '')'' before identifier ''pUsnJournalData'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2143: syntax error : missing '')'' before ''identifier'' changejournal.c(74) : error C2081: ''PUSN_JOURNAL_DATA'' : name in formal parameter list illegal changejournal.c(74) : error C2061: syntax error : identifier ''pUsnJournalData'' changejournal.c(74) : error C2059: syntax error : '';'' changejournal.c(74) : error C2059: syntax error : '')'' changejournal.c(74) : error C2449: found ''{'' at file scope (missing function header?) changejournal.c(83) : error C2059: syntax error : ''}'' changejournal.c(191) : error C2065: ''USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(191) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(191) : error C2065: ''ujd'' : undeclared identifier changejournal.c(194) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(194) : error C2065: ''USN_DELETE_FLAG_DELETE'' : undeclared identifier changejournal.c(194) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function changejournal.c(280) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(285) : error C2065: ''ERROR_JOURNAL_DELETE_IN_PROGRESS'' : undeclared identifier changejournal.c(285) : error C2051: case expression not constant changejournal.c(289) : error C2065: ''USN_DELETE_FLAG_NOTIFY'' : undeclared identifier changejournal.c(293) : error C2065: ''ERROR_JOURNAL_NOT_ACTIVE'' : undeclared identifier changejournal.c(293) : error C2051: case expression not constant changejournal.c(316) : error C2224: left of ''.FirstUsn'' must have struct/union type changejournal.c(316) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(385) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2275: ''DWORD'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(141) : see declaration of ''DWORD'' changejournal.c(386) : error C2146: syntax error : missing '';'' before identifier ''dwTimeout'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2065: ''dwTimeout'' : undeclared identifier changejournal.c(386) : error C2065: ''dwWait'' : undeclared identifier changejournal.c(387) : error C2275: ''READ_USN_JOURNAL_DATA'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1881) : see declaration of ''READ_USN_JOURNAL_DATA'' changejournal.c(387) : error C2146: syntax error : missing '';'' before identifier ''rujd'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(387) : error C2065: ''rujd'' : undeclared identifier changejournal.c(388) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(388) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(402) : error C2440: ''='' : cannot convert from ''READ_USN_JOURNAL_DATA'' to ''int'' changejournal.c(403) : error C2224: left of ''.BytesToWaitFor'' must have struct/union type changejournal.c(447) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(453) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(453) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function changejournal.c c:\win32utils\win32-changejournal\changejournal.h(47) : error C2039: ''FileNameOffset'' : is not a member of ''USN_RECORD'' C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1895) : see declaration of ''USN_RECORD'' changejournal.c(60) : error C2065: ''DELETE_USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(60) : error C2146: syntax error : missing '';'' before identifier ''dujd'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(60) : error C2065: ''dujd'' : undeclared identifier changejournal.c(61) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(61) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(61) : error C2065: ''fOk'' : undeclared identifier changejournal.c(63) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(64) : error C2224: left of ''.DeleteFlags'' must have struct/union type changejournal.c(65) : error C2065: ''FSCTL_DELETE_USN_JOURNAL'' : undeclared identifier changejournal.c(74) : error C2146: syntax error : missing '')'' before identifier ''pUsnJournalData'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2143: syntax error : missing '')'' before ''identifier'' changejournal.c(74) : error C2081: ''PUSN_JOURNAL_DATA'' : name in formal parameter list illegal changejournal.c(74) : error C2061: syntax error : identifier ''pUsnJournalData'' changejournal.c(74) : error C2059: syntax error : '';'' changejournal.c(74) : error C2059: syntax error : '')'' changejournal.c(74) : error C2449: found ''{'' at file scope (missing function header?) changejournal.c(83) : error C2059: syntax error : ''}'' changejournal.c(191) : error C2065: ''USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(191) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(191) : error C2065: ''ujd'' : undeclared identifier changejournal.c(194) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(194) : error C2065: ''USN_DELETE_FLAG_DELETE'' : undeclared identifier changejournal.c(194) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function changejournal.c(280) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(285) : error C2065: ''ERROR_JOURNAL_DELETE_IN_PROGRESS'' : undeclared identifier changejournal.c(285) : error C2051: case expression not constant changejournal.c(289) : error C2065: ''USN_DELETE_FLAG_NOTIFY'' : undeclared identifier changejournal.c(293) : error C2065: ''ERROR_JOURNAL_NOT_ACTIVE'' : undeclared identifier changejournal.c(293) : error C2051: case expression not constant changejournal.c(316) : error C2224: left of ''.FirstUsn'' must have struct/union type changejournal.c(316) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(385) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2275: ''DWORD'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(141) : see declaration of ''DWORD'' changejournal.c(386) : error C2146: syntax error : missing '';'' before identifier ''dwTimeout'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2065: ''dwTimeout'' : undeclared identifier changejournal.c(386) : error C2065: ''dwWait'' : undeclared identifier changejournal.c(387) : error C2275: ''READ_USN_JOURNAL_DATA'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1881) : see declaration of ''READ_USN_JOURNAL_DATA'' changejournal.c(387) : error C2146: syntax error : missing '';'' before identifier ''rujd'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(387) : error C2065: ''rujd'' : undeclared identifier changejournal.c(388) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(388) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(402) : error C2440: ''='' : cannot convert from ''READ_USN_JOURNAL_DATA'' to ''int'' changejournal.c(403) : error C2224: left of ''.BytesToWaitFor'' must have struct/union type changejournal.c(447) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(453) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(453) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function Generating Code... C:\win32utils\win32-changejournal> C:\win32utils\win32-changejournal>cmp_cn.cmd C:\win32utils\win32-changejournal>cl -nologo -MD -Zi -O2b2xg- -G5 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -I./.. -I./../missing -D_WIN32_WINNT=0x0501 -c -Tcchangejournal.c changejournal.c changejournal.c c:\win32utils\win32-changejournal\changejournal.h(47) : error C2039: ''FileNameOffset'' : is not a member of ''USN_RECORD'' C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1895) : see declaration of ''USN_RECORD'' changejournal.c(60) : error C2065: ''DELETE_USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(60) : error C2146: syntax error : missing '';'' before identifier ''dujd'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(60) : error C2065: ''dujd'' : undeclared identifier changejournal.c(61) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(61) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(61) : error C2065: ''fOk'' : undeclared identifier changejournal.c(63) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(64) : error C2224: left of ''.DeleteFlags'' must have struct/union type changejournal.c(65) : error C2065: ''FSCTL_DELETE_USN_JOURNAL'' : undeclared identifier changejournal.c(74) : error C2146: syntax error : missing '')'' before identifier ''pUsnJournalData'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2143: syntax error : missing '')'' before ''identifier'' changejournal.c(74) : error C2081: ''PUSN_JOURNAL_DATA'' : name in formal parameter list illegal changejournal.c(74) : error C2061: syntax error : identifier ''pUsnJournalData'' changejournal.c(74) : error C2059: syntax error : '';'' changejournal.c(74) : error C2059: syntax error : '')'' changejournal.c(74) : error C2449: found ''{'' at file scope (missing function header?) changejournal.c(83) : error C2059: syntax error : ''}'' changejournal.c(191) : error C2065: ''USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(191) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(191) : error C2065: ''ujd'' : undeclared identifier changejournal.c(194) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(194) : error C2065: ''USN_DELETE_FLAG_DELETE'' : undeclared identifier changejournal.c(194) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function changejournal.c(280) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(285) : error C2065: ''ERROR_JOURNAL_DELETE_IN_PROGRESS'' : undeclared identifier changejournal.c(285) : error C2051: case expression not constant changejournal.c(289) : error C2065: ''USN_DELETE_FLAG_NOTIFY'' : undeclared identifier changejournal.c(293) : error C2065: ''ERROR_JOURNAL_NOT_ACTIVE'' : undeclared identifier changejournal.c(293) : error C2051: case expression not constant changejournal.c(316) : error C2224: left of ''.FirstUsn'' must have struct/union type changejournal.c(316) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(385) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2275: ''DWORD'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(141) : see declaration of ''DWORD'' changejournal.c(386) : error C2146: syntax error : missing '';'' before identifier ''dwTimeout'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2065: ''dwTimeout'' : undeclared identifier changejournal.c(386) : error C2065: ''dwWait'' : undeclared identifier changejournal.c(387) : error C2275: ''READ_USN_JOURNAL_DATA'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1881) : see declaration of ''READ_USN_JOURNAL_DATA'' changejournal.c(387) : error C2146: syntax error : missing '';'' before identifier ''rujd'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(387) : error C2065: ''rujd'' : undeclared identifier changejournal.c(388) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(388) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(402) : error C2440: ''='' : cannot convert from ''READ_USN_JOURNAL_DATA'' to ''int'' changejournal.c(403) : error C2224: left of ''.BytesToWaitFor'' must have struct/union type changejournal.c(447) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(453) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(453) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function changejournal.c c:\win32utils\win32-changejournal\changejournal.h(47) : error C2039: ''FileNameOffset'' : is not a member of ''USN_RECORD'' C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1895) : see declaration of ''USN_RECORD'' changejournal.c(60) : error C2065: ''DELETE_USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(60) : error C2146: syntax error : missing '';'' before identifier ''dujd'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(60) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(60) : error C2065: ''dujd'' : undeclared identifier changejournal.c(61) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(61) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(61) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(61) : error C2065: ''fOk'' : undeclared identifier changejournal.c(63) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(64) : error C2224: left of ''.DeleteFlags'' must have struct/union type changejournal.c(65) : error C2065: ''FSCTL_DELETE_USN_JOURNAL'' : undeclared identifier changejournal.c(74) : error C2146: syntax error : missing '')'' before identifier ''pUsnJournalData'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(74) : error C2143: syntax error : missing '')'' before ''identifier'' changejournal.c(74) : error C2081: ''PUSN_JOURNAL_DATA'' : name in formal parameter list illegal changejournal.c(74) : error C2061: syntax error : identifier ''pUsnJournalData'' changejournal.c(74) : error C2059: syntax error : '';'' changejournal.c(74) : error C2059: syntax error : '')'' changejournal.c(74) : error C2449: found ''{'' at file scope (missing function header?) changejournal.c(83) : error C2059: syntax error : ''}'' changejournal.c(191) : error C2065: ''USN_JOURNAL_DATA'' : undeclared identifier changejournal.c(191) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(191) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(191) : error C2065: ''ujd'' : undeclared identifier changejournal.c(194) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(194) : error C2065: ''USN_DELETE_FLAG_DELETE'' : undeclared identifier changejournal.c(194) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function changejournal.c(280) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(280) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(285) : error C2065: ''ERROR_JOURNAL_DELETE_IN_PROGRESS'' : undeclared identifier changejournal.c(285) : error C2051: case expression not constant changejournal.c(289) : error C2065: ''USN_DELETE_FLAG_NOTIFY'' : undeclared identifier changejournal.c(293) : error C2065: ''ERROR_JOURNAL_NOT_ACTIVE'' : undeclared identifier changejournal.c(293) : error C2051: case expression not constant changejournal.c(316) : error C2224: left of ''.FirstUsn'' must have struct/union type changejournal.c(316) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(385) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(385) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2275: ''DWORD'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(141) : see declaration of ''DWORD'' changejournal.c(386) : error C2146: syntax error : missing '';'' before identifier ''dwTimeout'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(386) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(386) : error C2065: ''dwTimeout'' : undeclared identifier changejournal.c(386) : error C2065: ''dwWait'' : undeclared identifier changejournal.c(387) : error C2275: ''READ_USN_JOURNAL_DATA'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1881) : see declaration of ''READ_USN_JOURNAL_DATA'' changejournal.c(387) : error C2146: syntax error : missing '';'' before identifier ''rujd'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(387) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(387) : error C2065: ''rujd'' : undeclared identifier changejournal.c(388) : error C2275: ''BOOL'' : illegal use of this type as an expression C:\Program Files\Microsoft Visual Studio\VC98\Include\WINDEF.H(142) : see declaration of ''BOOL'' changejournal.c(388) : error C2146: syntax error : missing '';'' before identifier ''fOk'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(388) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(402) : error C2440: ''='' : cannot convert from ''READ_USN_JOURNAL_DATA'' to ''int'' changejournal.c(403) : error C2224: left of ''.BytesToWaitFor'' must have struct/union type changejournal.c(447) : error C2146: syntax error : missing '';'' before identifier ''ujd'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' changejournal.c(447) : error C2143: syntax error : missing '';'' before ''identifier'' changejournal.c(453) : error C2224: left of ''.UsnJournalID'' must have struct/union type changejournal.c(453) : error C2198: ''Delete'' : too few arguments for call through pointer-to-function Generating Code... C:\win32utils\win32-changejournal>
Park Heesob
2005-Feb-05 19:11 UTC
[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS
Hi,> Hi Park. > > I was not able to compile this using free Visual Studio ++ (VC 7) > compiler. See attached transcript. > Thanks, > -- Shashank > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\win32utils>setvc7.cmd > > C:\win32utils>set PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\Microsoft.NET\Framework\v1.1.4322;C:\Program Files\Microsoft.NET\SDK\v1.1\Bin;C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\Program Files\Microsoft SDK\Bin\Win64;C:\Program Files\Microsoft SDK\Bin;C:\bison\bin;c:\ruby\bin; > > C:\win32utils>ruby makeall.rb > > win32-changejournal: > ------------------------- > creating Makefile > NMAKE : fatal error U1077: ''cl'' : return code ''0x2'' > Stop. > cl -nologo -MD -Zi -O2b2xg- -G5 -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -I. -I./.. -I./../missing -D_WIN32_WINNT=0x0501 -c -Tcchangejournal.c > changejournal.c > c:\win32utils\win32-changejournal\changejournal.h(47) : error C2039: ''FileNameOffset'' : is not a member of ''USN_RECORD'' > C:\Program Files\Microsoft Visual Studio\VC98\Include\WINIOCTL.H(1895) : see declaration of ''USN_RECORD'' > changejournal.c(60) : error C2065: ''DELETE_USN_JOURNAL_DATA'' : undeclared identifier > changejournal.c(60) : error C2146: syntax error : missing '';'' before identifier ''dujd'' > changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' > changejournal.c(60) : error C2144: syntax error : ''<Unknown>'' should be preceded by ''<Unknown>'' > changejournal.c(60) : error C2143: syntax error : missing '';'' before ''identifier''Your log shows it was complied with Visual Studion 6.0 environment not with VC7.0 environment. WINIOCTL.H is at C:\Program Files\Microsoft Visual Studio\VC98\Include\ for VC6.0, at C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ for VC7.0 in my case. Regards, Park Heesob
Shashank Date
2005-Feb-05 19:54 UTC
[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS
Hi Park, Park Heesob wrote:>Your log shows it was complied with Visual Studion 6.0 environment not with VC7.0 environment. >Yes, that is what I thought. Hence, I included the complete command sequence. I also isolated the offending command towards the end. I cannot make out where in this command: cl -nologo -MD -Zi -O2b2xg- -G5 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -I./.. -I./../missing -D_WIN32_WINNT=0x0501 -c -Tcchangejournal.c changejournal.c am I specifying the VC 6.0 path? Do you think I should check the LIB and INCLUDE setting? I guess, your answer is going to be "Of course!" :-) SO I have attached the output of "set" command below. I have spaced out the INCLUDE and LIB for easy viewing. -- Shashank C:\win32utils\win32-changejournal>set ALLUSERSPROFILE=C:\Documents and Settings\All Users APPDATA=C:\Documents and Settings\Shashank Date\Application Data APR_ICONV_PATH=C:\Program Files\Subversion\iconv BREWDIR=C:\PROGRA~1\BREWSD~1.1 CLASSPATH=.;c:\j2sdk1.4.2_04\lib;c:\groovy\lib; CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=MYLAPTOP ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO GROOVY_HOME=C:\GROOVY HOMEDRIVE=C: HOMEPATH=\Documents and Settings\Shashank Date INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\;C:\OpenSSL\include;C:\Program Files\Microsoft Visual Studio\VC98\Include LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\;C:\OpenSSL\lib\VC;C:\Program Files\Microsoft Visual Studio\VC98\LIB LOGONSERVER=\\MYLAPTOP MAVEN_HOME=C:\Program Files\Maven NUMBER_OF_PROCESSORS=1 OPENSSL_CONF=C:\OpenSSL\bin\openssl.cnf OS=Windows_NT Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\Microsoft.NET\Framework\v1.1.4322;C:\Program Files\Microsoft.NET\SDK\v1.1\Bin;C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\Program Files\Microsoft SDK\Bin\Win64;C:\Program Files\Microsoft SDK\Bin;C:\bison\bin;c:\ruby\bin; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0a00 ProgramFiles=C:\Program Files PROMPT=$P$G RUBYOPT=rubygems RUBY_INCLUDE=C:\ruby\lib\ruby\1.8\i386-mswin32 RUBY_LIB=C:\ruby\lib\msvcrt-ruby18.lib RUBY_TCL_DLL=c:\ruby\bin\tcl83.dll RUBY_TK_DLL=c:\ruby\bin\tk83.dll SCALA_HOME=C:\Program Files\Scala SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TCL_LIBRARY=c:\ruby\tcl\lib\tcl8.3 TEMP=C:\DOCUME~1\SHASHA~1\LOCALS~1\Temp TMP=C:\DOCUME~1\SHASHA~1\LOCALS~1\Temp USERDOMAIN=MYLAPTOP USERNAME=Shashank Date USERPROFILE=C:\Documents and Settings\Shashank Date VCToolkitInstallDir=C:\Program Files\Microsoft Visual C++ Toolkit 2003\ VSCOMNTOOLS="C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\" windir=C:\WINDOWS C:\win32utils\win32-changejournal>
Park Heesob
2005-Feb-05 21:11 UTC
[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS
Hi Shashank,> > Do you think I should check the LIB and INCLUDE setting? > I guess, your answer is going to be "Of course!" :-) > > SO I have attached the output of "set" command below. > I have spaced out the INCLUDE and LIB for easy viewing. > > -- Shashank > > > C:\win32utils\win32-changejournal>set > ALLUSERSPROFILE=C:\Documents and Settings\All Users > APPDATA=C:\Documents and Settings\Shashank Date\Application Data > APR_ICONV_PATH=C:\Program Files\Subversion\iconv > BREWDIR=C:\PROGRA~1\BREWSD~1.1 > CLASSPATH=.;c:\j2sdk1.4.2_04\lib;c:\groovy\lib; > CLIENTNAME=Console > CommonProgramFiles=C:\Program Files\Common Files > COMPUTERNAME=MYLAPTOP > ComSpec=C:\WINDOWS\system32\cmd.exe > FP_NO_HOST_CHECK=NO > GROOVY_HOME=C:\GROOVY > HOMEDRIVE=C: > HOMEPATH=\Documents and Settings\Shashank Date > > INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit > 2003\include;C:\Program Files\Microsoft Visual Studio > .NET\FrameworkSDK\include\;C:\OpenSSL\include;C:\Program Files\Microsoft > Visual Studio\VC98\Include > > LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;C:\Program > Files\Microsoft Visual Studio > .NET\FrameworkSDK\Lib\;C:\OpenSSL\lib\VC;C:\Program Files\Microsoft > Visual Studio\VC98\LIB > > LOGONSERVER=\\MYLAPTOP > MAVEN_HOME=C:\Program Files\Maven > NUMBER_OF_PROCESSORS=1 > OPENSSL_CONF=C:\OpenSSL\bin\openssl.cnf > OS=Windows_NT > Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\Microsoft.NET\Framework\v1.1.4322;C:\Program > > Files\Microsoft.NET\SDK\v1.1\Bin;C:\Program Files\Microsoft Visual C++ > Toolkit 2003\bin;C:\Program Files\Microsoft SDK\Bin\Win64;C:\Program > Files\Microsoft SDK\Bin;C:\bison\bin;c:\ruby\bin; >I cannot see any platformSDK related environment in your set. Did you have installed PlatformSDK ? Regards, Park Heesob
Shashank Date
2005-Feb-05 21:41 UTC
[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS
Park Heesob wrote:>I cannot see any platformSDK related environment in your set. >Did you have installed PlatformSDK ? > >Yes, I have "Microsoft Platform SDK for Windows XP SP2" under my "C:\Program Files" folder and it has SetEnv.Bat installed in it. Do you suggest that I run this SetEnv.bat first and then run my setvc7.cmd? What specifically is required from Platform SDK setting? If it is just the INCLUDE and LIB then do you think I sould just adjust those two variables in my setvc7.cmd? Thanks, -- Shashank
Park Heesob
2005-Feb-06 00:19 UTC
[Win32utils-devel] [ANN] win32-changejournal 0.1.0 in CVS
> Yes, I have "Microsoft Platform SDK for Windows XP SP2" under my > "C:\Program Files" folder and it has SetEnv.Bat installed in it. > > Do you suggest that I run this SetEnv.bat first and then run my setvc7.cmd? >> What specifically is required from Platform SDK setting? If it is just > the INCLUDE and LIB then do you think I sould just adjust those two > variables in my setvc7.cmd? > > >I suggest run setvc7.cmd first and then run SetEnv.bat. I think INCLUDE must includes something like C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ Regards, Park Heesob