USB open port
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; BtVdOpenParams btParams; BtLibSdpUuidType sppUuid; // Set up a SerialPort service class UUID MemSet( sppUuid, sizeof(sppUuid), 0 ); sppUuid.size = btLibUuidSize16; sppUuid.UUID[0] = 0x11;//corresponds to serial port sppUuid.UUID[1] = 0x01;//corresponds to serial port // // Set up a Bluetooth parameter block: //play client role, use null remote device address, and use sdp to search for the serial port profile service class uuid. MemSet( btParams, sizeof(btParams), 0 ) // note this leaves the remote dev addr null btParams.role = btVdClient; // we are the client side btParams.u.client.method = btVdUseUuidList; // use SDP to look for service class uuids btParams.u.client.u.uuidList.tab = sppUuid; // the list of service uuids to search for btParams.u.client.u.uuidList.len = 1; // the number of uuids in the list // Set up the SrmExtOpen param block to reference our Bluetooth param block MemSet( config, sizeof(config), 0 ); config.function = 0; // must be zero config.drvrDataP = (MemPtr)btParams; --- I need other driver ? // Bluetooth-specific params go here config.drvrDataSize = sizeof(btParams); // size of Bluetooth-specific params // Call SrmExtOpen with the parameters we just set up. err = SrmExtOpen ( sysFileCVirtRfComm, // type of port == Bluetooth RfComm config, // port configuration params sizeof(config), // size of port config params btPortId // receives the id of // this virtual port instance ); Thanks for you help -- 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: Error in TextMgr
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 length; Int16 tam; MemHandle myRecord; Boolean match=false; ListType *pList = (ListType*) GetObjectPtr(ConsulStockList); tam=DmNumRecordsInCategory(ProductosDB,dmAllCategories); tamliststkfil=0; StrCopy(theSearch, SearchString); //In the api doc say The same text as in inSource ..., its ok? TxtGluePrepFindString ( SearchString, theSearch, StrLen(theSearch) ); FrmCustomAlert(Message, Comparing 0, theProduct, SearchString); // differ, ok? for(i=0; itam ; i++) { DmQueryRecord(ProductosDB, i); myRecord = DmQueryRecord(ProductosDB, i); if (myRecord) { ProductoPacked * prec = (ProductoPacked *) MemHandleLock(myRecord); ProductoReg * rec = (ProductoReg *) MemPtrNew(sizeof(ProductoReg)); UnpackProducto(rec, prec); if (myRecord) { //Here the rec-desc, its ok, but TxtFindString always return false match = TxtFindString ( rec-desc , theSearch, posP, length ) ; // match = FindStrInStr ( rec-desc , theSearch, length ) ; // match = TxtGlueFindString (theSearch , theSearch, posP, length ) ; if(match) { StockFiltra[ j ].codigo=(unsigned int) StrAToI(rec-codigo); StockFiltra[ j ].posindb = i; j++; tamliststkfil++; } } MemHandleUnlock(myRecord); MemPtrFree(rec); } } if(theSearch !=NULL) MemPtrFree(theSearch); if (NULL == pList) return 1; LstSetDrawFunction( pList, DrawFiltraStockItem); LstSetListChoices(pList, NULL, tamliststkfil); LstSetSelection(pList, 0); LstDrawList(pList); } I add the GLUE library and compile right, but i can't search the substring in other, exist other function what search without depend of Localization or Normalization It would thank for some aid -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: Gavin Maxwell [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tue, 31 Aug 2004 05:11:14 - Subject: re: Error in TextMgr I believe you'll get that error if you pass 0 for the last parameter... it should specify the length of your outDest string. G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Error in TextMgr
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 Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Error in TextMgr
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: TextMgr.c, Line:945, Dest buffer too small. Any idea? 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/
Re: changing lists for usable or not usable
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 10:06:06 -0300 (ART) Subject: changing lists for usable or not usable Hi How can i to change one list in my form for usable or not usable. Thanks = Roberto Pedrozo Mendes Arquiteto Sistemas HST - CPqD - Campinas [EMAIL PROTECTED] __ Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis! http://br.info.mail.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
FrmPopupForm question
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 Form_Browser? */ handled=true; break; } -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Scan library question
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 $^ touch $@ #grc.stamp: AdmnDI; # m68k-palmos-obj-res AdmnDI # touch $@ AdmnDI: libScanMgr.a AdmnDI.o func2.o func.o AdmnDI-sections.o AdmnDI-sections.ld AdmnDI.o: AdmnDI.c func.h func.o: func.c func.h func2.o: func2.c func.h AdmnDI-sections.o: AdmnDI-sections.s AdmnDI-sections.s AdmnDI-sections.ld: AdmnDI.def m68k-palmos-multigen AdmnDI.def I include three headers provided by libScanMgr.a library, but I not define to which segment they belong. When I compile using functions from those headers, any warning appeared, but when I load the app in the POSE and use any of those functions, the POSE say: M.C.A. (2.0) called a function in a shared library using a reference number of 65535. This reference number does not correspond to any currently installed library and is invalid. What happening? -- 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/
Scanner Question
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 http://www.palmos.com/dev/support/forums/
How set the creator ID of hardware and silkscreen buttons?
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 http://www.palmos.com/dev/support/forums/
Re: How set the creator ID of hardware and silkscreen buttons?
Thanks Luc !! Now work fine! -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: Luc Le Blanc [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wed, 17 Dec 2003 15:45:02 -0500 Subject: Re: How set the creator ID of hardware 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 ... prefHard4CharAppCreator or prefCalcCharAppCreator other buttons like Home, Menu and Find must be intercepted with their vchrLaunch, vchrMenu and vchrFind keyDownEvents. -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Locate Record
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 information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Capture Keys
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) || (FrmGetFormId(FrmGetActiveForm())== Form_Preferences) || (FrmGetFormId(FrmGetActiveForm())== Form_QueryStock) || (FrmGetFormId(FrmGetActiveForm())== Form_QueryCus) || (FrmGetFormId(FrmGetActiveForm())== Form_NewPed) || (FrmGetFormId(FrmGetActiveForm())== Form_Resume)|| (FrmGetFormId(FrmGetActiveForm())== Form_SelectPed) || (FrmGetFormId(FrmGetActiveForm())== Form_QuickCuscod)|| (FrmGetFormId(FrmGetActiveForm())== Form_QuickCusnom)|| (FrmGetFormId(FrmGetActiveForm())== Form_QuickCusaddr)|| (FrmGetFormId(FrmGetActiveForm())== Form_QuickProdcod) || (FrmGetFormId(FrmGetActiveForm())== Form_QuickProddesc) || (FrmGetFormId(FrmGetActiveForm())== Form_QuickProdstock) ) ) { if ((event.data.keyDown.chr == hard1Chr) || (event.data.keyDown.chr == hard2Chr) || (event.data.keyDown.chr == hard3Chr) || (event.data.keyDown.chr == hard4Chr) || (event.data.keyDown.chr == calcChr)|| (event.data.keyDown.chr == findChr)|| (event.data.keyDown.chr == launchChr)) continue; } With this blockade the calc, find, launch buttons and hard keys when I am in the forms listed previously. but not like blocking them when I am in the alert forms. -- Open WebMail Project (http://openwebmail.org) img name=firma src=firma.bmp -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Hoe remove arrows from the list
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 i change the attrib lista-attr.hasScrollBar = 0 don't work. Any suggestion? -- 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/
PenMoveEvent question
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
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 nonuse a DmWrite for all the structure, but DmWrite/DmStrCopy for each field. -- 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/
Static functions
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 http://www.palmos.com/dev/support/forums/
MutliSegment question, again....
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 the first segment, but single those of first level of call. Because but all the program would go in the same segment and segmentacion would not have sense. Some idea? -- 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/
MultiSegment code
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))) //Structs and prototypes of ALL functions including PilotMain the file .ld generated is: /* DO NOT EDIT! This file was automatically generated by m68k-palmos-multigen v2.2 from AdmnDI.def */ .file AdmnDI-sections.s .globl __text__ .lcomm __text__,4 .globl __text__adm .lcomm __text__adm,4 .globl __text__fun .lcomm __text__fun,4 .globl __text__dbs .lcomm __text__dbs,4 .text .globl _GccRelocateData _GccRelocateData: bra.w _GccLoadCodeAndRelocateData .section ehook .long _GccReleaseCode //- i read that PilotMain and all functions called in PilotMain are in the first segment. But what is ? __text__ or __text__adm ? also, i have problems compiling: AdmnDI.o: In function `PilotMain': AdmnDI.c:1876: undefined reference to `__text__adm' AdmnDI.o: In function `GetObjectPtr': AdmnDI.c:34: undefined reference to `__text__' . AdmnDI.o: In function `GetProductDescFromProductID': AdmnDI.c:1025: undefined reference to `__text__dbs' AdmnDI.o(fun+0xb22):AdmnDI.c: more undefined references to `__text__dbs' follow AdmnDI.o: In function `GetProductDescFromProductID': ... AdmnDI.o: In function `EditMenuHandleEvent': AdmnDI.c:26: undefined reference to `__text__fun' AdmnDI.o: In function `EditMenuHandleEvent': func.o: In function `GetObjectPtr': func.c:34: undefined reference to `__text__' func.o: In function `GetProductDescFromProductID': func.c:1025: undefined reference to `__text__dbs' func.o(fun+0xb22):func.c: more undefined references to `__text__dbs' follow func.o: In function `GetProductDescFromProductID': collect2: ld returned 1 exit status make: *** [AdmnDI] Error 1 i don't find one example of multisegment code with the handler functions Please Helpme. -- 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: MultiSegment code
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= $(APP)-sections CC = m68k-palmos-gcc PILRC = pilrc BUILDPRC= build-prc MULTIGEN= m68k-palmos-multigen # Uncomment this if you want to build a GDB-debuggable version #CFLAGS = -O2 -g CFLAGS = -O2 -g all: $(PRC) $(PRC): $(APP) bin.stamp $(BUILDPRC) $(PRC) $(ICONTEXT) $(APPID) $(DEF) *.grc *.bin # ls -l *.prc grc.stamp: $(APP); $(OBJRES) $(APP) touch $@ $(APP): $(SRC:.c=.o) $(SECTIONS).ld $(CC) $(CFLAGS) $^ -o $@ bin.stamp: $(RCP) $(PILRC) -q $^ $(BINDIR) touch $@ %.o: %.c $(CC) $(CFLAGS) -c $ -o $@ # touch $ # Enable the previous line if you want to compile EVERY time. $(SECTIONS).o: $(SECTIONS).s $(CC) $(CFLAGS) -c $ -o $@ $(SECTIONS).s $(SECTIONS).ld: $(DEF) $(MULTIGEN) $(DEF) depend dep: $(CC) -M $(SRC) .dependencies clean: rm -rf *.o $(APP) *.bin *.stamp *.grc *.s *.ld veryclean: clean rm -rf *.prc *.rcp *.bak #-- This is based in the multiapp example Makefile, i law that has to include the header file (only contain prototypes). I dont find a correspondence in the follow lines with my makefile: Makefile of multiapp: multiapp.o: multiapp.c other.h other.o: other.c other.h My files are: AdmnDI.c and func.c. And the Header is AdmnDIDB.h -- 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: MultiSegment code
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 *.bin grc.stamp: AdmnDI; m68k-palmos-obj-res AdmnDI touch $@ AdmnDI: AdmnDI.o func.o AdmnDI-sections.o AdmnDI-sections.ld AdmnDI.o: AdmnDI.c func.h other.o: func.c func.h AdmnDI-sections.o: AdmnDI-sections.s AdmnDI-sections.s AdmnDI-sections.ld: AdmnDI.def m68k-palmos-multigen AdmnDI.def clean: rm -f *.o *.grc *.bin *-sections.* *.prc AdmnDI # This is based in the multiapp Makefile. But that example does not have grc and bin resources, and dont know the order in the makefile, now have this error message: $ make m68k-palmos-gcc -O2 -g -c -o AdmnDI.o AdmnDI.c m68k-palmos-gcc -O2 -g -c -o func.o func.c m68k-palmos-multigen AdmnDI.def m68k-palmos-as -o AdmnDI-sections.o AdmnDI-sections.s m68k-palmos-gcc -g AdmnDI.o func.o AdmnDI-sections.o AdmnDI-sections.ld -o AdmnDI m68k-palmos-obj-res AdmnDI AdmnDI:adm: warning: spurious code section ignored AdmnDI:fun: warning: spurious code section ignored AdmnDI:dbs: warning: spurious code section ignored touch grc.stamp build-prc AdmnDI.prc M.C.A. DCm1 AdmnDI.def *.grc *.bin build-prc: the definition file must come first build-prc: can't read raw file '*.bin': No such file or directory make: *** [AdmnDI.prc] Error 1 -- 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/
Referencing support
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(;;) { while (v[++i].clave piv); while (v[--j].clave piv); if (i = j) break; intercambio (v[i], v[j]); } quicksortr(v, izq, i-1); quicksortr(v, i, der); } } and want convert to palm, i delete the templates. But i get the error: parse error before `' Any idea? -- 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: Multiple list selection
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) -- Original Message --- From: Luc Le Blanc [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Mon, 03 Nov 2003 20:06:54 -0500 Subject: Multiple list selection Is there a way to get a multiple selection in a list? If not, as it seems, what is the recommended way to do that? -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
LstScroll Event
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 event! Any idea? -- 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/
Changing Form position dinamically
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 http://www.palmos.com/dev/support/forums/
Re: Changing Form position dinamically
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: Changing Form position dinamically 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? a form? or, a control within a form? you can use FrmSetObjectPosition to move an object within the form to a specific location on the form. why not use a gadget? and, have that gadget draw so it looks like your little form? what are you trying to do? tool tips? :) --- Aaron Ardiri [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaron_ardiri.php [profile] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Invitation of new group
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 the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
TblSetRowID question
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
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 Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Write a conduits
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 http://www.palmos.com/dev/support/forums/
MultiMail Problem
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 (http://openwebmail.org) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Help with DmSetDatabaseInfo
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 get data with: DmDatabaseInfo(0,dbID2,label,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); Change the name: StrCopy(label, PedidosDBSend); DmSetDatabaseInfo(0,dbID2,label,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); I need do this? : DmDatabaseInfo(0,dbID2,label,NULL,NULL,NULL,NULL,NULL,NULL,appinfoID,NULL,NULL,NULL); StrCopy(label, PedidosDBSend); DmSetDatabaseInfo(0,dbID2,label,NULL,NULL,NULL,NULL,NULL,NULL,appinfoID,NULL,NULL,NULL); -- 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/
Show Label
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); if (recH) { ItemOrdReg * rec = (ItemOrdReg *) MemHandleLock(recH); if (recH) { CtlSetLabel( ctl, rec-codigo); FrmShowObject(form, index); } MemHandleUnlock(recH); } And..., don't shown nothing! -- 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/
dmMaxRecordIndex
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
Sorry, but i hurry and really don't want write with its, i only need the number of max record for label of popuptrigger, but in the bible and the page of palmsource not say nothing about what database its refered dmMax..., but now use DmNumRecordsInCategory(DBase, dmAllCategories) and work. Thanks 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 open databases and want write in the last position of one. I don't know if dmMaxRecordIndex work... Very short answer: Yes, it works. I use it all the time. A little bit longer one: What's happening ? Are you having some trouble with it or just asked without any testing, or etc ? If you're experiencing some troubles with it, would you mind to post the offending code ? Help us to help you. Cheers ! -- J. Machado -- [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: pdb file
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 Project (http://openwebmail.org) -- Original Message --- From: henry [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thu, 7 Aug 2003 11:48:59 +0800 Subject: pdb file Dear All, I would like to ask how can i get data from a pdb file which contains data in excel format. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: memory leak -- but where?
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: Palm Developer Forum [EMAIL PROTECTED] Sent: Tue, 5 Aug 2003 06:32:06 -0700 (PDT) Subject: memory leak -- but where? Greetings Here is a subroutine that does a frequently-wanted thing: it retrieves the hotsync name. It also leaks maxsize bytes every time you call it. I thought I had goofed by not Unlocking something, but I have matching MemHandleLock/MemHandleUnlock. what gives? thanks, David M /* parameter returns HotSync name */ static void Get_PDAName( Char *pda, UInt16 maxsize ){ MemHandle nameH; Char *nameP = NULL; nameH = MemHandleNew(dlkMaxUserNameLength + 1); nameP = MemHandleLock(nameH); StrCopy(nameP, ); DlkGetSyncInfo(NULL, NULL, NULL, nameP, NULL, NULL); StrNCopy( pda, nameP, maxsize - 1 ); MemHandleUnlock(nameH); } __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Recording problem
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); if(!registroH) error = DmGetLastErr(); else { Int16 len = 0; UInt16 Indice = gNumOrden-1; len = (MemHandleSize(registroH)); IngresaItem(item.items); item.cantitems=gcantitems; { Char *s; Int16 length=len; //lose 'len' why? length += StrLen(item.items[gcantitems-1].codigo)+1; length += sizeof(item.items[gcantitems-1].cantidad); length += sizeof(item.items[gcanti DmResizeRecord(PedidosDB, gNumOrden-1, length); registroH = DmGetRecord(PedidosDB, gNumOrden-1); if(!registroH) FrmCustomAlert(Mensaje,Handle null, NULL,NULL); s=MemHandleLock(registroH); DmWite(s,offsetof(OrderReg,cantitems),item.cantitems,sizeof(item.cantitems)); DmWrite(s,offsetof(OrderReg,items[gcantitems-1].cantidad),item.items-cantidad,sizeof(item.items-cantidad)); DmWrite(s,offsetof(OrderReg,items[gcantitems-1].precio),item.items-precio,sizeof(item.items-precio)); DmStrCopy(s,offsetof(OrderReg,items[gcantitems-1].codigo),item.items[gcantitems-1].codigo); } DmReleaseRecord(PedidosDB, Indice, true); } return error; } Allways say Handle null, the index it's all right. if delete the second DmGetRecord the handle point to nobody location Please helpme! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Displaying popuplist
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 on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
How know the name fields of PDB file
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 unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Recording problem
Yes, but was an error in IngresaItem, now i cleanup the code and should work logically: void GrabaNuevoItem(void) { UInt16 NuevoIndice; MemHandle registroH; OrderReg item; Int16 length = 0; Char *s; NuevoIndice=gNumOrden-1; registroH = DmGetRecord(PedidosDB, NuevoIndice); if(!registroH) FrmCustomAlert(Mensaje,Handle null, NULL,NULL); else length = (MemHandleSize(registroH)); //Calcule last size of record DmReleaseRecord(PedidosDB, NuevoIndice, true); // right? IngresaItem(item.items); //Load from fields to item.cantitems=gcantitems; //struct,(only item and quantity of items) //Calcule the size of new item to add to record length += 16; //In the struct codigo size is 15 length += sizeof(item.items[gcantitems-1].cantidad); length += sizeof(item.items[gcantitems-1].precio); registroH = DmGetRecord(PedidosDB, gNumOrden-1); //Open again, ok? if(!registroH) FrmCustomAlert(Mensaje,Handle null, NULL,NULL); else if ((MemHandleResize(registroH, length))==0)//Resize the handle, don't problem { s=MemHandleLock(registroH); //Lock the handle, i think don't work IngresaItem(item.items); //I lost the record(¿?), load again item.cantitems=gcantitems; //Write the records DmWrite(s,offsetof(OrderReg,cantitems),item.cantitems,sizeof(item.cantitems)); DmWrite(s,offsetof(OrderReg,items[gcantitems-1].cantidad), item.items[gcantitem s-1].cantidad,sizeof(item.items[gcantitems-1].cantidad)); DmWrite(s,offsetof(OrderReg,items[gcantitems-1].precio), item.items[gcantitems- 1].precio,sizeof(item.items[gcantitems-1].precio)); DmStrCopy(s,offsetof(OrderReg,items[gcantitems-1].codigo), item.items[gcantitems -1].codigo); MemHandleUnlock(registroH);//here error in POSE-SysFatalAlert:NULL HANDLE } DmReleaseRecord(PedidosDB, gcantitems-1, true); //Other error: lost program counter } this time write the records, (i see with the RscrEdit) but i get these errors what happend? -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: Albert J. Franklin [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Mon, 11 Aug 2003 20:31:23 -0400 Subject: Re: Recording problem Sean, I am puzzled by your response. The variable len is defined in a block, and then the variable length is defined in a block within the scope of the block where len is defined. By the rules of C, len should still contain the value of (MemHandleSize(registroH)). I don't understand why defining length in the outer scope as you recommend will cause the value of len to not be lost. Al - Original Message - From: Sean Yang [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, August 11, 2003 4:12 AM Subject: Re: Recording problem Int16 length=len --- here is error, because the len is a dynamic variable, not a const variable. You should define the length 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 { UInt16 NuevoIndice; MemHandle registroH; Err error=0; OrderReg item; //It's similar to 'Sales' example struct NuevoIndice=gNumOrden-1; registroH = DmGetRecord(PedidosDB, NuevoIndice); if(!registroH) error = DmGetLastErr(); else { Int16 len = 0; UInt16 Indice = gNumOrden-1; len = (MemHandleSize(registroH)); IngresaItem(item.items); item.cantitems=gcantitems; { Char *s; Int16 length=len; //lose 'len' why? length += StrLen(item.items[gcantitems-1].codigo)+1; length += sizeof(item.items[gcantitems-1].cantidad); length += sizeof(item.items[gcanti DmResizeRecord(PedidosDB, gNumOrden-1, length); registroH = DmGetRecord(PedidosDB, gNumOrden-1); if(!registroH) FrmCustomAlert(Mensaje,Handle null, NULL,NULL); s=MemHandleLock(registroH); DmWite(s,offsetof(OrderReg,cantitems),item.cantitems, sizeof(item.cantitems) ); DmWrite(s,offsetof(OrderReg,items[gcantitems-1].cantidad),item.items-canti dad,sizeof(item.items-cantidad)); DmWrite(s,offsetof(OrderReg,items[gcantitems-1].precio),item.items- precio, sizeof(item.items-precio)); DmStrCopy(s,offsetof(OrderReg,items[gcantitems-1].codigo),item.items[gcantit ems-1].codigo); } DmReleaseRecord(PedidosDB, Indice, true); } return error; } Allways say Handle null, the index it's all right. if delete the second DmGetRecord the handle point to nobody location Please helpme! -- For information on using the Palm
Fw: Re: How know the name fields of PDB file
I use palm-db-tools utilities for convert databases. When use csv2pdb i define the name fields in the info file or command line as: csv2pdb -f code,integer -f name,string -t ClientsDB client.csv client.pdb and editing later the pdb file i see the name fields in the binary code (whith vi), but when i make the pdb file in the palm i don't know these name fields for the INF file, because if write any name don't work, i get this error: Violacion de Segmento (Note: Segment violation) ¿? -- Forwarded Message --- From: drvirens [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wed, 13 Aug 2003 13:43:19 - Subject: Re: How know the name fields of PDB file Please, can you explain your question in more details ? Do you wanna know the names of the fields of a PDB file ? If so, I am sorry that is not possible to do since the PDB does not store the names 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 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 unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Forwarded Message --- -- 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: Soft Reset Application Launch
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 using the command,AppLaunchWithCommand, i wrote this : command,AppLaunchWithCommand(Het1, sysAppLaunchCmdNormalLaunch, NULL) upon compiling, the compiler does not recognise Het1, which the appCreator ID. How do i go about invoking the AppLaunchWithCommand in the correct way? Your help is very much appreciated!! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Fw: Re: How know the name fields of PDB file
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; //codigo-Vendedor + norden unsigned long cantitems; //Cantidad de items unsigned long clie; //Vend Char cantidad[8]; //Cantidad pedida Char precio[8]; //Precio Char codigo[15];//Codigo producto } ItemOrdReg; and when write one record field or other: DmStrCopy(s,offsetof(ItemOrdReg,codigo), item.codigo); write only the text and the rest of space reserved for the field is garbage! (I VIEW WITH RSCREDIT) . . . . . . . .//Write the integer values . . 0 . 2 5 0 .//the integer values in string . . . . 4 0 . . . . . . D I A C//The codigo field DIACAN17 with garbage at end A N 1 7 . s y s . ( . . . . i think what erasing the garbage of the string fields, solve the problem -- Forwarded Message --- From: drvirens [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wed, 13 Aug 2003 14:22:07 - Subject: Fw: Re: How know the name fields of PDB file Hi there, Hmmm. So you are using third-party tool for conversions. As Thomas said in his reply, the names could be stored in header part of the PDB. You may like to ask it to the implementers of the tool or crack it out yourself. I remember, in my ealrier days in Palm, when my company had decided to go for AppForge, we could not cope up with its database tools. The APpForge, it was noticed then ( dunno the current case ), used to dump too much of proprietary info after the database header ( i.e. after the first 78 bytes in pdb ). And our palm-reader ( in-house developed utility ) was going for a toss sicne it was assuming that what would follow after 78 bytes would be really a record header ( b- bytes)...however, things used to fall apart thanks to AppForge implementations. -Viren -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Forwarded Message --- -- 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: MemHandleSize - MemHandleResize
Sorry was a error recordH is equal a registroH i traducing bad... Now use DmResizeRecord and work, but not can lock the handle! -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: bullshark [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] 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. It should work either way, if i do: recordH = DmGetRecord(PedidosDB, NuevoIndice); and later: length=(MemHandleSize(registroH) 'recordH' is not the same as 'registroH'. If you are using two names to refer to the same handle, then perhaps you are mixing them up. If DmReleaseRecord is called the Handle may not be valid anymore. +StrLen(item.items[gcantitems-1].codigo)+1 +sizeof(item.items[gcantitems-1].cantidad) +sizeof(item.items[gcantitems-1].precio)); i get: (1.0) called SysFatalAlert with the message: MemoryMgr.c, Line:4359, Free handle and (continue) i get: (1.0) just read from memory location 0x0144, causing a bus error. (reset) ¿? if later MemHandleResize work with this handle without problems in other case You probably shouldn't do that. Use DmResizeRecord to change record sizes. You might get away with it, but run into trouble later. bullshark -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Fw: MemHandleSize - MemHandleResize
-- 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 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 +sizeof(item.items[gcantitems-1].cantidad) +sizeof(item.items[gcantitems-1].precio)); i get: (1.0) called SysFatalAlert with the message: MemoryMgr.c, Line:4359, Free handle and (continue) i get: (1.0) just read from memory location 0x0144, causing a bus error. (reset) ¿? if later MemHandleResize work with this handle without problems in other case -- Open WebMail Project (http://openwebmail.org) --- End of Forwarded Message --- -- 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/
MemHandleSize - MemHandleResize
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 +sizeof(item.items[gcantitems-1].cantidad) +sizeof(item.items[gcantitems-1].precio)); i get: (1.0) called SysFatalAlert with the message: MemoryMgr.c, Line:4359, Free handle and (continue) i get: (1.0) just read from memory location 0x0144, causing a bus error. (reset) ¿? if later MemHandleResize work with this handle without problems in other case -- 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/
MemHandleResize
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
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 handled=true; break; } if(event-data.keyDown.chr == pageUpChr) { ListType *pList; pList = (ListType*) GetObjectPtr(MainClienteList); LstScrollList(pList,0,4); handled=true; break; } break; -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: Paturi, Ramesh P (IndSys) [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wed, 6 Aug 2003 20:31:30 +0530 Subject: Scrolling one item at once Hi: I am using a scroll bar in a list and I wrote code to see only 4 items in a screen space. I have mapped scroll hard buttons to scroll the list. When I am scrolling I am getting scrolled 4 items at once but I want to scroll only one item at once. I am sure someone might have faced this problem before. I am unable to crack it and would appreciate if someone can let me know the way it can be handled. Anticipating help and thanks in advance. Regards Ramesh THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly Prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
The PalmOs command line accept arguments for applications?
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. Thank's -- 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/
The PalmOs command line accept arguments for applications?
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 the launching. Thank's -- 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 update one form from popuped form
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 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: How update one form from popuped form
Thank's fou you help, now i can update the form and draw the field. Very thanks -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: kcorey [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: 01 Aug 2003 14:06:55 +0100 Subject: Re: How 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, (frmLoadEvent, frmOpenEvent and FrmUpdate Event don't work). Please help me! You create your own events indicating a change, enqueue them with EvtAddEventToQueue(), and call FrmReturnToForm(0). The popped up form disappears, and the form behind the current one gets the event. This was the way my code worked up until I tripped over a problem in FrmPopupForm/FrmReturnToForm. Basically, I'd get a crash on all Palms, all operating systems, and there wasn't much I could do about it. Now, I just use FrmGotoForm instead, so as I enter each form it's repopulated with current information. I've got a simple stack mechanism behind it so that the flow is the same. As it turns out, that was the only way to get this application working again. Crufty, but it works. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Implementing the mailto url scheme in my application
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 David Thacker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone please explain how I can craft a fully formed mail message (recipient, subject, body text, attachment) using the mailto url scheme with the exchange manager? Okay, got it working: ExgSocketType socket; char url[100] = mailto:[EMAIL PROTECTED]body=Howdy!; MemSet(socket, sizeof(socket), 0); socket.name = url; ExgRequest(socket); Pretty simple actually! David Thacker -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Problems with PDB convertion
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 (http://openwebmail.org) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: how to start the mailapp collecting the mails automatically?
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, sysFileApplication, appcreator, true, cardNo, dbID ); if (dbID) { SysUIAppSwitch()csrdNo,dbID, appCmd, appCmdParams); //switch to application } } (Sorry for my bad english, i am from argentina and know litle english). Bye. -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: blaman [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thu, 10 Jul 2003 13:45:15 +0200 Subject: how to start the mailapp collecting the mails automatically? Hi all, i´d like to write a program launching the VersaMail application on a Tungsten W (PALM OS 4.x) and make the application collect the mail. if you have any suggestion, everything will help because i got no idea how to do Thx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ --- End of Original Message --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
How handle table items whitout errors?
Hi, i have a table as: code numberItemList Quantity \ | 10 rows | / and set columns as: TblSetItemStyle(tabla,i,0, textTableItem); TblSetItemStyle(tabla, i, 1, popupTriggerTableItem); TblSetItemInt(tabla,i,1, i%3); TblSetItemPtr(tabla,i,1, list); TblSetItemStyle(tabla,i,2,textTableItem); and the load/save procedures as example of bible book (chapter 11) changing the quantity of columns of text. The program crash when draw the form in the FormInit, i suposse what the initialization of the array of text not work right. 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/
Como puedo cargar datos de una DB a una tabla
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
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
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/