Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

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]
1
Общий фор�?м / "QuestCast" - подка
« on: August 12, 2015, 03:11:19 PM »
В

2
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");
Game.Msg(GetLastError());
FreeLibrary(hDll);
Game.Msg(GetLastError());

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 astralax.ru.
Working example of the developer (executable only, dll present) http://letitbit.net/download/0990.02a8ad5bcd8c88c3a093bfa61/demo.zip.html
Example with source code in C++ (without visualization, dll present) http://www.astralax.ru/hlam/LoadLibraryTest.rar

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

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

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

Pages: [1]

Page created in 0.048 seconds with 22 queries.