Mar 21, 2021 at 6:21pm UTC
need to see transferfoler variable creation.
Mar 21, 2021 at 6:36pm UTC
that one is created at the beginning of the source.
Mar 21, 2021 at 6:46pm UTC
Well,
T ransferFolder is not the same as t ransferFolder - case matters.
And you can't write the = operation for c-strings (if that is what they are).
Mar 21, 2021 at 8:57pm UTC
ok got it figured out.. I needed to use strcopy (transferfolder,*PTempfolder)
Still new to all of this.
Now need to figure out how to change the string from
c:\test\1\234
to
c:\\test\\1\\234
Mar 21, 2021 at 10:13pm UTC
you are making it hard for yourself using C-style strings. are you allowed to use c++ strings and tools?
if not, you write your own copy is the easy way...
for all the letters, copy to a new string, but if its a \, add it in a second time.