|
Dear João,
Thanks alot for help
Regards,
Hadi
|
|
|
|
|
Hi~
However, when you config the virtual switch in eVC++, the emulator can be connected with activesync only when the emulator is launched by eVC++. If the emulator is launched by VS .NET, it still cannot be connected with activesync.
|
|
|
|
|
hello all,
at present i am getting training on 8 bit controllers. but my doubt is that am i easily migrate to 16,32 and 64 bit controllers, with out having assistance.
Thanking u.
ComputerNewton
|
|
|
|
|
hello all,
how shall i design Cross Platform GUI. What r the languages we use to desing it. At present we are using C and C++. Is it posssible to desing?. if yes, how shall i do that?.
ComputerNewton
|
|
|
|
|
I recomend qt if you are willing to stick with C++ only for the GUI. (can mix C code in elsewhere of course, just not the GUI). Worth the price in my opinion, but I can't convince the boss of that... http://www.trolltech.com/
wxWidgets is another common C++ toolkit, which is nice enough and free. Normally allows your application to look like it was designed for that platform. (looks like a mac app on Macs, windows apps on windows) The license isn't a big deal. http://www.wxwidgets.org/
GTK is a free C tool kit (with some C++ wrappers that some hate and others love). http://www.gtk.org/
Java makes a claim to cross platformness and you can call native code if you jump through a lot of hoops. I don't recomend it, but you can make it work.
http://www.geocities.com/SiliconValley/Vista/7184/guitool.html has some interesting links on this issue, but I haven't explored it. Check out google too.
Watch the licensing on the free toolkits. So long as you are aware of what is allowed and what is required, it isn't a big deal. Not watching them could end up digging a big hole.
|
|
|
|
|
Ever wanted to develop .NET CF apps right on you PDA? Now you can. I ported C# compiler and tools from dotGNU project to PocketPC platform. IDE will be available soon!
http://mifki.ru/pcsharp
----------
Onboard C# compiler - http://mifki.ru/pcsharp
|
|
|
|
|
anyone know how to open a line with a mobile through an application on a pc
i tried microsoft speech sdk but i didnt know how to use phone line with it
|
|
|
|
|
Hi all,
I would like to ask a question as below,
My software is composed of a main C# program with some other c# dll as components. In the first round, I will install all the stuff on the machine.
Then after sometime, I need to install some additional dll to work with
the main C# program. How can I do that ? Is that possible in C#.Net framework ?
Thanks
|
|
|
|
|
Hi there,
I'm a new developer in .Net platform. I have implemented a code that runs at a Pocket PC 2002 platform. This is the client part , no problem. It saves some data such as names and adress information in XML document. The question is i want to send this data to a PC and upload necessary things. But i dont know how to start. the thing is just simple to upload XML file from PDA to PC or visa-versa. I couldn't find an article about this staff.if any one can tell me how to that or advises some article or site I will be glad. Thank you.
|
|
|
|
|
Look at the Activesync options.
There is a setting to enable Files to be synced.
If this is active, there will be a folder in your My Documents (ie "POCKET_PC My Documents".
This is a shadow folder of your ppc My Documents.
Activesync tries to keep this folder in sync.
So, anytime you cradle your ppc, or update the folder, it should be quickly up-to-date.
"For all of our languages, we cannot communicate" - Christy Moore, Natives
|
|
|
|
|
Hi all ,
i'm trying to realize a CF C# application that uses udp protocol and multicasting on address 224.0.1.84.
I need to have different sockets that reuse the same address and port, so i need to set the reuseAddress parameter with the setSocketOption function to true.
Unfortunely there is a bug in the API and the function with such a parameter doesn't work.
As Microsoft say you can work around this problem calling directly the CE API with the P\Invoke way.
I tried to do so, but with no result.
I always obtain error "10038" from the CE function setsockopt, which means that the function does't recognize the pointer passed a socket pointer. I'm sure i'm passing a valid socket pointer.
This is my code..
[DllImport("Winsock",EntryPoint="setsockopt", CharSet=CharSet.Unicode, SetLastError=true)]
public extern static int setsockopt(IntPtr _sock, SocketOptionLevel level, SocketOptionName name, byte [] byte_val, int int_val);
...
Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
IntPtr _sockhandle = sock.Handle;
MessageBox.Show(_sockhandle.ToString(), "socketHandle..");
if(this.setReuse(_sockhandle))
{
MessageBox.Show("setReuse OK!!");
....
}
...
private bool setReuse(IntPtr _sock)
{
int rs = 0;
try
{
Byte[] one = new Byte[1];
rs = setsockopt(_sock, SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, one, 4);
}
catch(Exception e)
{
MessageBox.Show(e.ToString(), "setReuse error..");
}
if (rs == mySOCKET_ERROR)
{
MessageBox.Show("setReuse error: " + rs.ToString() + " - " + Marshal.GetLastWin32Error().ToString());
return false;
}
else
{
MessageBox.Show("setReuse OK: " + rs.ToString());
return true;
}
}
What is wrong?
I tried too to call the CE API socket function in order to obtain a socket handle..
[DllImport("Winsock",EntryPoint="socket", CharSet=CharSet.Unicode,SetLastError=true)]
public extern static IntPtr mySocket(int af, int type, int protocol);
using it in this way
IntPtr _sockhandle = mySocket(2, 2, 17);
and passing it to the setsockopt..
in this way the function works, but now how can i associate this handle to a CF socket?
The socket.handle property is readonly and there is no constructor to create a new socket from a IntPtr handle..
Thank you very much!!
|
|
|
|
|
really do not know how to start it.
|
|
|
|
|
I'm a newbie trying to develop a client application to connect via a socket to a device connected on COM1. If I connect to a server on my host machine the standard SDK emulator connects OK. When I specify the device IP address that is connected to COM1 and try to connect to it, the emulator fails to connect.
Any help is appreciated !
|
|
|
|
|
Hello there,
In some occasions I used to use the Beep function in my programs for fast and easy sound-generation. I noticed now however that that doesn^t seem to be supported by PocketPC`s.. Is there an easy alternative for that?
In other words is there an easy way to sound a beep without having a wav file or any other sound file?
Regards,
Davy
|
|
|
|
|
Use MessageBeep .
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
I am new to the world of Pocket PC's and I have downloaded several example projects from the net only to find they will not load.
I am using Embedded VC++ 4 and the projects that don't load have the 'vcw' extension. They report many files that cannot be found, mostly .h and .rh, and .ico, then the compile option is greyed out on the menu.
What am I doing wrong? Any ideas?
Many Thanks,
Ali
|
|
|
|
|
I have to use legacy C code, where functions understand nothing else but char*
So the question is, what is the best way to convert the char* to unicode strings, to be displayed in a message box, or set in an CEdit control for example.
|
|
|
|
|
no_reg_name wrote:
what is the best way to convert the char* to unicode strings
int MultiByteToWideChar(
UINT CodePage,
DWORD dwFlags,
LPCSTR lpMultiByteStr,
int cbMultiByte,
LPWSTR lpWideCharStr,
int cchWideChar );
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
You can use the A2W macro but remember to state USES_CONVERSION within the function that uses the macro.
USES_CONVERSION;
...
wide = A2W(ascii);
...
Hope that helps
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fuity and sweet. I'm jelly, what am I? - David Williams (Little Britain)
|
|
|
|
|
as i know, we may use image data type to deal with blob.
but the problem is, how can i insert the bytes to the database??
i have tried the follow code segment, but it doesn't work
SqlCeCommand addPic = conn.CreateCommand();
addPic.CommandText = "INSERT INTO photoTable (Photo) VALUES(@Photo)";
SqlCeParameter picParam = addPic.Parameters.Add("@Photo", SqlDbType.Image);
picParam.Value = GetPhoto(photoFilePath);
public static byte[] GetPhoto(string filePath)
{
FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
BinaryReader br = new BinaryReader(fs);
byte[] photo = br.ReadBytes((int)fs.Length);
br.Close();
fs.Close();
return photo;
}
thanks
|
|
|
|
|
Does anyone know of a company that makes instrumentation widgets / gadgets for the CE .Net 4.2 platform? I'm looking for controls (LED indicators, bar graphs, analog gauges, etc.) that I can have run in an operator interface (LCD panel) used on a manufacturing plant floor. The application in the operator interface is being developed in embedded Visual C++. Thanks for any help!
|
|
|
|
|
|
Dear all,
I had developed a software that use Pocket Access database but the database
file for Pocket PC 2002 does not work with Pocket PC 2003 and vice versa.
My question is how to make a setup program that can detect which version of
the OS on Pocket PC and install an appropriate database file on it?
Thank you very much in advance.
-Kien Bui
|
|
|
|
|
Hi all,
In C#.NET(compact framework), how to launch an slave application from a master application, then the master applicaton can close the slave master if the slave application is not needed anymore ?
And how to pass information between the two applications?
Thanks
|
|
|
|
|
Hi all,
Is C# a good tool for programming application in pocket pc
device ? Will the performance in execution speed be a problem ?
Also, can a application built by C#.net be run on Pocket PC 2000
and Pocket PC 2002 platform (any additional .net runtime needed to install on the device before the installation of the application) ?
|
|
|
|