Advertisement Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

122 Neutral

About nekobasu33

  • Rank
  1. How can I find out if a program has a command line support?
  2. I am working on the UI side of the program. My company is working with a third party developer's software that's dealing with the hardware part. And I just found out recently that I have to integrate my software with theirs and I don't have access to their source code. I need to get this done soon because I need to show it to some potential customer (just to show that our system is working). Later on, when we license out the software, we will develop everything in-house (less trouble and less headache). That's the reason why I am trying my best to get this thing to work soon. Therefore, if you guys have any suggestion on how to accomplish this, I would appreciate it so much. Thank you in advance.
  3. You guys are awesome, I got it working right away. What about actually accessing the control/menu of the program? Does anybody have any suggestion on this? For example, in Notepad, after opening the program then call the "New", "Open" or "Save" function. I was thinking of using Batch file (.bat) to accomplish this; By the way, is it a good idea using .bat file to do this? is there a better alternative? Thank you. [Edited by - nekobasu33 on July 23, 2007 6:15:14 PM]
  4. Hi Everybody, Does anybody know how to call/open an application (.exe) file in Windows using Win32 programming? For example, opening 'Calculator' or 'Paint'. I was thinking of creating a .bat file and call it from Win32 program. But, again, I don't know how to open .bat (or any) files from Win32. And is there also a way to access the control in that particular program? maybe by finding the message that it send? What I need to do is pretty much overriding a program that I don't have access to the source code. But, don't worry, it's not for anything illegal. :) Any help would be very appreciated. Thank you in advance.
  5. I ended up adding the IID_PPV_ARGS macro to make the code to work. I have a question on this line of code: hr = ppf->Load(pszPathToLnkFile, STGM_READ); I need LPCOLESTR as the data type for pszPathToLnkFile, however the data I have is std::string. Do you know how to convert from std::string to LPCOLESTR? I tried googling it, but couldn't find anything very helpful. Thank you in advance.
  6. I have installed the latest Windows SDK, but I still get the same error message. error C3861: 'IID_PPV_ARGS': identifier not found
  7. There's an error when I use "IID_PPV_ARGS" , it says: error C3861: 'IID_PPV_ARGS': identifier not found I tried including "objbase.h", but it still doesn't work. Do you have any idea what file I need to include to use "IID_PPV_ARGS"? Thanks.
  8. Colin, Thank you for your sample code. I have a question about the code, though, where is it in there actually trying to to detect whether a '.lnk' file is linking to a '.exe' file or some other file extension? Or do you mean to find the path where the .lnk file is linking and in the "// Do whatever with the path" section, after we figure out the path, we have to figure out of the last 3 letter of the file whether it is 'exe' or something else?
  9. Hi everybody, Does anybody have a suggestion on what the best way to list some text entries in dialog box? I have std:vector of string (first name, last name, or such), and I need to list the entries in a dialog box. Also, I am planning to add a feature that allows me to choose some of them (of course this need to be done in the dialog box also). Was thinking using check box. How can I make the check box creation to be dynamic, meaning that the number of check box matches (depends on) the number of the entries in the std::vector. Any help would be appreciated. Thank you in advance.
  10. nekobasu33

    recursive function problem

    I got it working. Thank you so much for all the help. :)
  11. nekobasu33

    recursive function problem

    Antheus, In the code that you gave me, did you mean: files.push_back( file ); Instead of : string_list.push_back( file ); Am I right?
  12. Hi everybody, I have a simple question about recursion. I am filling up (using push_back()) this global std::vector inside a recursive function. But for some reason it's not filling up the vector with the right information after some time. Seems like the array is always being replaced by the next entry. Below is the simplified version of my recursive function. class cName { char* firstname; char* lastname; Foo() { firstname = new char[100]; lastname = new char[100]; } }; static vector < cName > string_list; void Recur(file) { while (findNext(file)) { if ( /*something*/) { innerFolder = nextFolder(file); Recur(innerFolder); } else { cName* CN = new cName; CN->firstname = innerFolder; string_list.push_back(CN); //more stuff } } } Can anybody please help me figuring out what I might do wrong? Any help would be appreciated. Thank you in advance?
  13. Hi everybody, Could anybody help me to convert an array of wchar ( WCHAR[260] ) to std::string? Is it possible? I tried to find some solution on the internet, but I only found how to convert from string to wchar. Any help would be appreciated. Thank you in advance.
  14. Thank you so much for all the help. I got it working, including the "." and ".." :)
  15. Does anybody know how to find out if .lnk file is linking to an .exe (Application file) For example: Calculator.lnk is actually linking to an Application file in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories, and the application is called Calculator.exe I am programming using Win32 and C++. Any help would be appreciated. Thank you.
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!