Share your advanced PureBasic knowledge/code with the community.
-
Progi1984
- Addict

- Posts: 806
- Joined: Fri Feb 25, 2005 1:01 am
- Location: France > Rennes
-
Contact:
Post
by Progi1984 »
This is the begging of a code for doing an OutlookBarGadget :
It's running ...
Now, i have some problems with GetGadgetItemText...
File:1->
OGadget.pb

Last edited by
Progi1984 on Thu Jun 14, 2007 10:04 am, edited 1 time in total.
-
Trond
- Always Here

- Posts: 7446
- Joined: Mon Sep 22, 2003 6:45 pm
- Location: Norway
Post
by Trond »
How about replacing the import path with this?
Code: Select all
Import #PB_Compiler_Home + "Compilers\ObjectManager.lib"
Apart from that, I get an invalid memory access at line 595.
-
Progi1984
- Addict

- Posts: 806
- Joined: Fri Feb 25, 2005 1:01 am
- Location: France > Rennes
-
Contact:
Post
by Progi1984 »
For the replacement, that doesn't run with Tailbite !
For the IMA, i haven't got this :
- Have you done some modifications ?
- Have you a clue ?
-
Progi1984
- Addict

- Posts: 806
- Joined: Fri Feb 25, 2005 1:01 am
- Location: France > Rennes
-
Contact:
Post
by Progi1984 »
Update of the code :
Code: Select all
; Date : 14/06/07
; Comment : ADDED : GetGadgetItemText
; ADDED : SetGadgetItemText
; BUG : String + GetGadgetItemText Delete the string
If some experts can see the bug, it could be very interesting !
-
Progi1984
- Addict

- Posts: 806
- Joined: Fri Feb 25, 2005 1:01 am
- Location: France > Rennes
-
Contact:
Post
by Progi1984 »
Hi, after some searchs, I have no clue.
The value of GetGadgetItemText is "Text"
But "Before"+"Text" = "Text"
How can the problem happen ?
Someone have the same problem ?
-
Progi1984
- Addict

- Posts: 806
- Joined: Fri Feb 25, 2005 1:01 am
- Location: France > Rennes
-
Contact:
Post
by Progi1984 »
Update of the code :
Code: Select all
; 0.3
; Date : 19/06/07
; Comment : ADDED : GetGadgetAttribute
; ADDED : SetGadgetAttribute
; ADDED : GetGadgetColor
; ADDED : SetGadgetColor
; ADDED : GetGadgetItemColor2
; ADDED : SetGadgetItemColor2
; ADDED : GetGadgetItemData
; ADDED : SetGadgetItemData