You are here

Portable Dev-Cpp

12 posts / 0 new
Last post
TheOneMrO
Offline
Last seen: 12 years 1 day ago
Joined: 2005-12-09 08:42
Portable Dev-Cpp

I just uploaded Portable Dev-Cpp to PortaSoft
Please download it!

I don't know if it uploaded correctly to PortaSoft so it may not be on there, but I'm trying. Its just that school's computers SUCK!

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 8 years 9 months ago
Developer
Joined: 2005-12-10 15:22
I havent allowed the front

I havent allowed the front page news on PortaSoft as the file has not uploaded, you will need to try again, what was the filename?

Yours

Steve Lamerton

Developer Profile Sync & PortaLog

Ryushi
Offline
Last seen: 13 years 10 months ago
Joined: 2005-12-09 09:30
isn't it already portable?

Hi TOMO,

I had the impression that Dev-C++ is already portable and you only need to start it with the switch "-c ." - so what are your modifications other than UPXing (sweep upx --best *) it?

Cya Ryushi

TheOneMrO
Offline
Last seen: 12 years 1 day ago
Joined: 2005-12-09 08:42
Portable Dev-Cpp/Portable wxDev-Cpp

Well, your right, it works the exact same way, it actually uses the -c switch in order to run. I didn't realize it had that at first, but then I discovered that and I use that currently in my portable app. But wxDev-Cpp crashes when you try this so I have to use the launcher to copy the settings file to the APPDATA directory and then back to the removable drive in order to save the settings changed by the user during the session.

Ashes for Tears
Offline
Last seen: 14 years 8 months ago
Joined: 2006-01-11 08:41
Is there anyway to delete

Is there anyway to delete the directory after Dev-Cpp is closed and the data saved? It dosen't bother me on my own machine, but I don't want any public terminal admins getting too suspicious. Wink

TheOneMrO
Offline
Last seen: 12 years 1 day ago
Joined: 2005-12-09 08:42
My Portable Dev-Cpp makes no

My Portable Dev-Cpp makes no folders or files save to the local HD. It all saves on your thumb drive. I wouldn't worry too much about the folder because if you use Portable Firefox on that computer then you already have a folder containing Firefox info on the local HD. If you want i can compile you one that deletes that folder after you are done (this would be if you wanted wxDev-Cpp, otherwise there is no folder created on Portable Dev-Cpp)

check it out at portasoft.org

Rob Loach
Rob Loach's picture
Offline
Last seen: 13 years 10 months ago
Developer
Joined: 2005-12-09 17:29
Left Overs

I think what he's talking about is the deletion of the following folder after execution:

C:\Documents and Settings\USERNAME\Application Data\Dev-Cpp

Oh, and I've tried it out and it worked very nicely with compiling LuaLauncher.

Rob Loach [Website] [Projects]

Ashes for Tears
Offline
Last seen: 14 years 8 months ago
Joined: 2006-01-11 08:41
Yes, that's it. I was

Yes, that's it. Smile I was posting from my phone, so I was only just now able to confirm, and it leaves a folder at shutdown, though no data. BTW, Rob, 'he''s a 'she'. Wink Blum Anyway, I cobbled together a batch file and it works adequately enough, I just like shiney launchers better. Biggrin I'm a novice in any prog language, otherwise i would fix it myself and post (the code). Smile

TheOneMrO
Offline
Last seen: 12 years 1 day ago
Joined: 2005-12-09 08:42
I am almost ready to release

I am almost ready to release version 1.0.0.0 of my Portable Dev-Cpp. It adds temporary file association, if you set AssociateFiles=true in the ini of course, to .c, .cpp, .h, .hpp, .rc, .template, .dev, .devpak, and .devpackage files. This will change the icon, program it opens up with, and will replace it with the original settings when it is finished. I have only a couple things to test left and it will also not interfere with local dev-cpp file associations either (if you know somewhat about file association in the registry you will understand this, i hope Wink ) The only problem with this, is that if you are not an admin then you probably can't write to the registry, prevent the file association...which there is no work-around currently available yet.

And if the he's a she thing was refering to me, then you were wrong.

Rob Loach
Rob Loach's picture
Offline
Last seen: 13 years 10 months ago
Developer
Joined: 2005-12-09 17:29
File Associations

It might be a good idea to put in an option in the INI to disable that feature.

Rob Loach [Website] [Projects] [Blog]

TheOneMrO
Offline
Last seen: 12 years 1 day ago
Joined: 2005-12-09 08:42
yeah, i did. any other

yeah, i did. any other ideas?

Ashes for Tears
Offline
Last seen: 14 years 8 months ago
Joined: 2006-01-11 08:41
lol, I meant me.

lol, I meant me. Biggrin

Topic locked