Click here to Skip to main content
15,908,445 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: eVC++ with SP4 Pin
Alper KARS27-Jun-05 20:21
Alper KARS27-Jun-05 20:21 
GeneralVS2005 Smartphone2003 project Pin
Adnan Siddiqi26-Jun-05 4:41
Adnan Siddiqi26-Jun-05 4:41 
GeneralRe: VS2005 Smartphone2003 project Pin
MKlucher5-Jul-05 6:51
MKlucher5-Jul-05 6:51 
GeneralMobile device ID as a client Pin
Utku KAYA25-Jun-05 2:35
Utku KAYA25-Jun-05 2:35 
GeneralRe: Mobile device ID as a client Pin
Utku KAYA25-Jun-05 2:40
Utku KAYA25-Jun-05 2:40 
GeneralAsynchronous Mystery Pin
DiscoJimmy22-Jun-05 8:57
DiscoJimmy22-Jun-05 8:57 
Generalusing ActiveX control Pin
Member 187781622-Jun-05 0:28
Member 187781622-Jun-05 0:28 
GeneralWince Message Queues Opening Error Pin
indianstar21-Jun-05 0:29
indianstar21-Jun-05 0:29 
Hi! I am facing problem in Interprocess
communication using message queues of wince (version 5.0). The project is MFC based and I am using Embedded visual c++ version 4.0. When I am runing the project it gets successfully executed and message queses also gets created successfully but I am unable to open message queue for reading or writing purpose. I am getting error in MQopenqueue(). When I checked the Errorcode it says "MQ_ERROR_SERVICE_NOT_AVAILABLE
Cannot connect to the Queue Manager"

The source code is as below.

QUEUEHANDLE g_hRecvQueue;
QUEUEHANDLE g_hSendQueue;
WCHAR g_szRecvFormat[MAX_SIZE];

PROPID aPropID[2];
PROPVARIANT aPropVar[2];
int iProps = 0;

aPropID[0] = PROPID_Q_PATHNAME;
aPropVar[0].vt = VT_LPWSTR;
aPropVar[0].pwszVal = szPath;
iProps++;

aPropID[1] = PROPID_Q_QUOTA;
aPropVar[1].vt = VT_UI4;
aPropVar[1].lVal = 1000000000;
iProps++;

qp.cProp = iProps;
qp.aPropID = aPropID;
qp.aPropVar = aPropVar;
qp.aStatus = NULL;

// Create
DWORD ccNeededSize = MAX_SIZE;
HRESULT hRes = MQCreateQueue (NULL, &qp, g_szRecvFormat, &ccNeededSize);
if (hRes != S_OK) {
AfxMessageBox(TEXT("Message Queue creation error"));

}
hRes = MQOpenQueue (g_szRecvFormat, MQ_RECEIVE_ACCESS, MQ_DENY_NONE, &g_hRecvQueue);
if (hRes != S_OK) {
AfxMessageBox(TEXT("Message Queue open error"));

}

Please suggest the possible solution.
With Regards
IndianstarFrown | :(

GeneralProblems controlling CPU frequency on laptops with 533 MHz FSB Pin
Vitaly Kashkarov19-Jun-05 21:34
Vitaly Kashkarov19-Jun-05 21:34 
GeneralC#: Modifying existing dialogs (p/invoke) Pin
ben ogle17-Jun-05 12:54
ben ogle17-Jun-05 12:54 
QuestionScaling JPEG in evc4? Pin
rammle16-Jun-05 20:05
rammle16-Jun-05 20:05 
AnswerRe: Scaling JPEG in evc4? Pin
Anonymous22-Jun-05 9:36
Anonymous22-Jun-05 9:36 
GeneralMerge Replication (SqlCe) - Avoid full replication run Pin
Seraphin16-Jun-05 2:37
Seraphin16-Jun-05 2:37 
GeneralCF listview sort & Arrows Pin
aixin15-Jun-05 12:28
aixin15-Jun-05 12:28 
GeneralWCE_INS WCE_DEL & IrDA Pin
D.J.Deky15-Jun-05 3:35
D.J.Deky15-Jun-05 3:35 
GeneralUploading file using Pocket IE Pin
Bill Ferreira14-Jun-05 2:41
Bill Ferreira14-Jun-05 2:41 
GeneralPocket PC 2002 SDK: how to remove Pin
kgeza713-Jun-05 23:04
kgeza713-Jun-05 23:04 
GeneralAdvanced WinINet - Please HELP! Pin
patrick__b13-Jun-05 2:41
patrick__b13-Jun-05 2:41 
QuestionGet raw data in CBitmap?? Pin
splitend1012-Jun-05 14:04
splitend1012-Jun-05 14:04 
Generalaltering storage mem / program mem, programmaticaly Pin
GDavy9-Jun-05 21:50
GDavy9-Jun-05 21:50 
GeneralRe: altering storage mem / program mem, programmaticaly Pin
João Paulo Figueira10-Jun-05 13:17
professionalJoão Paulo Figueira10-Jun-05 13:17 
GeneralRe: altering storage mem / program mem, programmaticaly Pin
GDavy12-Jun-05 20:17
GDavy12-Jun-05 20:17 
Generalstream embeded vc Pin
_tasleem9-Jun-05 20:35
_tasleem9-Jun-05 20:35 
GeneralRe: stream embeded vc Pin
_tasleem10-Jun-05 22:26
_tasleem10-Jun-05 22:26 
QuestionHow to display an assembly in the Add Reference dialog box Pin
RFID Chris8-Jun-05 7:06
RFID Chris8-Jun-05 7:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.