Search found 12 matches

by ChrisMillard
Tue Mar 04, 2014 2:42 pm
Forum: FiveWin for Pocket PC
Topic: CASIO PrinterLib.lib
Replies: 1
Views: 1927

CASIO PrinterLib.lib

Hello

I have been asked to get my WindowsMobile application running on a CASIO IT-9000. The program runs OK and done the work to cope with a much higher screen resolution.

However the main reason for using this new hardware is it has a built in printer. We are used to using the COM port to send ...
by ChrisMillard
Wed Jan 13, 2010 8:40 pm
Forum: FiveWin for Pocket PC
Topic: Change Color of Say
Replies: 2
Views: 910

Re: Change Color of Say

Well how strange, I am sure I tried it first.

Many thanks for making me go back and try it again, I have spent quite some time trying to figure how to do something that should have been simple, to now find it was simple all the time. lol :D

Happy New Year

Chris Millard
by ChrisMillard
Wed Jan 13, 2010 2:45 pm
Forum: FiveWin for Pocket PC
Topic: Change Color of Say
Replies: 2
Views: 910

Change Color of Say

I build my Windows at runtime, i.e. I don't use resources. I have a windows with a number of SAY objects, for example:
@ nTop, nLeft SAY oSay PROMPT "Prompt" SIZE nClientWidth, nFontHeight FONT oFont BORDER PIXEL CENTER COLOR CLR_BLACK, CLR_WHITE UPDATE

I already use oSay:SetText("Something ...
by ChrisMillard
Fri Feb 13, 2009 11:22 am
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 10065

Re: GetNetCardID()

Yes the function correctly returns a two element array with the MAC address of the Ethernet adapter and of the Bluetooth adapter.

My device is a TouchStar Technologies, TouchPC Falcon runing Win CE 5.0
by ChrisMillard
Fri Feb 13, 2009 9:08 am
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 10065

Re: GetNetCardID()

Got an unresolved external:

CEFUNC.obj : error LNK2019: unresolved external symbol "char * __cdecl WideToAns
i(unsigned short *)" (?WideToAnsi@@YAPADPAG@Z) referenced in function "void __cd
ecl GetMACaddress(void)" (?GetMACaddress@@YAXXZ)

I have seen this before and figured out that placing extern ...
by ChrisMillard
Fri Feb 13, 2009 12:36 am
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 10065

Re: GetNetCardID()

Thankyou for the quick response, I have had a go this evening but get the following errors when compiling

p:\vce\include\arm\mprapi.h(120) : warning C4068: unknown pragma
p:\vce\include\arm\mprapi.h(1746) : warning C4068: unknown pragma

CEFUNC.prg(1100) : error C2664: 'wsprintfW' : cannot convert ...
by ChrisMillard
Thu Feb 12, 2009 1:08 pm
Forum: FiveWin for Pocket PC
Topic: GetNetCardID()
Replies: 13
Views: 10065

GetNetCardID()

I have seen references to this function in the FiveWin forum. But I get an unresolved external with FWPPC.

Am I missing something or is this function not available.

Is there a simple way to get the MAC Address, or will I have to attempt to write a wrapper for SendARP in C. My C skills are limited ...
by ChrisMillard
Mon Aug 04, 2008 2:02 pm
Forum: FiveWin for Pocket PC
Topic: How to replace aborted exe ?
Replies: 7
Views: 2148

I think I have the same problem.

My application has multiple MODAL forms, once an error occurs past the first (main) form the application does not free itself from memory.

My platform is a Windows CE 5.0 device and does not seem to have a Task Manager, so I have to soft reset the device ...
by ChrisMillard
Fri Jul 18, 2008 9:08 am
Forum: FiveWin for Pocket PC
Topic: Signatures
Replies: 32
Views: 11793

Monochrome bitmap

Thankyou Richard and Bill this code works very well.

The resulting BMP is 256 colours. I have a printer attached to my device and a DLL that will except the following.

PrintGraphic("MYSIG.BMP")

But you guessed it will only work if the BMP is 2 colours. Does anyone have a technique for ...
by ChrisMillard
Sun Jul 13, 2008 12:14 pm
Forum: FiveWin for Pocket PC
Topic: Landscape() not working on my WinCE 5.0 Device
Replies: 5
Views: 1622

How embarrassing, its always obvious when pointed out.

What makes my shame worse is I had an idea the compiler was reporting a different line number to my editor (Multi Edit 8.0), I also had removed the hb_parnl addition and tried a constant but still left in the offending bracket, when testing ...
by ChrisMillard
Thu Jul 10, 2008 12:23 pm
Forum: FiveWin for Pocket PC
Topic: Landscape() not working on my WinCE 5.0 Device
Replies: 5
Views: 1622

Thanks for the quick response, I had seen references to ChangeDisplaySettingsEx but was unsure how to implement it.

Here is my attempt to get an Orientation function working.

#include "FWCE.ch"

#DEFINE DMDO_0 0
#DEFINE DMDO_90 1
#DEFINE DMDO_180 2
#DEFINE DMDO_270 4

function Main ...
by ChrisMillard
Wed Jul 09, 2008 11:31 pm
Forum: FiveWin for Pocket PC
Topic: Landscape() not working on my WinCE 5.0 Device
Replies: 5
Views: 1622

Landscape() not working on my WinCE 5.0 Device

Hi

Landscape() makes the standard Portrait screen inverted i.e. it turns 180 degrees.

Portrait() turns the screen 270 degrees. I then have no way to return it to 0 degrees.

This happens with the sample landscap.prg once CE functions added.

What I am actually after is a 90 degree turn ...