PureBasic 4.20 Beta 2 (Windows)

Developed or developing a new product in PureBasic? Tell the world about it.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

No go here either.

Tried with xp, v32 and v64 - none will work.

I imagine they'll sort it out.

cheers

Think we should report a bug?
Last edited by rsts on Mon Jan 28, 2008 4:38 pm, edited 1 time in total.
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

@ Netmaestro & Srod,
This will probably be a waste of posting space but have you tried running in portable / local mode to if maybe that will get it started?
Mine is running in full & portable modes with no probs at all

Edit: using something like this compiled from 1 of your working versions

Code: Select all

If ReadFile(0,"PureBasic.exe") 
 If RunProgram("PureBasic.exe","/PORTABLE","PureBasic")=0  
  MessageRequester("Fault","PB failed to open") 
 EndIf 
  Else 
 MessageRequester("Fault","PureBasic.exe file not found") 
EndIf
Last edited by Baldrick on Mon Jan 28, 2008 4:41 pm, edited 1 time in total.
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

Thanks PB Team!

No problem here. I have VC++ 9.0 installed here and recompiling some of my pb libs too. I notice a big difference in size. :)

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

I installed this: (uploaded to rapidshare because it was on another site and i couldn't find it somewhere else)

http://rapidshare.com/files/87308470/vccrt.msi.html

and it fixed my problem. Now it runs without problems.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

Inf0Byt3 wrote:I installed this: (uploaded to rapidshare because it was on another site and i couldn't find it somewhere else)

http://rapidshare.com/files/87308470/vccrt.msi.html

and it fixed my problem. Now it runs without problems.
That seems to have worked for me. Thanks :)

cheers
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Excellent - that did it!

Thanks Info. :)
I may look like a mule, but I'm not a complete ass.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Anytime :).
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Yes, that fixes it here too. These runtime libraries aren't going to be needed for our compiled .exe programs are they?
BERESHEIT
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Hmmm no idea... Fred said he compiled both the libraries and the compiler itself with VC8. I hope I won't have to put 5mb of runtimes besides the exe :/.

There's only one way to find out... Uninstalling the vc runtime patch and running a compiled exe. I'll have a try and report back.

[Edit]
Nope, it seems that the exe works without it anyway. Tested with this:

Code: Select all

MessageRequester("","Hello world!")
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

I tried with a much more complex program, Transpetris and it works fine without the runtimes installed, so it seems only pbcompiler.exe needs them. They'll have to be included in the PB installer for success everywhere.
BERESHEIT
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Have you tried the SP1 versions of the VC2005 runtimes?

http://www.microsoft.com/Downloads/info ... ylang%3den
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

Fred should just try to statically link to the crt (using LIBCMT.LIB) when compiling the PBCompiler ... it has been known that VS C++ 2005 does link dynamically to the msvcrt in a diff. manner.
Check out OOP support for PB here!
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Thanks for the headup, i modified the link sequence to use the old MSVCRT.dll like before. For the next beta.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Thanks for this great new!
I am having the problem related here:
http://www.purebasic.fr/english/viewtopic.php?t=30622
(the 2nd one).

Now the problem is constant with this beta2. See the image to get what i mean:
ImageThe compile/run icon is disabled... Can't compile! :cry:
No other suffering the same problem? :?
Last edited by Psychophanta on Mon Jan 28, 2008 9:42 pm, edited 1 time in total.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

I dont have that much skills regarding the IDE but could it be that the compiler hasnt been started? (which would be suspect anyway).
Means try restarting the Compiler ... and see if it works.
Check out OOP support for PB here!
Post Reply