Deploy DLL

Use of external libraries (DLLs) from ZGE.

Moderator: Moderators

Post Reply
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Deploy DLL

Post by Kjell »

8)

Basic proof of concept of deploying a DLL from a EXE ( like Game Maker ).

K
Attachments
Deploy.zip
(302.08 KiB) Downloaded 2480 times
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Hehe, good work Kjell! I would not have thought this was possible to do :)

I have now created a new "Extensions" forum for everything to do with calling DLLs from ZGE and moved this topic to that forum.
User avatar
diki
Posts: 140
Joined: Thu Sep 11, 2008 7:53 pm
Location: GMT+1
Contact:

Post by diki »

rad!

( although i don't like it when gamemaker-games do that ... acting all innocent only to spam my desktop because i was too naive to put them in their own subfolder ;) ... )

still very rad, though!
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

Hey, thanks for putting together and including the Dina bitmap font.
"great expectations"
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Post by Kjell »

:)

@y_offs_et - Don't use the Dina Bitmap as I used it here! I wanted to have some spacing between the letters .. and because I was lazy, I simply used a 16x16 pixel cell for each letter ( while 8x16 is enough ).

Just use CBFG to create Bitmap Fonts, or otherwise you could rip a proper Dina Bitmap from my ini "extension" :P

K
ab2
Posts: 6
Joined: Tue Jan 25, 2022 1:39 pm

Deploy DLL or use DLL's on current Windows 10 64 bit?

Post by ab2 »

Can the with ZGE 5.0b supplied bass.dll
be used/registered/made functional

on a current Windows 10 (64bit Build 21H1/21H2)?

If yes, what would be neccessary to do?

It seems that all projects using external dll's
except opengl32
(opengl32.dll is availble in various versions under the C:\Windows\.. directory)

can not be executed
(ZZDC fails on start to load/find the mentioned dll
even if it is exactly in the 'exe-file'-directory.

regsrv32 '..dll' fails to register for example bass.dll.

Also the deploy.zip -example fails to load the
locally generated ID3.dll.

I even tried to Compile ZGE with a current
embarcadero+delphi(11)+ide.

But this new compiled ZGE does not seem to work
with the other external dll's.

// but probably i did not try all project deployment configurations/combinations

How could I possibly test a delivered dll if it is feasible/able to
be loaded by windows 10. Could it be somehow made 'compatible'
with the compatibility settings of executables? Although these are
not available for dll's?

Thanks for some more detailed information about 'external-dll'
usage on current Windows 10-systems.

Cheers

A.

PS: Or do I need to ask Microsoft??
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Deploy DLL or use DLL's on current Windows 10 64 bit?

Post by VilleK »

ab2 wrote: Mon Feb 07, 2022 12:09 pm Can the with ZGE 5.0b supplied bass.dll
be used/registered/made functional
I see, the problem is that the included bass.dll is 32-bit while ZGE is now 64-bit. Does anyone know where we can find a 64-bit bass DLL? I'm not sure what the official project homepage is.
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Re: Deploy DLL or use DLL's on current Windows 10 64 bit?

Post by Kjell »

Hej Ville,
VilleK wrote: Mon Feb 07, 2022 12:18 pmDoes anyone know where we can find a 64-bit bass DLL?
Check the x64 folder :wink:

http://www.un4seen.com/download.php?bass24

K
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Deploy DLL

Post by VilleK »

Thanks Kjell :)

This file works. I've updated ZGE so the latest version includes this 64-bit bass.dll.

@ab2: Does this solve your problem?
ab2
Posts: 6
Joined: Tue Jan 25, 2022 1:39 pm

Re: Deploy DLL

Post by ab2 »

Hello and many
thanks for your fast reaction!

Yes bass.dll works now on current windows 10 64 bit. Great!

Although my 'problems' are of weak priority.

In general I am working through tutorials
to learm more about ZGE
and would like to try out
some of seemingly interesting
examples.

The in this forum and elsewhere mentioned extra dll's
are currently seemingly all not working .. or have no 64 bit version.

So if some experience and ressources could be invested
into the following dll's for a 64 bit version I personally would be glad:

qoob.dll

ZgeSkelet.dll

ZgeSpeak.dll

ZgeListen.dll

ZgeBox2D.dll

ZgeNano.dll

Thanks for your time and your support!

Cheers

A.
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Deploy DLL

Post by VilleK »

The sources of several of those libraries can be found here: https://github.com/Rado-1

I'm not sure if Rado1 have made 64-bit builds of those available for download.

"qoob" library is by another author and seems it is no longer maintained and the sources aren't available.
Post Reply