i am using WinApi at the moment and i am preety happy with the results. And i still use Dev-Pascal and FPC.


but i have difficulties at the use of DialogBox. Can someone explain how do i create one windows of this type to input a string pls? i can fill in the rest.



ps: i promise to upload it somewhere so we can see what i did when i will finish


pps: thank you for the warm welcome



edit:
i call: DialogBox(GetModuleHandle(NULL),MAKEINTRESOURCE(1) , hwnd, DialogProc);

i get: 86 / 98 atestat.pas
Error: Wrong amount of parameters specified