Recording WAV file
Hello Experts,
Forgive me if this is too simple, as I'm completely new to .net based Mobile
Application Development environment.
How can I record an audio file from my application? Also, where is the MSDN
documentation available for mobile application developer toolkit!?
Any comments/suggestions are welcome.
Thanks for reading,
Vicky Tag: SAPI for Windows Mobile Tag: 97042
How To hide an app from task switchers?
I've done an evC++ app that shows battery as a little barat the bottom of
the screen.
I want to hide the App from task switchers in order to avoid being closed
when "close all app" are selected.
First I've tried creating the windows with the extended style
WS_EX_TOOLWINDOW set, and it works and hide the app for the control
panel-memory applet-task switcher and for WISbaar Advance 2, but not for
some others like Vbar.
Then I've found this link related to Windows 2000:
http://msdn.microsoft.com/msdnmag/issues/0500/c/ that talks about creating a
hidden main window with extended style WS_EX_TOOLWINDOW set and a Child
window with WS_EX_APPWINDOW turned off.
I've tried it, but WS_EX_APPWINDOW isn't supported on pocket pc, and if I
hide the main window the child window is also hidden (but the app doesn't
appear in Vbar). If I show the main Window, even without content and border,
then works but the child window doesn't remain as WS_EX_TOPMOST and also it
appears in Vbar.
The last try was only the main window, hidden and paint directly to the
screen (hDC = ::GetDC(NULL);) It works. The app doesn't appear in Vbar and
the battery is shown, but I can't interact with the window. I've an
ON_LBUTTON_UP to show a dialog for closing the app and I cannot show it in
this mode.
I've not more ideas: Does anybody knows how to hide completely an APP from
taskbars and remain visible and clickable? It have to be psiible because I
know some app that do this, like the icons in menubar and many others. Tag: SAPI for Windows Mobile Tag: 97041
iPAQ h6340 serial problem
Hi PPC experts,
Could anyone please turn some light over h6340 internals? I'd like to use Tag: SAPI for Windows Mobile Tag: 97037
fullscreen - going nutz
It's so ridiculous. Now I remember the positions of the SIP / INputbar
and after restoring them, the SIP icon is missing...
Can anyone _please_ post a working fullscreen function that disables
touching the SIP or something when it gets reactivated?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: SAPI for Windows Mobile Tag: 97036
Activate Document with view
Hello,
I've created an application with a single document. It works great for most
part. However, if I open a dialog box from the view, and when I close the
dialog box, my document (view) disappears. How can I activate the document
again and update the view after I close the dialog box?
Any code snippet or links are greatly appreciated.
Thanks Tag: SAPI for Windows Mobile Tag: 97024
how to measure response time of a Mobile Web Application
I'm trying to measure the response time of a mobile web application developed
for Pocket PC's. I'm accessing the application using an iPAQ and want to
record the time it takes from the inital request and to the arrival of the
last byte of the response, which is in fact TTLB (time to last byte).
However, I could only find ACT for measuring TTLB. But ACT works on a desktop
or server. I would like to measure the response time over a real GPRS network
on the mobile device.
Is there way to accomplish this issue?
thanks Tag: SAPI for Windows Mobile Tag: 97023
Windows Template Library 8.0
Hi,
Does anyone know when WTL 8.0 will be released? All my Pocket PC apps use
WTL 7.1. I can't port them to WM2005 because WTL 7.1 will not compile in
VS2005.
Thanks,
Herbert Tag: SAPI for Windows Mobile Tag: 97022
VS 2005 error
Hi,
Using the Windows Mobile 5.0 Pocket PC Emulator, when I start debugging my
application I now get a message on the emulator side saying:
"A problem has occurred with MyApp.exe
Please tell Microsoft about this problem, at no cost to you. The data is
used exclusively to improve products.
Show report details (hyperlink)
Turn off error reporting (hyperlink)."
I then get a dialog box in Visual Studio entitled "Microsoft Visual Studio -
Unable to start program '%CSIDL_PROGRAM_FILES%\MyApp\MyApp.exe'. This
operation returned because the timeout period expired".
I have a breakpoint on the first line of code in WinMain, and it is not hit.
I believe I get this message after updating my computer with Windows Update
two or three days ago. I am not completely sure this is linked but I
strongly suspected it is.
What can I do? Tag: SAPI for Windows Mobile Tag: 97016
Pass-through connection
Hello,
I want to know programmatically if the pocket pc device is connected to the
internet using ActiveSync Pass-through connection.
So does the device get an IP address other than its local address(127.0.0.1)
in this kind of connection?
Thank you. Tag: SAPI for Windows Mobile Tag: 97014
MSXML load xml file method hang
Dear all:
I want to use Microsoft XMLParser ,the following is some code .
the problem is that when i call m_pXMLDoc->load( ...),my application will
hang ,and no information is given .
Can someone give me the reason ? What steps did I forget or mistake ?
OS Version: Windows Mobile 2003 second edition.
Device: Dopod 575 smartphone / PPC,smartphone Emulator
Thanks a lot in advance !
CComPtr<IXMLDOMDocument> m_pXMLDoc;
#include <objsafe.h>
#include <objbase.h>
#include <msxml2.h>
#include <atlbase.h>
bool CXMLConfigure::Load()
{
HRESULT _hr;
bool ret = true;
try
{
_hr = CoInitializeEx( NULL, COINIT_MULTITHREADED );
if (FAILED(_hr))
{
//ERROR
THROWIMEXCEPTION( 80041000 );
return false;
}
CComQIPtr<IObjectSafety,&IID_IObjectSafety> iSafety( m_pXMLDoc );
if ( iSafety )
{
DWORD dwSupported, dwEnabled;
iSafety->GetInterfaceSafetyOptions( IID_IXMLDOMDocument, &dwSupported,
&dwEnabled );
iSafety->SetInterfaceSafetyOptions( IID_IXMLDOMDocument, dwSupported,
0 );
}
_hr = m_pXMLDoc.CoCreateInstance( __uuidof( DOMDocument ) );
m_pXMLDoc->put_async( VARIANT_FALSE );
if (FAILED(_hr))
{
//ERROR
THROWIMEXCEPTION( 80041000 );
}
VARIANT_BOOL bSuccess=false;
HRESULT hr;
// Can load it from a url/filename...
hr = m_pXMLDoc->load( CComVariant ( L"simple.xml" ), &bSuccess ); //
application hang here ???
if( FAILED( hr ) )
{
THROWIMEXCEPTION( 80041001 );;
return false;
}
}catch(...) {
Unload();
ret = false;
}
return ret;
} Tag: SAPI for Windows Mobile Tag: 97012
Network Connectivity (Needed urgently)
Hello,
I want to connect to a db server from my application, i dont want to
initiate the network connection of the device programmatically, i just want
to test programmatically if a network connection is present, if it is present
I continue, otherwise i ask the user to make a connection then continue.
How do i do it?
Thank you. Tag: SAPI for Windows Mobile Tag: 97009
Ipaq cradles are NOT universal
I notice that ipaq Pocket PC's do not all take the same cradle. I got
an ipaq hx2755. The 2 cradles I have for the ipaq 3850 I have been
using for almost 4 years do not work with the hx2755. The connector is
the same, but the shape
of the base of the cradle keeps the connector from connecting to the
2755. Has anyone cut up one of these older cradles to make them work
with the newer Ipaqs? Tag: SAPI for Windows Mobile Tag: 97008
MailStore Data Objects - where to purchase license ?
toddsoftware.com - Does anybody know if this company has gone out of
business ? I have not received a reply from them in the last 10 days.
http://toddsoftware.com/index.php?option=com_content&task=category§ionid=13&id=100&Itemid=74
Their evaluation component works well but I can not see from their site
how to purchase the component and can not get any e-mails answered.
Alternatively does anybody know of a similar CEMAPI wrapper COM
component that let's me create (send) an e-mail in the ActiveSync Outbox
from VBScript (not just .NetCF) on PPC 2003 above ? I have searched high
and low and the above copmonent is the only one that worked in that
environment.
Thanks in advance,
Leo Gaggl
Adelaide, South Australia Tag: SAPI for Windows Mobile Tag: 97002
Play .wav File
I have a file "Windows\\Alert1.wav" on my Pocket PC 2003.
How can I play it using C#?
--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
-- Tag: SAPI for Windows Mobile Tag: 96995
GPF trapping
I am developing a Pocket PC application directly using Microsoft clarm.exe
compiler. Is there a way to trap GPFs so when they occur the application not
just simply exit without any GPF message ?
I have tried to use UnhandledExceptionFilter() but without success.
I really appreciate your help.
Lars Tag: SAPI for Windows Mobile Tag: 96990
GPF trapping
I am developing a Pocket PC application directly using Microsoft clarm.exe
compiler. Is there a way to trap GPFs so when they occur the application not
just simply exit without any GPF message ?
I have tried to use UnhandledExceptionFilter() but without success.
I really appreciate your help.
Lars Tag: SAPI for Windows Mobile Tag: 96989
Device Connection
Hello,
Please how can I test in my application if the device connection(GPRS or
WiFi or Wired) is active?
Thank you Tag: SAPI for Windows Mobile Tag: 96987
HTMLControl, how to access it's HTML source?
Hello Everybody,
how can I access the HTML source code a HTML control is currently
displaying?
I just want to check the server's reply.
I can set the HTML code to be displayed by issuing a WM_SETTEXT
message, but WM_GETTEXT in a NM_DOCUMENTCOMPLETE notification doesn't
return the code it is currently displaying.
case NM_DOCUMENTCOMPLETE:
{
TCHAR szBuffer[1000];
SendMessage(hwnd, WM_GETTEXT, (WPARAM)1000, (LPARAM)szBuffer);
break;
}
szBuffer is never set.
Maybe I'm missing the obvious here....
Thanks Tag: SAPI for Windows Mobile Tag: 96986
Scroll bar in datagrid
Hello,
I am displaying one row in a datagrid, and i made its height larger than the
datagrid height because it contains long descriptions, so a vertical scroll
bar appears but with no cursor on it to let me move down the grid.
How can i have access to the datagrid scrollbar?
or what else can i do?
Thank you. Tag: SAPI for Windows Mobile Tag: 96984
custom today
is it possible to overtake Today functionality of Pocket PC and have your
own developed one running.
is there sample code for Today settings app.
Thanks in advance, Andrew Tag: SAPI for Windows Mobile Tag: 96980
catch mouse in CHTMLView based app
Hi,
Imagine I have a CHTMLView application, load a HTML file (resource file),
and when something is clicked, I wish to catch this click and call a
function inside my executable. In other words:
Page:
<html>
<head>Demo</head>
<body>
<a href="#">Click here!</a>
</body>
</html>
Code:
CMyHTMLView::OnClickHere()
{
MessageBox("Hello World!");
}
And if I put HTML file as well as images in my executable as a resource, how
do I reference these images in my HTML file?
Lisa Tag: SAPI for Windows Mobile Tag: 96978
problem ending fullscreen
<sorry for double post - it went into the wrong thread on my
newsreader>
Hi,
i devlop games, thus I need fullscreen without anything else. It works
fine sometimes, but some other times when I quit the game, going
non-fullscreen (half screen?), the menu-bar does not get repaint and I
can't click it. (Start menü is dead)
Please help:
void DoFullScreen(bool show)
{
// get the 3 windows and remember them
static void* hWndSipButton = (void*)FindWindow( TEXT ("MS_SIPBUTTON"),
NULL );
static void* hWndTaskbar = (void*)FindWindow( TEXT ("HHTaskBar"),
NULL );
static void* hWndInputPanel = (void*)FindWindow( TEXT("SipWndClass"),
NULL );
/* loadlib, getprocaddress, yaddayadda*/
if (show) // do fullscreen
{
if(hWndInputPanel )
ShowWindow( (HWND)hWndInputPanel, SW_HIDE );
if(hWndSipButton )
ShowWindow( (HWND)hWndSipButton, SW_HIDE );
if(hWndTaskbar )
ShowWindow( (HWND)hWndTaskbar, SW_HIDE );
SHFullScreen(Screen.Window, SHFS_HIDETASKBAR
| SHFS_HIDESIPBUTTON
| SHFS_HIDESTARTICON);
SetWindowPos(Screen.Window, HWND_TOPMOST,
0, 0,
GetSystemMetrics(SM_CXSCREEN),
GetSystemMetrics(SM_CYSCREEN),
SWP_SHOWWINDOW);
BringWindowToTop(Screen.Window);
}
else
{
if(hWndInputPanel )
{
ShowWindow( (HWND)hWndInputPanel, SW_SHOW );
UpdateWindow((HWND)hWndInputPanel);
}
if(hWndSipButton )
{
ShowWindow( (HWND)hWndSipButton, SW_SHOW );
UpdateWindow((HWND)hWndSipButton);
}
if(hWndTaskbar )
{
ShowWindow( (HWND)hWndTaskbar, SW_SHOW );
UpdateWindow((HWND)hWndTaskbar);
}
SHFullScreen(Screen.Window, SHFS_SHOWTASKBAR
| SHFS_SHOWSIPBUTTON
| SHFS_SHOWSTARTICON);
}
/* Free lib... */
}
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: SAPI for Windows Mobile Tag: 96972
how delete mail account
hi, all
I want to delete some mail account programtically.
if I know the mail account GUID I can delete mail account by method
DMProcessConfigXML
however, who create the mail account I can not know.
it means that I can delete by DMProcessConfigXML.
I want to use mail session and search the msgstore.
if the msgstore name match my condition, I delete the msgstore
to fulfill my function.
But I do know how to do it?
Is there any other way to delete mail account?
any suggestion would be appreciated Tag: SAPI for Windows Mobile Tag: 96968
How to Delete a Mail Account programatically
hi, all
I have a email issue.
If I want to delete a mail acccount by GUID,
I do not know the GUID So I can not delete by method DMProcessConfigXML.
So I want by mail session. get msgstore enum,
but I do not knwo how to delete it?
Is there any Other way to delete Mail Account?
Thanks Tag: SAPI for Windows Mobile Tag: 96967
SD Card serial number
Is there a way to get the serial number of SD/CF card that is currently
inserted into the Pocket PC?
I've found it with the desktop using IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER.
But I can't find this in the Pocket PC docs.
thanks in advance,
ed Tag: SAPI for Windows Mobile Tag: 96966
Shutdown, Uninstall and Remove Application from ROM
I am developing an applicaiton that must shutdown another application,
uninstall it and remove it from ROM on the pocket pc, so that I can
reinstall a newer version automagically. I am able to close the form, kill
the process and know how to run the uninstall... however since the
executable is still in the ROM after the first time it was run the uninstall
fails and the install will not overwrite the old executable with the new
one... anyhelp on this would be great...
Regards... Tag: SAPI for Windows Mobile Tag: 96961
Ras Autodial
I have an application where I would like to have a connect
automatically redial when the connection is dropped. I have noticed
on embedded CE that the Internet Options/Connection in the control
panel has an option for an Autodial name. I have looked in the
documentation and can see that there is this Ras Autodial thing that I
can put in the registry. Now I assume that this will cause a dial to
occur when the user opens an internet connection.
Does anyone know if the Connection Manager in Pocket PC supports this?
I think I can set it up so that it dials a connection when a browser
page is open. Is this the Autodial functionality?
Also they mention something about Autodial-compatible dialers. Does
this mean that I might have to write my own dialer?
Thanks.
Gene Chang Tag: SAPI for Windows Mobile Tag: 96956
.dsp to .vcp
Hi -
I have a large VC6 based project - .dsw with 50 .dsp projects. When I
try to open .dsp from VC6 in eVC4, I get the message:
"was generated for Windows desktop development. It can not be used for
Windows CE development." Is anyone aware of a conversion utility for
this?
eVC4 help says:
"To convert a .dsw or .dsp file for use in eMbedded Visual C++, use the
Open command on the File menu to open the file. Choose the file name,
and eMbedded Visual C++ automatically converts the file."
This didn't work for me. Anyone has any experience with conversion?
Thanks. Tag: SAPI for Windows Mobile Tag: 96955
Get free disk space on PPC
Hi,
I simply need to find the amount of free space avalible on a stoarge card.
Can I use "GetDiskFreeSpaceEx"? From my research it looks like this function
might not be support on all devices. I also know I can get the free space
from a call to CeCreateFile and passing in the name of the volume, but MSDN
says that this only works on CE 4.2 and older devices.
So my question is, if I want to find free space on any PPC or smartphone
which is the better function to use?
Thanks,
Matt L Tag: SAPI for Windows Mobile Tag: 96952
Problems with timer on child window
I've a window that start a timer and works ok while not starting a child
window. Then as the main loses the screen focus also loses the "timer
focus".
I think it is not a message problem because I can still receive mouse
messages on the main window, but not sure.
I'm starting on PPC programing and may be a missunderstanding of the
manuals and msdn, but I cannot find a solution.
Any help?.
Thanks
beemer Tag: SAPI for Windows Mobile Tag: 96947
Can I get the CoreDll.dll on my PC?
I have a program that runs on an Desktop PC that is attempting to get the ID
of the connected Pocket PC. The code that I have requires an import of the
CoreDll.dll, but this library does not exist on my Desktop PC. What do I
need to do to get this library on my Desktop PC?
Thank you Tag: SAPI for Windows Mobile Tag: 96944
Is there a cmd.exe (or similar) in CF??
Hi,
I think I need a batch file to handle this problem but PPC2003 does not
understand what a .bat file is.
I need to reload 6 application cab files if the PDA does a cold boot. The
devices are Symbol 8860 and they have a section of non-volatile memory in
which I save my cab files. I can automatically recreate my files after a cold
reboot and I can execute them from the \Application\Startup directory in the
Symbol but they all run at once and they need to be run in specific order. I
was going to put them in a batch file so they would run in the correct
sequence.
Is there any inbuilt scripting facility in PPC2003 that will do the job? Tag: SAPI for Windows Mobile Tag: 96939
To Microsoft: Serious behaviour of PPC 2003 SE password system
Hello,
this post is addressed to microsoft mobile system developers.
I have written a password application using the
system's "redirect" mechanism to link it into the
system, as described on the microsoft pages.
There is a strange behaviour, when many resource
comsuming applications are running
(e.g. Agenda Fusion and Pocket Informant together).
When the device is turned on, then the system's
password screen is starting instead of mine.
Even a "test password cpl" with just a messagebox
coming up is not starting. The systems seems to have
so much "load" that my application start is re-"redirected".
I have also tried "password applications" of other developers
which face the same problem.
Only a soft-reset will get the 3rd party password application
back to work.
This is not a memory problem, as my test device has plenty
of MBs free.
Is this a system bug ?
Kind Regards,
Robert Tag: SAPI for Windows Mobile Tag: 96938
BioAPI
Hello,
I'm thinking of buying a HP IPAQ hx2750. I'm interested in developing using
its fingerpint reader. I know that older devices such as h5450 implemented
the Biometric API (BioAPI) but I don't know if the hx2750 does. I've already
send my question to HP, who told me to ask Microsoft because hx2750 uses
Windows Mobile 2003. I can't find any information in MSDN so I hope someone
has a clue here.
I also hope my post is suitable here.
Thanks
Rafa Llarena Tag: SAPI for Windows Mobile Tag: 96937
install "rotate screen" feature
hi,
my acer n35 does not have the "rotate screen" feature. It has PocketPC
4.20.0.
Is there any way to install this feature?
Because the usb cable is at the bottom of the device, and it's so
stupid, so I have to rotate the device by 180° on my smal desktop. No
cradle available for it... really stupid.
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);} Tag: SAPI for Windows Mobile Tag: 96936
Getting some problems in VisualC# programmin Need help
Sir,
I have got certain part of code whichi i have changed to visual c# from
c++.but it is giving me some problems.i am not able to undersatnd how to
solve it.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ImageList *createILNode(char* filename)
{
ImageList *node=new ImageList();
node->imageIndex = 0;
node->next_replicate=null ;
node->next_subject =null;
return node;
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
public struct ImageList
{
unsafe public char[] filename;
public int imageIndex;
unsafe public ImageList *next_replicate;
unsafe public ImageList *next_subject;
};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
These lines are giving me problem
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ImageList subject ;
subject = header = createILNode(token);
subject.next_subject= createILNode(token);
subject = subject.next_subject;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
the problem i am facing is that the assignment in above part of code is
not working.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1. Cannot Take the address or the size of the variable of managed type
('structure_test.ImageList').
Hope you can provide me some soln to this problem.and please tellme were can
i put my queries rearding C# and visual c# for help and support.
Regards
Naveen Tag: SAPI for Windows Mobile Tag: 96932
How to use directDraw in PocketPC
I write a program in EVC4.0+SP4 with DirectDraw. but when compiling, the
system tell me "unresolved external symbol DirectDrawCreate".
Does anyone know the reason? thanks Tag: SAPI for Windows Mobile Tag: 96926
How to configure Pocket Outlook for full messages?
I'm configuring Pocket Outlook with the Configuration Service Provider
EMAIL2. The following, from the documentation, works:
<wap-provisioningdoc>
<characteristic type="EMAIL2">
<characteristic type="{D671C70B-8EE3-4881-8045-2AEE6F731B55}">
<parm name="SERVICENAME" value="NewPOP"/>
<parm name="SERVICETYPE" value="POP3"/>
<parm name="INSERVER" value="pop"/>
<parm name="OUTSERVER" value="smtp"/>
<parm name="AUTHNAME" value="myuser"/>
<parm name="AUTHSECRET" value="passwordl"/>
<parm name="DOMAIN" value="llan.ll.mit.edu"/>
<parm name="REPLYADDR" value="user@domain.com"/>
<parm name="AUTHREQUIRED" value="0"/>
<parm name="LINGER" value="5"/>
<parm name="NAME" value="Joe User"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
I would like to be able to have that configuration download full messages
instead of just the headers.
I've tried adding <parm name="RETRIEVE" value="4294967295"> and <parm
name="DWNDAY" value="4294967295"> because I saw those when I queried the
Provider after manually changing it.
It does not make a difference. I think there is something else that needs
to change. Can this be done? Thanks in advance for any suggestions.... Tag: SAPI for Windows Mobile Tag: 96922
Serialized io
Hi
I am using evc4.0 for building an app; not using .NET Compactframework.
Is there anyway I can do serialized read/write to a file? I dont know of any
serialization apis other than the serialization support in .NET. In that
context, is it possible to invoke .NET function calls(..aka managed apis)
from my application? If so, please help me with some pointers.
Thanks Tag: SAPI for Windows Mobile Tag: 96921
Context Menu on All Files?
I'm working on an IContextMenu interface for archiving data. I've found
plenty of info on assigning the IContextMenu interface to specific file types
that Windows CE already recognizes, but how can add this interface to any
file type regardless of whether or not Windows CE knows about the type?
thanks in advance,
ed Tag: SAPI for Windows Mobile Tag: 96920
About some questions on PocketPC (CPU Usage,...)
I have some question want to ask (All work on PDA):
Q1.
Have any method to obtain memory size of each process? Because the
GetProcessMemoryInfo doesn't support EVC(eMbedded Visual C++) 4.0.
If have any methods, please tell me how to do it. thanks.
Q2.
How to get CPU Usage of PDA using eVC++ 4.0? I can't find any sample or
discussion on MDSN, can we do it? and have any sample code using c++(in more
complete).thanks for your help.
Q3.
How can we "terminate a module"?? We can use TerminateProcess API to
terminate a Process,but I can't find any API to terminate modules. How can we
do?
There are a lot of questions, but I can't find any solution in last serval
months.
Please help me. Thanks for your help. Tag: SAPI for Windows Mobile Tag: 96912
VS2005 beta 2 Compact Framework 2.0 - visual inheritance
Does this development environment support visual inheritance? I recall in
VS2003 with CF 1.0 there was a workaround, but in VS2005 I do not get the
Inheritance Picker as mentioned in the Help, and when I manually code the
form inheritance I get an error stating that "Base class can not be different
from the base class system.windows.forms.form" when the inherited base class
is a form. Any assistance appreciated.
Thanks
--
Tony Hudson Tag: SAPI for Windows Mobile Tag: 96910
BIOS serial number
does anybody know how to get the BIOS serial number on a pocket PC?, or any
unique number obtained from the hardware which is unique for every pocket PC
and read-only Tag: SAPI for Windows Mobile Tag: 96908
Debug after Power suspend
We are using powermanager to watch the status of the Pocket PC device. We
have a couple bugs that are occuring after the device is suspended and turned
back on. We are finding it hard to debug because as soon as we suspend the
device it looses its connection with visual studio, and when we turn it back
on there is no way to debug it. Is there any way to have visual studio keep
the connection with the device open even thought it is turned off so that we
can better debug our program? Tag: SAPI for Windows Mobile Tag: 96906
Install into Studio Toolbox
Hi,
I just finished development on a control that can be used by developers for
Pocket PC development. I built the control to execute on a device and also
for the Visual Studio designer. Everything works fine.
What I would like to know is how do I install my design control into the
toolbox of Visual Studio with the .MSI that I am building? I am hoping that
I do not have to ask the developer to right click on the toolbox and add it
manually after installation. I was hoping the .MSI would install it for them.
Is this possible? What is the common installation methodology for Pocket PC
controls with Designer support?
Thanks in Advance,
Craig Tag: SAPI for Windows Mobile Tag: 96905
gethostbyaddr
Hello,
maybe someone of you has a tip for me, why the following code does not work.
The gethostbyaddr function can not resolve the hostname by the given IP. The
IP is correct and gethostbyname works, too. But I need gethostbyaddr because
my method has the IP as input parameter.
Thanks
Matthias
// Fill out the server socket's address information.
destination_sin.sin_family = AF_INET;
/u_long destination_IP = inet_addr("192.168.0.101");
// Retrieve the host information corresponding to the host name.
if ((phostent = gethostbyaddr((char*) &destination_IP,
sizeof(destination_IP), AF_INET)) == NULL)
{
wsprintf (szError, TEXT("Unable to get the host name. Error: %d"),
WSAGetLastError ());
MessageBox (NULL, szError, TEXT("Error"), MB_OK);
closesocket (ServerSock);
goto failed;
} Tag: SAPI for Windows Mobile Tag: 96903
how to do Interprocess communication in evc++
Sir,
I have got two exes.that work both on pocket pc , one is being deveoped in
.net 2003 and other has been developed in eVC++4.0.wht i really want to do is
to initate exe which has been developed in .net from my evc++ program.
i want the exe to be seen in my gui, it is bascialy a camera exe. so that
when i initate the camera through my evc++ progam it opens in my gui. and
when it camera opens up the handler should go back to the evc++ program for
further continuation in program.
Can this be done in evc++4.0
regards
naveen Tag: SAPI for Windows Mobile Tag: 96902
interprocess communiation in Evc++
Sir,
I have got two exes.that work both on pocket pc , one is being deveoped in
.net 2003 and other has been developed in eVC++4.0.wht i really want to do is
to initate exe which has been developed in .net from my evc++ program.
i want the exe to be seen in my gui, it is bascialy a camera exe. so that
when i initate the camera through my evc++ progam it opens in my gui. and
when it camera opens up the handler should go back to the evc++ program for
further continuation in program.
Can this be done in evc++4.0
regards
naveen Tag: SAPI for Windows Mobile Tag: 96901
Guys
Does anyone know if SAPI will be available for WM devices ?