Search:

Type: Posts; User: esaptonor

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    874

    Ok, your right in that turning it into a...

    Ok, your right in that turning it into a reference is bad, I was hoping for some kind of modification to the operator overload part of the class...I assumed I was doing it wrong. But nah, I will...
  2. Replies
    8
    Views
    874

    codeplug, I know, that was the only way it...

    codeplug, I know, that was the only way it worked, but I wanted to just use o=5.

    And brewbuck, that works, so I will use that. Thanks, its not 100% what I wanted, but what I wanted obviously...
  3. Replies
    8
    Views
    874

    Overloaded Operators, and Pointers

    I have made a simple class which overloads an equals operator. So far, it does nothing important, becuase its just a test.

    The class just looks like this:


    class myoverloadAttempt
    {
    public:...
  4. Replies
    4
    Views
    1,645

    Ok, thanks a lot. Ill check it out.

    Ok, thanks a lot. Ill check it out.
  5. Replies
    4
    Views
    1,645

    I did search this forum for windows service...

    I did search this forum for windows service related threads, but I did not see any that related.
    I also look through MSDN, but I was looking for c++ related pages, not .NET, which you have found.
    I...
  6. Replies
    4
    Views
    1,645

    windows service

    I need to make a program run as a windows service, but I only have visual c++ 6.0, and I don't think it has a template for this.
    How can I create a windows service from scratch?

    thanks a lot,...
  7. Replies
    1
    Views
    2,052

    ifstream open file, but wrong directory

    I have previously used a windows open file dialog box, which I am guessing changes the directory to whatever I selected there.
    So when I call ifstream f1("file.txt") it only looks for the file in...
  8. Replies
    2
    Views
    3,334

    hey thanks a lot man, I must have missed that...

    hey thanks a lot man, I must have missed that when I was looking. Thats exactly what I am after :)
  9. Replies
    2
    Views
    3,334

    'browse for file' dialog box?

    I have a text field, where the user can type in the location of the text file they want to open, but I also want the user to be able to click a browse button and have one of them dialog boxes open up...
  10. Replies
    8
    Views
    3,764

    yes it all works great now, thanks a lot! For...

    yes it all works great now, thanks a lot!

    For the record, Visual Foxpro databases require DNS=, SourceType=, Description=, and DB= in that string. That was half the problem right there!
  11. Replies
    8
    Views
    3,764

    Its something to do with the database location......

    Its something to do with the database location... When I just have


    rc=SQLConfigDataSource(hwnd,ODBC_ADD_DSN,(LPSTR)"Microsoft FoxPro VFP Driver (*.dbf)",
    (LPSTR)"DSN=cadatatest\0\0");
    ...
  12. Replies
    8
    Views
    3,764

    hmm...its returning error 11. No idea what that...

    hmm...its returning error 11. No idea what that is, I shall investigate further.

    Its worth noting that your code works fine, its just this visual fox pro thing that doesn't work.
  13. Replies
    8
    Views
    3,764

    thanks, I will look into this

    thanks, I will look into this
  14. Replies
    8
    Views
    3,764

    hmm...well for starters I found it was a .dbc not...

    hmm...well for starters I found it was a .dbc not .dbf :|
    But that didn't solve the problem. I continued to search around and try different things, but I just can not seem to get it working.

    Can...
  15. Replies
    2
    Views
    2,212

    Thanks, its working now :)

    Thanks, its working now :)
  16. Replies
    2
    Views
    2,212

    date to unix time conversion

    well I have a date format like so: 2006-07-07 (its a std::string)
    and I would like to convert this to a unix timestamp, does anyone know how this is done?
    and I am not using unix, so if its only a...
  17. Replies
    6
    Views
    10,778

    Hmm...doesn't work. It causes the program to...

    Hmm...doesn't work. It causes the program to 'abnormally terminate' or something.
    I have realised that the socket is not just listening, it is running the accept function, which I presume waits...
  18. Replies
    6
    Views
    10,778

    Listening socket and thread problem

    To outline the problem: I have a socket server listening in a seperate thread to the main program. The socket accepts new connections and deals with them, then listens again. It is in a while loop....
  19. Replies
    8
    Views
    3,764

    ODBC DSN-less connection

    I am trying to connect directly to my visual FoxPro database without using a datasource.
    With a datasource it worked fine, but I can not get it to work without one. Can someone check my connection...
  20. Replies
    16
    Views
    2,938

    thanks guys, i was using iostream.h, or nothing...

    thanks guys, i was using iostream.h, or nothing that defined it in, so once i included iostream or string it worked....i had only tried string.h, which doesn't work.

    thanks again,
    esaptonor
  21. Replies
    16
    Views
    2,938

    Cant use std namespace, help required

    I am unsure if this is a common problem, but i use VC++ 6.0, i am still learning, but i cant seem to use anything from the std namespace.
    If i type std:: then the IDE gives me a list of everything...
  22. Replies
    2
    Views
    1,336

    thanks.

    thanks.
  23. Replies
    2
    Views
    1,336

    How do i make a folder using borland 5.5

    I am wanting to make a highscore board, and i want the highscores to go in a seperate folder in windows...but i want it to be run in DOS, not with winMain or any of that.
    Is there a function or...
Results 1 to 23 of 23