CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    L.A.
    Posts
    20

    Compile problem : urgent

    In my program I ty to utilize the ReadDirectoryChanges() method.
    The program imports:

    #import <winbase.h>
    ...
    BOOL result = ReadDirectoryChanges(...);



    When compiling using "make" and a Makefile, the compiler complains:
    error 2065: 'ReadDirectoryChangesW' : undeclared identifier
    According to MSDN, ReadDirectoryChanges uses the kernel32.lib.
    How do I use kernel32.lib from my sourcecode?

    / Johan M


  2. #2
    Join Date
    May 1999
    Location
    Antwerp, Belgium
    Posts
    136

    Re: Compile problem : urgent

    Is your environment WIN NT 3.5 or later ?

    This function does not work on Win95 or Win98


  3. #3
    Join Date
    May 1999
    Location
    L.A.
    Posts
    20

    Re: Compile problem : urgent

    According to the "System Properties"-"General", I'm using Win NT 4.00.1381.
    The folder where "kernel32.lib" is situated is included in the lib system variable.

    /Johan M


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured