logo       

Miniua.c: msg#00392

voip.wengophone.devel

Subject: Miniua.c

Hi,

I'd like to build miniua, using visual C++.
But I have some problems.

S, I tried to create a project in VC++, I included
miniua.c and thes fils phapi.h an phrpc.h wich are
spécified by #include in miniua.c
As you think, I have some troubles...

In fact, on of my most important problem is that it
doesn't accept

const struct cmd cmdtab[] ={ .......}
It says me cannot convert from const char[] to
'CMDS'...
Don't really understand what it means

And in fact, I don't really understand what's the goal
of cmdtab, and all the fonctions arount it, like
parsecmd, cmdloop, doinclud and others...


On other problem, is that I don't find the
phsetbusy,phsenoption,phsetfollowme,....
functions...where are there defined ?!?

Another problem (yes, I know, I have a lot of
problem)...
In phapi.h, MY_DLLEXPPORT is defined...but, it should
be attribuated to __declspec(dllexport) .
I think thaht without it, my program can't run.
But in my case, the test #if defined(BUILD_PHAPI_DLL)
is always wrong...so, MY_DLLEXPORT is never defined.
What is exactly BUILD_PAHPI_DLL, and where is it
defined ?!

I still working...

could you please help me?!

thanks in advance.
Jérémie






___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise