I already try that typecasting, but it doesn't work.
Originally Posted by ssharish2005
because while in the actual scenario, calling of this the function could seems like,
The above function calls executes fine and returns 0.
In my actual scenario, We have to do the type casting on the second parameter TEXT("....").
so what i did,
get the path into "ptr" pointer in the run time, and did the typecasting as
but this function gets failed and returns 2.
Any suggestions are welcome!!