Page 1 of 1

make - project

PostPosted: Tue Sep 02, 2008 5:57 am
by yardenmo
Hi Antonio,

From the samples I can see how to compile and link one prg with buildce.

How do I compile some Prgs (like make / project)?

**I can see in FWPPC\makes the go.bat and test.mak, but i'm not sure that I understood it all.



Thanks,
Moshe Yarden

PostPosted: Tue Sep 02, 2008 7:58 am
by Silvio
I use Xmate No problem ( for fwh and fwppc)

PostPosted: Tue Sep 02, 2008 8:03 am
by Antonio Linares
Moshe,

You can easily add more PRGs to buildce.bat:

%hdir%\bin\harbour %1 /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include %1.c

%hdir%\bin\harbour two.prg /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include two.c

%hdir%\bin\harbour three.prg /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include three.c

...

echo %1.obj two.obj three.obj > msvc.tmp
...

You can add more the same way

PostPosted: Tue Sep 02, 2008 11:03 am
by yardenmo
Thanks.

I've downloaded xMate - its seems that it will take time to leaarn it.

The sample Antonio sent is working ok.


Regards,
Moshe

PostPosted: Tue Sep 02, 2008 11:08 am
by Antonio Linares
Moshe,

We do use and recommend UEStudio as a powerful and professional IDE with visual make, source code editor, sources files compare, and a lot more features.

We can help you to learn how to build your projects with UEStudio.

Also there are some available tutorial videos posted in these forums.

PostPosted: Wed Sep 03, 2008 5:57 pm
by yardenmo
Antonio,

Thanks. I'll try it.

Are there 3rd party libs for FWPPC to shorten the screens/get/say (objects) writing process?
I need to convert an application written in turbo pascal to fwppc, and it has a lot of screens and alerts or yes/no boxes. It could help to use functions that are having the objects in them.

Regards,
Moshe Yarden

PostPosted: Wed Sep 03, 2008 6:53 pm
by Antonio Linares
Moshe,

You should use a resources editor for such task. There are many of them, and they will speed up very much the design of your screens:

ResEdit: (free)
http://www.resedit.net/

PellesC (free)
http://www.smorgasbordet.com/pellesc/

VSX (Microsoft) free
http://forums.fivetechsoft.com/viewtopic.php?t=9572

But if you already have the source code in Turbo Pascal, then I would suggest you to build a little tool to parse your already design screens and translate them into RC files (ascii).

Please review fwppc\samples\*.rc to understand the structure of RC files. They are quite simple.