Re: Dll doubt
In order for this to work, you will need to use a .DEF file that includes
your public function names.
Otherwise, the linker modifies the name of the exported function, which
causes GetProcAddress to fail.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
<hellokareem@gmail.com> wrote in message
news:1147086548.873306.142330@j73g2000cwa.googlegroups.com...
I have some doubt in dll
i created one dll function like this
extern "C" BOOL PASCAL EXPORT DllProc()
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
MyDialog md=new MyDialog;
md.DoModal();
return true;
}
::LoadLibrary loaded well but GetProcAddress failed..
i think it may be export function table problem,then i created one def
file it working fine
my doubts
what are the reason of failing creation of export table?
one more common doubt about dll
if i am using header file and lib file way ,when this dll will load?is
this when the first method call in from that dll?
if my concept are wrong ,kindly correct me..