but in my delphi code I am using these api and I want same type of features in linux based lazarus code.... So there must be some equivalent functions.... do u know or hoe to use these????
I think these are the main critical part while porting Delphi code to Lazarus code...
please explain me in more detail
Delphi programmers often treat the Win API functions as part of the Delphi runtime. This is fine if the program will only be run on Windows, but not such a good habit if there's any chance the program will need to someday run on other platforms.
The Lazarus LCLIntf units supports some of the Win API functions where it makes sense and where there's a corresponding function or way to emulate it on all platforms.
Theo is right - you really need to step back and think about what your program is trying to do in a general sense. You know what it's trying to do in a specific sense (i.e., it's trying to call a number of Windows API functions). You'll also probably have to learn at least a little about your new target platforms (Linux, Mac OS?). Once you have this level of understanding of both your program and the target platforms, you can decide: can the code be rewritten to emulate what it does on Windows? can the code simply be eliminated? is there a simpler way to achieve what the code is doing on Windows?
Remember that the Free Pascal RTL has an extremely rich set of functions, both general (available on all platforms, for example everything in the SysUtils unit) and specific (Unix, BaseUnix units). If you spend some time investigating these units (see the .pdf files!) you may discover that you can do the same thing at a higher-level rather than at the OS API level.
Thanks.
-Phil