You need to have an instance of the class to be able to have its address. In your example, RUNTIME_CLASS is used to get informations about the class (and not a specific instance !) of the class. It returns a structure containing info about your class (its name, the size, ...)
There should be another way to get the object you try to access. If you could describe the situation you have more in detail, that could help a lot.
I am trying to get the OnProgress status using URLDownloadToFile. For this, I need a callback for the IBindStatusCallback interface. So, I created a thread AfxBeginThread ( downloadFile, this, THREAD_PRIORITY_NORMAL, 0, 0) that just calls the WorkerThreadProc.
I am using ReadDirectoryChangesW(), FindFirstChangeNotification(), FindNextChangeNotification() and FindCloseChangeNotification() to watch a directory.
I would like to be notified when a file is completely copied into the directory.
I've got the way I can get the notification when the copy begins, but how do I know when it finishes?
Are there any some documents or samples that I can solve the problem?
Hi , I wrote an application orginallay at visual studio 6.0 and there was not any problem when I compile on visual studio 6.0, but when I try to build my app on vs 2003 it says me "fatal error C1010: unexpected end of file while looking for precompiled header directive". at msdn help says "Did you inadvertently delete a #include statement that referenced the .h file that /Yu is looking for?" but I did not delete any header directive.
what caused this ?
should I change any project settings.? if it is which one ?
please help ..
Actually this is not for me....see the query from my friend.
"I have created an EXE file (my application to be executed) and I want to keep it in a shared folder on the server. Up to 60 students from any computer lab need to run this exe file simultaneously (up to 10 is working now). The only problem is that my application need to read a MS Access database file (for just 2 seconds per user). But the server is allowing just one person to access a MS Access database! This is totally unacceptable. Somebody told me that there is an add-on program which will allow multiple persons to execute an application and simultaneously read MS Access databases."
I didnt work that much with database projects except some stand alone experiments. it would be very helpful if you give some inputs to resolve this issue.