Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (ozgur, TipmyPip), 722 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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 Offline
Senior Expert
Quad  Offline
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