Restored from previous forum. Originally posted by PB.
I don't really know what a DLL is... but from what I've seen, they appear to be
compiled "procedures" or something, that can be called from different apps?
PB - Registered PureBasic Coder
What is a DLL anyway?
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Bodind.
Hello, Fred...
If i understand well the Library SDK, ans as the generation of a DLL with PureBasic also generate a .lib, can we also make a Pure Library with the .lib generated ? ?
If not, would it be very difficult for you to add a create PureLibrary as a new option beside the compile to SharedDLL ? ?
Thanks.
Dominique
Hello, Fred...
If i understand well the Library SDK, ans as the generation of a DLL with PureBasic also generate a .lib, can we also make a Pure Library with the .lib generated ? ?
If not, would it be very difficult for you to add a create PureLibrary as a new option beside the compile to SharedDLL ? ?
Thanks.
Dominique
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fred.
Fred - AlphaSND
The .lib is to link with C/C++ langages which need this file. It's not a lib containing any code. It would be much more difficult to create a library for PureBasic, as it would use other libraries. Not impossible tough.Hello, Fred...
If i understand well the Library SDK, ans as the generation of a DLL with PureBasic also generate a .lib, can we also make a Pure Library with the .lib generated ? ?
If not, would it be very difficult for you to add a create PureLibrary as a new option beside the compile to SharedDLL ? ?
Thanks.
Dominique
Fred - AlphaSND
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by El_Choni.
So, Fred, how can LibraryMaker generate libraries with .lib files, if they don't contain any code? I've been able to generate one from a .lib source, but it doesn't work... BTW, functions in .lib files come in the form: _function@4. Does the library maker search for the "PB_" suffix in this case or "_PB_"?
Time for doc update?
Regards,
El_Choni
So, Fred, how can LibraryMaker generate libraries with .lib files, if they don't contain any code? I've been able to generate one from a .lib source, but it doesn't work... BTW, functions in .lib files come in the form: _function@4. Does the library maker search for the "PB_" suffix in this case or "_PB_"?
Time for doc update?
Regards,
El_Choni
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fred.
Ok. Some .lib can contain code (static lib). Other like these generated with the .dll don't contains code. The only information they contains is the dll functions names and their position inside the dll. It add @4 at the end because it's supposed to be used with LccWin32 and it requers this...
About the doc update, yes, definitely
.
Fred - AlphaSND
Ok. Some .lib can contain code (static lib). Other like these generated with the .dll don't contains code. The only information they contains is the dll functions names and their position inside the dll. It add @4 at the end because it's supposed to be used with LccWin32 and it requers this...
About the doc update, yes, definitely

Fred - AlphaSND