Lose the atl.dll

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Brice Manuel

Lose the atl.dll

Post by Brice Manuel »

I know this has been asked before, but please can't we lose the atl.dll ? I do not understand why PB must have this distributed with our web gadget apps, but Ibasic, IBasic Pro, Blitz Plus and BlitzMax do not require we distribute this. They use what is already installed on the system.

This makes it hard for those of us who want to use a single EXE for our product, and molebox will not work with the atl.dll because of the way the PB app calls it. The only solution is to inc/bin and then extract it when the program first runs and then delete the dll before the program closes.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You are right, i will see what can be done. BTW, do you tried the loaddll from memory found in the PBOSL package ?
Brice Manuel

Post by Brice Manuel »

Thanks, Fred. As long as you try, I will be happy. :wink:

For my games that are using the web gadget, the extra DLL isn't quite so big of an issue, but I am 75% through an e-book creator program which is using the web gadget, but I think it kinda sucks that I have to tell the people who use this to create an ebook, that they also have to distribute the atl.dll

I haven't been on the forums for a while and was unaware of the load DLL from memory lib you mentioned. I will be sure to check it out, as long as it works on 95/98/ME/2000/XP it sounds like just what I need :D
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

http://support.microsoft.com/dllhelp/De ... 4&start=50
The versions of atl.dll's (Note! the 4.0 is a wrongly versione ddll, the 3.5.2283.0 (actualy I got 3.5.2284.0 on my system, but...) is the latest atl.dll for XP/NT (unicode). and 3.0.8449.0 is the latest for W9x (ANSI)

Visual Studio .net seems to have/use atl71.dll instead. (yay, Microsoft sure knows how to make things easier. *sigh*)

Btw Fred! Maybe some of the info here is usefull?
http://support.microsoft.com/default.as ... -us;249233
I'm particulary thinking of the mention of MinDependency
and I guess two variants of the WebGadget would be needed as well.
For for ANSI (like PB 3.94) and one Unicode.
I don't think the extra bytes added to webgadget would be so bad,
as long as we don't have to drag around that atl.dll

Anyway, statically linking the code with webgadget might be better?
Brice Manuel

Post by Brice Manuel »

Fred wrote: BTW, do you tried the loaddll from memory found in the PBOSL package ?
Just an FYI, I tried that, but I couldn't get it to work with the atl.dll It worked fine with other DLLs. I guess since we aren't directly calling the atl.dll it doesn't work right with MoleBox or PBOSL's lib.
Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

Post by Seldon »

I resume this old post, because the ATL.dll is still needed for WebGadget, while other compilers like Blitz+ , etc... doesn't need it at all. Any chance to see it finally removed ?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> ATL.dll is still needed for WebGadget

ATL.dll is in my System32 folder (XP Pro) and I didn't put it there, and none
of my apps have it in their folder... so, maybe it's not needed anymore? :?:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Is only required on win95 without IE4 installed. I think we can ignore this!
The version comes with pb is very old and doen't support unicode, better
not distribute it.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
IceSoft
Addict
Addict
Posts: 1686
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

ts-soft wrote:Is only required on win95 without IE4 installed. I think we can ignore this!
The version comes with pb is very old and doen't support unicode, better
not distribute it.
Outdated is more a bug as a feature request or whishlist.
Maybe the PureBasic Installer can detect the Target-OS and select the right DLLs?
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

IceSoft wrote:Outdated is more a bug as a feature request or whishlist.
Maybe the PureBasic Installer can detect the Target-OS and select the right DLLs?
And you will redistribute the Installer with all your applications? :o
Ignore or delete the DLL. You can redistribute it, if you have an Win9x User
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
IceSoft
Addict
Addict
Posts: 1686
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

ts-soft wrote:Ignore or delete the DLL. You can redistribute it, if you have an Win9x User
This sentence seems to be addressed to Fantaisie Software.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

PB wrote:> ATL.dll is still needed for WebGadget

ATL.dll is in my System32 folder (XP Pro) and I didn't put it there, and none
of my apps have it in their folder... so, maybe it's not needed anymore? :?:
In my software used by thousands I never included it (totally forgot it), but that's because no one has complained and it seems to work fine without it.
I like logic, hence I dislike humans but love computers.
Post Reply