Search:

Type: Posts; User: finkus

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,542

    calling unmanaged c++ dll from c#

    I'm trying to call an unmanaged c++ dll from a c# windows form application, but I'm getting a DLLNotFoundException. The dll is in my project folder, and my code calling it is:


    ...
  2. haha... thanks SlyMaelstrom... it's a much...

    haha... thanks SlyMaelstrom... it's a much overdue introduction.
  3. ah... right, the FAQ. i probably should've looked...

    ah... right, the FAQ. i probably should've looked there first, huh? anyway, thanks for the help Dave_Sinkula. i'll check that out now.
  4. amendment

    ok... i guess i didn't quite phrase my question right. i dont know how to go about getting each filename to then store into the vector, if all i have is the directory name.
  5. create an array of strings that hold filenames

    Given a string that holds a the path to a directory, is there a way to create an array of strings (or char* or whatever) where each slot in the array holds the name of a file in that directory? I've...
  6. Replies
    5
    Views
    2,797

    Sleep works with just one thread, but not 2

    I'm trying to get a thread to check a file for updates, then sleep for half a second, then check again, and so on, until the loop gets a flag telling it to stop. The program compiles, but when it's...
  7. Replies
    6
    Views
    2,738

    ok... i got something. basically i can't call a...

    ok... i got something. basically i can't call a member function of a class in CreateThread:

    from: <http://www.ciprian-miclaus.com/sources/win32threads.asp?id=1&tip=c>
    (no intentions of...
  8. Replies
    6
    Views
    2,738

    ok, just realized that it's called from within a...

    ok, just realized that it's called from within a class, so i thought maybe it was looking for a method in the class called CreateThread? maybe? i dunno.... i tried changing the function call to...
  9. Replies
    6
    Views
    2,738

    compiler doesn't like CreateThread

    ok, last one for the night, i swear....

    essentially, all i'm trying to do is create a win32 thread with the CreateThread function

    (for those not familiar w/ it)


    HANDLE CreateThread (
    ...
  10. Replies
    3
    Views
    1,197

    ah right... i completely forgot about the whole...

    ah right... i completely forgot about the whole friend concept. again, thanks so much daved. i really appreciate the help.
  11. Replies
    3
    Views
    1,197

    classes within classes?

    yet another question.... this program is driving me nuts. anyway...

    i have a class (CMessages) that i want to have encapsulated within another class (CUser). i also want to have the encapsulated...
  12. Replies
    6
    Views
    7,192

    awesome.... works perfectly. thanks a lot daved,...

    awesome.... works perfectly. thanks a lot daved, much appreciated.
  13. Replies
    6
    Views
    7,192

    thanks for the suggestion ancientdragon, i'll do...

    thanks for the suggestion ancientdragon, i'll do that..... but i also know that isnt where my current problem lies, as this was happening even w/ only a single instance of the program....
  14. Replies
    6
    Views
    7,192

    more code

    alright, heres the relevant code:




    CUserList :: CUserList ()
    {
    m_Reader.open ( USERLIST );

    cout << "try open" << endl;
  15. Replies
    6
    Views
    7,192

    checking if a file is empty

    ok, i have a program that checks to see if a .txt file exists, and, if not, creates the file. this file needs to be used by multiple instances of the program running simultaneously. each instance of...
  16. Replies
    5
    Views
    1,080

    thanks

    thanks for the help guys. much appreciated.
  17. Replies
    5
    Views
    1,080

    removing text from a file

    ok the answer to this is probably very simple, but i've never had to do it before and had no luck on google, so maybe someone here can help me. i have a .txt file that i'm writing to, using an...
Results 1 to 17 of 17