Hi, I am trying to open the USB port with the SrmExtOpen() function but i not that to
put in the parameter
drvrDataP in the SrmOpenConfigType struct; i work with a Zire 31.
I found examples with Bluetooth but not work with the USB:
Err err;
SrmOpenConfigType config;
thanks, but I not pass 0, the code is:
//Function search string in description of DB (internal, not GlobalFind )
FilterStock(char * SearchString)
{
char
theSearcht[16]={'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'};
int i=0, j=0;
UInt32 posP;
UInt16
Sorry, but in the last mail forget comment a line:
//Function search string in description of DB (internal, not GlobalFind )
FilterStock(char * SearchString)
{
...
// FrmCustomAlert(Message, Comparing 0, theProduct, SearchString); // differ, ok?
...
}
--
For information on using the Palm
Hello
I want to find one substring in other, i use TxtFindString, but before i use
TxtGluePrepFindString to set the
search, the 2 string are same but inSource not are the same address as inSource.
When i run with the emulator say this:
Filtra (1.0) called SysFatalAlert with the message:
With:
ControlType * clista=GetObjectPtr(OrderList);
CtlSetUsable(clista, true);
Work fine
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: Roberto Pedrozo Mendes [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wed, 23 Jun 2004
Hi all
I have the follow code
case ctlSelectEvent:
switch(event-data.ctlSelect.controlID)
{
case OkButton:
FrmPopupForm(Form_Browser);
/*
this section code, wait for the FrmReturnToForm from
I have a multi segmented application and I am working with the
libScanMrg.a library of scanner, and my Makefile contents:
#AdmnDI.prc: AdmnDI AdmnDI.def grc.stamp bin.stamp
AdmnDI.prc: AdmnDI AdmnDI.def bin.stamp
build-prc AdmnDI.def AdmnDI *.bin
bin.stamp: AdmnDI.rcp;
pilrc -q $^
Hi,
Can I put only in the frmOpenEvent the command ScanCmdStartDecode() of the ScanMgr.h
library??!
'cause i don't want press any button for scan.
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
I read the post about the exit the program, and Roger Stringer say what change the
Creator ID of Buttons but i dont know
how do it.
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
and silkscreen buttons?
rguevara a écrit :
I read the post about the exit the program, and Roger Stringer say what change the
Creator ID of Buttons but i dont
know
how do it.
Use PrefSetPreference( buttonID, appCreatorID );
where buttonID can be:
prefHard1CharAppCreator
I have the possibility of knowing in that registry I am within a
comparison function (As DmFCompare function in the QuickSort)?
And how work the uniqueID attribute in the SortRecordInfoPtr struct ?
Thanks.
--
Open WebMail Project (http://openwebmail.org)
img name=firma src=firma.bmp
--
For
Hi, i capture the key events in the follow forms, in the event loop:
extern void EventLoop(void)
{
EventType event;
UInt16 error;
do
{
EvtGetEvent(event, 20);
if((event.eType==keyDownEvent)
(
(FrmGetFormId(FrmGetActiveForm())== Form_About) ||
I find in the posts the follow code:
err= MemMove (listAttr, (pList-attr), attrSize);
listAttr.hasScrollBar = 0;
err= MemMove ((pList-attr), listAttr, attrSize);
but not say where put !. Also i have the List.h whit the follow line uncomment:
#ifdef ALLOW_ACCESS_TO_INTERNALS_OF_LISTS
but, when
The penMoveEvent work over the object list ? , in my program only work when move
outside the list.
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
when change a field, and changes his size. when recording it the
neighboring registries do not change their position?
/--rec1--rec2--rec3---/
Modify the record 2, and change his size, it does this?
/-rec1--rec2-rec3-/
I use, DmGetRecord, and
A little question, is obligatory the declaration of static of the handlers functions?
(like the static Boolean SomeFunctionHandler())
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Hello again, I have a new problem, after fighting 3 days treating to
segment my application, finally I could compliar without
errors, but still not where horns go each function (in which section),
according to page of the PRCtools, the Pilotmain and the functions that
calls directly must go in
Hi, i have one H-file with the prototypes of ALL functions with this sections:
#define ADM_SECTION __attribute__ ((section (adm))) //Forms a handlers
#define FUN_SECTION __attribute__ ((section (fun))) //Miscellaneus Functions
#define DBS_SECTION __attribute__ ((section (dbs)))
Sorry, but here is Makefile:
VERSION = 1.0
APP = AdmnDI
ICONTEXT= M.C.A.
APPID = DCm1
RCP = $(APP).rcp
PRC = $(APP).prc
GRC = $(APP).grc
DEF = $(APP).def
SRC = $(APP).c func.c
SECTIONS=
I have modified the makefile as she follows:
CC = m68k-palmos-gcc
AS = m68k-palmos-as
CFLAGS = -O2 -g
LDFLAGS = -g
all: AdmnDI.prc
bin.stamp: AdmnDI.rcp;
pilrc $^ $(BINDIR)
touch $@
AdmnDI.prc: AdmnDI grc.stamp AdmnDI.def bin.stamp
build-prc AdmnDI.prc M.C.A. DCm1 AdmnDI.def *.grc
A little question: the C of PalmOS support the referencing of variables ?
I have the follow code in C++:
template class T void quicksortr( T v, long izq, long der)
{
long i, j, piv;
if (der izq)
{ piv = v[((izq+der)/2)+1].clave;
i = izq-1;
j = der+1;
for(;;)
{
I use but inefficient way, with a array of boolean associated to data list
(Marked[n]), i capture where tap in the list
(X range) for 'column definition', 'draw' a checkbox in the wished place of line and
active the array item.
--
Open WebMail Project (http://openwebmail.org)
--
Hi, i have a list object, i draw cells in it, but i call this function only when the
list is selected or any data changed, i set this
function after the LstDrawList call, but i don't know what event call when tap in the
list arrows. When i tap in the arrow the list is
scrolled but not are
Hi, to all
I have a little form, and want to position it over each line of a list when is tapped,
and don't know how do
Any idea?
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Thanks, i solved with FrmGetWindowHandle() and WinSetBounds() and work.
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: Aaron Ardiri [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Thu, 16 Oct 2003 15:26:37 +0200
Subject: Re:
Hi to all.
I see what very much people ask about Tables, and i create a group about Tables in
http://groups.yahoo.com/group/tables-dev-forum/
any question about tables wold received.
Thanks, and sorry for the spam
--
Open WebMail Project (http://openwebmail.org)
--
For information on using
What is the utitlity of TableID in a Table?. I can fill it with any value ?
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi, i have a problem with tables:
i copy the example code of PALMOS Bible book, about tables (chapter 11), in my
program, but don't work with the textTableItem, but the others field work right!
¿?
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer
Hi all,
i want write a conduit in Linux; exist one Conduit Builder for linux, or other?
I search and dont found nothing.
Help
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Hi, I have one database, when i attached this database with MultiMail, i see
with Rsrcedit what field appInfoID contains anybody values, and attaching with
the Snapper mail, this values is right, the DmDatabase/DmSetDatase functions
desrefering this values?
--
Open WebMail Project
Hi, i have one problem.
When i change the name of DB for other, whith DmDatabaseInfo/DmSetDatabaseInfo.
i loss the pointers associated to Database?
(i write the database appinfo block and set it).
I think what do. Because the converter to csv read the offset of appinfo with
ridicules values.
I
Hi, i have one Label and want change thus label, with:
FormType * form=FrmGetActiveForm();
UInt16 index=FrmGetObjectIndex(form,OrdenDescLabel);
ControlType *ctl=GetObjectPtr(OrdenDescLabel);
MemHandle recH=DmQueryRecord(PedidosDB,filtvec[posinvec+1].start+gposinord );
FrmHideObject(form, index);
Hi, i have four open databases and want write in the last position of one.
I don't know if dmMaxRecordIndex work...
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
again.
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: José dos Santos Machado [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tue, 19 Aug 2003 17:29:24 -0300
Subject: Re: dmMaxRecordIndex
rguevara escreveu:
Hi, i have four
exist the pdb2csv in the palm-db-tools-0.1.2 , i can convert csv to pdb, but
even not can convert correctly pdb to csv , always display this message:
./pdb2csv: unable to determine database type
somebody know the cause?
influence much the .inf file?
sorry for my bad english...
--
Open WebMail
Hi, use Char nameP[8]=['\0','\0','\0','\0','\0','\0','\0','\0'];
and close all forms in the stop application routine with FrmCloseAllForms(),
generally make the leaks.
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: David Martin [EMAIL PROTECTED]
To:
Hello!
here a new problem:
Err GrabaNuevoItem(void) //Record a new item in the actual record
{
UInt16 NuevoIndice;
MemHandle registroH;
Err error=0;
OrderReg item; //It's similar to 'Sales' example struct
NuevoIndice=gNumOrden-1;
registroH = DmGetRecord(PedidosDB, NuevoIndice);
I have one popup list, what i draw with my draw function, this display items of
one database (the index it's right) and when i popped the trigger display the
message of read of Low memory.
I can fill the popuplist dinamically?
--
Open WebMail Project (http://openwebmail.org)
--
For information
Hi all, i need know the name field of the record in a PDB file for convert a PDB
to CSV file (i need for the INF file). Exist one application like par for show
this name fields?
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to
at the start of function.
e.g:
Err GrabaNuevoItem(void)
{
Int16 length;
...
}
Best regards!
Sean Yang
Aug.11.2003
rguevara [EMAIL PROTECTED] news:[EMAIL PROTECTED]
Hello!
here a new problem:
Err GrabaNuevoItem(void) //Record a new item in the actual record
of fileds anyway. It stores the records as raw data. It
is the programmer who has to interprete those raw bytes and work
with.
-Viren
--- In [EMAIL PROTECTED], rguevara [EMAIL PROTECTED]
wrote:
Hi all, i need know the name field of the record in a PDB file for
convert a PDB
to CSV file (i need
write 'Het1' with the simple quotes
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wed, 6 Aug 2003 09:57:16 -0700
Subject: Re: Soft Reset Application Launch
hi,
with regards to
Thanks, i found the dump-db utility, work rigth with PDB files created by the
other utility but even crash with the PDB created in the PALM,i think what the
error found in the creation of the PDB, when i write some registers the size is:
typedef struct {
unsigned long norden;
]
Sent: Fri, 08 Aug 2003 12:51:43 -0400
Subject: Re: MemHandleSize - MemHandleResize
On Fri, 8 Aug 2003 10:35:28 -0300, rguevara [EMAIL PROTECTED]
wrote:
I have some questions about those functions:
MemHandleSize work over one chunk unlocked?
Documentation is silent on locked vs unlocked
-- Forwarded Message ---
From: rguevara [EMAIL PROTECTED]
To: Forum PALM (PalmOS) [EMAIL PROTECTED],Forum PALM
(Yahoo) http://groups.yahoo.com/group/palm-dev-forum/post
Sent: Fri, 8 Aug 2003 10:35:28 -0300
Subject: MemHandleSize - MemHandleResize
I have some questions about those
I have some questions about those functions:
MemHandleSize work over one chunk unlocked?
if i do: recordH = DmGetRecord(PedidosDB, NuevoIndice);
and later:
length=(MemHandleSize(registroH)
+StrLen(item.items[gcantitems-1].codigo)+1
more clean:
i can resize one handle what was assignaded with DmGetRecord() ?
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Here one example
case keyDownEvent:
if(event-data.keyDown.chr == pageDownChr)
{
ListType *pList;
pList = (ListType*) GetObjectPtr(MainClienteList);
LstScrollList(pList,1 ,4); //Here scroll 4 items up, change 1
I want launch the MultiMail III Pro and compose a new mail, i launch as:
LocalID dbID=DmFindDatabase(0,MultiMailPROIII);
SysUIAppSwitch(0 , dbID, sysAppLaunchCmdNormalLaunch, NULL);
the application start correctly but i dont know if this program or others
accepts arguments for the launching.
I want launch the MultiMail III Pro and compose a new mail automatically; i
launch as:
LocalID dbID=DmFindDatabase(0,MultiMailPROIII);
SysUIAppSwitch(0 , dbID, sysAppLaunchCmdNormalLaunch, NULL);
the application start correctly but i dont know if this program or others
accepts arguments for
I don't know the event received from one poped form to form launcher, i need
update one field from Form_main, with the string selected from the popup form, i
don't know what event receive the main form, (frmLoadEvent, frmOpenEvent and
FrmUpdate Event don't work).
Please help me!
--
Open WebMail
update one form from popuped form
On Fri, 2003-08-01 at 14:13, rguevara wrote:
I don't know the event received from one poped form to form launcher, i need
update one field from Form_main, with the string selected from the popup form, i
don't know what event receive the main form
Don't can attach files?
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: David Thacker [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Fri, 1 Aug 2003 08:02:56 -0600
Subject: Re: Implementing the mailto url scheme in my application
Hi, I have the follow message at convert a Pdb to csv file
./pdb2csv: unable to determine database type
I use this IFO file:
-t CLientesDB
-f cod,string
-f nom,string
-f sal,string
and execute with:
./pdb2csv clientes.pdb clientes.csv cli.ifo
Please help me.
--
Open WebMail Project
Hi, I want do some like
download a mail and install automatically the Pdb's attached to him.
I suposse what is the command SysAppLaunch(...)
#define AppLaunchWithCommand(appCreator, appCmd, appCmdParams)
{
//Code for initialization
DmGetNextDataBaseByTypeCreator(true, searchState,
Hi,
i have a table as:
code numberItemList Quantity \
|
10 rows
|
/
and set columns as:
Como puedo cargar datos de una DB a una tabla facilmente
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi,
I want know how can load data from a DB to table easy.
One example short please...
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
How i can load data from DB to Table easyless
Thanks.
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
59 matches
Mail list logo