HelpDoes anyone got a Working Loadlib ?

Posts 14 of 4 · Page 1 of 1
Does anyone got a Working Loadlib ?
Does anyone got a Working Loadlib? Or should I code one ?
Code:
#include <Windows.h>
int main()
{
	DWORD ex;
	HINSTANCE cshell = LoadLibrary(TEXT("CShell.dll"));            
	if(cshell != NULL) {
		printf("Loaded\n");
        }
	else 	{
        ex = GetLastError();
		printf("Not loaded\n");
	}
	system("pause");
	return 0;
}
Quote Originally Posted by 96neko View Post
Code:
#include <Windows.h>
int main()
{
	DWORD ex;
	HINSTANCE cshell = LoadLibrary(TEXT("CShell.dll"));            
	if(cshell != NULL) {
		printf("Loaded\n");
        }
	else 	{
        ex = GetLastError();
		printf("Not loaded\n");
	}
	system("pause");
	return 0;
}
Error"
r6034 an application has made an attempt to load the c runtime library incorrectly
Microsoft Visual C++ Runtime error.
Does this have to do with the C++ code? Or it's a missing DLL ?
Quote Originally Posted by Omer- View Post
Error"
r6034 an application has made an attempt to load the c runtime library incorrectly
Microsoft Visual C++ Runtime error.
Does this have to do with the C++ code? Or it's a missing DLL ?
google it
Posts 14 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?