Re: Reg Win32 Classes



Hi,

Please post of part of the code that fails. I know the method works because I use it in production code. Bear in mind, the way WMI works with folders is very different to FileSystemObject, you have to test it very carefully (e.g. with and without sub-folders, files etc).

keyankay@xxxxxxxxx wrote:
Hi,
I am a newbie to Win 32 and my problem is based on copying
directories. The MSDN suggests that you have to specify the source
file or directory to be copied in the object path to the location
specified by the input parameter.

I have a problem in setting the object path using C++ as I did not get
any proper method for setting it and also confused as which function
to use.

Some help in suggestion of specifying the path will be of very much
useful.

Link to copy directory function in msdn:

http://msdn2.microsoft.com/en-us/library/aa389347(VS.85).aspx


--
Gerry Hickman (London UK)
.



Relevant Pages

  • Reg Win32 Classes
    ... The MSDN suggests that you have to specify the source ... I have a problem in setting the object path using C++ as I did not get ... Link to copy directory function in msdn: ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Portability question
    ... However, it looks pretty awful, and it becomes even worse ... >>in those situations where I will have to specify the kind of every ... illustrate the problem -- it's not production code. ... fixed-precision integers, and with default integers returned by ...
    (comp.lang.fortran)

Loading