Originally posted by Wayne Diamond
View Post
Announcement
Collapse
No announcement yet.
Include DLL in EXE
Collapse
X
-
Guest replied
-
Simply include the DLL as a binary in the Resource section of your exe
Or just append the contents of the DLL to your EXE, then get your EXE to extract it at runtime.
Leave a comment:
-
DECLARE..LIB works, too; the way it was designed. It "includes" the procedures from the DLL into the EXE.
If the current challenge is one of distribution of multiple files, look at using an installer program such as Inno Setup (http://www.jrsoftware.org).
Leave a comment:
-
Lots of info to be found here. Keywords to search for on these forums are:
embed, dll, exe, resource, ...
http://www.powerbasic.com/support/pb...ad.php?t=35766
http://www.powerbasic.com/support/pb...ead.php?t=8139
http://www.powerbasic.com/support/pb...ead.php?t=6882
http://www.powerbasic.com/support/pb...ad.php?t=23527
http://www.powerbasic.com/support/pb...ead.php?t=2125
Kind regards
Leave a comment:
-
Guest repliedI use MoleBox, although that may not be the solution you want.
Leave a comment:
-
Include DLL in EXE
Is there a way to include a DLL in my PB program.
I encounter problems when other systems do not have the DLL on the local drive and it would be nice to just give the exe onlyTags: None
Leave a comment: