Userlibs
- tinman
- PureBasic Expert

- Posts: 1102
- Joined: Sat Apr 26, 2003 4:56 pm
- Location: Level 5 of Robot Hell
- Contact:
Re: Userlibs
Probably yes, as long as you keep to the naming convention and create a .lib file. I think LCC was used as the example because it is free and easy to get access to, and PureBasic uses the linker from it. But you should be able to use any compiler.Polo wrote:Is there a way to do userlibs with VC++ 6 ? I hate LCC :)
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
(WinXPhSP3 PB5.20b14)
Wow, i never think about this, but could be very nice to develope PB libs from VC++.
I hope we can get some details of the conventions, the rules, etc.
Im working in two VC++ dlls to use it in PB (one for making swf flash movies on runtime from PB and i have one released ActiveX2Dll) and could be very nice to have a way to make it as libraries!!!
This could let me release it as freeware for PB users!!
Yes, please some one gives us some info!!
I hope we can get some details of the conventions, the rules, etc.
Im working in two VC++ dlls to use it in PB (one for making swf flash movies on runtime from PB and i have one released ActiveX2Dll) and could be very nice to have a way to make it as libraries!!!
This could let me release it as freeware for PB users!!
Yes, please some one gives us some info!!
ARGENTINA WORLD CHAMPION
- tinman
- PureBasic Expert

- Posts: 1102
- Joined: Sat Apr 26, 2003 4:56 pm
- Location: Level 5 of Robot Hell
- Contact:
I read the readme and just went for it, writing a library. If you can code in C then you should be able to understand all that it says quite easily. If not, well then I guess you need to learn two things :)Saboteur wrote:I read it a lot, but I don't get anything :oops:. I am using DevC++, and I'm interested too.
How did you learn, tinman???
You should also take a look at the "ASM library" section of the PB resources site (http://www.reelmediaproductions.com/pb). Although it says ASM library, I'm sure there are libraries written in C there which you can use as examples.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
(WinXPhSP3 PB5.20b14)
Ops...
I want to show you some code
, but when compiling in Windows 2000, the library works fine (aarrgh).
With DevC++ seems there are no problem, but I have to try at home with Win98. Win98 hang up with my libraries.
When I have some time, I post a full example (if nobody do it before
).
I want to show you some code
With DevC++ seems there are no problem, but I have to try at home with Win98. Win98 hang up with my libraries.
When I have some time, I post a full example (if nobody do it before
[:: PB Registered ::]
Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
- tinman
- PureBasic Expert

- Posts: 1102
- Joined: Sat Apr 26, 2003 4:56 pm
- Location: Level 5 of Robot Hell
- Contact:
Look at the resources site. Both of my libraries have been written in DevC++ and compile fine on my Win98 PC. No-one else has complained about them not working, but then I doubt anyone uses them :)Saboteur wrote:When I have some time, I post a full example (if nobody do it before ;) ).
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
(WinXPhSP3 PB5.20b14)

