PureBasic 4.51 RC2 released
Re: PureBasic 4.51 RC2 released
possibly dumb question but: does the DLL bug (at the news) affect purebasic or programs created with it?
Code: Select all
; Hello, World!
Re: PureBasic 4.51 RC2 released
Which bug ?
Re: PureBasic 4.51 RC2 released
If you can't program, then yes. It's really not a bug with dll handling, it's a bug with understanding the difference between current directory and application directory.
If you use Import .. EndImport, you're not affected (after Windows XP SP1 and onwards). If you use LoadLibrary() without the full path, the current directory will be searched for the dll. If this is not what you want, then DON'T DO IT. If you know which dll you want, pass the full path (probably GetPathPart(ProgramFilename())+dllname).
If you use Import .. EndImport, you're not affected (after Windows XP SP1 and onwards). If you use LoadLibrary() without the full path, the current directory will be searched for the dll. If this is not what you want, then DON'T DO IT. If you know which dll you want, pass the full path (probably GetPathPart(ProgramFilename())+dllname).
Re: PureBasic 4.51 RC2 released
There has been quite many programs affected by bug that has DLL-related security problem. I'm not sure exactly what but I guess this is related http://news.cnet.com/8301-27080_3-20014625-245.html and as Trond mentions, it's not a problem if you know what you are doing.Fred wrote:Which bug ?
ok, thanks from the info.Trond wrote:If you can't program, then yes. It's really not a bug with dll handling, it's a bug with understanding the difference between current directory and application directory.
Code: Select all
; Hello, World!
Re: PureBasic 4.51 RC2 released
Sounds more like a Windows issue to me.
- OldSkoolGamer
- Enthusiast
- Posts: 150
- Joined: Mon Dec 15, 2008 11:15 pm
- Location: Nashville, TN
- Contact:
Re: PureBasic 4.51 RC2 released
GASP!!! A Windows issue-----------------------NEVERFred wrote:Sounds more like a Windows issue to me.
