Gamestudio Links
Zorro Links
Newest Posts
Fun Arcade Car Physics (nfs style)
by Ezzett. 08/02/26 21:11
ZorroGPT
by TipmyPip. 07/31/26 22:56
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 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,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İ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 | 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