It is currently Fri Jan 22, 2021 11:23 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: IncludeBinary max size?
PostPosted: Thu Apr 16, 2020 1:13 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Jun 08, 2004 10:29 am
Posts: 282
Location: Zurich, Switzerland
I try to include a relatively huge setup.exe (200 MB) inside my own setup application in a DataSection with IncludeBinary, but when creating the windows exe of my app I get this error:

Code:
POLINK: fatal error: Internal error: write_executable_image.

- what is the maximum number of bytes that are allowed in a DataSection?
- is there a maximum exe size in PureBasic? in Windows?

_________________
As you walk on by, Will you call my name? Or will you walk away?


Top
 Profile  
Reply with quote  
 Post subject: Re: IncludeBinary max size?
PostPosted: Thu Apr 16, 2020 9:10 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14181
Location: France
PureBasic doesn't use Windows 'resource', it put all in the executable part, so I guess you hit the limit here. May be you can create a .rc and use LoadResource_() to get it.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: hrcoder and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye