|
Hi,
I am currently designing an application for a customer, whereby the attendant on a site can use a handheld device to book a customer in, and print off a receipt on a mobile printer, rather than the customer entering into the site office.
We are using Wireless to communicate with the base station, and I am wondering if anybody has any recommendations on what I should use to communicate with the printer. We have a spare PCMCIA slot in the device, and I am wondering on bluetooth or wireless. If the unit goes out of range, we would still want it to perform the basic functions, and synchronise when back in range.
Any ideas / input?
Many thanks
|
|
|
|
|
hi this rituparn,
mobile message/voice security has to be developed,coding message (text or voice ) at transmitters end decoding it @ receivers end can solve this security crises up to great extent and thats my project for embedded.
i need suggessions
rituparn
|
|
|
|
|
Hi, does any one have used the “AVI” control in smart phone environment?
When I want to create a animate window use the macro which define in the commctrl.h, it always failed, and return me a error: can’t find the class info!
It seems that the animate window class has not been registered! But all other common control window classes have been registered! I can create a rebar window, a tool tip window….
some supplement:
At first, I use :
Animate_Create(this->m_hWnd,IDC_ANIMATE,WS_BORDER,AfxGetApp()->m_hInstance)
and then get one error: 1407 which means can not find window class.
So I used followind statement:
GetClassInfo(NULL,ANIMATE_CLASS,&animate_class);
Also this function return one error: 1411 which means that the ANIMATE_CLASS is not registered yet!!
But if I use statement: GetClassInfo(NULL,REBARCLASSNAME ,&animate_class) it run successfully!
The rebarclass and the animate_class are define in the commctrl.h. I just can not understand why I can't get the animate_class???
Thanks a lot, Please, any comment is appreciated!
|
|
|
|
|
I am using :
HWND AnimationCtrl=CreateWindowEx(0, //Style
ANIMATE_CLASS, //Class Name
NULL, //Window name
WS_CHILD|WS_VISIBLE|WS_BORDER| //Window Style
ACS_TRANSPARENT|ACS_CENTER,
0, //Left
0, //Top
300, //Right
60, //Bottom
hWnd, //Handle of parent
NULL, //Menu
avi, //hInstance
NULL);
to create the animation control but animation_open is failing.
|
|
|
|
|
I was wondering how to find the source code line / filename (__LINE__/__FILE__ equivlaent) when using the Compact Framework, since the System.Diagnostics.StackTrace class is not supported? Goal is to support logging of location of errors in release as well as debug. has anyone found a technique using Trace, perhaps?
|
|
|
|
|
Hi, I have two Window CE applications running and I am trying to activate one from the other. I tried two different ways: grab the CWnd pointer of the other application and call BringWindowToTop (or SetWindowPos, or SetWindowActive); and the other attempt was to send the current app to the bottom of the z-order using SetWindowPos. None of these ideas seemed to work. The functions just seem to be ignored. I can cause the application forms to disappear or changes size, but the z-order I can't seem to change. Any Ideas?
Paul Jahans
|
|
|
|
|
Does anyone know how I can access the clipboard (copy and paste) in Windows Mobile 2003, using .Net Compact Framework?
|
|
|
|
|
I'm no pro but I just use what I can find. If you get the opennetCF it has a control that allows you to access the clipboard easily.
OpenNETCF.Windows.Forms.Clipboard
It includes set/get: text,data,dataobject, and image.
Also OpenNetCF has a bundle of extra controls or if you want you can dig into their code and take only the parts you want.
The best about OpenNetCf is that they are free.
hope this helps
tim
|
|
|
|
|
I'm trying to find an example on how to make a Smart client update to my PDA program.
When I try to make it myself, I can see an "notsupportedException" when I try to load the asswmbly on the host machine.
Can anyone give a hint about if it is possible to use Smart Client update in CF 1.0
Regards
|
|
|
|
|
Has anyone used C# (or even VB.NET) to display video from an ethernet camera on a Mobile Device? I am trying to do this in the Compact Framework, and I cannot use C/C++ or COM. Does anyone know of any examples, web sites, tools or the best classes to help with this?
Thanks!!!
|
|
|
|
|
I've briefly searched through the message boards, but didn't find two answers I'm looking for. As always, if they've already been discussed, just point me in the right direction.
In the normal dotNet Framework, I just use the Process class in the Threading class to start a new process (like, starting a new program from inside my program, basically giving it the same string I'd type at a command prompt). But the dotNet COMPACT Framework doesn't seem to have that functionality. Does anyone have any work-arounds? I'm trying to make my own C# editor/compiler for PPC, and I'm having a problem calling cscc.exe (with arguments) from inside my program.
My second quandry is how to copy information to (and paste information from) the PPC clipboard. The Clipboard class doesn't exist in the Forms class in the COMPACT Framework. Any ideas?
-Daniel
|
|
|
|
|
By the way, I meant "I just use the Process class in the System.Diagnostics namespace", not Threading class.
Anyone at all have any ideas?
-Daniel
|
|
|
|
|
I guess I just need to upgrade to .Net Framework 2.0 (just read about the Process class in the Compact Framework 2.0).
|
|
|
|
|
Hi,
I am new to pocket pc and c++ development and I am have a problem compiling a sample project.
I am using embedded visual c++ 4.0 with SP3 and the Pocket PC 2003 SDK and am trying to compile a sample project from the Loquendo TTS(text to speech synthesiser) 6.4 PPC 2003.
The sample project builds ok for WCE ARMV4 debug, but since I don't have a Pocket PC PDA to run it on, this isn't much use.
When I try to build the project for Win32(WCE emulator) debug so that I can try it out on the Pocket PC emulator, I get 17 linker errors which I have no idea how to get rid of.
I am using the Win32(WCE emulator)Debug and the Pocket PC 2003 Emulator from the drop down menu.
The linker errors I get are listed below:
Linking...
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsDeleteSession referenced in function "public: virtual __thiscall
CLTTSDemoDlg::~CLTTSDemoDlg(void)" (??1CLTTSDemoDlg@@UAE@XZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsRegisterCallback referenced in function "private: virtual int
__thiscall CLTTSDemoDlg::OnInitDialog(void)"
(?OnInitDialog@CLTTSDemoDlg@@EAEHXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsGetError referenced in function "private: virtual int __thiscall
CLTTSDemoDlg::OnInitDialog(void)" (?OnInitDialog@CLTTSDemoDlg@@EAEHXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsNewInstance referenced in function "private: virtual int __thiscall
CLTTSDemoDlg::OnInitDialog(void)" (?OnInitDialog@CLTTSDemoDlg@@EAEHXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol __imp__ttsQuery
referenced in function "private: virtual int __thiscall
CLTTSDemoDlg::OnInitDialog(void)" (?OnInitDialog@CLTTSDemoDlg@@EAEHXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsNewSession referenced in function "private: virtual int __thiscall
CLTTSDemoDlg::OnInitDialog(void)" (?OnInitDialog@CLTTSDemoDlg@@EAEHXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol __imp__ttsRead
referenced in function "private: void __thiscall CLTTSDemoDlg::OnSpeak(void)"
(?OnSpeak@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol __imp__ttsStop
referenced in function "private: void __thiscall CLTTSDemoDlg::OnStop(void)"
(?OnStop@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol __imp__ttsPause
referenced in function "private: void __thiscall CLTTSDemoDlg::OnPause(void)"
(?OnPause@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol __imp__ttsResume
referenced in function "private: void __thiscall CLTTSDemoDlg::OnPause(void)"
(?OnPause@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsSetAudio referenced in function "private: void __thiscall
CLTTSDemoDlg::OnSelchangeVoices(void)"
(?OnSelchangeVoices@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsNewVoice referenced in function "private: void __thiscall
CLTTSDemoDlg::OnSelchangeVoices(void)"
(?OnSelchangeVoices@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsDeleteVoice referenced in function "private: void __thiscall
CLTTSDemoDlg::OnSelchangeVoices(void)"
(?OnSelchangeVoices@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsGetLanguage referenced in function "private: void __thiscall
CLTTSDemoDlg::EditUpdate(void)" (?EditUpdate@CLTTSDemoDlg@@AAEXXZ)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol
__imp__ttsAudioFreeSpace referenced in function "public: void __thiscall
CLTTSDemoDlg::OnTTSLoop(unsigned int,long)"
(?OnTTSLoop@CLTTSDemoDlg@@QAEXIJ@Z)
LTTSDemoDlg.obj : error LNK2019: unresolved external symbol __imp__ttsDone
referenced in function "public: void __thiscall
CLTTSDemoDlg::OnTTSLoop(unsigned int,long)"
(?OnTTSLoop@CLTTSDemoDlg@@QAEXIJ@Z)
emulatorDbg/LTTSDemo.exe : fatal error LNK1120: 16 unresolved externals
Error executing link.exe.
LTTSDemo.exe - 17 error(s), 0 warning(s)
I have tried using information from this webpage to resolve the issue but
haven't had any luck:
http://support.microsoft.com/default.aspx?scid=kb;[LN];830482
I would really appreciate any help that anybody can give me.
|
|
|
|
|
Hi All!
I need to extend my calls to the Web service with custom SOAP header. I use the following sample code which works just perfect on my desktop under .NET 1.1:
<br />
UserManagementService service = new UserManagementService();<br />
service.RequestHeaderValue = new RequestHeader();<br />
service.RequestHeaderValue.Headers = new object[1];<br />
<br />
ListUsersRequest request = new ListUsersRequest();<br />
<br />
object[] pair = new object[2];<br />
pair[0] = "UserName";<br />
pair[1] = "001";<br />
service.RequestHeaderValue.Headers[0] = pair;<br />
<br />
try<br />
{<br />
service.ListUsers(request);<br />
}<br />
catch(Exception ex)<br />
{<br />
MessageBox.Show(ex.Message);<br />
} <br />
But when i move to .NET CF it produces NullReferenceException.
cgacutil tells that i use version 1.0.4292.00 on PocketPC.
What is wrong?
Thanks!
|
|
|
|
|
|
We are working on Windows Mobile 5.0.(VS 2005 VC++) Bluetooth Search is established using WSALookup Service.
Things to resolve are :-
1. We want to pair the device detected.
2.We want to set the Paired device a com port (say COM8) as the out going port.
Pl provide any code samples for the above.
|
|
|
|
|
Hi everbody,
I had problems passing strings from a c# project to an unmanaged c++ dll.
I work with vs .net 2005. I've created a smart device win32 dll with c++, exporting some symbols. In my dll i have two functions.
My Headerfile looks like this:
#ifdef __cplusplus
extern "C"
{
#endif
UNMANAGED_API int fnUnmanaged(LPCTSTR lpszMessage);
UNMANAGED_API int fnUnmanaged1(char* message);
#ifdef __cplusplus
} // extern "C"
#endif
and my .cpp is this:
UNMANAGED_API int fnUnmanaged(LPCTSTR lpszMessage)
{
return MessageBox(NULL, lpszMessage, _T("Unmanaged"), MB_OK);
}
UNMANAGED_API int fnUnmanaged1(char* message)
{
if (message[1] == (int) 'a') return true;
else return false;
}
Then I created a c# smart device pocket pc 2003 application. I import the dll and the two functions.
private void OnPressMe(object sender, EventArgs e)
{
fnUnmanaged("That tickles");
mystring= "Hallo";
bool test = fnUnmanaged1(mystring);
}
[DllImport("Unmanaged.dll")]
private static extern int fnUnmanaged(string message);
[DllImport("Unmanaged.dll", CharSet = CharSet.Unicode)]
private static extern int fnUnmanaged1(string filename);
}
The first function (MessageBox) works fine but the second was wrong. I tried the same thing with c++ dll and c# application for normal windows applications and everything works fine. "filename"was automatically converted from string to char*. But it does not work within a smart device application. The return value is always false. But it should be true if the string passed to the dll in the right way.
Both projects (c# and c++) were created automatically with .net. I changed nothing in the settings or elsewhere.
Has anybody an idea where the problem is?
Thanks, Ivonne
|
|
|
|
|
To correctly convert from C# string to C++ char* , you should mark the import with CharSet.Ansi .
The Compact Framework does not support CharSet.Ansi . You can only pass Unicode strings to a native DLL.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi,
I'm trying to develop an application in both PPC2003 and PPC2003SE in eVC++ 4.0. In this application I need to call an external program so I use ShellExecuteEx and WaitForSingleObject in order to wait for the end of the external execution. This code doesn't have any problem running in PPC2003.
My problem comes running it in PPC2003SE, the process is created in background (I can see it's runing in the Process viewer) and I'm not able to bring it foreground. I tried with CreateProcess instead of ShellExecuteEx, FindWindow and EnumWindows (to obtain the Hwnd and set it to the foreground) and the most I achieved was an inmortal window that doesn't answer to the user's actions.
With the same code I can call another programs without any harm, but I found impossible to call that one. So, could anyone give me a hint? Thanks.
|
|
|
|
|
I need to draw antialiased lines quickly. Program "Notes" do it well, but it's using an InkX control. This control is not suitable for me. What kind of API's or SDK's should I use? It is desirable to use GDI (MFC), not GDI+ (.NET)
I think, that I have to use some low-level API to draw quickly.
|
|
|
|
|
Dear All,
Can someone give me some information about mobile device (Smartphone, PDA) send and receive SMS or MMS through HTTP Protocol.
Thanks
bibi0404
|
|
|
|
|
Through an internet sms gateway there are lot outthere where you can buy for an amount some sms
|
|
|
|
|
I'm trying to rewrite a DOS application developed for Symbol PDT3100 family, for Symbol MC3000 with Windows CE 4.2 Proffesional.
Can anyone please tell me how can I develop a database application for this device and what technologies should I use?
I saw some articles on CodeProject.com using ADOCE and ... . However I think they are built to be used for PocketPC family not with such a device. For example when I wanted to install ADOCE development components on my desktop computer I got a message telling me I should install Pocket PC Platform builder or something like that.
If someone knows that this problem can be solved using some techniques please tell me how can I do that.
My development environment is Embeded Visual C++ 4.
Thanks.
-- modified at 10:13 Tuesday 17th January, 2006
|
|
|
|
|
ADOCE using the CEDB provider is pretty much obsolete. It was never very reliable.
You could consider SQL Server CE 2.0. The install page[^] suggests that you need to have eVC 3.0 and the Pocket PC 2000 SDK installed in order for the installation to succeed. This may be where the Platform Builder error message came from.
The built-in CEDB database is a property database, not a relational one. It isn't really designed to be used with a fixed schema, and it's not particularly fast.
A friend of mine has some experience with and recommends SQLite[^].
If you're moving from a Symbol 3100 to an MC3000, the company I work for could help you port your existing application. We specialise in mobile applications development, and have already ported a few applications using our Quantum porting library, which emulates portions of the Series 3000 BiosXxx calls and Symbol UK's ADL library. See our product overview[^]. If you used the ADL's Indexed File Manager feature and want to reuse that while rewriting the rest of your application, we have a compatible library.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|