ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
Cool, great work :)
Originally, I was just gonna add a line like:
to allow opening of files from explorer.
Great work though :P Good luck with the XML thingy that I never bothered with, hahaha.
|
|
11/06/2007 03:31 AM |
|
Ac_K
I See K
Posts: 141.5490 Threads: 5
Joined: 9th Jun 2007
Reputation: -3.19624
E-Pigs: 12.2039
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
Sorry but I am not better than you in the VB!
For the opening of the RCO in the windows explorateur I use a RegKey !
But I have a question for her function =)!
For obtain the values of the text (by language) the function is :
???
But this functions return many chars !
See this file : http://www.zshare.net/download/2231629f062924/
I don't know how delete this char too !
Thanks for her futur answer...
|
|
11/06/2007 11:14 AM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
I'll have to check. (not at home now, so I can't)
From memory, yes, that's the function.
Note that it returns a Unicode string, not an ASCII one - the file you uploaded looks fine for me.
What version of Windows are you using?
|
|
11/06/2007 08:53 PM |
|
Ac_K
I See K
Posts: 141.5490 Threads: 5
Joined: 9th Jun 2007
Reputation: -3.19624
E-Pigs: 12.2039
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
Your fonction return a 0x00 at the end of the string...
And the annoter error come from the use RCO for generate the XML (It's old :p)
So, I Resolve my problem by the simple function :
Thanks for your help ! ^^
(This post was last modified: 12/06/2007 11:23 AM by Ac_K.)
|
|
12/06/2007 11:20 AM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
Ac_K Wrote:Your fonction return a 0x00 at the end of the string...
Strings typically end with a null byte. Maybe my thing goes over one character... should just change the GetTextData() function then.
Ac_K Wrote:So, I Resolve my problem by the simple function :
I don't recommend that, primarily because you're calling GetTextData() twice. Something like this would work better:
Or, probably better:
Good luck!
|
|
12/06/2007 09:09 PM |
|
Ac_K
I See K
Posts: 141.5490 Threads: 5
Joined: 9th Jun 2007
Reputation: -3.19624
E-Pigs: 12.2039
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
Yeah Thanks a lot !!
This function work fine !
At this moment I have add the multilanguage... and the export XML works... I could do the end of the multilanguage, the import XML and add the vshcol program to RCO Editor... but after that... I have no idea ! :p
|
|
13/06/2007 02:58 AM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
Hmm, actually, I had a look. No, the code won't generate extra nulls.
It's to do with Unicode strings. PSP stores the text as Unicode. If you "convert" to ASCII, you'll loose stuff from some languages. Just make sure you're outputting a Unicode XML, not an ASCII one.
|
|
13/06/2007 04:43 AM |
|
zuhair90
Neophitic Presence
Posts: 9.3465 Threads: 1
Joined: 12th Sep 2007
Reputation: 0
E-Pigs: 0.5500
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
nice job i can say... but still i don understand how to use those things... any easier way for understanding this???
|
|
12/09/2007 07:25 AM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
Understand the sourcecode? It's a mess - the main reason why I don't really want to continue with it...
|
|
12/09/2007 03:30 PM |
|
roberth
Resident Full Stop Abuser.....
Posts: 4,580.2098 Threads: 200
Joined: 18th Jun 2007
Reputation: -5.5814
E-Pigs: 43.8419
|
RE: [PSP] [Sourcecode] RCO Editor v1.14d
ZiNgA BuRgA Wrote:Understand the sourcecode? It's a mess - the main reason why I don't really want to continue with it...
im to confused to read my own writing...i know, ill et someone else do it :P
|
|
13/09/2007 03:43 AM |
|