|
-
Apr 24th, 2007, 04:39 PM
#1
Thread Starter
Lively Member
Help: Pointers Problems
Ok well basically I have attempting to format a file path based on some path input. And I found I can do this with a Native API Function. Problem is, it seems all Native API use pointers, and I really really really hate pointers.
Example:
User Input: c:\windows\system32\cmd.exe
Output: C:\WINDOWS\system32\cmd.exe
I feel like giving up, but I think I am close.
Here is my code: [EDIT In next post b/c of word limit]
Iv been trying all different ways to use the CopyMemory function combined with PtrVar and StrPrt and all that stuff. But I can not just figure this out.
So 2 Questions:
1. Is there an easier way?
2. How can I use these damn pointers, because I know I am going to come across them soon again since I am trying to discover many of the Hidden Native API functions.
Please help if you can.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|