It is currently Fri May 24, 2013 12:12 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 926 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 62  Next
Author Message
 Post subject:
PostPosted: Tue May 12, 2009 11:10 pm 
Offline
User
User

Joined: Tue May 01, 2007 3:49 am
Posts: 97
Location: Germany
>can you get the source examples to run?
No, none of them. Only the executables work.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 12, 2009 11:28 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 10, 2005 2:08 pm
Posts: 558
Location: Yorkshire, England
Right, might be to do with the subsystem directories.
Here I use JaPBe for dev and the subsystem dirs work correctly, just tested the userlib version out with PB IDE and not compiling with the correct subsystem so can someone confirm what the correct SubSystem directories should be? (The latest build of PB4.30 does not have them created)


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 12, 2009 11:33 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4715
Location: Berlin - Germany
Quote:
\SubSystems\UserLibThreadSafe\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicode\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicodeThreadSafe\PureLibraries\UserLibraries\

But if you use the newest TailBite with the /MULT option, you create one
UserLib with support for all Systems! No SubSystems required.

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Mageia 3 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 12, 2009 11:37 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 10, 2005 2:08 pm
Posts: 558
Location: Yorkshire, England
Quote:
Quote:
\SubSystems\UserLibThreadSafe\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicode\PureLibraries\UserLibraries\
\SubSystems\UserLibUnicodeThreadSafe\PureLibraries\UserLibraries\

But if you use the newest TailBite with the /MULT option, you create one
UserLib with support for all Systems! No SubSystems required.


Ahha!! thanks Thomas! this could be the problem :) I'll re-compile tomorrow, i'm a bit tired now and inebriated lol

Cheers!

Chris.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 12, 2009 11:45 pm 
Offline
New User
New User

Joined: Sat Feb 03, 2007 2:12 pm
Posts: 6
Location: Towanda, PA, USA
It runs fine on my Dell Precision 490, dual Quad Xeons, 8 Gb RAM, XP x64.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 5:16 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 10, 2005 2:08 pm
Posts: 558
Location: Yorkshire, England
I've re-compiled and re-uploaded the archives, there is just a single UserLibrary version now which is a multi-library. I've tested the new UserLibrary version in the PB IDE and JaPBe and no problems :)

Please let me know if you guys are still having problems though!

I'll release another small update later tonight with the TextControlEx alignment flags fix :)

Cheers!

Chris.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 5:39 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4715
Location: Berlin - Germany
PrincieD wrote:
I've re-compiled and re-uploaded the archives, there is just a single UserLibrary version now which is a multi-library. I've tested the new UserLibrary version in the PB IDE and JaPBe and no problems :)

This is, what i have say for some weeks :wink:

The UserLib is a bit bigger but the resulting executable is the same.
No more problems with subsystem-settings :D

Thanks

Thomas

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Mageia 3 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 13, 2009 5:45 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 10, 2005 2:08 pm
Posts: 558
Location: Yorkshire, England
Quote:
This is, what i have say for some weeks Wink

The UserLib is a bit bigger but the resulting executable is the same.
No more problems with subsystem-settings Very Happy

Thanks

Thomas


Good to hear! :)

Chris.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 14, 2009 1:58 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 10, 2005 2:08 pm
Posts: 558
Location: Yorkshire, England
Hey guys, I've re-uploaded with a small update fixing the TextControlEx alignment flags, also there is a new #TCX_RIGHT alignment flag :)

Cheers!

Chris.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 14, 2009 2:20 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 2853
Location: United Kingdom
Quote:
But if you use the newest TailBite with the /MULT option, you create one
UserLib with support for all Systems! No SubSystems required.

Nice. :)

_________________
http://www.SinisterSoft.com <- My Business website
http://www.ReportComplete.com and http://www.ReportPlus.co.uk <- School end of term reports system


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 17, 2009 6:15 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4715
Location: Berlin - Germany
Where can i find the bandnumber in REBARBANDINFO?
I can store the rebar but not restore without this information. You can store
this in lParam of REBARBANDINFO.

greetings

Thomas

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Mageia 3 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 17, 2009 8:22 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 10, 2005 2:08 pm
Posts: 558
Location: Yorkshire, England
Hi Thomas!

Quote:
Where can i find the bandnumber in REBARBANDINFO?
I can store the rebar but not restore without this information. You can store
this in lParam of REBARBANDINFO.


The REBARBANDINFO\wID value is the command identifier of the band and is the same as the handle returned by AddRebarGadget (ProGUI).

You can get the band index with the following command:

index = SendMessage_(RebarHandle, #RB_IDTOINDEX, wID, 0)

Hope that answers your question :)

Cheers!

Chris.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 17, 2009 8:44 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4715
Location: Berlin - Germany
Thanks, i will test this

Greetings

Thomas

// edit
i have test it, index is alway - 1 :(
Code:
       For i = 0 To SendMessage_(RebarID(#rbMain), #RB_GETBANDCOUNT, 0, 0) -1

         ReadData(FF, ReBar, SizeOf(ReBar))
         index = SendMessage_(RebarID(#rbMain), #RB_IDTOINDEX, ReBar\wID, 0)
         Debug index
         Select index
          Case 0
            ReBar\hwndChild = MenuExID(#mnuMain)
          Case 1
            ReBar\hwndChild =  ToolBarID(#tbMain)
          Case 2
            ReBar\hwndChild = ToolBarID(#tbTools)
           EndSelect
          SendMessage_(RebarID(#rbMain), #RB_SETBANDINFO, i, ReBar)
        Next

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Mageia 3 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 17, 2009 10:20 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 10, 2005 2:08 pm
Posts: 558
Location: Yorkshire, England
Quote:
i have test it, index is alway - 1


Does the fMask member of REBARBANDINFO contain the #RBBIM_ID flag?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 17, 2009 10:32 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4715
Location: Berlin - Germany
PrincieD wrote:
Quote:
i have test it, index is alway - 1


Does the fMask member of REBARBANDINFO contain the #RBBIM_ID flag?

No difference:
Code:
Global ReBar.REBARBANDINFO
ReBar\cbSize = SizeOf(REBARBANDINFO)
ReBar\fMask = #RBBIM_CHILDSIZE|#RBBIM_HEADERSIZE|#RBBIM_STYLE|#RBBIM_CHILD|#RBBIM_SIZE|#RBBIM_TEXT|#RBBIM_ID
ReBar\fStyle = #RBBS_GRIPPERALWAYS|#RBBS_CHILDEDGE

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Mageia 3 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 926 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 62  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye