Passing a Pointer from an Application to DLL
I am implementing a RAS Extension DLL.
I want that whenever a user connects to the RAS server on Windows my application recieves a notification. For this purpose I call an exported member of the dll . The argument to this function is the pointer to the function which I want to be called whenever any user connects to the RAS server. This works fine but when the user connects to the RAS server the error is shown as that the memory could not be read.
Can any body help??