Troubles with WinCE Project Files

A
atik
Fri, Oct 5, 2007 2:41 PM

what edition of VS you are using?

what edition of VS you are using?
OB
Olivier Beytrison
Fri, Oct 5, 2007 2:44 PM

Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)

hope it helps

Regards,
Olivier B.

atik a écrit :

what edition of VS you are using?


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--

Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/

Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400) hope it helps Regards, Olivier B. atik a écrit : > what edition of VS you are using? > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Olivier Beytrison Telecommunication Engineer Mobile: +41 (0)78 619 73 53 Mail: olivier@heliosnet.org GPG: 0x4FB83528 http://pgp.mit.edu/
A
atik
Fri, Oct 5, 2007 3:17 PM

Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)

yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file  form
pjsip-apps\build\wince-evc4\wince_demos.vcw

if not then open VS >> File >> Open >> Project/Solution >> brouse &
select wince_demos.vcw >> open,  it will ask to convert , click yes to
all.., now from solution explorer select pjsua_wince and build it.

btw what version of DirectX SDK you are using? my version is AUG 2007.

atik

> Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400) yes, it should work :) i was asking coz in VS2005 Express Edition Pocket PC SDK doesnt work . did it import the project file successfully? did you import wince_demos.vcw file form pjsip-apps\build\wince-evc4\wince_demos.vcw if not then open VS >> File >> Open >> Project/Solution >> brouse & select wince_demos.vcw >> open, it will ask to convert , click yes to all.., now from solution explorer select pjsua_wince and build it. btw what version of DirectX SDK you are using? my version is AUG 2007. atik
OB
Olivier Beytrison
Fri, Oct 5, 2007 3:30 PM

atik a écrit :

Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)

yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file  form
pjsip-apps\build\wince-evc4\wince_demos.vcw

if not then open VS >> File >> Open >> Project/Solution >> brouse &
select wince_demos.vcw >> open,  it will ask to convert , click yes to
all.., now from solution explorer select pjsua_wince and build it.

That's what I was doing, conversion was working fine, and now i just use
my .sln file to open the project.

btw what version of DirectX SDK you are using? my version is AUG 2007.

Same as yours

I still get the same errors, and each time I open the project, I have to
re-add the include and lib dir of the DX SDK.

Btw, did you use the config_site_sample.h or did you tweak it to your
needs ?

Olivier

--

Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/

atik a écrit : >> Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400) > > yes, it should work :) i was asking coz in VS2005 Express Edition > Pocket PC SDK doesnt work . did it import the project file > successfully? did you import wince_demos.vcw file form > pjsip-apps\build\wince-evc4\wince_demos.vcw > > if not then open VS >> File >> Open >> Project/Solution >> brouse & > select wince_demos.vcw >> open, it will ask to convert , click yes to > all.., now from solution explorer select pjsua_wince and build it. > That's what I was doing, conversion was working fine, and now i just use my .sln file to open the project. > btw what version of DirectX SDK you are using? my version is AUG 2007. > Same as yours I still get the same errors, and each time I open the project, I have to re-add the include and lib dir of the DX SDK. Btw, did you use the config_site_sample.h or did you tweak it to your needs ? Olivier > > atik > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Olivier Beytrison Telecommunication Engineer Mobile: +41 (0)78 619 73 53 Mail: olivier@heliosnet.org GPG: 0x4FB83528 http://pgp.mit.edu/
OB
Olivier Beytrison
Fri, Oct 5, 2007 3:36 PM

ok, don't ask me why, but suddenly everything work ... I didn't do
anything but it works ...

That's definitively Microsoft for you :s

anyway, thx Atik for your valuable help :)

Regards,
Olivier B.

Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/

ok, don't ask me why, but suddenly everything work ... I didn't do anything but it works ... That's definitively Microsoft for you :s anyway, thx Atik for your valuable help :) Regards, Olivier B. -- Olivier Beytrison Telecommunication Engineer Mobile: +41 (0)78 619 73 53 Mail: olivier@heliosnet.org GPG: 0x4FB83528 http://pgp.mit.edu/
A
atik
Fri, Oct 5, 2007 3:43 PM

I still get the same errors, and each time I open the project, I have to
re-add the include and lib dir of the DX SDK.

i just found out i never use DIrectX SDK for PocketPC settings, its in
only WIN32.

Btw, did you use the config_site_sample.h or did you tweak it to your
needs ?

in config_site.h only

#ifndef CONFIG_SITE_H_
#define CONFIG_SITE_H_

#include <pj/config_site_sample.h>

#endif /CONFIG_SITE_H_/

and no more tweak

atik

> I still get the same errors, and each time I open the project, I have to > re-add the include and lib dir of the DX SDK. i just found out i never use DIrectX SDK for PocketPC settings, its in only WIN32. > Btw, did you use the config_site_sample.h or did you tweak it to your > needs ? in config_site.h only #ifndef CONFIG_SITE_H_ #define CONFIG_SITE_H_ #include <pj/config_site_sample.h> #endif /*CONFIG_SITE_H_*/ and no more tweak atik
BP
Benny Prijono
Fri, Oct 5, 2007 3:46 PM

atik wrote:

Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)

yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file  form
pjsip-apps\build\wince-evc4\wince_demos.vcw

Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.

If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.

I assume you only need to import the eVC4 projects if you're
developing for Windows Mobile or WinCE, using VS2005.

cheers,
-benny

atik wrote: >> Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400) > > yes, it should work :) i was asking coz in VS2005 Express Edition > Pocket PC SDK doesnt work . did it import the project file > successfully? did you import wince_demos.vcw file form > pjsip-apps\build\wince-evc4\wince_demos.vcw Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the difference. If you use VS 2005 for Win32, including Express Edition, then you can just use pjproject-vs8.sln from the root directory. I assume you only need to import the eVC4 projects if you're developing for Windows Mobile or WinCE, using VS2005. cheers, -benny
OB
Olivier Beytrison
Fri, Oct 5, 2007 3:55 PM

Yeah, that's it.

I think we are both using VS2005 with the Windows Mobile SDK Installed.
That's why we have to open and import/convert the eVC4 project file.

Benny Prijono a écrit :

atik wrote:

Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400)

yes, it should work :) i was asking coz in VS2005 Express Edition
Pocket PC SDK doesnt work . did it import the project file
successfully? did you import wince_demos.vcw file  form
pjsip-apps\build\wince-evc4\wince_demos.vcw

Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.

If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.

I assume you only need to import the eVC4 projects if you're
developing for Windows Mobile or WinCE, using VS2005.

cheers,
-benny


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--

Olivier Beytrison
Telecommunication Engineer
Mobile: +41 (0)78 619 73 53
Mail: olivier@heliosnet.org
GPG: 0x4FB83528 http://pgp.mit.edu/

Yeah, that's it. I think we are both using VS2005 with the Windows Mobile SDK Installed. That's why we have to open and import/convert the eVC4 project file. Benny Prijono a écrit : > atik wrote: >>> Visual Studio 2005 Professional Service Pack 1 (_MSC_VER 1400) >> yes, it should work :) i was asking coz in VS2005 Express Edition >> Pocket PC SDK doesnt work . did it import the project file >> successfully? did you import wince_demos.vcw file form >> pjsip-apps\build\wince-evc4\wince_demos.vcw > > Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for > Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the > difference. > > If you use VS 2005 for Win32, including Express Edition, then you > can just use pjproject-vs8.sln from the root directory. > > I assume you only need to import the eVC4 projects if you're > developing for Windows Mobile or WinCE, using VS2005. > > cheers, > -benny > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Olivier Beytrison Telecommunication Engineer Mobile: +41 (0)78 619 73 53 Mail: olivier@heliosnet.org GPG: 0x4FB83528 http://pgp.mit.edu/
A
atik
Fri, Oct 5, 2007 4:23 PM

Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.

in addition, for Pocket PC SDK, you need to use VS 2005 Standard or
Professional Edition ( Express Editions are not supported ) as
Microsoft website said :)

If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.

yes pjproject-vs8.sln works fine except this warning ...

\pjsip-apps\src\pjsua\main.c(54) : warning C4702: unreachable code, looks like

btw for Windows Mobile i am getting some warning but Not in compiling WIN32

short_term.c(60) : warning C4244: '=' : conversion from 'long' to
'word', possible loss of data
preprocess.c(91) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
lpc.c(80) : warning C4244: '=' : conversion from 'longword' to 'word',
possible loss of data
long_term.c(276) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
decode.c(29) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
add.c(26) : warning C4244: 'return' : conversion from 'longword' to
'word', possible loss of data

also this

pa_win_wmme.c(596) : warning C4133: 'function' : incompatible types -
from 'TCHAR [32]' to 'const char *'

thanks
atik

> Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for > Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the > difference. in addition, for Pocket PC SDK, you need to use VS 2005 Standard or Professional Edition ( Express Editions are not supported ) as Microsoft website said :) > If you use VS 2005 for Win32, including Express Edition, then you > can just use pjproject-vs8.sln from the root directory. yes pjproject-vs8.sln works fine except this warning ... \pjsip-apps\src\pjsua\main.c(54) : warning C4702: unreachable code, looks like btw for Windows Mobile i am getting some warning but Not in compiling WIN32 short_term.c(60) : warning C4244: '=' : conversion from 'long' to 'word', possible loss of data preprocess.c(91) : warning C4244: '=' : conversion from 'longword' to 'word', possible loss of data lpc.c(80) : warning C4244: '=' : conversion from 'longword' to 'word', possible loss of data long_term.c(276) : warning C4244: '=' : conversion from 'longword' to 'word', possible loss of data decode.c(29) : warning C4244: '=' : conversion from 'longword' to 'word', possible loss of data add.c(26) : warning C4244: 'return' : conversion from 'longword' to 'word', possible loss of data also this pa_win_wmme.c(596) : warning C4133: 'function' : incompatible types - from 'TCHAR [32]' to 'const char *' thanks atik
BP
Benny Prijono
Fri, Oct 5, 2007 5:40 PM

atik wrote:

Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for
Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the
difference.

in addition, for Pocket PC SDK, you need to use VS 2005 Standard or
Professional Edition ( Express Editions are not supported ) as
Microsoft website said :)

Okay, thanks for the info. I've reported the _vsnprintf to PortAudio
list, hopefully someone will take the fix.

If you use VS 2005 for Win32, including Express Edition, then you
can just use pjproject-vs8.sln from the root directory.

yes pjproject-vs8.sln works fine except this warning ...

\pjsip-apps\src\pjsua\main.c(54) : warning C4702: unreachable code, looks like

You can ignore this.

btw for Windows Mobile i am getting some warning but Not in compiling WIN32

short_term.c(60) : warning C4244: '=' : conversion from 'long' to
'word', possible loss of data
preprocess.c(91) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
lpc.c(80) : warning C4244: '=' : conversion from 'longword' to 'word',
possible loss of data
long_term.c(276) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
decode.c(29) : warning C4244: '=' : conversion from 'longword' to
'word', possible loss of data
add.c(26) : warning C4244: 'return' : conversion from 'longword' to
'word', possible loss of data

This is when building libgsmcodec, is it? I haven't managed to port
gsm to WinCE yet, and last time I used it it crashed the
application. So for now lets just assume that it's non working.

also this

pa_win_wmme.c(596) : warning C4133: 'function' : incompatible types -
from 'TCHAR [32]' to 'const char *'

It looks like PA device info is broken for WinCE. :(

-benny

--
Benny Prijono
http://www.pjsip.org

atik wrote: >> Wait a second. Atik, Olivier, do you use VS2005 or VS2005 for >> Windows Mobile? Sorry I never use VS2005 for WM so I can't tell the >> difference. > > in addition, for Pocket PC SDK, you need to use VS 2005 Standard or > Professional Edition ( Express Editions are not supported ) as > Microsoft website said :) Okay, thanks for the info. I've reported the _vsnprintf to PortAudio list, hopefully someone will take the fix. >> If you use VS 2005 for Win32, including Express Edition, then you >> can just use pjproject-vs8.sln from the root directory. > > yes pjproject-vs8.sln works fine except this warning ... > > \pjsip-apps\src\pjsua\main.c(54) : warning C4702: unreachable code, looks like You can ignore this. > btw for Windows Mobile i am getting some warning but Not in compiling WIN32 > > short_term.c(60) : warning C4244: '=' : conversion from 'long' to > 'word', possible loss of data > preprocess.c(91) : warning C4244: '=' : conversion from 'longword' to > 'word', possible loss of data > lpc.c(80) : warning C4244: '=' : conversion from 'longword' to 'word', > possible loss of data > long_term.c(276) : warning C4244: '=' : conversion from 'longword' to > 'word', possible loss of data > decode.c(29) : warning C4244: '=' : conversion from 'longword' to > 'word', possible loss of data > add.c(26) : warning C4244: 'return' : conversion from 'longword' to > 'word', possible loss of data This is when building libgsmcodec, is it? I haven't managed to port gsm to WinCE yet, and last time I used it it crashed the application. So for now lets just assume that it's non working. > also this > > pa_win_wmme.c(596) : warning C4133: 'function' : incompatible types - > from 'TCHAR [32]' to 'const char *' It looks like PA device info is broken for WinCE. :( -benny > > thanks > atik > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -- Benny Prijono http://www.pjsip.org