Hi
Unless I missed it I would like to suggest some documentation be included for the SDK. I have not seen any instructions on how to create Pure Libraries, import headers etc. but have discovered there are some tools related to these items. I also discovered by accident that the compiler must check these libraries for function names etc. because I had a name conflict that I could not understand until I discovered it was caused by a user library I downloaded and put in the UserLibrary folder as instructed by the library author. So as a new user I would appreciate some information about these features and examples of how they should be used.
Thanks,
Simon
[Implemented] Documentation for the SDK
[Implemented] Documentation for the SDK
Simon White
dCipher Computing
dCipher Computing
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Documentation for the SDK
If you look in the LccWin32 folder under SDK there are several examples of c programs and how to compile them into user libraries. The SDK is there for instruction and tools to create user libraries from programs created in other languages such as c or asm. If you are looking to create a userlibrary from Purebasic code Tailbite is the tool made for that.Unless I missed it I would like to suggest some documentation be included for the SDK. I have not seen any instructions on how to create Pure Libraries
BERESHEIT
Re: Documentation for the SDK
If that would be that easy ...
If i want to compile it like it says in the Readme.txt ... i got the error, that some files are missing.
I figured out, that the 3 header-files are stored in a wrong directory and put them in the sub-directory where they was bevor 10 PB-Versions.
... but now this header-files are including two missing files and i doesn't know where they could be:
- FunctionPrototypes.h
- SystemBase/SystemBase.h
Additional lcc-win32 gets many syntax errors and so on, when i compile the MessageBox.c example.
Do i something wrong?
MFG PMV
If i want to compile it like it says in the Readme.txt ... i got the error, that some files are missing.
I figured out, that the 3 header-files are stored in a wrong directory and put them in the sub-directory where they was bevor 10 PB-Versions.

- FunctionPrototypes.h
- SystemBase/SystemBase.h
Additional lcc-win32 gets many syntax errors and so on, when i compile the MessageBox.c example.
Do i something wrong?

MFG PMV
Re: Documentation for the SDK
same problem here, namely the two missing files: FunctionPrototypes.h and SystemBase/SystemBase.h
any advice ?
any advice ?
Re: Documentation for the SDK
the sdk is outdated and need a revamp.
here is a full example done with the windows sdk compiler: http://www.purebasic.fr/english/viewtop ... 14&t=49325
the code is also compilable with visual studio 2010 but the project files are not provided.
here is a full example done with the windows sdk compiler: http://www.purebasic.fr/english/viewtop ... 14&t=49325
the code is also compilable with visual studio 2010 but the project files are not provided.
Re: Documentation for the SDK
thanks xorc1zt for the link.
I found a PellesC project on an old drive from about 2008 and it compiles the Simple Library OK, it even builds the Unicode functions, but am unable to reproduce a Project file from the IDE that will automatically build Unicode functions, but it's not that hard to edit the project file in Notepad and add the Unicode part.
I found a PellesC project on an old drive from about 2008 and it compiles the Simple Library OK, it even builds the Unicode functions, but am unable to reproduce a Project file from the IDE that will automatically build Unicode functions, but it's not that hard to edit the project file in Notepad and add the Unicode part.