FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC make - project
Posts: 33
Joined: Tue Aug 12, 2008 07:08 AM
make - project
Posted: Tue Sep 02, 2008 05:57 AM

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

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
make - project
Posted: Tue Sep 02, 2008 07:58 AM

I use Xmate No problem ( for fwh and fwppc)

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
make - project
Posted: Tue Sep 02, 2008 08:03 AM
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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 33
Joined: Tue Aug 12, 2008 07:08 AM
make - project
Posted: Tue Sep 02, 2008 11:03 AM

Thanks.

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

The sample Antonio sent is working ok.

Regards,
Moshe

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
make - project
Posted: Tue Sep 02, 2008 11:08 AM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 33
Joined: Tue Aug 12, 2008 07:08 AM
make - project
Posted: Wed Sep 03, 2008 05:57 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
make - project
Posted: Wed Sep 03, 2008 06:53 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion