Page 1 of 1
Translated from PureBASIC into C langauge
Posted: Thu Jul 15, 2004 9:15 am
by Stefke28
Dear Support
I try translated this code fragment into C but is it correct or not?
Result = CreateToolBar(#ToolBar, WindowID)
Description
This is my translated code:
long Result = FF_CREATE_TOOLBAR(dword hToolbar, long WindowID)
What the default datatype in PureBASIC?
Can someone help me with translated
Kind regards
Stephane
Posted: Thu Jul 15, 2004 9:57 am
by thefool
Hi!
why translate from PB to C?
I guess that Long is the default data type.
Needed for build custom libraries (I written libs only in C)
Posted: Thu Jul 15, 2004 10:01 am
by Stefke28
Hi
I have this to need from create custom libraries and distributed as freeware.
Can you please help me
Thanks
Stephane
Posted: Thu Jul 15, 2004 10:03 am
by thefool
im not good at C so i cant, but maybe someone knows.
The custom lib is that for PB?
Posted: Thu Jul 15, 2004 10:35 am
by Fred
I hope you don't use the PB commandset. BTW, you already contacted me by mail and I answered you. These questions are not PB related so please don't use the forums for this. If you want to clone the PB commandset in C, do it but use a C forums for asking C related questions.
Posted: Thu Jul 15, 2004 10:39 am
by thefool
I hope you don't use the PB commandset
thats also what i was being afraid of.
Posted: Thu Jul 15, 2004 1:58 pm
by Codemonger
Sounds like your making a PB Clone , don't think you even have the doc's
Code: Select all
What the default datatype in PureBASIC?
thats just not cool

Posted: Thu Jul 15, 2004 2:11 pm
by thefool
@Stefke28: go make your own language. Establish your own rules. That will make more respect, and you will fell better.
please do not copy PB.
as codemonger said,:
its just not cool
