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:
...
Type: Posts; User: finkus
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:
...
haha... thanks SlyMaelstrom... it's a much overdue introduction.
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.
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.
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...
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...
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...
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...
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 (
...
ah right... i completely forgot about the whole friend concept. again, thanks so much daved. i really appreciate the help.
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...
awesome.... works perfectly. thanks a lot daved, much appreciated.
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....
alright, heres the relevant code:
CUserList :: CUserList ()
{
m_Reader.open ( USERLIST );
cout << "try open" << endl;
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...
thanks for the help guys. much appreciated.
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...