Gamestudio Links
Zorro Links
Newest Posts
Hedge on FXCM, 4 or 5?
by Martin_HH. 02/16/26 16:09
Camera always moves upwards?
by clonman. 02/16/26 11:44
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (qin, TipmyPip), 8,868 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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