Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 744 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Windows API and the C-Lite API to draw Windows #291904
09/28/09 19:59
09/28/09 19:59
Joined: Sep 2006
Posts: 58
California, USA
BorgNot Offline OP
Junior Member
BorgNot  Offline OP
Junior Member

Joined: Sep 2006
Posts: 58
California, USA
Hello,

I have been rereading all of my old 1990 books on Windows API to follow code to learn about how the C-Lite API is using the Windows API.

One of my old books is Delphi Tomes or similar title. It has a section where there are Windows API descriptions indexed so that one can look up words like LPSTR and etc.

I want to go into Strict C-Lite API but I am confused about calling the Windows and using all the Windows API equivalent calls.

For instance, my old renewed project, I want to create a Window with a Menu. The Start Game will be in the Menu->Execute. This particular one is a Window I use to test little bits of my coding.

Is there a list of C-Lite API calls to the Windows API that is a simple list I can look up as in a Help File or similar?

TIA
BN


Some things are harder said than done, some not!
Re: Windows API and the C-Lite API to draw Windows [Re: BorgNot] #291923
09/28/09 22:44
09/28/09 22:44
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
You should be able to call any Win32 API call from lite-c no problem. Just make usre you include the right header file (windows.h) and add the correct structs if needed.

Then all you need is a prototype to that win32 call, and then you can use it like a normal function. There are some samples in the manual.

Re: Windows API and the C-Lite API to draw Windows [Re: DJBMASTER] #292269
10/01/09 16:37
10/01/09 16:37
Joined: Sep 2006
Posts: 58
California, USA
BorgNot Offline OP
Junior Member
BorgNot  Offline OP
Junior Member

Joined: Sep 2006
Posts: 58
California, USA
Hi DJBMaster,

Yes, I did read the help files to know that the A7 can compile C++ almost seamlessly... so to speak. Not to be rude. Please do not take it that way. I meant, "What are the Pure C-Lite key words that do all the work of the various Windows API calls? I.e.; Panel draws a Window."

Is there an index or codex of C-Lite == Windows API key words?

TIA,
BN


Some things are harder said than done, some not!
Re: Windows API and the C-Lite API to draw Windows [Re: BorgNot] #292276
10/01/09 16:58
10/01/09 16:58
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
windows header does the job, functions are called from system dlls.

for winapi documentation check msdn documentations(from microsoft's sites)


3333333333

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1