Page 4 of 4
Re: PureBasic 4.51 RC2 released
Posted: Thu Sep 02, 2010 12:31 pm
by Azul
possibly dumb question but: does the DLL bug (at the news) affect purebasic or programs created with it?
Re: PureBasic 4.51 RC2 released
Posted: Fri Sep 03, 2010 9:09 am
by Fred
Which bug ?
Re: PureBasic 4.51 RC2 released
Posted: Fri Sep 03, 2010 11:37 am
by Trond
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).
Re: PureBasic 4.51 RC2 released
Posted: Sat Sep 04, 2010 7:39 pm
by Azul
Fred wrote:Which bug ?
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.
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.
ok, thanks from the info.
Re: PureBasic 4.51 RC2 released
Posted: Sat Sep 04, 2010 9:24 pm
by Fred
Sounds more like a Windows issue to me.
Re: PureBasic 4.51 RC2 released
Posted: Wed Sep 08, 2010 6:50 pm
by OldSkoolGamer
Fred wrote:Sounds more like a Windows issue to me.
GASP!!! A Windows issue-----------------------NEVER
