Skip to main content

RE: will eVB apps work on Pocket PC 2003 devices?

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [eMbedded Visual Tools] >> eVB Development >> RE: will eVB apps work on Pocket PC 2003 devices? Page: <<   < prev  1 [2] 3 4   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: will eVB apps work on Pocket PC 2003 devices? - 7/17/2003 12:46:13 AM   
Floodguy

 

Posts: 143
Joined: 3/18/2003
From: Japan
Status: offline
Hi,

now what' s happening here! The release of the eVB runtimes was promised for last week, but nothing happened yet! Instead they anounnced the update of .net CF!
Where is this Windows CE stuff going???

(in reply to tjmckiernan)
Post #: 21
RE: will eVB apps work on Pocket PC 2003 devices? - 7/17/2003 7:08:19 AM   
timhebel


Posts: 177
Joined: 4/26/2002
From: DE
Status: offline
I got everything working and BOY does it work! my eVB code is running easily two to three times faster or more!

YAY

_____________________________

Tim Hebel
TSE Digital Productions

(in reply to tjmckiernan)
Post #: 22
RE: will eVB apps work on Pocket PC 2003 devices? - 7/17/2003 9:00:58 AM   
philt

 

Posts: 16
Joined: 6/23/2003
Status: offline
still watiting as well. my job is counting on it.

(in reply to Floodguy)
Post #: 23
RE: will eVB apps work on Pocket PC 2003 devices? - 7/17/2003 10:58:45 AM   
tjmckiernan

 

Posts: 28
Joined: 6/22/2002
From: Rancho Palos Verdes, CA
Status: offline
We' ve also had several users download the MS eVB installer and that' s made our PPC 2000/2002 apps work on their PPC 2003 devices. I don' t know if there' s any speed increase but at least it runs!

But what happened to that fix MS was going to post, to correct the problem where the eVB CAB would not install on certain PPC 2003 devices? Does anyone who had a tech support case open with MS have an update on this?

Thanks!

_____________________________

Terry McKiernan
terry@pinpointtools.com
pinpoint tools
www.pinpointtools.com

(in reply to Floodguy)
Post #: 24
RE: will eVB apps work on Pocket PC 2003 devices? - 7/17/2003 11:04:10 AM   
philt

 

Posts: 16
Joined: 6/23/2003
Status: offline
could you point me to the MS eVB installer? Thanks!

(in reply to Floodguy)
Post #: 25
Latest eVB runtime install for 2003 devices - 7/17/2003 11:12:35 AM   
devbuzz


Posts: 448
Joined: 4/26/2002
From: New Jersey, USA & Cape Town, SA
Status: offline
The latest eVB runtime installer for 2003 devices is available here.

_____________________________

Derek Mitchell
http://www.devbuzz.com
Pocket PC Development

(in reply to tjmckiernan)
Post #: 26
RE: will eVB apps work on Pocket PC 2003 devices? - 7/18/2003 4:12:58 AM   
tc_lemon

 

Posts: 28
Joined: 4/26/2002
Status: offline
the speed of grid load data faster compare with my pocket PC 2002 version IPAQ

(in reply to Floodguy)
Post #: 27
RE: will eVB apps work on Pocket PC 2003 devices? - 7/18/2003 5:18:45 AM   
John99999

 

Posts: 1
Joined: 7/17/2003
Status: offline
Hello all,

I wonder if someone could help me please ...

I have a vb app which runs fine on PocketPC 2002. IE. it always switches to the app in memory if its loaded.

ie. click myapp.vb it loads the vb runtime and works fine. Always runs the instance in memory if its loaded ...

BUT

same code on PocketPC 2003 using vb runtime supplied by ms
always trys to load a new instance of the application.

I can trap this and close the 2nd instance down with;

Dim lret

ImplementState = True
ShutDown = False

lret = CreateMutex(CLng(0), 1, App.title)
If GetLastError() = ERROR_ALREADY_EXISTS Then
ShutDown = True
MsgBox " Already running" , vbOKOnly, App.title
Exit Sub
End If


but I' m unable to switch to the first instance ....

cause I don' t know how !!!!!

Its really frustrating because I have overcome all the other issues due to the 2002/2003 differences..

Any help really appreciated ..

John

(in reply to tjmckiernan)
Post #: 28
RE: will eVB apps work on Pocket PC 2003 devices? - 7/18/2003 3:34:05 PM   
kkeefer

 

Posts: 29
Joined: 4/26/2002
From:
Status: offline
Ok, I have installed the vb runtimes and converted my distributed .cdb files and my app works great on Pocket PC 2003. Now I am having a problem with transferring/converting .mdb files from the desktop to the device using Rapi' s DESKTOPTODEVICE.

Under PPC2002, everything works fine (even under ActiveSync 3.7). With PPC 2003, if the .cdb file already exists on the handheld, I get an error 6/Overflow. Manually deleting the .cdb on the handheld before attempting the transfer works, but I don' t understand why! I am setting the Overwrite parameter to true.

Anyone else having this problem?

Thanks,
Karen Keefer
Pocket Real Estate

(in reply to Floodguy)
Post #: 29
RE: will eVB apps work on Pocket PC 2003 devices? - 7/18/2003 3:49:44 PM   
devbuzz


Posts: 448
Joined: 4/26/2002
From: New Jersey, USA & Cape Town, SA
Status: offline
See this post

_____________________________

Derek Mitchell
http://www.devbuzz.com
Pocket PC Development

(in reply to Floodguy)
Post #: 30
RE: will eVB apps work on Pocket PC 2003 devices? - 7/18/2003 4:29:16 PM   
kkeefer

 

Posts: 29
Joined: 4/26/2002
From:
Status: offline
I already converted my PC2002 cdb' s using the Database Converter for 2003. This seems to be another issue where DESKTOPTODEVICE cannot overwrite a 2003 cdb. I have to delete the cdb first, then do the DESKTOPTODEVICE.

(in reply to Floodguy)
Post #: 31
RE: will eVB apps work on Pocket PC 2003 devices? - 7/18/2003 9:13:10 PM   
EricR

 

Posts: 3
Joined: 7/18/2003
Status: offline
Hello all,

We are having the same problem.

Our configuration:
- Windows XP
- Active Sync 3.7 (version 3.6 previously installed)
- HP iPaq 2215 with Pocket PC 2003

In fact, we are able to recreate the problem simply using the Explore option of ActiveSync.

1. Copy any old .MDB file from your desktop PC to the My Documents folder of your Pocket PC 2003 device

2. Copy the exact same .MDB file from your desktop PC to the Pocket PC 2003 device again

The copy process errors with the message:

" The process cannot access the file because it is being used by another process."


We have tried step 2. right after rebooting WinXP and a soft reset of the iPaq, but the error remains. Also have tried disabling Norton Anti-Virus.

Please post a reply if you are able to overwrite MDB/CDB files on your Pocket PC 2003 device.

Any other thoughts or suggestions are appreciated.

Regards,

EricR

(in reply to kkeefer)
Post #: 32
RE: will eVB apps work on Pocket PC 2003 devices? - 7/19/2003 1:42:56 PM   
philt

 

Posts: 16
Joined: 6/23/2003
Status: offline
got my app working on a Toshiba e355 today. Works like a charm. Thanks to everyone' s posts and esp. to derek.

(in reply to Floodguy)
Post #: 33
RE: will eVB apps work on Pocket PC 2003 devices? - 8/2/2003 10:17:22 PM   
GM Fisher

 

Posts: 23
Joined: 4/26/2002
From: Australia
Status: offline
I have now (I think) successfully updated my program to work properly on new OS, and tested it on a new Machine. In doing so I read a lot of material about new OS, searched forums for solutions etc…. and found that there is very little information out there at the moment.

To get the ball rolling I found the following issues and work arounds for my program when run under PocketPC 2003:-

HTML Control
============
The new OS treats the control as part of a processing thread specific for the Form from which it was created (Hwnd). If called from another Form code will continue executing prior to completion of the rendering of control, or running of script within the control.

This is OK if you are using the control to display text etc, however if you are using it as a ‘Scripting Interface’, then the processing thread will return prior to the script having completed its execution.

Solution - Control needs now to be ‘Form Specific’. That is a child of the Form from which it is to be called, and not a ‘Child’ of a separate Form. Another solution may be to simulate a call back interface using the timer control to check for completion of execution of script.

Multiple Instances of eVB Program running
=========================================
Under the new OS multiple instances of program will run if the user repeatedly selects to run it. To overcome this I recompiled my Launch program, written in evC++, (based upon information obtained elsewhere in DEBUZZ forums) to check if program is already running prior to executing another instance.

example of new evC++ code is as follows:-

#include " stdafx.h"
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
SHELLEXECUTEINFO sei;
TCHAR commnad_line[255];
HWND hWnd;
hWnd = FindWindow(NULL,_T(" MyProgram”));
// Put your vb programs Window Caption in place of MyProgram
if(hWnd == NULL)
{
GetModuleFileName(NULL, commnad_line,sizeof(commnad_line));
LPTSTR path_end = _tcsrchr(commnad_line, TEXT(' \\' ));
if(path_end != NULL)
{
_tcscpy(&path_end[1],TEXT(" MyProgram.vb" ));
// Put your vb filename in place of MyProgram.vb
memset(&sei, 0, sizeof(sei));
sei.cbSize = sizeof(sei);
sei.lpFile = commnad_line;
sei.nShow = nCmdShow;
if(ShellExecuteEx(&sei) != 0)
{
return (0);
}
}
return (1);
}

{
ShowWindow(hWnd,SW_SHOWNORMAL);
SetForegroundWindow(hWnd);
return (0);
}}

CAB Install
===========
I’ve had a number of issues with installation cabs. This is the main one.

The eVB Runtimes for the new OS, CE 4.2, are different from prior versions for CE 3.00. I extracted the required dlls for my needs from the Microsoft released runtime set.

I find it simplest to create the cab installs for new OS individually from other Processor Type cabs. That is create a separate ‘inf’ file for the new OS version.

I found that the following needed to be included in my Pocket PC 2003 version of CAB inf file to ensure correct versions of runtimes installed on different OS versions of PocketPC’s.

;PocketPC 2003 instructions
[Version]
Signature=" $Chicago$"
CESignature=" $Windows CE$"
Provider=" Greg"

[CEStrings]
AppName=" Test Install"
InstallDir=" %CE1%\TestProgram"

[CEDevice]
ProcessorType=2577
PlatformMin=4.0
VersionMin=4.0
VersionMax=4.99
BuildMin=0
BuildMax=0

[SourceDisksNames]
1=,Source1,," [INSTALLDIR]"
2=,Source2,," [WINDOWS]"

[SourceDisksFiles]
" MyEVBProgram.vb" =1
" MyCICONLaunch.exe" =1
" pvbform2.dll" =2
" MSCEPicture.dll" =2
" MSCEFile.dll" =2
" MSCEComDlg.dll" =2
" pvbhost2.dll" =2
" pvbvbs.dll" =2
" pvbload.exe" =2
" pvbdecl.dll" =2
" MSCEImageList.dll" =2
" MSCEMenuBar.dll" =2

[CopyFiles1]
" MyEVBProgram.vb" ,,,0x80000010
" MyIconLaunch.exe" ,,,0x80000010

[CopyFiles2]
" pvbform2.dll" ,,,0x80000010
" MSCEPicture.dll" ,,,0x80000010
" MSCEFile.dll" ,,,0x80000010
" MSCEComDlg.dll" ,,,0x80000010
" pvbhost2.dll" ,,,0x80000010
" pvbvbs.dll" ,,,0x80000010
" pvbload.exe" ,,,0x80000010
" pvbdecl.dll" ,,,0x80000010
" MSCEImageList.dll" ,,,0x80000010
" MSCEMenuBar.dll" ,,,0x80000010

[CEShortcuts1]
" MyEVBSortCut.lnk" ,0," MyIconLaunch.exe"

[DestinationDirs]
CopyFiles1=0," %InstallDir%"
CopyFiles2=0," %CE2%"
CEShortcuts1=0," %CE11%"

[DefaultInstall]
CopyFiles=CopyFiles1,CopyFiles2
CEShortcuts=CEShortcuts1

[AddRegistry]
HKCR," VBCE.ProjectRun\Shell\Open\Command" ," " ,0x00000000," \windows\pvbload.exe %%1"

[DefaultInstall]
CopyFiles=CopyFiles1,CopyFiles2
AddReg=AddRegistry
CESelfRegister=" pvbform2.dll" ," MSCEPicture.dll" ," MSCEFile.dll" ," MSCEComDlg.dll" ," pvbhost2.dll" ," pvbvbs.dll" ," pvbdecl.dll" ," MSCEImageList.dll" ," MSCEMenuBar.dll"

The CAB file for the ARM processor pre-2003 OS had to be amended in regards to processor identification to the following :-

[CEDevice]
ProcessorType=2577
PlatformMin=3.0
VersionMin=3.0
VersionMax=3.0
BuildMin=0
BuildMax=0

This is a long posting, and I’ve covered a number of issues. Hope everyone finds information useful. There are a number of other issues, however I could probably write a book ?


Greg
http://members.optusnet.com.au/~gm_fisher/

(in reply to Floodguy)
Post #: 34
RE: will eVB apps work on Pocket PC 2003 devices? - 8/7/2003 1:46:03 PM   
kkeefer

 

Posts: 29
Joined: 4/26/2002
From:
Status: offline
Greg,

How did you extract the files from Microsofts runtime cab file??
I want to include them in my install, but can' t figure out how to extract them.

Karen

(in reply to Floodguy)
Post #: 35
RE: will eVB apps work on Pocket PC 2003 devices? - 8/8/2003 9:36:24 AM   
GM Fisher

 

Posts: 23
Joined: 4/26/2002
From: Australia
Status: offline
For simple, quick extraction of DLL from cab file, I recommend WinCE CAB Manager available from:

http://www.ocpsoftware.com/products.php?nm=cecabmgr

Trial version will enable you to extract all files required.

Greg

(in reply to Floodguy)
Post #: 36
RE: will eVB apps work on Pocket PC 2003 devices? - 8/27/2003 4:58:13 PM   
bgoergy

 

Posts: 1
Joined: 8/27/2003
Status: offline
Hi together!

I have a problem with my eVB app under PPC 2003. It' s an app which is designed for WLAN. So I use the Winsock control.
Under PPC 2003 (with the newest eVB Runtime of course) a remote connection is successful but the send strings were not received by the server computer. The strings are real strings - I do not send binary data.

Does anybody have an idea?

Thanks

BG

(in reply to Floodguy)
Post #: 37
RE: will eVB apps work on Pocket PC 2003 devices? - 8/27/2003 9:27:43 PM   
timhebel


Posts: 177
Joined: 4/26/2002
From: DE
Status: offline
OK, I am not a C++ programmer.

I am trying to include the suggested C++ file above. As far as I can tell, the following line looks at the caption of the window to determine if the program is already running.

hWnd = FindWindow(NULL,_T(" MyProgram" ));

I use the caption to display the current record number in my database, so my caption changes. I understand that this is frowned upon, but I need the screen real estate. Is there anyway to just grab the left 4 characters and do the test there? I guess a wildcard search like this is what I want. I want to get something like this: PFL *

< Message edited by timhebel -- 8/27/2003 9:28:39 PM >

(in reply to Floodguy)
Post #: 38
RE: will eVB apps work on Pocket PC 2003 devices? - 9/6/2003 1:29:41 AM   
jpmiller

 

Posts: 83
Joined: 4/26/2002
From:
Status: offline
Sorry to bring thsi to the front again, but I am a little confused. Despite comments form last month talking about Microsoft fixing the eVB2003 runtimes, I downloaded them yesterday, and it will not install on my E355. I too wish to configure my app to work on Windows Mobile devices, but am not sure of exactly how to getthe run times I require out of the .cab file so I can include them into my own .cab file.

Thanks for any help.

Jeremy

(in reply to devbuzz)
Post #: 39
RE: will eVB apps work on Pocket PC 2003 devices? - 9/30/2003 5:39:35 AM   
theosgb

 

Posts: 127
Joined: 10/29/2002
Status: offline
Anyone else had problems with the file chooser control? I call this to allow my users to pick WAV files from their device, and it works fine until PPC2003 is installed. Then the filename is not returned to my application. I have a PPC2003 update on order for my Pocket Loox, but no clue as to when it will be made available.

TIA,
Mike.

(in reply to Floodguy)
Post #: 40
Page:   <<   < prev  1 [2] 3 4   next >   >>
All Forums >> [eMbedded Visual Tools] >> eVB Development >> RE: will eVB apps work on Pocket PC 2003 devices? Page: <<   < prev  1 [2] 3 4   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.5.5 Unicode

0.031