MemoryModule x86 and x64 (static lib, import and example)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: MemoryModule x86 and x64 (static lib, import and example

Post by ts-soft »

Update:

New functions to use resources in dll and new example to reflect this!
MemoryModule wrote: MemoryLoadLibrary(*MemoryPointer)
MemoryGetProcAddress(hModule, FunctionName.p-ascii)
MemoryFreeLibrary(hModule)
MemoryFindResource(hModule, lpName.p-ascii, lpType.p-ascii)
MemoryFindResourceEx(hModule, lpName.p-ascii, lpType.p-ascii, wLanguage.w)
MemoryLoadResource(hModule, hResInfo)
MemoryLoadString(hModule, uID.l, *lpBuffer, nBufferMax.l)
MemoryLoadStringEx(hModule, uID.l, *lpBuffer, nBufferMax.l, wLanguage.w)
MemorySizeofResource(hModule, hResInfo)
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: MemoryModule x86 and x64 (static lib, import and example

Post by chi »

MemoryFreeLibrary() keeps crashing when running inside a virtual environment (VirtualBox)... Is it save to just not call this function or will there be something left behind?

Greetings, chi
Et cetera is my worst enemy
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: MemoryModule x86 and x64 (static lib, import and example)

Post by jacdelad »

The link in the first post doesn't work anymore, is it still available somewhere?
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
destiny
User
User
Posts: 29
Joined: Wed Jul 15, 2015 12:58 pm
Location: CCCP

Re: MemoryModule x86 and x64 (static lib, import and example)

Post by destiny »

jacdelad wrote: Fri Nov 25, 2022 7:32 am The link in the first post doesn't work anymore, is it still available somewhere?
Same question.
Jens-Arne
User
User
Posts: 43
Joined: Sun Feb 04, 2024 11:09 am

Re: MemoryModule x86 and x64 (static lib, import and example)

Post by Jens-Arne »

Still same question. Is there anybody who has the files because the download link is broken?
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: MemoryModule x86 and x64 (static lib, import and example)

Post by chi »

MemoryModule.zip (ts-soft / 2013-07-13)
Et cetera is my worst enemy
Jens-Arne
User
User
Posts: 43
Joined: Sun Feb 04, 2024 11:09 am

Re: MemoryModule x86 and x64 (static lib, import and example)

Post by Jens-Arne »

Thank you very much!
Post Reply