SyntaxHilighting.dll static alternative

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

SyntaxHilighting.dll static alternative

Post by gnozal »

2Freak : SyntaxHilighting.dll is very usefull ; could you also provide a static alternative, so that we don't need a DLL ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

You could use the LoadDllMemory library from PBOSL...
Windows 7 & PureBasic 4.4
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

milan1612 wrote:You could use the LoadDllMemory library from PBOSL...
I know, but it's only a workaround.
And it does not work with all DLLs (SyntaxHilighting.dll not tested).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

You can use the memorymodule.lib from my includepack. Is the same as in
PBOSL, but as static lib. Works with SyntaxHilighting.dl

http://www.purebasic.fr/english/viewtop ... 126#151126

greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

gnozal wrote:And it does not work with all DLLs (SyntaxHilighting.dll not tested).
Sure? I've never had any problems with it...
Windows 7 & PureBasic 4.4
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

milan1612 wrote:
gnozal wrote:And it does not work with all DLLs (SyntaxHilighting.dll not tested).
Sure? I've never had any problems with it...
Sure :wink:
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

OK, I think I'm gonna do some tests :?
Windows 7 & PureBasic 4.4
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

ts-soft wrote:You can use the memorymodule.lib from my includepack. Is the same as in PBOSL, but as static lib. Works with SyntaxHilighting.dl
http://www.purebasic.fr/english/viewtop ... 126#151126
Thanks Thomas, I know this too. I am glad it works, but I would like a 'real' SyntaxHilighting static library.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

milan1612 wrote:OK, I think I'm gonna do some tests :?
I do not remember wich DLL it was, it tested some, maybe BASS or BASSMOD ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

PB does not create static libs from PB code so i can only provide a dll, sorry.

btw, the idea was that tools should load the dll directly from the user's PB directory.
This way they always get the up to date version of the dll (when keywords are added etc).
Using a static library would defeat that purpose.
quidquid Latine dictum sit altum videtur
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

freak wrote:PB does not create static libs from PB code so i can only provide a dll, sorry.
I did not know it was written in PB, sorry.
Maybe a new feature for PB4.20 ? Some other basic compilers can compile to lib.
freak wrote:btw, the idea was that tools should load the dll directly from the user's PB directory.
This way they always get the up to date version of the dll (when keywords are added etc).
Yes, that's what my tools do.
Maybe you could post (or include a readme in the SDK) a reliable method to get the PB directory when PB 4.10 final comes out, because this is not very well documented (and now that Vista and UAP are out ...).
Thanks.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

> Maybe a new feature for PB4.20 ? Some other basic compilers can do it.

I don't think that will happen anytime soon.

I can post some code to locate the PB dir in the comming days (no access to the files right now)
quidquid Latine dictum sit altum videtur
Post Reply