Search found 13 matches: connmgr

Searched query: connmgr

by Otto
Tue May 19, 2009 11:59 am
Forum: FiveWin for Pocket PC
Topic: wifi
Replies: 9
Views: 4359

Re: wifi

... msginfo("OK")

endif
RETURN NIL


#pragma BEGINDUMP

#include "windows.h"
#include "wininet.h"
#include "hbapi.h"
#include "initguid.h"
#include "connmgr.h"


LPWSTR AnsiToWide( LPSTR );

HB_FUNC (GPRSCONNECT)
{
// By Pawel
HANDLE phWebConnection = NULL;
DWORD pdwStatus = 0;
//Comprobamos si ya ...
by Elias Torres
Thu Nov 20, 2008 11:18 am
Forum: FiveWin para Pocket PC
Topic: Problema con al descargar un fichero por ftp
Replies: 9
Views: 3641

Problema con al descargar un fichero por ftp

... TRANSFER_BINARY 2


#pragma BEGINDUMP

#include "windows.h"
#include "wininet.h"
#include "hbapi.h"
#include "initguid.h"
#include "connmgr.h"


LPWSTR AnsiToWide( LPSTR );

HB_FUNC( INTERNETOPEN )
{
LPWSTR cAgent = AnsiToWide( hb_parc( 1 ) );
LPWSTR cProxyName ...
by Biel EA6DD
Tue Sep 02, 2008 5:13 pm
Forum: FiveWin for Pocket PC
Topic: GPRSCONNECTION
Replies: 4
Views: 1407

as you can read at begin of source code, you need to link cellcore.lib, remember to include "initguid.h" and "connmgr.h" headers.


// Header file&#58; <connmgr&#46;h>
// Library linked&#58; CellCore&#46;Lib
// Pocket Pc&#58; Properly create GPRS connection &#40;My ISP&#41; in Connections Settings ...
by Otto
Sun Jul 20, 2008 7:22 am
Forum: FiveWin for Pocket PC
Topic: Error when compiling HB_FUNC (GPRSCONNECTION) of Pawelu
Replies: 10
Views: 5983

... Antonio,
I try to compile the sample you posted.

I must be missing something because here I have following errors:
unresolved external symbol ConnMgrEstablishConnection
unresolved external symbol ConnMgrConnectionStatus

I checked if c:\vce\include\arm\connmgr.h is present.

Could you ...
by Arturo Lopesoria
Sat Feb 09, 2008 3:27 am
Forum: FiveWin para Pocket PC
Topic: Dudas Ejemplo GPRS
Replies: 2
Views: 1516

... esto se ve mucho mas simple y sencillo de lo que ahora estoy haciendo, lo probare.
Saludos desde Mexico!



Te debe faltar el include de "connmgr.h"


#pragma BEGINDUMP

#include "windows&#46;h"
#include "wininet&#46;h"
#include "hbapi&#46;h"
#include "initguid&#46;h"
#include "connmgr&#46 ...
by Biel EA6DD
Fri Feb 08, 2008 9:46 pm
Forum: FiveWin para Pocket PC
Topic: Dudas Ejemplo GPRS
Replies: 2
Views: 1516

Te debe faltar el include de "connmgr.h"


#pragma BEGINDUMP

#include "windows&#46;h"
#include "wininet&#46;h"
#include "hbapi&#46;h"
#include "initguid&#46;h"
#include "connmgr&#46;h"
&#46;&#46;&#46;


GprsConnect Debes utilizarlo antes de InternetOpen.
Ejemplo de funcion que conecta via GPRS ...
by Arturo Lopesoria
Fri Feb 08, 2008 3:59 pm
Forum: FiveWin para Pocket PC
Topic: Dudas Ejemplo GPRS
Replies: 2
Views: 1516

Dudas Ejemplo GPRS

... un ejemplo para abrir de manera automatica el servicio de GPRS. Tengo 2 preguntas:

1.- Al compilar me manda error al no encontrar la referencia a CONNMGR_STATUS_CONNECTED. Me falta algún include? Cuál?

2.- Con el objeto de comunicarse vía GPRS por medio de FTP yo estoy usando primeramente ...
by Elias Torres
Thu Oct 25, 2007 3:34 pm
Forum: FiveWin para Pocket PC
Topic: Manejo de funciones para conexiones gprs
Replies: 9
Views: 3305

Manejo de funciones para conexiones gprs

... no se como usarlas. Las funciones, para empezar son estas:

HB_FUNC (GPRSCONNECT)
{
HANDLE phWebConnection = NULL;
DWORD pdwStatus = 0;

ConnMgrConnectionStatus (phWebConnection, &pdwStatus);
if (pdwStatus == CONNMGR_STATUS_CONNECTED)
{
hb_retl (TRUE);
}
else
{
CONNMGR ...
by vilian
Thu Mar 08, 2007 11:48 am
Forum: FiveWin for Pocket PC
Topic: Error when compiling HB_FUNC (GPRSCONNECTION) of Pawelu
Replies: 10
Views: 5983

Error when compiling HB_FUNC (GPRSCONNECTION) of Pawelu

Hi,

What I am making made a mistake? When I compile the function appear the following messages of error:



c:\vce\include\arm\connmgr.h(13) : error C2059: syntax error : ','
c:\vce\include\arm\connmgr.h(13) : error C2143: syntax error : missing ')' before 'constant'
c:\vce\include\arm\connmgr.h(13 ...
by Richard Chidiak
Sat Sep 02, 2006 12:52 pm
Forum: FiveWin for Pocket PC
Topic: close gprs connexion
Replies: 1
Views: 1377

close gprs connexion

... will be appreciated,

Thanks

Richard

HB_FUNC (CLOSEGPRSCONNECTION)
{

HANDLE phWebConnection = NULL;
DWORD pdwStatus = 0;
DWORD hresult = 0;

ConnMgrConnectionStatus (phWebConnection, &pdwStatus);
if (pdwStatus == CONNMGR_STATUS_CONNECTED)
{
hresult == ConnMgrReleaseConnection(&phWebConnection ...
by Richard Chidiak
Mon Aug 28, 2006 6:57 am
Forum: FiveWin for Pocket PC
Topic: FTP on Pocket PC
Replies: 32
Views: 22760

... in the VCE, you only need to add to your compilation script.

About the connection program, you can use the code posted by Pawel its run perfect. Remember to include "initguid.h" and "connmgr.h" headers.

Thank you

I was searching and not finding on google for cellcore.lib

I will try it.

Gracias
by Biel EA6DD
Mon Aug 28, 2006 6:46 am
Forum: FiveWin for Pocket PC
Topic: FTP on Pocket PC
Replies: 32
Views: 22760

Hello Richard

The cellcore.lib is included in the VCE, you only need to add to your compilation script.

About the connection program, you can use the code posted by Pawel its run perfect. Remember to include "initguid.h" and "connmgr.h" headers.
by Biel EA6DD
Mon Aug 21, 2006 8:57 am
Forum: FiveWin para Pocket PC
Topic: Conexion GPRS
Replies: 7
Views: 2160

... La solucion es utilizar el connection manager API http&#58;//msdn&#46;microsoft&#46;com/library/default&#46;asp?url=/library/en-us/APISP/html/sp_connmgr_connmgrconnectionstatus&#46;asp .

En el foro en ingles me indicaron el camino, casi todo esta disponible en MSDN, pero jo..er para encontrar lo ...