Search found 15 matches
- Wed Feb 09, 2022 12:06 pm
- Forum: Windows
- Topic: Purebasic 6 command line
- Replies: 3
- Views: 1105
Re: Purebasic 6 command line
Cheers, I'll take a look at it.
- Wed Feb 09, 2022 10:52 am
- Forum: Windows
- Topic: Purebasic 6 command line
- Replies: 3
- Views: 1105
Purebasic 6 command line
Hello,
Apologies if I posted this in the wrong forum. I am using Purebasic 6 beta 4 compiler, I would like to know if it's possible to dump out the full command lines (i.e. options) the C backend is passing to gcc and linker? Thanks
Apologies if I posted this in the wrong forum. I am using Purebasic 6 beta 4 compiler, I would like to know if it's possible to dump out the full command lines (i.e. options) the C backend is passing to gcc and linker? Thanks
- Thu Oct 20, 2011 3:02 pm
- Forum: Coding Questions
- Topic: C to PB conversion needed
- Replies: 3
- Views: 1374
Re: C to PB conversion needed
Cheers Psychophanta, will try it later and see how it goes.
- Tue Oct 18, 2011 4:55 pm
- Forum: Coding Questions
- Topic: C to PB conversion needed
- Replies: 3
- Views: 1374
C to PB conversion needed
Hi guys,
I have 2 "C" headers that need converting to PB. They are originally for DLL plugins for TrueBasic and I want make some DLLs for my own use ... I don't have much any C experience and would be glad if someone can convert them for me :-
typedef struct
{
long refcnt; /* Number of True ...
I have 2 "C" headers that need converting to PB. They are originally for DLL plugins for TrueBasic and I want make some DLLs for my own use ... I don't have much any C experience and would be glad if someone can convert them for me :-
typedef struct
{
long refcnt; /* Number of True ...
- Fri Jun 26, 2009 4:18 pm
- Forum: Off Topic
- Topic: Question on Purebasic DX9 subsystem
- Replies: 13
- Views: 2621
- Fri Jun 26, 2009 4:05 pm
- Forum: Off Topic
- Topic: Question on Purebasic DX9 subsystem
- Replies: 13
- Views: 2621
- Fri Jun 26, 2009 4:03 pm
- Forum: Off Topic
- Topic: Question on Purebasic DX9 subsystem
- Replies: 13
- Views: 2621
- Fri Jun 26, 2009 3:52 pm
- Forum: Off Topic
- Topic: Question on Purebasic DX9 subsystem
- Replies: 13
- Views: 2621
Question on Purebasic DX9 subsystem
Hello,
I hope I have posted this in the right forum. I have been away from purebasic for a while and am just getting back into it. Looking at the history of changes in v4.30's manual, I see the following :-
[b]16th December 2008 : Version 4.30[/b]
- Fixed: DX9 subsystem on Windows
The manual ...
I hope I have posted this in the right forum. I have been away from purebasic for a while and am just getting back into it. Looking at the history of changes in v4.30's manual, I see the following :-
[b]16th December 2008 : Version 4.30[/b]
- Fixed: DX9 subsystem on Windows
The manual ...
- Fri Apr 06, 2007 2:33 pm
- Forum: Off Topic
- Topic: YouTube - Best of...
- Replies: 54
- Views: 9131
Funny Xfactor clips from UK :-
http://www.youtube.com/watch?v=iGFvnT791Xo
http://www.youtube.com/watch?v=7Csaqa9TSRg
http://www.youtube.com/watch?v=31QLgql_5EY
http://www.youtube.com/watch?v=iGFvnT791Xo
http://www.youtube.com/watch?v=7Csaqa9TSRg
http://www.youtube.com/watch?v=31QLgql_5EY
- Thu Jul 06, 2006 10:46 pm
- Forum: Coding Questions
- Topic: Return a string via MSVC (Purebasic 4.00)
- Replies: 4
- Views: 1235
- Thu Jul 06, 2006 10:42 am
- Forum: Coding Questions
- Topic: Return a string via MSVC (Purebasic 4.00)
- Replies: 4
- Views: 1235
Return a string via MSVC (Purebasic 4.00)
In Purebasic 3.94, I use the following code to return a string :-
#include <windows>
#include <stdio>
extern "C"
{
extern char *PB_StringBase;
extern char *PB_Getit()
{
char *ResultString = PB_StringBase;
int StringLength = strlen("HelloWorld!");
strcpy(PB_StringBase, "HelloWorld ...
#include <windows>
#include <stdio>
extern "C"
{
extern char *PB_StringBase;
extern char *PB_Getit()
{
char *ResultString = PB_StringBase;
int StringLength = strlen("HelloWorld!");
strcpy(PB_StringBase, "HelloWorld ...
- Wed May 18, 2005 10:27 pm
- Forum: Coding Questions
- Topic: LibraryMaker Desc file.
- Replies: 23
- Views: 11336
- Wed May 18, 2005 10:11 pm
- Forum: Coding Questions
- Topic: Purebasic lib extern exports
- Replies: 0
- Views: 727
Purebasic lib extern exports
I'm playing around with Purebasic's Library SDK and using the examples, have created a simple lib which returns int's, floats and strings. I want to know if it's possible to share variables between the lib and PB e.g. if I do something like this :-
extern int PB_TestVal;
How do I access the ...
extern int PB_TestVal;
How do I access the ...
- Wed Apr 27, 2005 5:37 pm
- Forum: Coding Questions
- Topic: MSVC .OBJ and Purebasic
- Replies: 2
- Views: 973
Re: MSVC .OBJ and Purebasic
Hello,
Looks like I missed the extern "C" bit ... thanks for clearing it up.
Looks like I missed the extern "C" bit ... thanks for clearing it up.
- Wed Apr 27, 2005 3:01 pm
- Forum: Coding Questions
- Topic: MSVC .OBJ and Purebasic
- Replies: 2
- Views: 973
MSVC .OBJ and Purebasic
Hello,
Does anyone have a "C" source function done in MSVC which passes and returns a simple string to a PureBasic application? I have had a look at the LCCWin example but can't get it working in MSVC.
Any help appreciated.
Does anyone have a "C" source function done in MSVC which passes and returns a simple string to a PureBasic application? I have had a look at the LCCWin example but can't get it working in MSVC.
Any help appreciated.