|
-
May 30th, 1999, 11:05 AM
#1
Vc++ Load Module Problem
Hi,
I am converting all of my c++ code from 16 bit (Borlandc++) to 32 bit (VC++).In one particular program I am referring one DLL file .The code extract is as follows.
static HINSTANCE hResInst;
extern "c" void far pascal _export InitialiseLib (void)
{
hResInst = LoadModule ("bfelares.dll",NULL);
}
And in the subsequent code i am using LoadString Function also.In that DLL file ,I stored all of my
Error Messages.The important thing is I am using Third Party XVT classes not MFC.
During Compiling and Linking it is not giving problem. But when running the application I am getting error
KERNEL32.DLL and the application is closed. So the LoadModule function is behaving Erratically.This problem annoying me too much.Is there any solution to overcome this LoadModule Problem.
If anybody suggest me a way to proceed further i will be highly thanksful to them.
Thanks and Regards,
V Muthu ([email protected])
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|