Unhandled exception (Access violation) while creating object of class i
From Prasad Bhadakwan@21:1/5 to All on Wed Jan 11 02:48:33 2017
I want to dynamically load the client dll in my C++ Windows application. So I am using ACE_DLL. I want to create the object of the class in client dll in my application .
So I have written a wrapper class. One of its member function creates the object of ACE_DLL.
Then using that object I am loading the client dll. Next I am calling the symbol function through ACE_DLL object and passing the mangled name of constructor of the class in client dll. Next I am calling the function pointer (_entry ) which contains
address of the constructor but this time I am getting error as "Unhandled exception (Access violation)"
Please let me know if my approach is correct. Below are the calling sequence in my application.