USB open port

2004-10-12 Thread rguevara
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;

re: Error in TextMgr

2004-08-31 Thread rguevara
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

re: Error in TextMgr

2004-08-31 Thread rguevara
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

Error in TextMgr

2004-08-30 Thread rguevara
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:

Re: changing lists for usable or not usable

2004-06-23 Thread rguevara
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

FrmPopupForm question

2004-05-22 Thread rguevara
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

Scan library question

2004-04-27 Thread rguevara
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 $^

Scanner Question

2004-01-05 Thread rguevara
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

How set the creator ID of hardware and silkscreen buttons?

2003-12-17 Thread rguevara
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

Re: How set the creator ID of hardware and silkscreen buttons?

2003-12-17 Thread rguevara
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

Locate Record

2003-12-16 Thread rguevara
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

Capture Keys

2003-12-15 Thread rguevara
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) ||

Hoe remove arrows from the list

2003-12-09 Thread rguevara
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

PenMoveEvent question

2003-12-02 Thread rguevara
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/

Modifyng Records question

2003-11-26 Thread rguevara
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

Static functions

2003-11-24 Thread rguevara
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

MutliSegment question, again....

2003-11-19 Thread rguevara
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

MultiSegment code

2003-11-18 Thread rguevara
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)))

Re: MultiSegment code

2003-11-18 Thread rguevara
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=

Re: MultiSegment code

2003-11-18 Thread rguevara
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

Referencing support

2003-11-11 Thread rguevara
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(;;) {

Re: Multiple list selection

2003-11-04 Thread rguevara
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) --

LstScroll Event

2003-10-23 Thread rguevara
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

Changing Form position dinamically

2003-10-16 Thread rguevara
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

Re: Changing Form position dinamically

2003-10-16 Thread rguevara
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:

Invitation of new group

2003-10-09 Thread rguevara
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

TblSetRowID question

2003-10-08 Thread rguevara
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/

Problem with tables

2003-09-09 Thread rguevara
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

Write a conduits

2003-09-05 Thread rguevara
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

MultiMail Problem

2003-09-04 Thread rguevara
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

Help with DmSetDatabaseInfo

2003-09-02 Thread rguevara
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

Show Label

2003-08-22 Thread rguevara
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);

dmMaxRecordIndex

2003-08-19 Thread rguevara
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/

Re: dmMaxRecordIndex

2003-08-19 Thread rguevara
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

Re: pdb file

2003-08-14 Thread rguevara
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

Re: memory leak -- but where?

2003-08-14 Thread rguevara
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:

Recording problem

2003-08-14 Thread rguevara
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);

Displaying popuplist

2003-08-14 Thread rguevara
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

How know the name fields of PDB file

2003-08-14 Thread rguevara
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

Re: Recording problem

2003-08-14 Thread rguevara
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

Fw: Re: How know the name fields of PDB file

2003-08-14 Thread rguevara
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

Re: Soft Reset Application Launch

2003-08-14 Thread rguevara
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

Fw: Re: How know the name fields of PDB file

2003-08-14 Thread rguevara
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;

Re: MemHandleSize - MemHandleResize

2003-08-14 Thread rguevara
] 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

Fw: MemHandleSize - MemHandleResize

2003-08-12 Thread rguevara
-- 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

MemHandleSize - MemHandleResize

2003-08-09 Thread rguevara
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

MemHandleResize

2003-08-08 Thread rguevara
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/

Re: Scrolling one item at once

2003-08-06 Thread rguevara
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

The PalmOs command line accept arguments for applications?

2003-08-04 Thread rguevara
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.

The PalmOs command line accept arguments for applications?

2003-08-04 Thread rguevara
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

How update one form from popuped form

2003-08-01 Thread rguevara
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

Re: How update one form from popuped form

2003-08-01 Thread rguevara
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

Re: Implementing the mailto url scheme in my application

2003-08-01 Thread rguevara
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

Problems with PDB convertion

2003-07-25 Thread rguevara
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

Re: how to start the mailapp collecting the mails automatically?

2003-07-10 Thread rguevara
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,

How handle table items whitout errors?

2003-07-08 Thread rguevara
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

2003-07-07 Thread rguevara
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/

How i can load data easy to table

2003-07-07 Thread rguevara
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 load data from DB to Table

2003-07-07 Thread rguevara
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/