|
Hi all,
Does anyone know how to get alist of all running processes on an IPAQ? EVC++ 4.0 code to do this would be really helpful to me.
Thanks
Tammy
|
|
|
|
|
|
I am developing an application for PDA using VB .Net and I am wondering how could I display the OK Button in the title bar just like it is displayed in the Diaolog boxes...
any help is welcome
xiao xiao
|
|
|
|
|
In the form properties screen, change Minimize to False.
Canada has 6 zones, none of which are erogenous.
|
|
|
|
|
Hi,
Does anyone know a way of closing all current running tasks on Pocket PC programatically using Embedded Visula c++ 4.0?
Thanks
Tammy
|
|
|
|
|
WinCE-based smartphone provides RAPI (Remote API)for remote control of device.
A way of invoking a DLL function in smartphone from PC is to call
CeRapiInvoke() function.
The barebone code looks like
CeRapiInit();
CeRapiInvoke(L"MyDLL.dll", L"Myfunc", cbOutBytes, pOutBuffer, &cbInBytes, &pInBuffer, 0);
CeRapiUninit();
In Myfunct, I put one line of code: CreateFile(...) to see if a file was created as a result.
But this is failing. I have searched for a hint or solution inside MSDN to no avail.
Other functions such as CeCreateFile(), CeReadFile(), CeWriteFile() worked properly
so I am sure the connection between PC and phone is well established.
Please give me helps.
Thany you in advance.
Best regard,
Cho
|
|
|
|
|
How can I work with excel files? I need to read and to write some data from and into *.xls files. Is there any way to do this?
And another one question, i've already asked it, but no one answered me. Please help - it's really urgent... I need to write and create files on Pocket PC from Desktop computer. How to do it???
Thanks.
|
|
|
|
|
Rassul Yunussov wrote:
How can I work with excel files?
Read about the file format here: http://chicago.sourceforge.net/devel/docs/excel/
Rassul Yunussov wrote:
I need to write and create files on Pocket PC from Desktop computer.
Did you try using RAPI?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi,
Does anyone know how to control an Ipaq wifi nic through evc++ 4.0 code?
Thanks
Tammy
|
|
|
|
|
I'm trying to get the system time on a Pocket PC using eVB3.0. Any advice would be appreciated - I'm still pretty new at this.
Thanks
D
juDge_D
"doomed to crumble unless we grow"
maynard james keenan 2001
|
|
|
|
|
Dear all,
I have a problem when building an application for Pocket PC using eVC 3.0
Here is some code:
hr = CLSIDFromProgID(POA_OBJECT, &clsid);<br />
if (FAILED(hr))<br />
{<br />
AfxMessageBox(_T("Fail to load CLSID"));<br />
} else {<br />
hr = CoCreateInstance(clsid, NULL, CLSCTX_INPROC_SERVER, IID_IPOutlookApp, (LPVOID *) &(polApp));<br />
if (FAILED(hr))<br />
{<br />
err = GetLastError();<br />
sprintf(str,"Fail to load CoCreateInstance %d",err);<br />
AfxMessageBox((CString)str);<br />
} <br />
}
I got error message:
Linking...<br />
ImportFromPOOM.obj : error LNK2001: unresolved external symbol _IID_IPOlItems<br />
ImportFromPOOM.obj : error LNK2001: unresolved external symbol _IID_IPOutlookApp<br />
X86Dbg/TimeMAX.exe : fatal error LNK1120: 2 unresolved externals<br />
Error executing link.exe.<br />
Creating browse info file...
I try to find some answers on news groups and did following these guides by adding:
#define INITGUID
#include "pimstore.h"
And when I insert this line
#include "initguid.h"
I got more error messages
Linking...<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_Application already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_Folder already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_CityItem already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_AppointmentItem already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_TaskItem already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_ContactItem already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_Items already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_Recipients already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_Recipient already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_RecurrencePattern already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_TimeZone already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_Exceptions already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _CLSID_Exception already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _LIBID_PocketOutlook already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IPOutlookApp already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IFolder already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_ICity already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IAppointment already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_ITask already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IContact already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IPOlItems already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IPOutlookItemCollection already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IRecipients already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IPOlRecipient already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IRecipient already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IRecurrencePattern already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_ITimeZone already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IExceptions already defined in ChildView.obj<br />
ImportFromPOOM.obj : error LNK2005: _IID_IException already defined in ChildView.obj<br />
X86Dbg/TimeMAX.exe : fatal error LNK1169: one or more multiply defined symbols found<br />
Error executing link.exe.<br />
Creating browse info file...
Could you please give me an advice.
Thank you very much for your help.
-Kien Bui
|
|
|
|
|
I solve the problem by inserting the following lines at the top of the application's header file (I include it in other files as needed):
#include "resource.h"
#include <comdef.h>
#include <pimstore.h>
_COM_SMARTPTR_TYPEDEF(IPOutlookApp, __uuidof(IPOutlookApp));
_COM_SMARTPTR_TYPEDEF(IAppointment, __uuidof(IAppointment));
_COM_SMARTPTR_TYPEDEF(ITask, __uuidof(ITask));
Then, on the application cpp file:
#include "stdafx.h"
#include "MainFrm.h"
#include <initguid.h>
#include "Application.h"
IPOutlookAppPtr g_pPoomApp;
The linker does not complain...
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi everybody,
Thought it best to post this message here.
Iv'e been programming in VB.Net for about a year now (Mainly Windows applications). My boss now wants me to start developing mobile appliations. Just want some advice on where to start studying.
Would you suggest I continue to learn to do it in VB.Net or Embedded Visual Basic. The only reason I ask this is that there seems to be more documentation available for Embedded VB.
Many thanks
|
|
|
|
|
Hi
I recommed to use VB.net; there is no a big difference etween mobile and desktop apps in .et framework
eVB seems to have more docs ;
because the MSDN docs are for both .net framework and the compact framework no separation here
if u move to eVB u will be downgrading ur skills ; there is no types there [all variables are variant] no Try/Catch [just on error]
|
|
|
|
|
HI~
Is there any function in eVC++ which can pass some parameters to a running C# program?
"CreateProcess" can pass some parameters as a argument when a process start. However, how about the process is running?
Thanks~
|
|
|
|
|
I don't know about C#, but in C/C++ you can use WM_COPYDATA .
--
The Blog: Bits and Pieces
|
|
|
|
|
I'm thinking of automatically configure the 802.11 wireless network without use the standard windows wizard.
Can any expert tell me which kind of steps and APIs I should use to achieve this object.
Thanks
|
|
|
|
|
I'm doing Embedded Development using Visual C#, VS.NET 2003 & PPC 2003 SE Emulator. I have a TextBox Control and I want to change the BackColor of it when someone clicks on it. Apparently Windows Forms Designer doesn't have the Click Event on the list of events available on the Windows Forms Designer but you can generate it from within the Code Editor. The Code Editor gives you the "Click" property when you type "." after the TextBox's name and then, after you type "+=" it detects that you want to generate an event handler displays a tooltip suggesting the rest of the line as in "new EventHandler(textBoxSearch_Click); (Press TAB to insert)". When you do press TAB it generates the new "EventHandler..." line and highlights "textBoxSearch_Click" and gives you another "(Press TAB to insert)" tooltip which will generate the "textBoxSearch_Click" handler in the current Form class. I put my code in the handler but nothing happens when I click on it. I ran it through the debugger putting a breakpoint inside the handler and nothing at all!! The program behaves as if there is no click event handler on the TextBox. Note that all the other event handlers for my other controls on the form work fine. But those other event handlers where generated through the Windows Forms Designer. Any suggestions?? Ideas??
TIA
George Papadopoulos
Cosine Consultants LTD
|
|
|
|
|
HI~
In WinCE (pocket pc), how to set a window to scrollable in vertical and honzontal direction?
Thanks
|
|
|
|
|
I'd like to manage my Pocket PC from Desktop computer. For example to create file, or to delete it from Pocket PC. What should i use? Sockets? Or may be i can work with pocket pc like with a disket or any other driver by using the api functions like (CreateFile, DeleteFile)?
|
|
|
|
|
Yes, you can use RAPI (Remote Application Programming Interface wich have all the functions like CeReadFile, CeCreateFile, ...
Take a look at the MSDN for complete documentation.
Anonymous wrote:
For example to create file, or to delete it from Pocket PC
This works the other way: from within a program on your desktop computer you can delete or create files on your PocketPC. Not the other way.
Hope this helps
|
|
|
|
|
when i am writing few assembly language programs, after assembling i found .lnk and .obj files.
what the .lnk files hold and how they r built?. why there is change in opcodes of the instructions?.
Example for Mov 70h,#29h the opcode there is 757029
but for mov r1,#20h. it is giving some other opcodes.
why there is a change in this?.
ComputerNewton
|
|
|
|
|
Hi,
I am more of an embedded programmer so I this may not be correct for your situation but this is my experience from the past.
'.lnk' files are normally link files, they tell the linker how to join (link) different modules of code, in the old days programmers wrote their own link files, but it is often done by the programming environment now.
'.obj' files are object files, they are intermediate files generated from the aseembler prior to being linked together to form the final program.
Op Code
From your example 'Mov 70h,#29h', 75 will be the 'op code' for the instruction 'Mov', the source & destination are added to the end of it ie 75,70,29 = 757029
So the result for 'mov r1,#20h' will be 75,??,20 where ?? = the address (index) of r1.
Hope this helps a bit.
Ali
|
|
|
|
|
To all Gurus,
How can I get a handle to the window of item on the toay screen.
I want to refresh a today screen. But this refresh is NOT triggerred by any user input like a Tap etc but from within a DLL.
Can I send a message to the window ? but in that case I would need a handle to the window.
I know the Class Name and Window Name so how can I post a message to the window to refresh?
any kind of Help will be highly appreciated.
-SMO
|
|
|
|
|
FindWindow returns a handle to a window if you know the class name and window name
HWND FindWindow(
LPCTSTR lpClassName,
LPCTSTR lpWindowName
);
Friendly regards
|
|
|
|