Please login or register.

Login with username, password and session length
Advanced search  


Forum rules - please read before posting, it can save you a lot of time.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Pipec

Pages: [1]
Общий фор�?м / "QuestCast" - подка
« on: August 12, 2015, 03:11:19 PM »

Technical forum / DLL loading
« on: July 25, 2009, 05:41:26 PM »
Sorry for bad English. This is a computer translation from Russian language.
I want to load the DLL library. I use script:

Code: [Select]
external "kernel32.dll" int LoadLibraryA(string);
external "kernel32.dll" FreeLibrary(int);
external "kernel32.dll" int GetLastError();

var hDll = LoadLibraryA("magic.dll");

But "LoadLibrary" return error 2 - ERROR_FILE_NOT_FOUND, or 126 - ERROR_MOD_NOT_FOUND.
I placed the dll in the folders: system32, WME folder, project folder, data folder. I used the absolute and relative path. But in all cases I get an error.

library, of course, working, I took her here
Working example of the developer (executable only, dll present)
Example with source code in C++ (without visualization, dll present)

Why can not load library? When I change magic.dll, for example, kernel32.dll, LoadLibrary returns 0 - ERROR_SUCCESS
Thank you for your help!

Общий фор�?м / Indigo
« on: July 10, 2009, 09:42:02 AM »

Техниче�?кий фор�?м / WME и Linux
« on: May 01, 2009, 06:12:33 PM »
Сегодня впервые

Pages: [1]

Page created in 0.037 seconds with 18 queries.