Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: drwbns

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    393

    Beginner WinAPI question

    Hello, I was curious about what you guys think would be the appropriate windows controls to use to create an excel-like spreadsheet layout with some columns being text and some columns being a...
  2. Replies
    1
    Views
    520

    Re: Performing RegEx on open file

    I found a better way of how to open a file. But I need help trying to match a url using boost::xpressive. I got the following off the web that doesn't match anything, other examples I tried throw a...
  3. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    Is there a way to get a const char * from a std::string::iterator when iterating over a std::string?
  4. Replies
    1
    Views
    520

    Performing RegEx on open file

    Hi, like the title says, I'm trying to open a file and perform a regex on it, then print the matches, but I'm not sure if I have it right. I think I need to remove the line -

    [for (...
  5. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    Ah ok, I changed it to a StringClass
  6. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    Ok thanks, is this ok to do? Also, why is it that I'm only calling dir.push_back once, yet I have 2 elements? The first is empty, the 2nd is my push_back call.


    TCHAR SomeArray[_MAX_PATH];...
  7. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    dir is a StringVector like you suggested - but I'm getting a crash after calling buttonPush -


    bool buttonPush(HWND hWnd, StringVector &dir ) {

    BROWSEINFO bi;
    TCHAR szDir[MAX_PATH];
    ...
  8. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    yes, sorry. I'm just trying to understand TCHAR and it's correct usage for the most part. Is it possible to make a vector containing a TCHAR[] array or is that just a no no? I tried Paul's...
  9. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    TextArea is a textBox


    bool ListFiles(TCHAR* path, std::vector<TCHAR *> &files, std::vector<TCHAR*> &directories) {
    HANDLE hFind = INVALID_HANDLE_VALUE;
    WIN32_FIND_DATA ffd;
    TCHAR...
  10. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    I tried using a reference instead of a static var for my files vector like so -
    bool ListFiles(TCHAR* path, std::vector<TCHAR *> &files) {

    but when I use it, I have a bunch of valid file names...
  11. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    Ah ok i was just curious. thanks
  12. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    Theres no problem with that. i was just wondering why you cant append with a simple plus sign
  13. Replies
    22
    Views
    1,585

    Re: Capturing files in a directory

    Ah ok, is there any way to append to a TCHAR* without using a function?
  14. Replies
    22
    Views
    1,585

    Capturing files in a directory

    Hi, I'm using the following code to capture all files in a directory -
    but when I pass the "path" var such as "C:\SomeDir" ffd.cFileName is just simply "SomeDir" and is seen as a valid folder and...
  15. Replies
    7
    Views
    891

    Re: TCHAR correct usage

    Ah ok thank you
  16. Replies
    7
    Views
    891

    Re: TCHAR correct usage

    Thanks for the help, making the var static works. I might switch it to a function argument if that's smarter though. Is it?
  17. Replies
    7
    Views
    891

    [SOLVED]TCHAR correct usage

    Hello, I'm trying to get a Browse Directory dialog to update a text box with the path selected. I had it working fine in Unicode build but now using TCHAR - I see the variable contains the correct...
  18. Replies
    9
    Views
    1,142

    Re: crash initializing size_t array

    The overall design was to have a loop through a number of meshes to process, and the data stored for each loop ( mesh ). I've simplified the design now based on your feedback and you brought up a lot...
  19. Replies
    9
    Views
    1,142

    Re: crash initializing size_t array

    Well, I tried to also initialize the members in the constructor, and it's still crashing. I think I'll give it a rest and try again tomorrow, thanks.
  20. Replies
    9
    Views
    1,142

    Re: crash initializing size_t array

    you said -
    but I'm careful to initialize all 4 struct members( the ... area) . I guess I just wanted to defer the array initializing until later in my code, which now that I look at it, I don't...
  21. Replies
    9
    Views
    1,142

    Re: crash initializing size_t array

    Its a access violation writing location 0xCCCCCCCC. I know this usually means writing to an unitialized variable but I thought that's what I'm trying to do on that line.
  22. Replies
    9
    Views
    1,142

    crash initializing size_t array

    Hi guys, I'm wondering why I get a crash when initializing the indices array below (bottom)-


    struct TerrainGroupData
    {
    TerrainGroupData(){};
    ...
  23. Re: error C2143: syntax error : missing ';' before '*'

    Sorry, I don't post here very often and a lot of other sites use <code> for tags. But I solved the problem, I had 2 headers including each other
  24. Re: error C2143: syntax error : missing ';' before '*'

    ok -
    <code>
    void updateCameraGoal(Real deltaYaw, Real deltaPitch, Real deltaZoom)
    {
    mCameraPivot->yaw(Degree(deltaYaw), Node::TS_WORLD);

    // bound the pitch
    if (!(mPivotPitch +...
  25. [RESOLVED] error C2143: syntax error : missing ';' before '*'

    Hey guys, I was trying to write a character controller but when I went to add my pointer to my character I get error C2143: syntax error : missing ';' before '*'

    I've looked at all my classes...
Results 1 to 25 of 145
Page 1 of 6 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center