eMbedded VC++ 3.0 debugger problem
I have very strange debugger problem with eMbedded VC++ 3.0. At regular
conditions over USB debugger work VERY SLOW. Eventually, it is almost
impossible to debug anything. However, If I use WLAN card with Pocket PC
2002 debugger somehow starts to work over wireless network and it works at
least 10 FASTER then before. Can anyone explain to me why this happens and
if it is possible to make debugger work as fast over USB as over wireless
connection. Tag: WMP Control for PPC 2003 Emulator Tag: 62320
How to Disable Menu Item
I created a menubar with SHCreateMenuBar. I can disable
the whole bar by using SHFindMenuBar and using the
returned handle in a call to EnableWindow( hMenu, FALSE );
What I'd prefer to do is disable particular items. I've
tried using hMenu in EnableMenuItem like this:
EnableMenuItem( hMenu, ID_FILE_XXXX, MF_GRAYED ), but it
doesn't work. I also tried by position:
EnableMenuItem( hMenu, 0, MF_BYPOSITION | MF_GRAYED ),
again with no luck. I would have thought that would have
grayed out something, but everything was still
available. Is it possible to gray out these popup menus?
Thanks,
Don Tag: WMP Control for PPC 2003 Emulator Tag: 62316
Pocket PC 2003 Emulator in a Mobile Web Form Project
In VB .Net 2003 when I choose "browse with",
I get this: "The CE boot image could not be opened. Please
verify the specified path name is valid."
WHAT specified path name? There are Ninety-six million
words on the subject of Pocket PC 2003 at MS and nothing
about this.
Help me please.
JH Tag: WMP Control for PPC 2003 Emulator Tag: 62313
Failure to instantiate ActiveX control
I have a created a minimal ATL ActiveX control through the WCE ATL COM
AppWizard in eVC++ V4 which i wish to instantiate in the PPC browser.
The project compiles without errors and the dll is registered on the
emulator. However, the project does not compile when the
IObjectSafetyImpl is used. The following error occurs;
'IObjectSafetyImpl' : base class undefined
syntax error : missing ',' before '<'
'<'
I have read through the various postings on this newsgroup, the
microsoft article on "Creating ActiveX Controls for Pocket Internet
Explorer on Pocket PC"
and the same article as described in the Pocket PC SDK. I have added
the appropriate ATL implementations to allow for accessing the
properties and methods of the ActiveX control through scripting in
Pocket Internet Explorer and to declare the control as safe for
scripting.
However, the object fails to instantiate using either of the following
approaches when called from within a web page.
<OBJECT
ID="obj1"
CLASSID="clsid:E63D0BB8-0532-430E-B397-39581CBFA368"
WIDTH=100
HEIGHT=100
>
<SCRIPT LANGUAGE="JScript">
function jsVPNConnect()
{
try{
var vpn = new ActiveXObject("AIRBEAM4.Connect");
window.alert("AIRBEAM4.Connect Instantiated");
}
catch(ex){
window.alert("Error instantiating AIRBEAM4.Connect");
}
}
</SCRIPT>
Does anyone know what could be causing this?
The "AXSample" application works fine.
Any help appreciated! Tag: WMP Control for PPC 2003 Emulator Tag: 62312
Hide bottom bar PPC eVB
Hi everybody!
How can I hide bottom bar in a PPC2002?, I am working whit eVB.
Thx. Tag: WMP Control for PPC 2003 Emulator Tag: 62308
Important - CeRunAppAtTime doesn't turn on the device?
Hi,
I tried the function CeRunAppAtTime() but it doesn't wake up the device
under pocketpc 2003. I read that it used to turn on the device under
Pocket pc 2002. But in the doc, it should turn on the device, isn't it?
Is there any other way to turn on my device in a program?
Thanks! Tag: WMP Control for PPC 2003 Emulator Tag: 62306
Help: DataGrid TableStyles
Hi there,
I try to change the width of the datagrid by setting the
table syles and column styles during development. but
when executing there is no effect.
could you please help me. it will be great if you could
post me some sample code. btw, I am binding my datagrid
to a data table.
TQ.
DAvid Chew Tag: WMP Control for PPC 2003 Emulator Tag: 62303
Connecting to a web service
i am trying to call a basic hello world web service from a
smart device application. there is an error saying
An unhandled exception of type 'System.Net.WebException'
occurred in System.Web.Services.dll
Additional information: Unable to connect to the remote
server
it code works fine in all other types of applications like
a windows app, asp .net web app. if anyone knows what the
problem could be
please help me Tag: WMP Control for PPC 2003 Emulator Tag: 62301
how to create Primary Key (ADOCE)?
hello
I have to create the primary key on a table with an SQL statement
I am using ADOCE 3.1 on Pocket Access
how can i do it?
thanks matteo Tag: WMP Control for PPC 2003 Emulator Tag: 62300
Trouble w/ Built-in Functions
I am working on my second project.
I can see all the "built-in" Functions in the Object Browser, but it is
really hit and miss
which ones actually compile & work.
For example,
Left$ does not compile stating $ is an invalid character.
Left is 'object not in collection'
Val - Variable not defined.
Mid works fine...
Any help on how to resolve this would greatly be appreciated.
TIA,
Scott Duncan Tag: WMP Control for PPC 2003 Emulator Tag: 62297
Pascal on PPC?
I'm too old and set in my ways to start VB .NET and all that.... are
there any Pascal-based tools out there for PocketPC development? Tag: WMP Control for PPC 2003 Emulator Tag: 62291
DirectMusic support for PPC2003?
Hello. I just installed the PPC2003 SDK and it is specified that it has
DirectMusic support. Indeed, the header files are there. However, there are
no libraries and I get link errors when I try to compile. Do you know if it
does or does not actually support DirectMusic? or it's just something MS
"forgot" to implement.
Thanks.
Mircea Rila. Tag: WMP Control for PPC 2003 Emulator Tag: 62290
iPAQ 5550 - GetSystemPowerStatusEx2
Hi,
I try to get the values BatteryVoltage and BatteryCurrent but it always
returns 0. Here is my code, did I miss something?
SYSTEM_POWER_STATUS_EX2 pwrstat;
memset(&pwrstat,0,sizeof(SYSTEM_POWER_STATUS_EX2));
if
(!GetSystemPowerStatusEx2(&pwrstat,sizeof(SYSTEM_POWER_STATUS_EX2),TRUE))
{
CTools::ViewLastError();
}
else
{
// extract the power status information
CString out= _T(" --- BATTERY ---\r\n");
CString temp;
temp.Format(_T("\tPercent:\t%d\r\n\tVoltage:\t%dmV\r\n\tDrain:\t%d"),pwrstat.BatteryLifePercent
,pwrstat.BatteryVoltage, pwrstat.BatteryCurrent);
out += temp;
OutputEditBox(out);
}
Thanks,
Marco Tag: WMP Control for PPC 2003 Emulator Tag: 62288
Validation help
I've added a validation code in my ASP.NET page, it runs smoothly in my IE
browser, however, when I run the site in PPC 2003 emulator, the validation
code does not perform and it will redirect to another page although I leave
the field "Day" empty.
<asp:RequiredFieldValidator id="RequiredFieldValidator" runat="server"
Width="100%" ControlToValidate="Day" Display="Static" InitialValue="">
*Please select an option
</asp:RequiredFieldValidator>
Anyone could help me out?
Thanks in advance. Tag: WMP Control for PPC 2003 Emulator Tag: 62286
sync data from PDA
Hi, is there a smart way to syncronize data from Pocked PC to the PC.
I have a program in the Pocked PC, made in C#.Net 2003 and i vant to
create a program on the pc that can read user typed data from my Picked PC
program.
How do i do this smartest, should i use Active Sync to do the job while i is
syncronizing all other things or what to do ?
Thank you very much for the help
Best resgards
Kim Madsen Tag: WMP Control for PPC 2003 Emulator Tag: 62281
Why the ExecuteAssembly cannot work
Dim AppFile As String = "\Program Files\CF_RDA\CF_RDA.exe"
Dim myDomain As AppDomain = AppDomain.CreateDomain("MyApp", Nothing)
Try
myDomain.ExecuteAssembly(AppFile)
Catch ex As System.IO.FileNotFoundException
MessageBox.Show("Cannot execute" + Constants.vbCrLf + AppFile +
Constants.vbCrLf + ex.Message)
End Try
it always show me "Cannot execue" for FileNotFoundException,but the file is
really exists Tag: WMP Control for PPC 2003 Emulator Tag: 62278
Creating and Reading MAPI message in pocket pc 2002
I would like to know how to create MAPI message in pocket pc 2002
and after to be able to read from the message :
Recipient e-mail adress or Recipient name.
I download from Microsoft site the two samples MAPI1,MAPI2.
I successes to open e-mail with PR_CE_MIME_TEXT and with PR_BODY
and create new one with PR_BODY.
I create the message like this: (from Microsoft samples)
//////////////////////////////////////////////////////////////////////////
hr = MAPIAllocateBuffer(sizeof(SPropValue) * 3, (LPVOID FAR
*)&pAddressList->aEntries[nRecipientIndex].rgPropVals);
EXIT_ON_FAILED(hr);
memset(pAddressList->aEntries[nRecipientIndex].rgPropVals, 0,
sizeof(SPropValue) * 3);
pAddressList->aEntries[nRecipientIndex].rgPropVals[0].ulPropTag =
PR_RECIPIENT_TYPE;
pAddressList->aEntries[nRecipientIndex].rgPropVals[0].Value.ul =
MAPI_TO;
pAddressList->aEntries[nRecipientIndex].rgPropVals[1].ulPropTag =
PR_ADDRTYPE;
pAddressList->aEntries[nRecipientIndex].rgPropVals[1].Value.LPSZ =
TEXT("SMTP");
AddressList->aEntries[nRecipientIndex].rgPropVals[2].ulPropTag =
PR_EMAIL_ADDRESS;
pAddressList->aEntries[nRecipientIndex].rgPropVals[2].Value.LPSZ =
pszTo;
pAddressList->aEntries[nRecipientIndex].cValues = 3;
nRecipientIndex++;
pAddressList->cEntries++;
SPropValue prop[4];
memset(prop, 0, sizeof(prop));
prop[0].ulPropTag = PR_MESSAGE_FLAGS;
prop[0].Value.ul = MSGFLAG_FROMME | MSGFLAG_UNSENT;
prop[1].ulPropTag = PR_SUBJECT;
prop[1].Value.LPSZ = const_cast<LPTSTR>(pcszSubject);
hr = m_pMessage->SetProps(2, prop, &lpProblems);
///////////////////////////////////////////////////////////////////////////
And open the message like this: (PR_SENDER_EMAIL_ADDRESS,PR_SUBJECT
...)
m_pMessage->GetProps((LPSPropTagArray)Properties,MAPI_UNICODE,
&ulPropCount, &rPropertyValue);
when I use this function to open the property I get the subject but I
cloud not get the e-mail address or Recipient name (RP...)
Thanks in advance.
Regards,
Gal Tag: WMP Control for PPC 2003 Emulator Tag: 62276
Pocket PC emulator
Hi there,
Could anyone please advise some mature and stable pocket pc emulators for
Linux platform and Winodws?
Thanks in advance.
Regards,
HiNg Tag: WMP Control for PPC 2003 Emulator Tag: 62268
TCP/IP troubleshooting utilities
Hi,
I'm fairly new to Pocket PC development. I'm trying to get
a WM 2003 device working on IPv6.
MSDN lists a bunch of IPv6 utilities such as ipv6 etc, as
part of TCP/IP troubleshooting utilities.
But I don't see those utilities on my iPAQ device. Does
anyone know if those utilities are shipped with the new
iPAQ device or can I download them from somewhere?
Any pointers would be greatly appreciated.
Thanks,
Chen Tag: WMP Control for PPC 2003 Emulator Tag: 62254
ListView Checkboxes in C#
I have a list box in c# with check boxes in Detailed view. The check boxes
work but they are checked and unchecked when a row is selected without
hitting the check box. Is there a way to only set the check if they
specifically check the check box NOT just select a row.
I have set the listview style for check boxes
listView1.CheckBoxes = true;
Is there another style to prevent this from happening?
Scott Tag: WMP Control for PPC 2003 Emulator Tag: 62253
Copying large files from pocket pc to desktop and vice versa
I need to copy a large file from pocket pc to my desktop and vice
versa. I tried using the CeRAPI library, but i get an overflow error. can
any one please tell me what am i doing wrong.
The file is 4.53 MB in size. and this is the code i am using
/////////////////////////////////////////////////
Dim bytBuffer(4605952) As Byte
dim lngFileHandle as long
dim lngBytesRead as long
lngFileHandle = CeCreateFile(Form1.txtPPCfile.Text, GENERIC_READ,
FILE_SHARE_READ, vbNullString, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0)
intRetVal = CeReadFile(lngFileHandle, bytBuffer(0), 4605952,
lngBytesRead, 0)
/////////////////////////////////////////////////////////
when i run the above code, i get an overflow error. Is there a limit
on how big a file can be? Or am i missing anything
thanks
Nirankar Tag: WMP Control for PPC 2003 Emulator Tag: 62246
Set Wireless settings from a program
I'm trying to find out how to set up a wireless device
from a program. I need to set things like the channel,
WEP keys, SSID, and Infrastructure/Ad-hoc mode, and be
able to reset them back as well.
So far I've looked at the CSP's defined in the SDK and I
can run the CMProcessConfigXML, but I don't see the
ability to set all of these things.
I've also looked at the Ndis tools, such as
NdisGetAdapterNames(), which seem that they would allow me
to access these configuration items through the OID's
passed via the NdisRequest. I'm having problems getting
that going though, the embedded C++4.0 doesn't seem to
have access to some of the .h files referenced in the
ndis.h file (lss.h, for one).
Possibly this is available through the Platform Builder,
but that seems like building a device driver and I an
hesitant to go down that path.
Then of course there's the DeviceIoControl and GetFile(),
but these are stream-oriented and don't seem to apply.
I would appreciate any help on getting started.
Thanks
Alan Tag: WMP Control for PPC 2003 Emulator Tag: 62244
Starting out in pocket PC development.
Hi all,
I am just starting out in developing for the pocket PC and wondered if
someone could point me in the right direction.
I'm going the eVC++ route. I'm in the process of learning C++ and then
I need to get into the windows aspects, this is where I get a bit
lost. I believe that I need to get my head around the MFC, but is
there anything else that I should be looking at?.
Can anybody recomend any good books or, prefereably, websites where I
can learn the windows side of the process?.
Thanks in advance.
Jon Tag: WMP Control for PPC 2003 Emulator Tag: 62240
Can't disable button in dialog
I have a dialog box with two buttons: Cancel and Ok,
which use IDs IDCANCEL and IDOK, respectively. I want to
disable the Cancel button under some circumstances, so I
tried the following code:
SendDlgItemMessage(hDlg, IDCANCEL, WM_ENABLE, (WPARAM)
FALSE, (LPARAM)0);
It doesn't appear to do anything. The Cancel button is
still available. I can, however, hide it with the
following code:
ShowWindow(GetDlgItem(hDlg, IDCANCEL), SW_HIDE);
Any ideas why I can't disable it?
Thanks,
Don Tag: WMP Control for PPC 2003 Emulator Tag: 62239
URGENT: CABWIZ and duplicate file names
Hello!
I am trying to use Cabwiz to create a CAB file for a directory structure
such as this:
MyDir\Dir1\myfile.txt
MyDir\Dir2\myfile.txt
How would I specify this in the INF file? How do i differentiate the two
files with the same name in different directories??
I have this:
========================================================
...
[SourceDisksNames]
1 =, "One",,MyDir\Dir1
2 =, "Two",,MyDir\Dir2
[SourceDisksFiles]
myfile.txt = 1
myfile.txt = 2
[DestinationDirs]
OneFiles = 0, %InstallDir%\Dir1
TwoFiles = 0, %InstallDir%\Dir2
[OneFiles]
"myfile.txt"
[TwoFiles]
"myfile.txt"
========================================================
This causes cabwiz to use MyDir\Dir2\myfile.txt as the sole file (which
makes sense, since I essentially overwrote the statement
myfile.txt = 1
with
myfile.txt = 2
But how do I specify files with same names here?? I tried using
"Dir1\myfile.txt" = 1
"Dir2\myfile.txt" = 1
(by changing 1 to the parent directory, MyDir), but this doesn't work
either.
Please help!!!
James Tag: WMP Control for PPC 2003 Emulator Tag: 62234
emBedded Visual Basic - Cannot read table
Using emBedded Visual Basic (3.0) and I'm new to it. I'm trying to
establish a connection to a table...I can read the system tables but I
can't read a table that I create. Any help is appreciated. Tag: WMP Control for PPC 2003 Emulator Tag: 62233
DesktopToDevice overwrite fails
I'm having a problem with my current DesktopToDevice function in Access 2k
because something is different in the OS on the newest Dell Axim's. I do
not have this issue with any other devices.
Our current process works the first time that it is run, and the second time
that it is run the DeviceToDesktop process works normally but, when the
DesktopToDevice function is used to overwrite the previous tables, an error
occurs. Error 2147024864 is not in "List of Errors Returned by
ADOFiltr.dll" but, it indicates a file access rights issue.
Is there a simple way in Access 2k VB to tell what the file attributes are
and how can I overcome this problem?
Thanks, in advance,
RB Tag: WMP Control for PPC 2003 Emulator Tag: 62231
C# convert miliseconds to hours-minutes-seconds
Howdy,
question about C#........
Is there a nice way to convert miliseconds to Hours-minutes-seconds ?
i have made a functie that calculates that but maybe there is a class with a
miliseconds input and hours-minutes-seconds output??
info:
iam working on a timer, i get the miliseconds with Environment.TickCount
by the way, the emulator returns not the real miliseconds when you look at
Environment.TickCount. On the "hardware" pocketpc it works fine!
Greetings
Paul govers Tag: WMP Control for PPC 2003 Emulator Tag: 62228
String Problem!!!!
Hi,I write something to make it put a string to a file and read it out
afterward.But i found when i write in a string : "TestingTextForWrite" to
that file,I can only read the first character of that string,that's "T"
only,may I know how can i modify the code below to read the whole string i
write in that file?
CString Testing1;
CString Testing2 ;
Testing.Format(L"TestingTextForWrite");
//Write File Now
FILE *fp;
if((fp=fopen("\\Windows\\filename.dat","w"))==NULL)
{
MessageBox(L"File IO Error",L"Error");//error when no file found
}
fprintf(fp,"%s",Testing1);
fclose(fp);
//Read File
if((fp=fopen("\\Windows\\filename.dat","r"))=NULL)
{
MessageBox(L"File IO Error",L"Error");//error when no file found
}
fscanf(fp,"%s",Testing2);
fclose(fp);
//MessageBox(Testing2);
SetDlgItemText(IDC_TESTING,Testing2); Tag: WMP Control for PPC 2003 Emulator Tag: 62224
Urgent Help! MenuBar can not be created!
I have been all over looking for the answer to this and need to get it
done as quickly as possible!
I have a Embedded Visual Basic 3.0 program that uses the MenuBar
control. It works great when I run it through the Embedded Visual
Basic environment on my Desktop (I run it on the pocket pc Default
Device mode) but when I install the program after creating a setup I
get the following error:
The control MenuBar ({ODA80E6D-788B-43A4-A443-E35B1FBAD9CC}) could not
be created.
I have used the Control Manager (through the Tools->Remote tools menu)
as suggested in another thread on here and it is already installed. I
uninstalled it through Control Manager and reinstalled since I figured
I would try anything.
What am I missing? This same program worked fine on another Pocket PC
last year. Any suggested are appreciated.
Thanks.
Tim Ludwig Tag: WMP Control for PPC 2003 Emulator Tag: 62221
Migration from XP to pocketPC 2003
.
I would like to use pocket PC 2003 in order to get support
for VOIP
My questions are:
1. Does WINSOCK have the same functionality as "winrtp" ?
Does it implement RTP?
Can I use proprietary signaling on top of it?
2. This project also involves the using of Microsoft
outlook tools We are writing forms and their code in VB
script . We are also interfacing with External DLLs
(Microsoft dlls
and proprietary DLLs) from the outlook. We are handling
incoming message with VBA code and macros.
Could you please let me know if we can use our
VBAproject.OTM file for the VBA . Will the VB scripts work
on pOCKET PC 2003? Or should we re-write our
code. Are there any restrictions in developing on top of
POCKET pc 2003
outlook comparing to developing on windows XP outlook.
3. Is there a support for ADO ?
Thanks,
Maya Tag: WMP Control for PPC 2003 Emulator Tag: 62216
DNS issue
Hello all,
I'm able to authenticate and connect to some ISP using my client.
However I'm unable to browse any sites.
I get the "Page Cannot Be Found" Message.
If I give the IP address of the site I'm able to reach it.
It seems to be some DNS issue.
Could some one help me out.
Thank you,
Avinash Tag: WMP Control for PPC 2003 Emulator Tag: 62215
HTML Viewer Control Stop
Hi,
How I can obtain the stop behavior of IE in HTML control after the messages
DTM_NAVIGATE have send? When the control is loading a big page or a page
that contain a big image there could be a problem if another DTM_NAVIGATE
message before page is loaded or just setting html text with DTM_ADDTEXTW,
etc. So I would like to instruct the control to stop (cancel) all previous
process in order to start another navigate session or setting new text.
Thanks,
Idael Tag: WMP Control for PPC 2003 Emulator Tag: 62202
ToolBar button question
Hi,
is it possible to programatically change toolbars button's bitmap to
bitmap from resources.
I've tried this but it doesn't work:
((CMainFrame*)AfxGetMainWnd())->m_wndCommandBar.SetButtonInfo(10,
ID_STOP, TBBS_BUTTON, IDB_STOP);
m_wndCommandBar - CCeCommandBar
10 - zero-based index of button on the toolbar. (I counted all buttons
including the separators)
ID_STOP - new command ID
IDB_STOP - resource bitmap ID
--
----------------------------------
Milan Reznicek
Software Developer
e-mail: reznicekm@gytool.cz Tag: WMP Control for PPC 2003 Emulator Tag: 62198
Bluetooth Ports on Pocket PC 2003
Hi,
We have an application written for Pocket PC 2002 and it communicates with a
device using Bluetooth over COM8. Now our application does not work on the
new Pocket PC 2003. I have heard that HP has decided to discontinue using
the virtual COM ports for Bluetooth. Is this true ?
Any ideas or links where I can get more info regarding this ?
TIA
Regards
Suyog Tag: WMP Control for PPC 2003 Emulator Tag: 62195
Required steps for Pocket PC -> Bluetooth -> GPRS phone
Hi!
I'm about to start working on a project where a Pocket PC
with Bluetooth should be able to send and receive data
via a GPRS phone. I'm very experienced with the Win32
API, but the communication over air is not my speciality
(yet...), so I basically wonder what are the necessary
steps I must perform to make this work?
- Can/must I use sockets, lower level constructs or even
higher?
- How much in the process is "automatic", i.e., do I need
to manually fiddle with GPRS or Bluetooth settings when I
want to send something or will those parts "just work"?
- Is there a super duper web page explaining this in
detail (yeah, right...)?
- Do someone have a working example that can give me some
inspiration?
Thanks for any input on this matter! Tag: WMP Control for PPC 2003 Emulator Tag: 62192
Sql statements error
Hi im developing an application in evb and im having problems accessing the
database. everytime i try to send a sql query to the database that contains
fields from more than two tables i got an error saying that there is some
errors in the statement. This query string i have try it against an access
database in my pc and it works but when i try it in the pda against a cdb i
got errors.
I try this two statements and both got errors in the pda:
stringSql = "SELECT agente,razon " & _
"from pragente " & _
"INNER JOIN prtermin " & _
"ON pragente.agente=prtermin.agente"
and
stringSql = "Select pragente.agente,prtermin.agente from
pragente,prtermin where prtermin.agente = pragente.agente"
also i want some advice in the design of my application i have a function
that queries the db that has this statement
recordsetBD.Open stringSql, conexion, adOpenKeyset, adLockOptimistic
the recordsetbd is a global variable and i have to close it after read it,
is there any way to do it in a better way?, for the inserts i do an execute
command of the connection variable.
Thanks, i really apreciate your help.
Julio Villalba
MCP-CCNA-CLS Tag: WMP Control for PPC 2003 Emulator Tag: 62188
DLL error
Hi all,
I am currently facing problems with my program that uses
the ADOCE 3.1 control. After performing queries repeatedly
for some times, I get such errors:
1.) "An error was encountered while running this program"
ADOCE Resourc.dll "\windows\msdearEN.dll" is not installed
on this device.
2.) "ADOCE object could not be created"
I have noticed that the ADOCE object consumes lots of
memory and currently I using the solution from ODYSSEY
software called OSI util to handle this. It looks like the
memory leak might be the cuase of this problem, where the
leak until certain stage, other DLL are not able to be
loaded.
Any advice or solutions ?
Rgds,
Fong
. Tag: WMP Control for PPC 2003 Emulator Tag: 62186
Can't find registry entry to register my cePimCommand dll
Hello,
I want to create an add-in to the pocket outlook 'calendar'
application. So i create a dll which is exporting my cePimCommand
method. I am using Windows CE 3.0(not pocket pc 2002) compaq iPaq
pocket pc.
MYCEDLL_API void CePimCommand(HWND hWnd, PIMTYPE ptData, UINT
uDataCount, HANDLE *rghData, void *pReserved)
I also created a .def file. here is my definition file content
LIBRARY MyCEDll
EXPORTS
DllMain
CePimCommand @1
When i register this dll manually on the pocket pc i am getting
'mydll.dll was loaded but the DllRegisterServer entry point was not
found'. What does this mean? I have my DllMain function in my dll.
what am i missing?
As per the the documentation we have to create an entry in the
registry in the following key.
Software\Microsoft\PimApps\PimExtensions\pim_app\AddIns
All i have is a 'Pim' key under HKLM\software\Microsoft. but i couldnt
find the pimapps\pimextensions... key. So i created all the keys
starting from 'PimApps' under Microsoft key like this.
Software\Microsoft\PimApps\PimExtensions\Calender\AddIns\MyComp
DLL: mydll.dll
Menu: "MyMenu"
But i can not see any menu item added in the Tools menu of my
'Calender' application.
Please help me as i have to do it urgently.
Thanks and Regards,
Rajasekhar Tag: WMP Control for PPC 2003 Emulator Tag: 62184
visibility
I'm trying to create (what I think is) a simple webpage to display on
the PcoketPC 2003. I've included the code I thought would work (and
it does on my desktop computer), but it doesn't on PcoketPC 2003
emulator (I don't have real hardware to test on). Can anyone lend a
hand?
Thanks
<html>
<head>
<title>Control HTML Layer Visibility</title>
<script language=jscript>
function toggleMe(layerName)
{ if (document.all[layerName].style.visibility == 'visible')
{ document.all[layerName].style.visibility='hidden';
window.alert('hiding');
}
else
{ document.all[layerName].style.visibility='visible';
window.alert('showing');
}
}
</script>
<style type="text/css">
#menu {position:absolute;
left:10px;
top:35px;
width:150px;
height:150px;
visibility:visible;
border:1px solid #ff0000;
}
</style>
</head>
<body>
<a href="#" onclick="toggleMe('menu')">Display Layer</a>
<div id="menu" onclick="toggleMe('menu')">My Layer</div>
</body>
</html> Tag: WMP Control for PPC 2003 Emulator Tag: 62183
launch emulator with saved state from command line?
Hi,
I'd like to be able to launch the emulator from the command line but I
also don't want to have to set my pIE connection to use the proxy server
every time, so I'd like to be able to launch from the command line and
use my saved emulator state.
I see that emulator state is saved in .vsv files, and that I can launch
the emulator from the command line like this:
start "" "C:\Program Files\Windows CE
Tools\Common\Platman\bin\PBEmulator.exe" /MemorySize 64 /Fastbackground
/Skin "C:\Program Files\Windows CE Tools\wce420\POCKET PC
2003\Emulation\pocket_pc_emulator_skin.xml" /CEImage "C:\Program
Files\Windows CE Tools\wce420\POCKET PC 2003\Emulation\PPC_2003_WWE.bin"
/VMName "POCKET PC 2003 - POCKET PC 2003 Emulator" /HostKey 165
but does anyone know how I can use the .vsv file from the command line?
Thanks,
Gabrielle Tag: WMP Control for PPC 2003 Emulator Tag: 62179
PocketPC devices die while debugging !
I have killed three Pocket PC while debugging a C++ application. They are
all HP iPAQ H5450.
I was stepping through some code using MS Embedded Visual C++ when the
debugger crashed and the device hung. After removing the device from cradle
and reset, two of them would only display the splash screen but Windows CE
would not start. I then tried hardware reset, it doesn't help either. The
third one just won't connect to my PC anymore. I sent all of them back to HP
for repaired. Somehow they fixed the problem without replacing the units.
But I am starting to get nervous about debugging.
Is this a eVC++ problem or iPAQ problem? Anything I need to be careful about
while debugging?
Thanks
Weiyang Tag: WMP Control for PPC 2003 Emulator Tag: 62178
Anyone successful in installing two cab files with one install program?
My program is written in eVB and I currently have setup two installations.
One for my program and one for the eVB required files. I would like to
combine these into one installation.
I tried changing the setup to install two cab files, but it only will
install one.
Any ideas?
Thanks in Advance
Lorne Steiner Tag: WMP Control for PPC 2003 Emulator Tag: 62176
Displaying Dialog from DLL
When I attempt to display a Dialog box from a DLL, CDialog::DoModal cannot
find the dialog resource. I suspect that the resource is being looked for in
the EXE file and not the dll file. Can anyone tell me how I can pont the S/W
to the correct resource using CDialog? Tag: WMP Control for PPC 2003 Emulator Tag: 62174
Writing Custom SIP
I am writing my own SIP and cannot get the UserOptionsDlg
to work. Even the sample in "Programming Microsoft Windows
CE" does not work. Everything else works. Can anyone point
me at a working example of UserOptionsDlg?
Thanks Tag: WMP Control for PPC 2003 Emulator Tag: 62172
Memory leak tools...
What are people using these days to detect and fix memory leaks in Pocket PC
200x type development?
I have an eval version of the Entrek Toolbox and want to know if others have
used and what the feedback is. If not using Entrek, what are you using that
you can recommend?
Thanks in advance, Roupen N.
--- Tag: WMP Control for PPC 2003 Emulator Tag: 62170
CEAppMgr
I need to install CAB files to my PocketPC device, however
I'm aiming at minimal user intervention during the
installation process.
Is it possible to call CEAppMgr so that it uses the
default installation directory and doesn't display any
dialogs (such as "Retrieving Device Data")?
The following article:
http://www.pocketpcdn.com/articles/setupdll.html
mentions "displaying an installation wizard" as one of
custom actions during installation. It gives step by step
instructions on creating setup.dll, but how do I tell
CEAppMgr not to display the installation wizard?
I would appreciate your help. Thank you. Tag: WMP Control for PPC 2003 Emulator Tag: 62168
OLE DB Provider for ODBC on Pocket PC.
Hi All,
I am using an Oracle Lite database on a pocket PC for my
application. While I would like to use ADOCE to develop my app, Oracle
Lite does not provide an OLE DB provider for their pocket PC version.
I have read about the Microsoft OLE DB provider for ODBC data sources
using which an application can use ADO even with databases that do not
ship with an OLE DB provider by ridin on top of the MS ODE DB
provider.
I was wondering whether Microsoft has a similar OLE DB provider for
the pocket PC. If they do, then I could use ADOCE->MS OLEDB
Provider->ODBC->Olite just like I could on a win32 machine.
I'd really appreciate any pointers.
Thanks
Rohit Tag: WMP Control for PPC 2003 Emulator Tag: 62164
Joypad
I would like to use embeddet joypad of Ipaq 3XXX in a Evb application on
Pocketpc 2002.
Is it possible ? I found some information about Registerkey Api, but I am
not able to use it in Evb
Thanks Tag: WMP Control for PPC 2003 Emulator Tag: 62161
Hello,
Is there any version of the Windows Media Player Control
for PIE available for the PPC2003 emulator?