From sunshine at public.kherson.ua Thu Jun 1 00:51:29 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed May 31 16:51:38 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: Message-ID: On 6/1/06 12:45 AM, "Matthew Jew" wrote: >>> #0 0x0065ac88 in fbl::String::String >>> #1 0x010d3514 in fbl::Localizable_Imp::MakeDefaultLocale >>> #2 0x010d3f0c in fbl::Localizable_Imp::InitRoot >>> #3 0x010d4138 in fbl::Localizable_Imp::Localizable_Imp >>> #4 0x010cb360 in fbl::Database::Database >>> #5 0x0100d200 in fbl::CreateDatabase >>> >>> I called ValentinaInit() before my call to CreateDatabase(). I'm not >>> sure what I'm missing. >> >>> I am using the latest Valentina VSDK for C++ universal build >>> and I am using XCode 2.3 on Mac OS X 10.4.6 with the latest patches >>> applied. >> >> Have you try run VSDK examples? >> Are they working ? >> >> I ask to see if problem is in VSDK itself or in your code ... >> > > Ruslan, > > Yes, I can compile and run the VSDK examples. > > I wish I could figure out what about my project is wrong... So you are sure that Valentina.Init() was called...okay Do you create database as FBL::CreateDatabase() Or VSQL::CreateDatabase() May be show me your code from init Valentina to CreateDatabase. I really have no idea why it crashes for you. Crash in string. Sounds like ValentinaInit was not done. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From snw at paradise.net.nz Thu Jun 1 16:16:16 2006 From: snw at paradise.net.nz (Sean Wilson) Date: Wed May 31 23:16:24 2006 Subject: ranged datetime query problem Message-ID: <7.0.1.0.2.20060601160225.03a7e238@paradise.net.nz> I'm having problems with an SQL query and some datetime fields and I have a couple of quick questions. Here's my SQL query: SELECT SUM(time_spent) FROM tblTimes WHERE (start_time BETWEEN '1/5/2006 0:00:00:000' AND '31/5/2006 0:00:00:000') AND (stop_time BETWEEN '1/5/2006 0:00:00:000' AND '31/5/2006 0:00:00:000') AND (job_name_ptr->job_name = 'Job Name'); I have a table named tblTimes with 4 fields: start_time (datetime); stop_time (datetime); job_name_ptr (objectPtr); time_spent (virtual datetime - method: stop_time - start_time) Being where I am I have my date format set to DDMMYYYY, though I've also tried it as MMDDYYYY and have the same problem. When I run the query above, I have a valid (and correct) SUM() returned to me, but as soon as I cross a month boundary in my BETWEEN clause - for example (start_time BETWEEN '1/5/2006 0:00:00:000' AND '1/6/2006 0:00:00:000') - I get 00/00/0000 00:00:00:000 returned, which seems incorrect. Questions: is this expected behaviour (that is, should my range sum "break" when I cross a border at a month) and if so, how can I run a query that will give me the info I want? Thanks, -Sean. From snw at paradise.net.nz Thu Jun 1 18:04:30 2006 From: snw at paradise.net.nz (Sean Wilson) Date: Thu Jun 1 01:04:50 2006 Subject: ranged datetime query problem In-Reply-To: <7.0.1.0.2.20060601160225.03a7e238@paradise.net.nz> References: <7.0.1.0.2.20060601160225.03a7e238@paradise.net.nz> Message-ID: <7.0.1.0.2.20060601162848.03cecb98@paradise.net.nz> >Here's my SQL query: >SELECT SUM(time_spent) FROM tblTimes >WHERE >(start_time BETWEEN '1/5/2006 0:00:00:000' AND '31/5/2006 0:00:00:000') >AND >(stop_time BETWEEN '1/5/2006 0:00:00:000' AND '31/5/2006 0:00:00:000') >AND >(job_name_ptr->job_name = 'Job Name'); A little more probing suggests it's my use of the -> operator that's failing me and not necessarily date ranges. I need to do some more poking around before I can be categorical about where my problem comes from, though if anyone can spot anything obvious... Even replacing the following clause: (job_name_ptr->job_name = 'Job Name') with (job_name_ptr = (SELECT recID from tblJobs WHERE job_name = 'Job Name')) yields a SUM() on an unrelated job name. So it seems I'm grabbing time_spent related to the wrong or incorrect job_name. Maybe I set up my objectPtr incorrectly, or I could be using the link table to simplify the SQL query. It doesn't matter what job_name I feed the above clauses, I get nothing back unless I use the job_name whose recID = 1 *even though* there are /no/ related records in tblTimes I'm thoroughly confused now. Database and queries (~8 KB zipped) are available if anyone is interested. Thanks, -Sean. From sunshine at public.kherson.ua Thu Jun 1 09:20:30 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 01:20:38 2006 Subject: ranged datetime query problem In-Reply-To: <7.0.1.0.2.20060601162848.03cecb98@paradise.net.nz> Message-ID: On 6/1/06 9:04 AM, "Sean Wilson" wrote: >> Here's my SQL query: >> SELECT SUM(time_spent) FROM tblTimes >> WHERE >> (start_time BETWEEN '1/5/2006 0:00:00:000' AND '31/5/2006 0:00:00:000') >> AND >> (stop_time BETWEEN '1/5/2006 0:00:00:000' AND '31/5/2006 0:00:00:000') >> AND >> (job_name_ptr->job_name = 'Job Name'); > > A little more probing suggests it's my use of the -> operator that's > failing me and not necessarily date ranges. I need to do some more > poking around before I can be categorical about where my problem > comes from, though if anyone can spot anything obvious... > > Even replacing the following clause: > (job_name_ptr->job_name = 'Job Name') > with > (job_name_ptr = (SELECT recID from tblJobs WHERE job_name = 'Job Name')) > yields a SUM() on an unrelated job name. > So it seems I'm grabbing time_spent related to the wrong or incorrect > job_name. Maybe I set up my objectPtr incorrectly, or I could be > using the link table to simplify the SQL query. > It doesn't matter what job_name I feed the above clauses, I get > nothing back unless I use the job_name whose recID = 1 *even though* > there are /no/ related records in tblTimes > > I'm thoroughly confused now. Database and queries (~8 KB zipped) are > available if anyone is interested. Hi Sean, Add this into Mantis please. And db also. We will be able test in viSQL -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 1 09:22:59 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 01:23:06 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: Message-ID: On 6/1/06 1:07 AM, "Matthew Jew" wrote: > The database is created when my C++ object is created. > > The object constructor is: > > DbValentinaBase::DbValentinaBase() > { > // This routine knows not to initialize more than once > PVInitializeDBSystem(); > > DB = FBL::CreateDatabase(); Please try use here VSQL::CreateDatabase(); I am not sure that we have prove that FBL::Database work itself. Do you use SQL ? > } > > // And the initializing routine is: > > static long gPVDBSystemRefCount = 0; > > static unsigned long gPVSizeOfDBCache = 0; > static unsigned long gPVDefaultSizeOfDBCache = 16 * 1024 * 1024; > > void PVInitializeDBSystem( unsigned long cacheSize ) > { > unsigned long cacheSizeToUse; > > if ( gPVDBSystemRefCount <= 0 ) > { > if ( cacheSize > 0 ) > { > cacheSizeToUse = cacheSize; > } else { > cacheSizeToUse = gPVDefaultSizeOfDBCache; > } > > // initialize the Valentina kernel: cache size, MacOS serial > number, Windows serial number > gPVSizeOfDBCache = ValentinaInit( cacheSize, > kOurValentinaSerialNumber, NULL ); > printf( "ValentinaInit: gPVSizeOfDBCache = %lu\n", > gPVSizeOfDBCache ); // DEBUG: REMOVE LATER Prove we initialized > > gPVDBSystemRefCount = 1; > } else { > ++gPVDBSystemRefCount; > } > } -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 1 09:50:41 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 01:50:50 2006 Subject: [MAC] CrashReporterPrefs.app and others useful things Message-ID: Hi guys, If you work on MAC, I recommend install xcode (latest 2.3) Because with xcode you will get also folder /Developer/Applications And here a lots of useful things. For example /Developer/Applications/Utilities/CrashReporterPrefs.app /Developer/Applications/ Performance Tools here Sampler have show me where have problem Stan's query in the V4RB MACHO -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dev at macfoh.com Thu Jun 1 00:04:40 2006 From: dev at macfoh.com (Shaun Wexler) Date: Thu Jun 1 02:04:48 2006 Subject: [MAC] CrashReporterPrefs.app and others useful things In-Reply-To: References: Message-ID: <748C2DC5-BB4C-4027-8F5D-57C5626222C2@macfoh.com> On May 31, 2006, at 11:50 PM, Ruslan Zasukhin wrote: > Hi guys, > > If you work on MAC, I recommend install xcode (latest 2.3) > Because with xcode you will get also folder > > /Developer/Applications > > And here a lots of useful things. > > For example > /Developer/Applications/Utilities/CrashReporterPrefs.app > > /Developer/Applications/ Performance Tools > here Sampler have show me where have problem Stan's query > in the V4RB MACHO Be sure to install the latest CHUD 4.3.3 profiling tools: -- Shaun Wexler MacFOH http://www.macfoh.com From sunshine at public.kherson.ua Thu Jun 1 10:09:31 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 02:09:40 2006 Subject: [MAC] CrashReporterPrefs.app and others useful things In-Reply-To: <748C2DC5-BB4C-4027-8F5D-57C5626222C2@macfoh.com> Message-ID: On 6/1/06 10:04 AM, "Shaun Wexler" wrote: Hi Shaun, >> If you work on MAC, I recommend install xcode (latest 2.3) >> Because with xcode you will get also folder >> >> /Developer/Applications >> >> And here a lots of useful things. >> >> For example >> /Developer/Applications/Utilities/CrashReporterPrefs.app >> >> /Developer/Applications/ Performance Tools >> here Sampler have show me where have problem Stan's query >> in the V4RB MACHO > > Be sure to install the latest CHUD 4.3.3 profiling tools: > It is not included into xcode 2.3 ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dev at macfoh.com Thu Jun 1 00:14:12 2006 From: dev at macfoh.com (Shaun Wexler) Date: Thu Jun 1 02:14:18 2006 Subject: [MAC] CrashReporterPrefs.app and others useful things In-Reply-To: References: Message-ID: <88B16664-2FB9-4F2A-BEBD-C711D86D4503@macfoh.com> On Jun 1, 2006, at 12:09 AM, Ruslan Zasukhin wrote: > On 6/1/06 10:04 AM, "Shaun Wexler" wrote: >> >> Be sure to install the latest CHUD 4.3.3 profiling tools: >> > > It is not included into xcode 2.3 ? No, you must also install CHUD, which provides Shark, Saturn, and several CPU-level performance and debugging tools (which are mostly only useful to tweak-heads like me). Shark is the profiling tool you need to use to find hotspots and bottlenecks when writing Valentina code. Anyone with Shark questions, feel free to ask me and/or post on the mailing list for help. I love Shark and use it all the time. -- Shaun Wexler MacFOH http://www.macfoh.com "I don't even see the code. All I see is blond, brunette, red-head..." -Cypher, The Matrix From joakim at astrocalc.com Thu Jun 1 15:15:52 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Thu Jun 1 08:15:58 2006 Subject: Indexes Message-ID: <20060601130916.2AA4A8193C9@merc.astrocalc.net> Hi, This may be a kind of "stupid" question, but I am not that in depth familiar with all agles of databases. I simply wonder "when" is it really benefital or even necessary to index a field? Is it soley in regards of searches? I assume a field can be searched if not indexed as well, but lets say if it just is question of random or not so frequent searches, mostly looking for and returning a single records, how big impact are we talking of here in performance? I assume count of records also makes a difference here? Lets say it just 10000 or even 1000 records to search does an index really make a notible difference? Any good guidelines? Thanks, Joakim From sunshine at public.kherson.ua Thu Jun 1 17:39:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 09:39:30 2006 Subject: Indexes In-Reply-To: <20060601130916.2AA4A8193C9@merc.astrocalc.net> Message-ID: On 6/1/06 4:15 PM, "Joakim Schramm" wrote: Hi Joakim, > This may be a kind of "stupid" question, but I am not that in depth familiar > with all agles of databases. > > I simply wonder "when" is it really benefital or even necessary to index a > field? Is it soley in regards of searches? I assume a field can be searched > if not indexed as well, but lets say if it just is question of random or not > so frequent searches, mostly looking for and returning a single records, how > big impact are we talking of here in performance? I assume count of records > also makes a difference here? Lets say it just 10000 or even 1000 records to > search does an index really make a notible difference? You need index fields which you use often in searches. Point. The more indexes - the faster searches, The more indexed - the slower Add/Delete. You search for a gold middle. I think in your case you will fill db by some records, After this db will be stable enough, right ? And only searches will be made to your db mainly. The same is true for e.g. WEB dbs. - If you do one search on 1000 records, may be you will not see difference But if you do such searches in hot loop .. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From joakim at astrocalc.com Thu Jun 1 16:53:47 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Thu Jun 1 09:53:55 2006 Subject: Indexes In-Reply-To: Message-ID: <20060601144711.3D9797D82B7@merc.astrocalc.net> > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: 01 June 2006 16:39 > To: valentina@lists.macserve.net > Subject: Re: Indexes > > On 6/1/06 4:15 PM, "Joakim Schramm" wrote: > > Hi Joakim, > > > This may be a kind of "stupid" question, but I am not that in depth > > familiar with all agles of databases. > > > > I simply wonder "when" is it really benefital or even necessary to > > index a field? Is it soley in regards of searches? I assume a field > > can be searched if not indexed as well, but lets say if it just is > > question of random or not so frequent searches, mostly > looking for and > > returning a single records, how big impact are we talking > of here in > > performance? I assume count of records also makes a > difference here? > > Lets say it just 10000 or even 1000 records to search does > an index really make a notible difference? > > You need index fields which you use often in searches. Point. > > The more indexes - the faster searches, > The more indexed - the slower Add/Delete. > > You search for a gold middle. > > I think in your case you will fill db by some records, After > this db will be stable enough, right ? Well I have db's currently, 1 with 200 000+ records, this comes filled and done. It's possible to add and edit but rarely needed. Then I have one db which comes empty, actually created on first run, this I think in most cases will have no more then 1-2000 "base records", often much less, but by time... It also have several sub tables with 1:M relation and here record count can grow bigger, relation 1:35 in one case but still not very big db. Will probably have some complex relations though but I am not sure yet as I basically design it while I rewrite my base code to use Valentina for this. I also try to think in future need, which is why I design this way, as I good I see posible future amendments to my program and try to design with it in mind. I know I can "recreate" db later if needed but it's risky and it would be a disaster if users lost data. > And only searches will be made to your db mainly. If first db yes in db2 add, edit, delete and search but most the latter in a longer perspective. > The same is true for e.g. WEB dbs. > > - > If you do one search on 1000 records, may be you will not see > difference But if you do such searches in hot loop .. > Ok thnks think I have a pretty good view then, which basically is what I was thinking about it. Regards, Joakim > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From joakim at astrocalc.com Thu Jun 1 18:03:06 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Thu Jun 1 11:03:12 2006 Subject: Table size Message-ID: <20060601155630.297C78194B7@merc.astrocalc.net> Hi, have table with 177 fields (109 double + 68 byte), this table adds almost 6MB to my db.dat even before any record is added! Is this correct value? When I ready sizes inside Vstudio I not even come near this value, maybe I do something wrong creating table and fields? Regards, Joakim From sunshine at public.kherson.ua Thu Jun 1 19:05:48 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 11:05:59 2006 Subject: Table size In-Reply-To: <20060601155630.297C78194B7@merc.astrocalc.net> Message-ID: On 6/1/06 7:03 PM, "Joakim Schramm" wrote: > Hi, > > have table with 177 fields (109 double + 68 byte), this table adds almost > 6MB to my db.dat even before any record is added! Is this correct value? Yes, if your data total size will be more than 6M then okay. In case data small, i.e. You need small db you can reduse this Using db.SegmentSize > When I ready sizes inside Vstudio I not even come near this value, maybe I > do something wrong creating table and fields? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From joakim at astrocalc.com Thu Jun 1 18:33:29 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Thu Jun 1 11:33:39 2006 Subject: Table size In-Reply-To: Message-ID: <20060601162653.7B78C81948C@merc.astrocalc.net> > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: 01 June 2006 18:06 > To: valentina@lists.macserve.net > Subject: Re: Table size > > On 6/1/06 7:03 PM, "Joakim Schramm" wrote: > > > Hi, > > > > have table with 177 fields (109 double + 68 byte), this table adds > > almost 6MB to my db.dat even before any record is added! Is > this correct value? > > Yes, if your data total size will be more than 6M then okay. > Do you mean all records added to Table? 109 * 8 byte + 68 * 2 byte = 1008 byte, < 1k per record - why table so big with no record in!!?? > In case data small, i.e. You need small db you can reduse > this Using db.SegmentSize > So what does a "cluster" mean in real, I were do things start and end for what goes into 1 cluster? 1 field = 1 cluster or? In such case why 32KB default, or wait this cluster also hold field data so when record added discsize do not grow until whole cluster is full and start new one (adding new 32 * 177 = 5664KB to disc file)? In practical sense this mean 32KB segment can hold 4096 8byte fields before discsize changes? Just trying to understand... from COM docs: inSegmentSize The size of one cluster in the database file; default 32KB. Regards, Joakim > > When I ready sizes inside Vstudio I not even come near this value, > > maybe I do something wrong creating table and fields? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Thu Jun 1 10:49:11 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Jun 1 11:49:18 2006 Subject: Goto RecID & RecordExists() Message-ID: <9BCBBDE7-68FE-4415-9E1D-DD0414ED580D@pcisys.net> Hi Ruslan, Are you intending to change the calls for the VTables to include some call like GoToRecID()? As I understand it now, RecordExists() is supposed to perform two functions; (1) tell the user that the record exists in the VTable and (2) move to that record. Is this correct? As I stated earlier, this is confusing and I recommend adding a new call titled similarly to GoToRecID(). Furthermore, if you are NOT going to add the call of GoToRecID(), I recommend you update the V4RB_Reference_2_EN.pdf. Currently it does not state that RecordExists() moves the user to the record identified in the parameters. Currently it reads as follows: RecordExists(inRecID as Integer) as Boolean Parameter Description inRecID RecID of a record. Returns TRUE if the record with the specified RecID exists in the table. Example: res = Table.RecordExists( RecID ) There is no mention in the function description (page V4RBRef-72) that the call moves the user to the record. This is the document currently offered as a download for understanding V4RB, dated Jan 2006. Regards, Chuck Pelto From cbpelto at pcisys.net Thu Jun 1 11:00:23 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Jun 1 12:00:32 2006 Subject: Field Name from VCursor Message-ID: <985E31CA-85EF-4D3A-8188-E97EBE90CBED@pcisys.net> Is there any way to recover a field name from a VCursor? I ask because I'm working on a module to be used in multiple projects that is designed to update information in a record based on a cell location in an RB ListBox. The columns will not be moving. So if I know the column number of the cell and the record ID from the hidden 0 column, I should be able to quickly update changed data...that is IF I can readily identify the field in the VTable based on the cell in the ListBox which is filled with data from a particular field in the VCursor. Any easy way to do this inside of V4RB2? Regards, Chuck Pelto From sunshine at public.kherson.ua Thu Jun 1 20:21:36 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 12:21:44 2006 Subject: Table size In-Reply-To: <20060601162653.7B78C81948C@merc.astrocalc.net> Message-ID: On 6/1/06 7:33 PM, "Joakim Schramm" wrote: >> Yes, if your data total size will be more than 6M then okay. >> > Do you mean all records added to Table? 109 * 8 byte + 68 * 2 byte = 1008 > byte, < 1k per record - why table so big with no record in!!?? Answer is in FAQs and vkernel docs 109 fields * 32 Kb segment size at least, -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 1 20:23:04 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 12:23:08 2006 Subject: Table size In-Reply-To: <20060601162653.7B78C81948C@merc.astrocalc.net> Message-ID: On 6/1/06 7:33 PM, "Joakim Schramm" wrote: >> In case data small, i.e. You need small db you can reduse >> this Using db.SegmentSize >> > So what does a "cluster" mean in real, I were do things start and end for > what goes into 1 cluster? 1 field = 1 cluster or? In such case why 32KB > default, or wait this cluster also hold field data so when record added > discsize do not grow until whole cluster is full and start new one (adding > new 32 * 177 = 5664KB to disc file)? > > In practical sense this mean 32KB segment can hold 4096 8byte fields before > discsize changes? Just trying to understand... > > from COM docs: > > inSegmentSize The size of one cluster in the database file; default 32KB. Please read WIKI , Vkernel manual about how Valentina keep internal files -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 1 20:27:32 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 12:27:41 2006 Subject: Goto RecID & RecordExists() In-Reply-To: <9BCBBDE7-68FE-4415-9E1D-DD0414ED580D@pcisys.net> Message-ID: On 6/1/06 7:49 PM, "Chuck Pelto" wrote: Hi Chuck, > Are you intending to change the calls for the VTables to include some > call like GoToRecID()? Not sure yet, only as minor cosmetic > As I understand it now, RecordExists() is supposed to perform two > functions; (1) tell the user that the record exists in the VTable and > (2) move to that record. Is this correct? No, it only check fast that record exists You need if tbl.ExecistsRecord( rec ) tbl.RecID = rec << this move to record > As I stated earlier, this is confusing and I recommend adding a new > call titled similarly to GoToRecID(). > > Furthermore, if you are NOT going to add the call of GoToRecID(), I > recommend you update the V4RB_Reference_2_EN.pdf. Currently it does > not state that RecordExists() moves the user to the record identified > in the parameters. Currently it reads as follows: > > RecordExists(inRecID as Integer) as Boolean > Parameter Description > inRecID RecID of a record. > Returns TRUE if the record with the specified RecID exists in the table. > Example: > res = Table.RecordExists( RecID ) All right here. It NOT move > There is no mention in the function description (page V4RBRef-72) > that the call moves the user to the record. This is the document > currently offered as a download for understanding V4RB, dated Jan 2006. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 1 20:30:26 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 12:30:31 2006 Subject: Field Name from VCursor In-Reply-To: <985E31CA-85EF-4D3A-8188-E97EBE90CBED@pcisys.net> Message-ID: On 6/1/06 8:00 PM, "Chuck Pelto" wrote: > Is there any way to recover a field name from a VCursor? No way. And never will be I think. Cursor is theory is a NEW TMP TABLE. > I ask because I'm working on a module to be used in multiple projects > that is designed to update information in a record based on a cell > location in an RB ListBox. The columns will not be moving. So if I > know the column number of the cell and the record ID from the hidden > 0 column, I should be able to quickly update changed data...that is > IF I can readily identify the field in the VTable based on the cell > in the ListBox which is filled with data from a particular field in > the VCursor. > > Any easy way to do this inside of V4RB2? But you can use Vcursor.Update -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From joakim at astrocalc.com Thu Jun 1 20:20:43 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Thu Jun 1 13:20:50 2006 Subject: Table size In-Reply-To: Message-ID: <20060601181407.1D4DF3440D1@merc.astrocalc.net> > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: 01 June 2006 19:23 > To: valentina@lists.macserve.net > Subject: Re: Table size > > On 6/1/06 7:33 PM, "Joakim Schramm" wrote: > > >> In case data small, i.e. You need small db you can reduse > this Using > >> db.SegmentSize > >> > > So what does a "cluster" mean in real, I were do things > start and end > > for what goes into 1 cluster? 1 field = 1 cluster or? In > such case why > > 32KB default, or wait this cluster also hold field data so > when record > > added discsize do not grow until whole cluster is full and > start new > > one (adding new 32 * 177 = 5664KB to disc file)? > > > > In practical sense this mean 32KB segment can hold 4096 > 8byte fields > > before discsize changes? Just trying to understand... > > > > from COM docs: > > > > inSegmentSize The size of one cluster in the database file; > default 32KB. > > Please read WIKI , Vkernel manual about how Valentina keep > internal files > Well I had read both pdf and wiki, but it didn't give answer I looked for. I was after a more not too deep "technical" description, giving a bit more details of what causes a new segment to be created. The only thing I find on the subject is as below which basically says that "V can create big empty DB's based on segment size" but noting about what causes a segment to be created to start with and how each segment is related to specific parts of my on db's structure. I can Guess "RB-Tree" may contain the answer or part of it, but I am not a database techie and have no clue what RB-Tree is although I can think of it being some "db specification" used inside of Valentina. Basically I just wanted to know if my "assumptions" was correct or in what way they wasn't? >From kernel.pdf: Choosing a database segment size on creation* Each database volume contains the map of internal files (based on RB-Tree). Each internal file has one or several segments.* This parameter also specifies how many disk space will allocate each logical file when it must be expanded. * On default Valentina create database volumes with segment size 32Kb. This parameter should not be smaller of 4K and not big sense set it bigger of 32Kb or may be 64Kb.* Smaller segment size will produce more segments in a logical file. So deep of RB-Tree will be higher, what can reduce performance of random access operation. * Note that empty Valentina database can allocate many disk space right after creation. The more fields the more allocated space. Regards, Joakim From sunshine at public.kherson.ua Thu Jun 1 23:00:16 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 1 15:00:29 2006 Subject: Table size In-Reply-To: <20060601181407.1D4DF3440D1@merc.astrocalc.net> Message-ID: On 6/1/06 9:20 PM, "Joakim Schramm" wrote: Hi Joakim, >> Please read WIKI , Vkernel manual about how Valentina keep >> internal files >> > > Well I had read both pdf and wiki, but it didn't give answer I looked for. I > was after a more not too deep "technical" description, giving a bit more > details of what causes a new segment to be created. The only thing I find on > the subject is as below which basically says that "V can create big empty > DB's based on segment size" but noting about what causes a segment to be > created to start with and how each segment is related to specific parts of > my on db's structure. Here http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen tation:vkernel:table:storage Is shown that a field can have 1-4 associated logical files. Each logical file on start eat 1 segment, 32K on default. So your 109 fields may have e.g. 200 logical files, And then 200 * 32K = 6Mb When new segment is created? When current if full. E.g. Ulong field, 4 bytes per record, 32K = 4 bytes = 8000 records to be added before file of ULONG field will eat second segment. > I can Guess "RB-Tree" may contain the answer or part > of it, but I am not a database techie and have no clue what RB-Tree is > although I can think of it being some "db specification" used inside of > Valentina. No need to know this > Basically I just wanted to know if my "assumptions" was correct or in what > way they wasn't? > >> From kernel.pdf: > > Choosing a database segment size on creation* Each database volume contains > the map of internal files (based on RB-Tree). Each internal file has one or > several segments.* This parameter also specifies how many disk space will > allocate each logical file when it must be expanded. * On default Valentina > create database volumes with segment size 32Kb. This parameter should not be > smaller of 4K and not big sense set it bigger of 32Kb or may be 64Kb.* > Smaller segment size will produce more segments in a logical file. So deep > of RB-Tree will be higher, what can reduce performance of random access > operation. * Note that empty Valentina database can allocate many disk space > right after creation. The more fields the more allocated space. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From joakim at astrocalc.com Fri Jun 2 01:03:44 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Thu Jun 1 18:03:57 2006 Subject: Table size In-Reply-To: Message-ID: <20060601225707.C32BD75627C@merc.astrocalc.net> Hi Ruslan, > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: 01 June 2006 22:00 > To: valentina@lists.macserve.net > Subject: Re: Table size > > On 6/1/06 9:20 PM, "Joakim Schramm" wrote: > > Hi Joakim, > > >> Please read WIKI , Vkernel manual about how Valentina keep > internal > >> files > >> > > > > Here > > http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documen tation:vkernel:table:storage > Ahh missed that one, was blind looking on "database" level. > Is shown that a field can have 1-4 associated logical files. > Each logical file on start eat 1 segment, 32K on default. > > So your 109 fields may have e.g. 200 logical files, And then > 200 * 32K = 6Mb > Ok so what I "figured out" on my own is more or less correct then. > > When new segment is created? When current if full. Ok pretty logical, is this happen individually for each "logical" file? Like if seg1 of f1 got filled up seg2 of f1 is allocated BUT seg1 of f2 may not necessary expand to seg2 of f2 at this time but later when seg1 of f2 is full? > E.g. Ulong field, 4 bytes per record, > 32K = 4 bytes = 8000 records to be added before file of ULONG > field will eat second segment. > Yes but to clearify my note above, in this case if record also have Doubble field, 8 bytes = 4000 records, will segment of Ulong expand at same time "wasting" space for 4000 Ulong records? I think not? Also finally, can you explain this a bit: * Smaller segment size will produce more segments in a logical file. So deep of RB-Tree will be higher, what can reduce performance of random access operation. More specific, how to define a "random access operation", example (COM)? How much performance loss are we talking about here? If possible, I like to reduce initial size of db as I know some of my users have small computer, but as I create this db on first run I can make it optional like checking HD size/free space and set segment size on creation. Regards, Joakim From mjew at icnc.com Thu Jun 1 18:02:48 2006 From: mjew at icnc.com (Matthew Jew) Date: Thu Jun 1 20:02:58 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: <20060531215141.D89F442BB75@edison.macserve.net> References: <20060531215141.D89F442BB75@edison.macserve.net> Message-ID: <365DD162-DE82-42A4-B179-90286118D8AE@icnc.com> Ruslan, I rearranged some things in my project related to linking and such and now things are different. (This is why I was so interested in seeing a sample XCode project that used the C++ VSDK 2; most of the problems I have been having are just in figuring out how to configure the XCode project.) Before the project was not properly linking to the libvkernel, hence the failure to initialize. How it apparently is linking better, but now the call to ValentinaInit returns a 0. Is there anywhere I can look to find out what error is causing ValentinaInit to fail? - Matthew From sunshine at public.kherson.ua Fri Jun 2 09:36:29 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 01:36:42 2006 Subject: Table size In-Reply-To: <20060601225707.C32BD75627C@merc.astrocalc.net> Message-ID: On 6/2/06 2:03 AM, "Joakim Schramm" wrote: >> When new segment is created? When current if full. > > Ok pretty logical, is this happen individually for each "logical" file? yes > Like if seg1 of f1 got filled up seg2 of f1 is allocated BUT seg1 of f2 may > not necessary expand to seg2 of f2 at this time but later when seg1 of f2 is > full? yes -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 2 09:37:54 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 01:38:02 2006 Subject: Table size In-Reply-To: <20060601225707.C32BD75627C@merc.astrocalc.net> Message-ID: On 6/2/06 2:03 AM, "Joakim Schramm" wrote: >> E.g. Ulong field, 4 bytes per record, >> 32K = 4 bytes = 8000 records to be added before file of ULONG >> field will eat second segment. >> > Yes but to clearify my note above, in this case if record also have Doubble > field, 8 bytes = 4000 records, will segment of Ulong expand at same time > "wasting" space for 4000 Ulong records? I think not? Not at the same time of course -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 2 09:46:19 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 01:46:29 2006 Subject: Table size In-Reply-To: <20060601225707.C32BD75627C@merc.astrocalc.net> Message-ID: On 6/2/06 2:03 AM, "Joakim Schramm" wrote: > Also finally, can you explain this a bit: > > * Smaller segment size will produce more segments in a logical file. So deep > of RB-Tree will be higher, what can reduce performance of random access > operation. > > More specific, how to define a "random access operation", example (COM)? How > much performance loss are we talking about here? You cannot control this. This talk about RBTree of SegmentMap of internal file system. I think it is clear that if you make small segment, then you will get MORE segments. Right ? > If possible, I like to reduce initial size of db as I know some of my users > have small computer, but as I create this db on first run I can make it > optional like checking HD size/free space and set segment size on creation. You can try set db.SegmentSize = 4K But again, if in average, your users will put there say 20MB of data, In any case db will come to almost the same size -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 2 09:59:54 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 02:00:05 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: <365DD162-DE82-42A4-B179-90286118D8AE@icnc.com> Message-ID: On 6/2/06 4:02 AM, "Matthew Jew" wrote: Hi Matthew > I rearranged some things in my project related to linking and such > and now things are different. > (This is why I was so interested in seeing a sample XCode project > that used the C++ VSDK 2; But we have VSDK/Examples. > most of the problems I have been having are just in figuring out > how to configure the XCode project.) > > Before the project was not properly linking to the libvkernel, hence > the failure to initialize. Aha, Most probably you have ZERO LINK option ON. I prefer often set it OFF, because when it is ON, you cannot see correct link errors. > Now it apparently is linking better, but now the call to > ValentinaInit returns a 0. > > Is there anywhere I can look to find out what error is causing > ValentinaInit to fail? if( gCache ) return gCache->get_ByteSize(); else return 0; Strange, sounds like cache was not allocated. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 2 10:01:23 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 02:01:33 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: <365DD162-DE82-42A4-B179-90286118D8AE@icnc.com> Message-ID: On 6/2/06 4:02 AM, "Matthew Jew" wrote: > > How it apparently is linking better, but now the call to > ValentinaInit returns a 0. > > Is there anywhere I can look to find out what error is causing > ValentinaInit to fail? May be you can send me your project ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mjew at icnc.com Fri Jun 2 00:32:12 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 2 02:32:25 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: References: Message-ID: <6160E437-E05A-49D0-A399-108F9CFEC92F@icnc.com> On Jun 1, 2006, at 11:59 PM, Ruslan Zasukhin wrote: > On 6/2/06 4:02 AM, "Matthew Jew" wrote: > > Hi Matthew > >> I rearranged some things in my project related to linking and such >> and now things are different. > >> (This is why I was so interested in seeing a sample XCode project >> that used the C++ VSDK 2; > > But we have VSDK/Examples. Yes, but the required setup seems to be a little different when using the C++ VSDK 2 in a Cocoa application project. The VSDK Examples are pure C++ without the Cocoa application framework. And the sample Cocoa Valentina application uses the Cocoa wrapper, not the C++ VSDK directly. > >> most of the problems I have been having are just in figuring out >> how to configure the XCode project.) >> >> Before the project was not properly linking to the libvkernel, hence >> the failure to initialize. > > Aha, Most probably you have ZERO LINK option ON. > > I prefer often set it OFF, because when it is ON, you cannot see > correct > link errors. > >> Now it apparently is linking better, but now the call to >> ValentinaInit returns a 0. >> >> Is there anywhere I can look to find out what error is causing >> ValentinaInit to fail? > > if( gCache ) > return gCache->get_ByteSize(); > else > return 0; > > Strange, sounds like cache was not allocated. > > Yes, the cache seems to have not been allocated. Is there any error message or error code that is set somewhere when this happens? I am continuing to try different settings and options. - Matthew From sunshine at public.kherson.ua Fri Jun 2 10:37:44 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 02:37:53 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: <6160E437-E05A-49D0-A399-108F9CFEC92F@icnc.com> Message-ID: On 6/2/06 10:32 AM, "Matthew Jew" wrote: >> if( gCache ) >> return gCache->get_ByteSize(); >> else >> return 0; >> >> Strange, sounds like cache was not allocated. >> >> > > Yes, the cache seems to have not been allocated. > Is there any error message or error code that is set somewhere when > this happens? > > I am continuing to try different settings and options. ulong ValentinaInit( ulong inCacheSize, char* inMacSN, char* inWinSN ) { // on the potential second call we must do nothing. if( gCache == NULL ) { Init_ValentinaDlls(); // First of all we search for VComponents folder. FindVComponents(); // init path to ICU .dat file. // Inidirectly this will init gComponentsPath if it is // not inited yet. Valentina_Init_ICU(); // PROTECTION: the minimal size of cache 1MB. if( inCacheSize < 1024 * 1024 ) inCacheSize = 1024 * 1024; if( inCacheSize > 0 ) { init_plugins(); // FIXME: get a correct path from user for non-English lang. LoadErrorResource( NULL ); gCache = new Cache( inCacheSize, kPageSize, 1 ); gCache2 = new Cache( 2 * (32 * 1024), kPageSize, 2 ); gCache3 = new Cache( 172 * (32 * 1024), kPageSize, 3 ); } SetDefaultExtentions(); } if( gCache ) return gCache->get_ByteSize(); else return 0; } As you can see we simply try allocate cache by new. And then we check that point is not NULL. MAY BE you have send to ValentinaInit() very big value of cache size ? I do not see any other reason. ----- Also often help next: run your built app from Finder by double click and see output in console.app sometimes it show system - level errors -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From joakim at astrocalc.com Fri Jun 2 10:05:06 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Fri Jun 2 03:05:19 2006 Subject: Table size In-Reply-To: Message-ID: <20060602075828.5965B756F23@merc.astrocalc.net> Ok thanks for these answers Ruslan, I see this now in a much clearer light. However, I am still unsure about what a "random access operation" mean in the case of Valentina. Is it "Find..." operations in contast to sequensial navigation with FirstRecord(), NextRecord() etc.? Joakim > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: 02 June 2006 08:46 > To: valentina@lists.macserve.net > Subject: Re: Table size > > On 6/2/06 2:03 AM, "Joakim Schramm" wrote: > > > Also finally, can you explain this a bit: > > > > * Smaller segment size will produce more segments in a > logical file. > > So deep of RB-Tree will be higher, what can reduce performance of > > random access operation. > > > > More specific, how to define a "random access operation", example > > (COM)? How much performance loss are we talking about here? > > You cannot control this. > > This talk about RBTree of SegmentMap of internal file system. > > I think it is clear that if you make small segment, then you > will get MORE segments. Right ? > > > If possible, I like to reduce initial size of db as I know > some of my > > users have small computer, but as I create this db on first > run I can > > make it optional like checking HD size/free space and set > segment size on creation. > > You can try set db.SegmentSize = 4K > > But again, if in average, your users will put there say 20MB > of data, In any case db will come to almost the same size > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Fri Jun 2 11:21:39 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 03:21:48 2006 Subject: Table size In-Reply-To: <20060602075828.5965B756F23@merc.astrocalc.net> Message-ID: On 6/2/06 11:05 AM, "Joakim Schramm" wrote: > Ok thanks for these answers Ruslan, I see this now in a much clearer light. > However, I am still unsure about what a "random access operation" mean in > the case of Valentina. Is it "Find..." operations in contast to sequensial > navigation with FirstRecord(), NextRecord() etc.? That was description of INTERNAL Valentina operation. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 2 15:04:43 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 07:04:49 2006 Subject: Russ, your slow query Message-ID: Hi Russ, The first thing I have discover - you have join on state fields select * from locations, statetable where locations.state = statetable.state But in table locations it is not indexed. This cause non-indexed searches. This is not main show stopper. I see another non-indexed scan of table, which take 70% of time. I will check it now and let you know -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Fri Jun 2 11:13:35 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Jun 2 12:13:41 2006 Subject: What's Wrong With This 'Picture'? Message-ID: Still working towards a modular approach to keeping data in a listbox closely related to the data in the VTable/VField it came from, in an application being developed with RB2006v2 and V4RB2. I'm having a bit of a problem with a particular call.... theTable.theField.Value = theData The params for the method in the module are as follows: theTable as VTable, theField as VField, theData as string, recID as integer The problem is that during compile, I'm getting an error that theTable.theField.Value does not exist as a method or property. What could be causing this problem? Other calls to theTable are being recognized readily enough. I've tried changing the call to go for SetString instead of Value. But still get the same result. Please advise.... Regards, Chuck Pelto From marcel.lenormand at gmail.com Thu Jun 1 14:21:44 2006 From: marcel.lenormand at gmail.com (Marcel Lenormand) Date: Fri Jun 2 14:44:40 2006 Subject: unsubscribe Message-ID: <8BA8B83D-E548-4B92-8ABA-87C86D317979@gmail.com> have failed so far to be able to unsubscribe using the website's 'unsubscribe' button - it doesn't send me a confirmation email. [m] From mjew at icnc.com Fri Jun 2 14:18:03 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 2 16:18:15 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK Message-ID: <2BBDB495-AD7D-4812-80A0-38308D8A79D8@icnc.com> Ruslan, In certain configurations of my XCode project, I get this error: dyld: Library not loaded: @executable_path/../Frameworks/ VSDK.framework/Versions/A/VSDK Referenced from: /Volumes/Alpha2/Dev-ProjectBuilder/Cocoa-Projects/ RadiusAuthenticator2/build/Debug/RadiusAuthenticator2.app/Contents/ MacOS/RadiusAuthenticator2 Reason: Incompatible library version: RadiusAuthenticator2 requires version 1.0.0 or later, but VSDK provides version 0.0.0 What does this mean? - Matthew From sunshine at public.kherson.ua Sat Jun 3 00:24:14 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 16:24:19 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: <2BBDB495-AD7D-4812-80A0-38308D8A79D8@icnc.com> Message-ID: On 6/3/06 12:18 AM, "Matthew Jew" wrote: > Ruslan, > > In certain configurations of my XCode project, I get this error: > > dyld: Library not loaded: @executable_path/../Frameworks/ > VSDK.framework/Versions/A/VSDK > Referenced from: /Volumes/Alpha2/Dev-ProjectBuilder/Cocoa-Projects/ > RadiusAuthenticator2/build/Debug/RadiusAuthenticator2.app/Contents/ > MacOS/RadiusAuthenticator2 > Reason: Incompatible library version: RadiusAuthenticator2 > requires version 1.0.0 or later, but VSDK provides version 0.0.0 > > What does this mean? I will try tomorrow make new VSDK build using xcode 2.3 Also I will check this version for VSDK.Framework.. This is 1.x version VSDK as I see -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Jun 3 00:27:30 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 2 16:27:36 2006 Subject: What's Wrong With This 'Picture'? In-Reply-To: Message-ID: On 6/2/06 8:13 PM, "Chuck Pelto" wrote: Hi Chuck, > Still working towards a modular approach to keeping data in a listbox > closely related to the data in the VTable/VField it came from, in an > application being developed with RB2006v2 and V4RB2. > > I'm having a bit of a problem with a particular call.... > > theTable.theField.Value = theData > > The params for the method in the module are as follows: > > theTable as VTable, theField as VField, theData as string, recID as > integer > > The problem is that during compile, I'm getting an error that > theTable.theField.Value does not exist as a method or property. So you have Foo( theTable as VTable, theField as VField, theData as string, recID as integer) theTable.theField.Value = theData << ???? end Of course this is wrong. How you going join PARAMETERS into this chain ? TheTable is Vtable varaible. Class VTAble do not have theField property > What could be causing this problem? Other calls to theTable are being > recognized readily enough. > > I've tried changing the call to go for SetString instead of Value. > But still get the same result. > > Please advise.... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Fri Jun 2 17:34:53 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Fri Jun 2 18:35:07 2006 Subject: What's Wrong With This 'Picture'? In-Reply-To: References: Message-ID: On Jun 2, 2006, at 3:27 PM, Ruslan Zasukhin wrote: > >> Still working towards a modular approach to keeping data in a listbox >> closely related to the data in the VTable/VField it came from, in an >> application being developed with RB2006v2 and V4RB2. >> >> I'm having a bit of a problem with a particular call.... >> >> theTable.theField.Value = theData >> >> The params for the method in the module are as follows: >> >> theTable as VTable, theField as VField, theData as string, recID as >> integer >> >> The problem is that during compile, I'm getting an error that >> theTable.theField.Value does not exist as a method or property. > > So you have > > Foo( theTable as VTable, theField as VField, theData as string, > recID as > integer) > > theTable.theField.Value = theData << ???? > > end > > Of course this is wrong. How you going join PARAMETERS into this > chain ? > > TheTable is Vtable varaible. > > Class VTAble do not have theField property Okay.... ....how do I translate to the module the field inside of the table I want to update? The IDEAL here is to build a module that can be easily transliterated from one application to another. Regards, Chuck Pelto From sunshine at public.kherson.ua Sat Jun 3 14:52:54 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 3 06:53:03 2006 Subject: What's Wrong With This 'Picture'? In-Reply-To: Message-ID: On 6/3/06 2:34 AM, "Chuck Pelto" wrote: >>> Still working towards a modular approach to keeping data in a listbox >>> closely related to the data in the VTable/VField it came from, in an >>> application being developed with RB2006v2 and V4RB2. >>> >>> I'm having a bit of a problem with a particular call.... >>> >>> theTable.theField.Value = theData >>> >>> The params for the method in the module are as follows: >>> >>> theTable as VTable, theField as VField, theData as string, recID as >>> integer >>> >>> The problem is that during compile, I'm getting an error that >>> theTable.theField.Value does not exist as a method or property. >> >> So you have >> >> Foo( theTable as VTable, theField as VField, theData as string, >> recID as >> integer) >> >> theTable.theField.Value = theData << ???? >> >> end >> >> Of course this is wrong. How you going join PARAMETERS into this >> chain ? >> >> TheTable is Vtable varaible. >> >> Class VTAble do not have theField property > > Okay.... > > ....how do I translate to the module the field inside of the table I > want to update? > > The IDEAL here is to build a module that can be easily transliterated > from one application to another. You already have pointer on field object, So all you need something like this theField.Value = theData << ???? theTable.UpdateRecord -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jun 4 10:57:57 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 4 02:58:04 2006 Subject: ranged datetime query problem In-Reply-To: <7.0.1.0.2.20060604192224.03840aa0@paradise.net.nz> Message-ID: On 6/4/06 10:28 AM, "Sean Wilson" wrote: Hi Sean, > Yes, I realised this and altered my query. See my follow-up note > about using the DATEDIFF() function. I also gave an example query > there that also failed. Where I can see this ? > I now have this working properly, but unfortunately I tried so many > different things that I can't be sure which helped. 1) time_spent must be some INTEGER type. 2) SUM( datetimeFld ) always return ZERO because this is no-sense operation. I am adding now WARNING about such logical mistake. > One of the alterations I made was setting ObjectPtr to nullable and setting > the delete control to 'set null' * Nullable * Deletion Control Both these steps cannot affect SUM() So you have resolve this issue? Then I will check your report about ObjectPtr now -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From porto_agus at ono.com Sun Jun 4 16:31:41 2006 From: porto_agus at ono.com (agustin) Date: Sun Jun 4 09:31:57 2006 Subject: import text files problem Message-ID: <000c01c687e3$9f09bfa0$09377b54@altair> Greetings to everybody. I have a problem when I try to import an Access database (exported as an text file width fields separated by tabs) into a Valentina database. Aparently all works fine but the record aren?t inserted in the table. This is a resumen version of the code I use: gDatabase = new(Xtra "VDatabase", #kLocal) dbpath = the moviePath & "bases\plantas.vdb" gDatabase.Create( dbpath, #kDsc_Dat_Blb_Ind ) tblLatin = gDatabase.CreateTable( "latin" ) tblLatin.CreateStringField( "latin", 40, ) tblLatin.CreateStringField( "clavelat", 4, ) tblLatin.flush() cursor = gDatabase.SqlSelect("SELECT * FROM latin WHERE FALSE", #kClientSide, #kReadWrite) cursor.importText(the moviePath & "latin.txt", ";", RETURN, "UTF-8", FALSE) gDatabase.Flush() gDatabase.Close() gDatabase = void No generates error messages, but the files aren?t inserted into the table, the database files are created, an de table estructure also (I think). What?s the problem? I?m doing something wrong?, I missed something?. From sunshine at public.kherson.ua Sun Jun 4 17:46:53 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 4 09:46:58 2006 Subject: import text files problem In-Reply-To: <000c01c687e3$9f09bfa0$09377b54@altair> Message-ID: On 6/4/06 5:31 PM, "agustin" wrote: Hi Augistin, > Greetings to everybody. > > I have a problem when I try to import an Access database (exported as an text > file width fields separated by tabs) into a Valentina database. > Aparently all works fine but the record aren?t inserted in the table. > > This is a resumen version of the code I use: > > gDatabase = new(Xtra "VDatabase", #kLocal) > dbpath = the moviePath & "bases\plantas.vdb" > > gDatabase.Create( dbpath, #kDsc_Dat_Blb_Ind ) > tblLatin = gDatabase.CreateTable( "latin" ) > > tblLatin.CreateStringField( "latin", 40, ) > tblLatin.CreateStringField( "clavelat", 4, ) > tblLatin.flush() > > cursor = gDatabase.SqlSelect("SELECT * FROM latin WHERE FALSE", > #kClientSide, #kReadWrite) ^^^^^^^^^^ this is read only cursor You need ServerSide > cursor.importText(the moviePath & "latin.txt", ";", RETURN, "UTF-8", FALSE) > > gDatabase.Flush() > gDatabase.Close() > gDatabase = void > > No generates error messages, but the files aren?t inserted into the table, the > database files are created, an de table estructure also (I think). > What?s the problem? I?m doing something wrong?, I missed something?. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From porto_agus at ono.com Sun Jun 4 17:20:11 2006 From: porto_agus at ono.com (agustin) Date: Sun Jun 4 10:20:25 2006 Subject: import text files problem References: <000c01c687e3$9f09bfa0$09377b54@altair> Message-ID: <000501c687ea$65dbf9d0$09377b54@altair> I forgot to say I?m working with windows xp and director mx. ----- Original Message ----- From: "agustin" To: Sent: Sunday, June 04, 2006 4:31 PM Subject: import text files problem Greetings to everybody. I have a problem when I try to import an Access database (exported as an text file width fields separated by tabs) into a Valentina database. Aparently all works fine but the record aren?t inserted in the table. This is a resumen version of the code I use: gDatabase = new(Xtra "VDatabase", #kLocal) dbpath = the moviePath & "bases\plantas.vdb" gDatabase.Create( dbpath, #kDsc_Dat_Blb_Ind ) tblLatin = gDatabase.CreateTable( "latin" ) tblLatin.CreateStringField( "latin", 40, ) tblLatin.CreateStringField( "clavelat", 4, ) tblLatin.flush() cursor = gDatabase.SqlSelect("SELECT * FROM latin WHERE FALSE", #kClientSide, #kReadWrite) cursor.importText(the moviePath & "latin.txt", ";", RETURN, "UTF-8", FALSE) gDatabase.Flush() gDatabase.Close() gDatabase = void No generates error messages, but the files aren?t inserted into the table, the database files are created, an de table estructure also (I think). What?s the problem? I?m doing something wrong?, I missed something?. _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From porto_agus at ono.com Sun Jun 4 17:35:52 2006 From: porto_agus at ono.com (agustin) Date: Sun Jun 4 10:36:05 2006 Subject: import text files problem References: Message-ID: <000701c687ec$95a64010$09377b54@altair> Ok, it seems the problem is solved. Thanks you very much, especially for working on sunday. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Sunday, June 04, 2006 4:46 PM Subject: Re: import text files problem On 6/4/06 5:31 PM, "agustin" wrote: Hi Augistin, > Greetings to everybody. > > I have a problem when I try to import an Access database (exported as an > text > file width fields separated by tabs) into a Valentina database. > Aparently all works fine but the record aren?t inserted in the table. > > This is a resumen version of the code I use: > > gDatabase = new(Xtra "VDatabase", #kLocal) > dbpath = the moviePath & "bases\plantas.vdb" > > gDatabase.Create( dbpath, #kDsc_Dat_Blb_Ind ) > tblLatin = gDatabase.CreateTable( "latin" ) > > tblLatin.CreateStringField( "latin", 40, ) > tblLatin.CreateStringField( "clavelat", 4, ) > tblLatin.flush() > > cursor = gDatabase.SqlSelect("SELECT * FROM latin WHERE FALSE", > #kClientSide, #kReadWrite) ^^^^^^^^^^ this is read only cursor You need ServerSide > cursor.importText(the moviePath & "latin.txt", ";", RETURN, "UTF-8", > FALSE) > > gDatabase.Flush() > gDatabase.Close() > gDatabase = void > > No generates error messages, but the files aren?t inserted into the table, > the > database files are created, an de table estructure also (I think). > What?s the problem? I?m doing something wrong?, I missed something?. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From christer at ljusaideer.se Mon Jun 5 10:16:00 2006 From: christer at ljusaideer.se (Christer Olsson) Date: Mon Jun 5 03:16:08 2006 Subject: VServer demo license key for june? Message-ID: <9D29B214-8AA6-440C-8127-66806283147D@ljusaideer.se> Hello, I can't find a valid demo key for june for VServer Office. Is it posted? ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id?er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se From sunshine at public.kherson.ua Mon Jun 5 11:20:03 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 5 03:20:10 2006 Subject: VServer demo license key for june? In-Reply-To: <9D29B214-8AA6-440C-8127-66806283147D@ljusaideer.se> Message-ID: On 6/5/06 11:16 AM, "Christer Olsson" wrote: > Hello, > > I can't find a valid demo key for june for VServer Office. Is it posted? Yes, on download of page of Vserver Office or Vserver Embedded http://www.paradigmasoft.com/download -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From christer at ljusaideer.se Mon Jun 5 11:10:37 2006 From: christer at ljusaideer.se (Christer Olsson) Date: Mon Jun 5 04:10:40 2006 Subject: VServer demo license key for june? In-Reply-To: References: Message-ID: 5 jun 2006 kl. 10.20 skrev Ruslan Zasukhin: > On 6/5/06 11:16 AM, "Christer Olsson" wrote: > >> Hello, >> >> I can't find a valid demo key for june for VServer Office. Is it >> posted? > > Yes, on download of page of Vserver Office or Vserver Embedded > > http://www.paradigmasoft.com/download OK, thanks. I was checking www.valentina-db.com, and there's still just keys for may. Should we consider paradigmasoft.com to be your main site? From sunshine at public.kherson.ua Mon Jun 5 12:40:28 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 5 04:40:32 2006 Subject: VServer demo license key for june? In-Reply-To: Message-ID: On 6/5/06 12:10 PM, "Christer Olsson" wrote: >>> Hello, >>> >>> I can't find a valid demo key for june for VServer Office. Is it >>> posted? >> >> Yes, on download of page of Vserver Office or Vserver Embedded >> >> http://www.paradigmasoft.com/download > > OK, thanks. I was checking www.valentina-db.com, and there's still > just keys for may. Ops, I will fix that. > Should we consider paradigmasoft.com to be your > main site? Hard to say which is more main :) Valentina-db keeps WIKI, Forum, Mantis, ... But paradigmasoft is brand of last years , So many other site point it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Tue Jun 6 18:38:53 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jun 6 17:39:13 2006 Subject: V4Rb crash question Message-ID: <307ED972-7857-47AB-904A-097647D962E3@desuetude.com> I can cause V4Rb to crash with the following code. dim s as new VServer(...) s.OpenSession s.CloseSession s.OpenSession <-- crash occurs here Is this a known problem? I'm still using version 2.2. Charles Yeomans From sunshine at public.kherson.ua Wed Jun 7 02:50:00 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 6 18:50:08 2006 Subject: V4Rb crash question In-Reply-To: <307ED972-7857-47AB-904A-097647D962E3@desuetude.com> Message-ID: On 6/7/06 1:38 AM, "Charles Yeomans" wrote: > I can cause V4Rb to crash with the following code. > > dim s as new VServer(...) > s.OpenSession > s.CloseSession > s.OpenSession <-- crash occurs here > > > Is this a known problem? > > I'm still using version 2.2. Charles, We finish totally new Vclient. I hope that next week we will introduce new Vserver + Vclient betas. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Tue Jun 6 21:12:00 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jun 6 20:12:07 2006 Subject: V4Rb crash question In-Reply-To: References: Message-ID: <79F32FC9-8999-40A3-8A63-D9BBD71C3717@desuetude.com> On Jun 6, 2006, at 7:50 PM, Ruslan Zasukhin wrote: > On 6/7/06 1:38 AM, "Charles Yeomans" wrote: > >> I can cause V4Rb to crash with the following code. >> >> dim s as new VServer(...) >> s.OpenSession >> s.CloseSession >> s.OpenSession <-- crash occurs here >> >> >> Is this a known problem? >> >> I'm still using version 2.2. > > Charles, > > We finish totally new Vclient. > > I hope that next week we will introduce new Vserver + Vclient betas. > Perhaps this is an oblique way of saying yes :) Will these be version 2.5 betas? Charles Yeomans From sunshine at public.kherson.ua Wed Jun 7 10:07:44 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 7 02:07:51 2006 Subject: V4Rb crash question In-Reply-To: <79F32FC9-8999-40A3-8A63-D9BBD71C3717@desuetude.com> Message-ID: On 6/7/06 4:12 AM, "Charles Yeomans" wrote: >>> I can cause V4Rb to crash with the following code. >>> >>> dim s as new VServer(...) >>> s.OpenSession >>> s.CloseSession >>> s.OpenSession <-- crash occurs here >>> >>> >>> Is this a known problem? >>> >>> I'm still using version 2.2. >> >> Charles, >> >> We finish totally new Vclient. >> >> I hope that next week we will introduce new Vserver + Vclient betas. >> > > Perhaps this is an oblique way of saying yes :) Actually no, there was no such bug report as I remember > Will these be version 2.5 betas? No, still 2.4 betas -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 7 10:13:23 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 7 02:13:30 2006 Subject: A fatal problem in my application,please help me! In-Reply-To: <799A05E047D2E4478C7AFAD50CC8D66321EBA4@mail.newsoftinc.com.cn> Message-ID: On 6/7/06 6:22 AM, "rainbow_feng (???)" wrote: > Dear Ruslan, > > I do these steps as follow: > 1) Copy VComponents folder into your app > 2) cd to this new VComponents folder > 3) run "change_names_icu_vcomponents.sh" script ,in which I modified > "libvclient_ppc_release.dylib / libkernel_ppc_release.dylib / > libshared_ppc_release.dylib" to "libvclient_fat_release.dylib / > libkernel_fat_release.dylib / libshared_fat_release.dylib" because my > installed VComponents folder have not "_ppc_" dylib,please reference to > attached file---"FolderContent.png" > > But my project can not be linked ,there have more errors in Build Result > page, I cut some errors to you ,please reference to attached file---"Link > errors.png". > > I am in a puzzle about this problem. Please help me! Thanks a lot. Hi Rainbow, Wait, You need AT FIRST link your application as always. As result you get MyApp.app package. Right ? * Then you copy this .app to e.g. Desktop. * open package. * copy inside VComponents folder * run script. Now you have CORRECT app package, which must run by double click. You can copy this package into any computer - it is self contained. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From yeomans at desuetude.com Wed Jun 7 13:01:37 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Wed Jun 7 12:01:43 2006 Subject: V4Rb crash question In-Reply-To: References: Message-ID: On Jun 7, 2006, at 3:07 AM, Ruslan Zasukhin wrote: > On 6/7/06 4:12 AM, "Charles Yeomans" wrote: > >>>> I can cause V4Rb to crash with the following code. >>>> >>>> dim s as new VServer(...) >>>> s.OpenSession >>>> s.CloseSession >>>> s.OpenSession <-- crash occurs here >>>> >>>> >>>> Is this a known problem? >>>> >>>> I'm still using version 2.2. >>> >>> Charles, >>> >>> We finish totally new Vclient. >>> >>> I hope that next week we will introduce new Vserver + Vclient betas. >>> >> >> Perhaps this is an oblique way of saying yes :) > > Actually no, there was no such bug report as I remember There is now -- #1648. > >> Will these be version 2.5 betas? > > No, still 2.4 betas I'll try to set up some test machine. Charles Yeomans From sunshine at public.kherson.ua Thu Jun 8 11:52:50 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 8 03:53:52 2006 Subject: Attention To All C++ developers. In-Reply-To: Message-ID: On 6/6/06 6:14 PM, "Matthew Jew" wrote: Hi Mathew, Hi All C++ Developers. I'd like to invite all C++ developers that use Valentina SDK to join IRC chat of our team. You can use this chat to discuss any C++ related issues. If you want, please contact me off list, I will send you info how to connect to our IRC channel. -- Mathew, I am starting check your project. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina-studio mailing list Valentina-studio@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-studio From ruslan at paradigmasoft.com Thu Jun 8 21:38:52 2006 From: ruslan at paradigmasoft.com (Ruslan Zasukhin) Date: Thu Jun 8 13:40:00 2006 Subject: Re; Update Schema In-Reply-To: <98bbce5e7270387164ecdad0f61b392d@shaw.ca> Message-ID: On 6/8/06 8:46 PM, "Charles Cohen" wrote: >> Although you can choose when do dump >> >> StructureOnly >> DataOnly >> both >> > > No, I changed the structure in my program in the IDE.... > I changed the VVarChar field to a VText field....segment size 256 > > I then launched the program and restored it all from the XML file to > the new version of my app using V4RB 2.3. > > Works fine....checked in Valentina Studio...field is now a > VText...segment size = 256 > > Used the machO plugin to make it a complete package...works like a > charm. > > My dumps are already indumptype = 2 (XML) and indumpdata = 2 > (DataOnly)...I had forgotten that. Perfect. So problem solved? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Thu Jun 8 15:47:30 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Jun 8 16:47:37 2006 Subject: VField Question Message-ID: Is a VField in a VTable 'unique' to the entire VDatabase? In other words, if I have two VTables of different names and I have a VField in each of them with an identical name, e.g., Notes, and I do a VCursor call to get the VField, e.g., dim theField as VField theField = theCursor.Field(3) // where three is the index integer of the field I'm interested in and theCursor is a VCursor of a previously found set of data using SQLSelect() ....will the system know which field I'm working with if I pass theField variable to another method and perform actions with it? Regards, Chuck Pelto From daisychain at iinet.net.au Fri Jun 9 08:16:58 2006 From: daisychain at iinet.net.au (Daisychain EDI) Date: Thu Jun 8 17:17:10 2006 Subject: VServer VPHP Message-ID: <000f01c68b49$426b0060$6500a8c0@Damon> Hi Guys, Have downloaded the latest releases of VSERVER 2.3 and VPHP 2.3 from the website and can run all the examples except for the 3 select examples which all return the same error PHP Fatal error: INTERNAL MODULE ERROR!!! Could someone check that it isn't a problem with the example, I know they worked with the previous version 2.2, or give me a clue as to what I might have missed in the installation. Thanks Best regards Damon L. Pillinger Director Daisychain EDi Suite 3 4 Winston Court Moorabbin 3189 Phone : +61 3 9532 1220 Fax : +61 3 9532 1280 From mike at bedar.net Thu Jun 8 21:48:14 2006 From: mike at bedar.net (Michael Bedar) Date: Thu Jun 8 20:48:20 2006 Subject: Director-SQL:Select all fields from linked record? Message-ID: I have a select statement like "SELECT AB_LINK->AField1 FROM TableB" where TableA and TableB are linked with AB_LINK, and AField1 is of course a field in TableA This works, but I need to get 2 fields, so I tried "SELECT AB_LINK->AField1,AB_LINK->AField2 FROM TableB" Which seems to work, BUT then later when I use getRecordsAsPropList() on the cursor that the above select statement returns, the field names are not coming through.. i get "#No_name1:" and so on.. So I was trying to figure out how to get all the fields.. I didn't think ** would work after the -> (and I was right) but is there another way to do this? And does anyone know why my field names where not coming through in the prop list? Thanks Mike From snw at paradise.net.nz Fri Jun 9 14:09:34 2006 From: snw at paradise.net.nz (Sean Wilson) Date: Thu Jun 8 21:09:44 2006 Subject: Director-SQL:Select all fields from linked record? In-Reply-To: References: Message-ID: <7.0.1.0.2.20060609140304.03b421c0@paradise.net.nz> Did you try using an alias to provide field names, as in: "SELECT AB_LINK->AField1 AS 'AField1', AB_LINK->AField2 AS 'AField2' FROM TableB;" Cheers, -Sean. From sunshine at public.kherson.ua Fri Jun 9 10:14:38 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 9 02:14:45 2006 Subject: Can I not use my Valentina with RB standard edition? In-Reply-To: <086FF323-6ABE-4EF3-A571-F968610EB771@pacbell.net> Message-ID: On 6/9/06 7:11 AM, "Patrick Cusack" wrote: Hi Patric, > I am getting an error when I start up a test session on RB2006r2. I > get a warning / error that the Plugin:V4RB.rbx:0 is an exclusive > feature of realbasic Professional edition. Is this true? > > Patrick Cusack To be able use Valentina with RB Standard you need add into plugins folder any file named as DisableRBDB See our docs -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 9 10:23:44 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 9 02:23:50 2006 Subject: VField Question In-Reply-To: Message-ID: On 6/9/06 12:47 AM, "Chuck Pelto" wrote: Hi Chuck, > Is a VField in a VTable 'unique' to the entire VDatabase? > In other words, if I have two VTables of different names and I have a > VField in each of them with an identical name, e.g., Notes, and I do > a VCursor call to get the VField, e.g., > > dim theField as VField > > theField = theCursor.Field(3) // where three is the index integer of > the field I'm interested in and theCursor is a VCursor of a > previously found set of data using SQLSelect() > ....will the system know which field I'm working with if I pass > theField variable to another method and perform actions with it? Yes. Although good tip to specify alias for both fields: SELECT T1.notes as BigNotes, T2.notes as SmallNotes FROM T1, T2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 9 10:28:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 9 02:29:02 2006 Subject: Director-SQL:Select all fields from linked record? In-Reply-To: Message-ID: On 6/9/06 4:48 AM, "Michael Bedar" wrote: Hi Michael, > I have a select statement like > > "SELECT AB_LINK->AField1 FROM TableB" > > where TableA and TableB are linked with AB_LINK, What kind of link? ObjectPtr? BinaryLink? > and AField1 is of course a field in TableA > > This works, but I need to get 2 fields, so I tried > > "SELECT AB_LINK->AField1,AB_LINK->AField2 FROM TableB" > > Which seems to work, BUT then later when I use getRecordsAsPropList() > on the cursor that the above select statement returns, the field > names are not coming through.. i get "#No_name1:" and so on.. Looks to be bug...Logically of course that link->FieldName Get name of that field. As workaround you can try advice of Sean: SELECT AB_LINK->AField1 as 'F1', AB_LINK->AField2 as 'F2' FROM TableB > So I was trying to figure out how to get all the fields.. I didn't > think ** would work after the -> (and I was right) but is there > another way to do this? > > And does anyone know why my field names where not coming through in > the prop list? Also you can do this in traditional way using joins: Select a.AField1, a.AField2 >From TableA a join TableB ON AB_Link -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 9 10:38:52 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 9 02:38:59 2006 Subject: VServer VPHP In-Reply-To: <000f01c68b49$426b0060$6500a8c0@Damon> Message-ID: On 6/9/06 1:16 AM, "Daisychain EDI" wrote: Hi Damon, > Have downloaded the latest releases of VSERVER 2.3 and VPHP 2.3 from the > website and can run all the examples except for the 3 select examples > which all return the same error > > PHP Fatal error: INTERNAL MODULE ERROR!!! > > Could someone check that it isn't a problem with the example, I know > they worked with the previous version 2.2, or give me a clue as to what > I might have missed in the installation. You mean that SELECT not works? Do you have any own script with SELECT? If yes, does it work? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mohammad.moeini at gmail.com Sun Jun 11 12:07:26 2006 From: mohammad.moeini at gmail.com (mohammad moeini) Date: Sun Jun 11 03:37:30 2006 Subject: Attention To All C++ developers. In-Reply-To: <4487e5a3.28dd6eab.6428.ffffa2e5SMTPIN_ADDED@mx.gmail.com> References: <4487e5a3.28dd6eab.6428.ffffa2e5SMTPIN_ADDED@mx.gmail.com> Message-ID: No! No! the VSDK can not support the BCB (Borland C++ Builder). because in your header don't attach bcb . only attach vc and gcc. i compile vsdk 1.0 (don't support Unicode) and use the dll's in bcb . i don't this work by vsdk 2.0 and upper On 6/8/06, Ruslan Zasukhin wrote: > > On 6/6/06 6:14 PM, "Matthew Jew" wrote: > > Hi Mathew, > Hi All C++ Developers. > > I'd like to invite all C++ developers that use Valentina SDK to join > IRC chat of our team. > > You can use this chat to discuss any C++ related issues. > > If you want, please contact me off list, > I will send you info how to connect to our IRC channel. > > > -- > Mathew, I am starting check your project. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-studio mailing list > Valentina-studio@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-studio > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Sun Jun 11 11:56:31 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 11 03:56:37 2006 Subject: Attention To All C++ developers. In-Reply-To: Message-ID: On 6/11/06 11:37 AM, "mohammad moeini" wrote: Hi mohammad, > No! No! > the VSDK can not support the BCB (Borland C++ Builder). > because in your header don't attach bcb . only attach vc and gcc. > i compile vsdk 1.0 (don't support Unicode) and use the dll's in bcb . > i don't this work by vsdk 2.0 and upper Sorry, I have not catch your post. You complain that VSDK2 do not work with Borland C++ ? Actually we have never promise this. Borland self it seems claim that can use MS-compatible libs > On 6/8/06, Ruslan Zasukhin wrote: >> >> On 6/6/06 6:14 PM, "Matthew Jew" wrote: >> >> Hi Mathew, >> Hi All C++ Developers. >> >> I'd like to invite all C++ developers that use Valentina SDK to join >> IRC chat of our team. >> >> You can use this chat to discuss any C++ related issues. >> >> If you want, please contact me off list, >> I will send you info how to connect to our IRC channel. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From philip.moetteli at econophone.ch Sun Jun 11 15:16:30 2006 From: philip.moetteli at econophone.ch (=?ISO-8859-1?Q?Philip_M=F6tteli?=) Date: Sun Jun 11 08:16:38 2006 Subject: ObjectiveC++: expected unqualified-id before '@' token Message-ID: <4CE9C69D-43EC-43DA-8DBF-58A747D67E59@econophone.ch> Hi I try to use the VSDK C++ from a program, written in Objective-C. I have a very simple header file like this: #import #import #import @interface PMVServerProcess : PMPDBMS { VSQL::I_Server *server; } @end Its superclass contains no C++ code. When I try to compile it, I have the following errors: Distributed-CompileC /tmp/MultiMarketsSimulation.build/Development/ PMValentinaAdapter.build/Objects-normal/ppc/PMVAdapter.o /Users/ moetteli/Developer/Source/Aggregates/MultiMarketsSimulation/../../ Frameworks/PMPersistence/Adapters/Valentina/PMVAdapter.mm normal ppc objective-c++ com.apple.compilers.gcc.4_0 cd /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation setenv DISTCC_COMPILER "gcc version 4.0.1 (Apple Computer, Inc. build 5341)" setenv DISTCC_HOSTS localhost setenv DISTCC_SYSTEM "10.4.6 (ppc)" /usr/bin/distcc /usr/bin/gcc-4.0 -x objective-c++ -arch ppc - pipe -Wno-trigraphs -fobjc-exceptions -fpascal-strings -fasm-blocks - O0 -fpermissive -Wreturn-type -Weffc++ -Woverloaded-virtual -Wformat - Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused- value -Wunknown-pragmas -Wshadow -Wsign-compare - DVSDK_FRAMEWORK_STYLE -fmessage-length=0 -fobjc-direct-dispatch - mtune=G5 -ftree-vectorize -fvisibility-inlines-hidden -mfix-and- continue -gdwarf-2 -I/tmp/MultiMarketsSimulation.build/Development/ PMValentinaAdapter.build/PMValentina.hmap -fpch-preprocess -F/tmp/ Development -I/tmp/Development/include -I/Users/moetteli/VSDK/sources -I/tmp/MultiMarketsSimulation.build/Development/ PMValentinaAdapter.build/DerivedSources -c /Users/moetteli/Developer/ Source/Aggregates/MultiMarketsSimulation/../../Frameworks/ PMPersistence/Adapters/Valentina/PMVAdapter.mm -o /tmp/ MultiMarketsSimulation.build/Development/PMValentinaAdapter.build/ Objects-normal/ppc/PMVAdapter.o In file included from /Users/moetteli/VSDK/sources/VShared/FBL/publ/ Headers/FBL.h:104, from /Users/moetteli/VSDK/sources/VShared/FBL/publ/ Util_classes/FBL_String.h:13, from /Users/moetteli/VSDK/sources/VShared/VSQL/ Interfaces/VSQL_I_Server.h:13, from /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVDBMS.h:10, from /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:10: /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 22: warning: ignoring #pragma warning /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_EncryptionKey.h:28: warning: 'class fbl::EncryptionKey' has pointer data members /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_EncryptionKey.h:28: warning: but does not override 'fbl::EncryptionKey(const fbl::EncryptionKey&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_EncryptionKey.h:28: warning: or 'operator=(const fbl::EncryptionKey&)' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVDBMS.h:14: error: expected unqualified-id before '@' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVDBMS.h:20: warning: '@end' must appear in an @implementation context /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm: In function 'void +[PMVAdapter load] (objc_object*, objc_selector*)': /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:20: error: 'ValentinaInit' is not a member of 'fbl' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:21: error: 'ValentinaInitC' is not a member of 'fbl' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm: At global scope: /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected type-specifier before 'PMVDBMS' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected `)' before 'PMVDBMS' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm: In function '-[PMVAdapter PMVDBMS](PMVAdapter*, objc_selector*)': /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: return type '' is incomplete /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected `{' before '*' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected primary-expression before ')' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected `;' before ')' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:33: error: 'encoderCreationInvocationForLocation' was not declared in this scope /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:33: error: expected `;' before ':' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:43: error: 'deletedObjectInvocationForLocation' was not declared in this scope /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:43: error: expected `;' before ':' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:49: error: expected `}' before 'end' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:49: warning: control reaches end of non-void function distcc[18283] ERROR: compile /Users/moetteli/Developer/Source/ Aggregates/MultiMarketsSimulation/../../Frameworks/PMPersistence/ Adapters/Valentina/PMVAdapter.mm on localhost failed Interestingly, I can change the order of importing the headers. Then the error occurs at the declaration of NSObject. It is as if once, I import this C++ header file, there's no going back to Objective-C. I also saw, that there's a VSDK in framework style distributed with V4CC. But am I right and this framework doesn't contain client functions, e. g. I_Server? Will there be or is there already a complete VSDK in framework style somewhere? Many thanks for any help! Phil From sunshine at public.kherson.ua Sun Jun 11 16:23:46 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 11 08:23:51 2006 Subject: ObjectiveC++: expected unqualified-id before '@' token In-Reply-To: <4CE9C69D-43EC-43DA-8DBF-58A747D67E59@econophone.ch> Message-ID: On 6/11/06 4:16 PM, "Philip M?tteli" wrote: Hi Philip, > I try to use the VSDK C++ from a program, written in Objective-C. > I have a very simple header file like this: > > #import > #import > #import First note, you should prefer to use not separate headers of VSDK but #include This will simplify a lots development and future support -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jun 11 16:51:39 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 11 08:51:48 2006 Subject: ObjectiveC++: expected unqualified-id before '@' token In-Reply-To: <4CE9C69D-43EC-43DA-8DBF-58A747D67E59@econophone.ch> Message-ID: On 6/11/06 4:16 PM, "Philip M?tteli" wrote: Hi Philip, > I also saw, that there's a VSDK in framework style distributed with > V4CC. But am I right and this framework doesn't contain client > functions, e. g. I_Server? It contains, as any and all our ADKs do > Will there be or is there already a complete VSDK in framework style > somewhere? C++ VSDK as framework ? Well, I do not see any serious advantage of VSDK.Framework Vs VComponents folder + Headers. Btw, Shaun have got working ala-Valentina Light. So now we can make single dll all-in-one. And Shaun in his project have made VX.Framework. I have not think yet deeply, but may be VSDK Lite will be in the form of framework. I think next week we will start play with projects of ADK Lite. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Jun 11 16:53:15 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 11 08:53:19 2006 Subject: ObjectiveC++: expected unqualified-id before '@' token In-Reply-To: <4CE9C69D-43EC-43DA-8DBF-58A747D67E59@econophone.ch> Message-ID: On 6/11/06 4:16 PM, "Philip M?tteli" wrote: > MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ > Valentina/PMVAdapter.mm:20: error: 'ValentinaInit' is not a member of > 'fbl' Strange errors. Try VSDK2.h It seems you have include NOT all required headers. And I think VSQL is not recognized, as many other identifiers. > /Users/moetteli/Developer/Source/Aggregates/ > MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ > Valentina/PMVAdapter.mm:21: error: 'ValentinaInitC' is not a member > of 'fbl' -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From philip.moetteli at econophone.ch Sun Jun 11 16:01:07 2006 From: philip.moetteli at econophone.ch (=?ISO-8859-1?Q?Philip_M=F6tteli?=) Date: Sun Jun 11 09:01:20 2006 Subject: ObjectiveC++: expected unqualified-id before '@' token In-Reply-To: References: Message-ID: <50E7730C-F332-47E9-8CEB-AEE1891C5093@econophone.ch> Thank you for the quick reply! Am 11.06.2006 um 15:23 schrieb Ruslan Zasukhin: > On 6/11/06 4:16 PM, "Philip M?tteli" > wrote: > First note, you should prefer to use not separate headers of VSDK but > > #include Unfortunately it didn't get me back on track. The header file looks now like this: #import #import #import @interface PMVServerProcess : PMPDBMS { VSQL::I_Server *server; } @end And the warnings are much more, because more headers are imported. Unfortunately the game killing error remains the same: Distributed-CompileC /tmp/MultiMarketsSimulation.build/Development/ PMValentinaAdapter.build/Objects-normal/ppc/PMVAdapter.o /Users/ moetteli/Developer/Source/Aggregates/MultiMarketsSimulation/../../ Frameworks/PMPersistence/Adapters/Valentina/PMVAdapter.mm normal ppc objective-c++ com.apple.compilers.gcc.4_0 cd /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation setenv DISTCC_COMPILER "gcc version 4.0.1 (Apple Computer, Inc. build 5341)" setenv DISTCC_HOSTS localhost setenv DISTCC_SYSTEM "10.4.6 (ppc)" /usr/bin/distcc /usr/bin/gcc-4.0 -x objective-c++ -arch ppc - pipe -Wno-trigraphs -fobjc-exceptions -fpascal-strings -fasm-blocks - O0 -fpermissive -Wreturn-type -Weffc++ -Woverloaded-virtual -Wformat - Wswitch -Wunused-function -Wunused-label -Wunused-variable -Wunused- value -Wunknown-pragmas -Wshadow -Wsign-compare -fmessage-length=0 - fobjc-direct-dispatch -mtune=G5 -ftree-vectorize -fvisibility-inlines- hidden -mfix-and-continue -gdwarf-2 -I/tmp/ MultiMarketsSimulation.build/Development/PMValentinaAdapter.build/ PMValentina.hmap -fpch-preprocess -F/tmp/Development -I/tmp/ Development/include -I/Users/moetteli/VSDK/sources -I/tmp/ MultiMarketsSimulation.build/Development/PMValentinaAdapter.build/ DerivedSources -c /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm -o /tmp/MultiMarketsSimulation.build/ Development/PMValentinaAdapter.build/Objects-normal/ppc/PMVAdapter.o In file included from /Users/moetteli/VSDK/sources/VShared/FBL/publ/ Headers/FBL.h:104, from /Users/moetteli/VSDK/sources/VShared/FBL/publ/ Util_Classes/FBL_DTFormat.h:12, from /Users/moetteli/VSDK/sources/VShared/FBL/publ/ Interfaces/FBL_I_Database.h:13, from /Users/moetteli/VSDK/sources/VShared/FBL/publ/ Algorithms/FBL_Algs_Table.h:22, from /Users/moetteli/VSDK/sources/VSDK/VSDK2.h:23, from /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVDBMS.h:12, from /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:10: /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 22: warning: ignoring #pragma warning /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_DTFormat.h: In constructor 'fbl::DTFormat::DTFormat()': /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_DTFormat.h:53: warning: 'fbl::DTFormat::mDateSep' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_DTFormat.h:53: warning: 'fbl::DTFormat::mTimeSep' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_DTFormat.h:53: warning: 'fbl::DTFormat::mDateFormat' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_EncryptionKey.h: At global scope: /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_EncryptionKey.h:28: warning: 'class fbl::EncryptionKey' has pointer data members /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_EncryptionKey.h:28: warning: but does not override 'fbl::EncryptionKey(const fbl::EncryptionKey&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_EncryptionKey.h:28: warning: or 'operator=(const fbl::EncryptionKey&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: In instantiation of 'fbl::Array, fbl::RPNothing >': /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 323: instantiated from 'fbl::ArrayOfSimplePtrs' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_classes/ FBL_SortOrder.h:70: instantiated from here /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 139: warning: base class 'struct fbl::NativePtrItems' has a non-virtual destructor /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 139: warning: base class 'struct fbl::RPNothing' has a non-virtual destructor /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 139: warning: 'class fbl::Array, fbl::RPNothing >' has pointer data members /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 139: warning: but does not override 'operator=(const fbl::Array, fbl::RPNothing >&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_ForeignPlugin_Imp.h:24: warning: 'class fbl::ForeignPlugin_imp' has pointer data members /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_ForeignPlugin_Imp.h:24: warning: but does not override 'fbl::ForeignPlugin_imp(const fbl::ForeignPlugin_imp&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_Classes/ FBL_ForeignPlugin_Imp.h:24: warning: or 'operator=(const fbl::ForeignPlugin_imp&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h: In constructor 'fbl::BitSet::BitSet()': /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:51: warning: 'fbl::BitSet::mArray' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:51: warning: 'fbl::BitSet::mBytesInArray' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:51: warning: 'fbl::BitSet::mMaxValue' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h: At global scope: /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:107: warning: 'virtual fbl::Set_Ptr fbl::BitSet::Union(fbl::Set_Ptr)' was hidden /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:376: warning: by 'virtual void fbl::BitSet_01::Union(const fbl::BitSet&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:108: warning: 'virtual fbl::Set_Ptr fbl::BitSet::Intersection (fbl::Set_Ptr)' was hidden /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:377: warning: by 'virtual void fbl::BitSet_01::Intersection(const fbl::BitSet&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:109: warning: 'virtual fbl::Set_Ptr fbl::BitSet::Difference(fbl::Set_Ptr)' was hidden /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:378: warning: by 'virtual void fbl::BitSet_01::Difference(const fbl::BitSet&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:110: warning: 'virtual fbl::Set_Ptr fbl::BitSet::SymmetricDifference (fbl::Set_Ptr)' was hidden /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_BitSet.h:379: warning: by 'virtual void fbl::BitSet_01::SymmetricDifference(const fbl::BitSet&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_ArraySet.h:37: warning: 'class fbl::ArraySet' has pointer data members /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_ArraySet.h:37: warning: but does not override 'operator=(const fbl::ArraySet&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_ArraySet.h: In constructor 'fbl::ArraySet::ArraySet(fbl::ulong)': /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_ArraySet.h:42: warning: 'fbl::ArraySet::pStart' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_ArraySet.h:42: warning: 'fbl::ArraySet::pFinish' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_ArraySet.h:42: warning: 'fbl::ArraySet::pStorageEnd' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/FBL_ArraySet.h:42: warning: 'fbl::ArraySet::isSorted' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/ FBL_ArraySetIterator.h: At global scope: /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/ FBL_ArraySetIterator.h:27: warning: 'class fbl::ArraySetIterator' has pointer data members /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/ FBL_ArraySetIterator.h:27: warning: but does not override 'fbl::ArraySetIterator(const fbl::ArraySetIterator&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/ FBL_ArraySetIterator.h:27: warning: or 'operator=(const fbl::ArraySetIterator&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/ FBL_BitSetIterator.h:36: warning: 'class fbl::BitSetIterator' has pointer data members /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/ FBL_BitSetIterator.h:36: warning: but does not override 'fbl::BitSetIterator(const fbl::BitSetIterator&)' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Sets/ FBL_BitSetIterator.h:36: warning: or 'operator=(const fbl::BitSetIterator&)' /Users/moetteli/VSDK/sources/VShared/VSQL/Database/VSQL_QueryResult.h: 45: warning: 'class fbl::vsql::QueryResult' has pointer data members /Users/moetteli/VSDK/sources/VShared/VSQL/Database/VSQL_QueryResult.h: 45: warning: but does not override 'operator=(const fbl::vsql::QueryResult&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:19: warning: 'class fbl::VDK_Database' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:19: warning: but does not override 'fbl::VDK_Database(const fbl::VDK_Database&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:19: warning: or 'operator=(const fbl::VDK_Database&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:104: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:105: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:106: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:107: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:108: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:109: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:110: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:111: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:112: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:113: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:114: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:115: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:117: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:118: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:119: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:124: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:124: warning: 'class fbl::VDK_String' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:124: warning: but does not override 'fbl::VDK_String(const fbl::VDK_String&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:124: warning: or 'operator=(const fbl::VDK_String&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:145: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:145: warning: 'class fbl::VDK_VarChar' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:145: warning: but does not override 'fbl::VDK_VarChar(const fbl::VDK_VarChar&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:145: warning: or 'operator=(const fbl::VDK_VarChar&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:167: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:167: warning: 'class fbl::VDK_Text' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:167: warning: but does not override 'fbl::VDK_Text(const fbl::VDK_Text&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:167: warning: or 'operator=(const fbl::VDK_Text&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:195: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:195: warning: 'class fbl::VDK_BLOB' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:195: warning: but does not override 'fbl::VDK_BLOB(const fbl::VDK_BLOB&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:195: warning: or 'operator=(const fbl::VDK_BLOB&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:215: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:215: warning: 'class fbl::VDK_Picture' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:215: warning: but does not override 'fbl::VDK_Picture(const fbl::VDK_Picture&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:215: warning: or 'operator=(const fbl::VDK_Picture&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:242: warning: base class 'class fbl::VDK_Field' has a non-virtual destructor /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:242: warning: 'class fbl::VDK_ObjectPtr' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:242: warning: but does not override 'fbl::VDK_ObjectPtr(const fbl::VDK_ObjectPtr&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:242: warning: or 'operator=(const fbl::VDK_ObjectPtr&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:266: warning: 'class fbl::VDK_BinaryLink' has pointer data members /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:266: warning: but does not override 'fbl::VDK_BinaryLink(const fbl::VDK_BinaryLink&)' /Users/moetteli/VSDK/sources/VSDK/VSDK_Objects.h:266: warning: or 'operator=(const fbl::VDK_BinaryLink&)' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVDBMS.h:16: error: expected unqualified-id before '@' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVDBMS.h:23: warning: '@end' must appear in an @implementation context /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected type-specifier before 'PMVDBMS' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected `)' before 'PMVDBMS' /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm: In function '-[PMVAdapter PMVDBMS](PMVAdapter*, objc_selector*)': /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: return type '' is incomplete /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected `{' before '*' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected primary-expression before ')' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:25: error: expected `;' before ')' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:33: error: 'encoderCreationInvocationForLocation' was not declared in this scope /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:33: error: expected `;' before ':' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:43: error: 'deletedObjectInvocationForLocation' was not declared in this scope /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:43: error: expected `;' before ':' token /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:49: error: expected `}' before 'end' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: In constructor 'fbl::Array::Array (fbl::Ownership, fbl::ulong) [with T = fbl::SortItem*, elem_traits = fbl::NativePtrItems, remove_policy = fbl::RPNothing]': /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 336: instantiated from 'fbl::ArrayOfSimplePtrs::ArrayOfSimplePtrs (fbl::Ownership, fbl::ulong) [with T = fbl::SortItem*]' /Users/moetteli/VSDK/sources/VShared/FBL/publ/Util_classes/ FBL_SortOrder.h:75: instantiated from here /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 152: warning: 'fbl::Array, fbl::RPNothing >::mData' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 152: warning: 'fbl::Array, fbl::RPNothing >::mItems' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 152: warning: 'fbl::Array, fbl::RPNothing >::mMaxItems' should be initialized in the member initialization list /Users/moetteli/VSDK/sources/VShared/FBL/publ/Templates/FBL_Array.h: 152: warning: 'fbl::Array, fbl::RPNothing >::mOwnsItems' should be initialized in the member initialization list /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm: In function '-[PMVAdapter PMVDBMS](PMVAdapter*, objc_selector*)': /Users/moetteli/Developer/Source/Aggregates/ MultiMarketsSimulation/../../Frameworks/PMPersistence/Adapters/ Valentina/PMVAdapter.mm:49: warning: control reaches end of non-void function distcc[18472] ERROR: compile /Users/moetteli/Developer/Source/ Aggregates/MultiMarketsSimulation/../../Frameworks/PMPersistence/ Adapters/Valentina/PMVAdapter.mm on localhost failed Thanks for another hint! :-) Phil From sunshine at public.kherson.ua Sun Jun 11 17:37:27 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Jun 11 09:37:32 2006 Subject: ObjectiveC++: expected unqualified-id before '@' token In-Reply-To: <50E7730C-F332-47E9-8CEB-AEE1891C5093@econophone.ch> Message-ID: On 6/11/06 5:01 PM, "Philip M?tteli" wrote: > > Thanks for another hint! :-) Shaun says that: it is problem with search paths this is one reason that on OS X, we #import headers instead of #include I think that is automatic #ifndef HEADER #define HEADER ... but maybe try first #import . etc, before #include -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From daisychain at iinet.net.au Mon Jun 12 08:54:07 2006 From: daisychain at iinet.net.au (Daisychain EDI) Date: Sun Jun 11 17:54:14 2006 Subject: VServer VPHP In-Reply-To: Message-ID: <004901c68da9$f25194a0$6500a8c0@Damon> HI Ruslan, Have set up a simple database and added records to it, which all works file but the select statement behaves weirdly. If cPostcode is a integer Select cPostcode FROM dcBase Will return 3189,3178,3189 etc... which is fine If cSuburb is a string Select cSuburb FROM dcBase Will return '','','' etc... which is just empty strings - not correct Select cPostcode,cSuburb FROM dcBase Will return the error PHP Fatal error: INTERNAL MODULE ERROR!!! Select * FROM dcBase Will return the error PHP Fatal error: INTERNAL MODULE ERROR!!! I have adapted the samples provided in the PHP directory to also reflect these changes and have the exact same results. Is it possible to get version 2.2 of Vserver and VPHP somewhere so I can check if 2.2 works fine? Best regards Damon L. Pillinger Director Daisychain EDi Suite 3 4 Winston Court Moorabbin 3189 Phone : +61 3 9532 1220 Fax : +61 3 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Friday, 9 June 2006 5:39 PM To: valentina@lists.macserve.net Subject: Re: VServer VPHP On 6/9/06 1:16 AM, "Daisychain EDI" wrote: Hi Damon, > Have downloaded the latest releases of VSERVER 2.3 and VPHP 2.3 from the > website and can run all the examples except for the 3 select examples > which all return the same error > > PHP Fatal error: INTERNAL MODULE ERROR!!! > > Could someone check that it isn't a problem with the example, I know > they worked with the previous version 2.2, or give me a clue as to what > I might have missed in the installation. You mean that SELECT not works? Do you have any own script with SELECT? If yes, does it work? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Mon Jun 12 10:21:08 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 12 02:21:19 2006 Subject: VServer VPHP -- old version DOWNLOAD In-Reply-To: <004901c68da9$f25194a0$6500a8c0@Damon> Message-ID: On 6/12/06 1:54 AM, "Daisychain EDI" wrote: > Is it possible to get version 2.2 of Vserver and VPHP somewhere so I can > check if 2.2 works fine? Yes we keep old versions on site To get older version you need change normal path of a file to download/2.3/file Available 2.0.5 2.1 2.2 2.3 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jun 12 19:18:23 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 12 11:18:32 2006 Subject: ObjectiveC++: expected unqualified-id before '@' token In-Reply-To: <5239ACD5-6B15-4A4A-9F87-E82AA3960FD4@econophone.ch> Message-ID: On 6/12/06 2:38 PM, "Philip M?tteli" wrote: Hi Philip, > I have prepared a reduced test project: > . > I have the VSDK installed on the default location ? my home > directory. You should change the build variable HEADER_SEARCH_PATHS > to what you have on your system. > It's already interesting, that these dozens of warnings disappeared. > That's probably just a compiler flag. I didn't interrogate that more, > because the party-pooper itself persisted: > > /tmp/Test/PMVDBMS.h:13: error: expected unqualified-id before '@' token Okay, I have found reason. I have comment code as #import @interface PMVServerProcess : PMPDBMS { // VSQL::I_Server *server; } And it still produce error. If comment VSDK2.h then it compiles. Bingo. Problem in word interface. Ww in our FBL interfaces have made #define interface struct This make crazy the OBJC compiller To fix simply do #import #undef interface -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Mon Jun 12 11:27:52 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 12 12:28:04 2006 Subject: Sudden Stop & Loss of Input Data Message-ID: <8D5DD87C-02C2-43A2-88CD-7E338F570199@pcisys.net> Greetings All, I'm working on entering data into a V4RB2 database as part of testing the system. After a while, I suddenly lose contact with the database during a UpdateRecord() call. The app, running in debug mode, must be force quit. And, when I start the app again and look at the database....NONE of the data that was input is in there. What's the problem here? How is it corrected? Regards, Chuck Pelto From doppler at derlichtblick.at Mon Jun 12 22:05:27 2006 From: doppler at derlichtblick.at (thomas doppler) Date: Mon Jun 12 15:05:38 2006 Subject: non-casesensitive like - search Message-ID: <448DC907.2040802@derlichtblick.at> hi, what settings i have to do to my db if i need a non-casesensitive search with "like %searchterm%" i'm using vmd 2.1, mac + win thanks thomas -- LichtBlick-L?sungen aus einer Hand ------------------------------------------ http://derlichtblick.at meillergasse 5/3 a-1130 wien ------------------------------------------ tel 00 43 1 802 50 32 mobil 00 43 664 243 96 51 mail doppler@derlichtblick.at From lfredricks at proactive-intl.com Mon Jun 12 15:40:08 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon Jun 12 17:40:20 2006 Subject: RevCon West 2006 Message-ID: <002f01c68e71$28616d00$6401a8c0@lynn> Hi all, Just to let you know, Paradigma is a sponsor of RevCon West 2006, and going to RevCon West 2006 nets you a Revolution Media and a copy of Valentina Office Server. If you want to learn more about Revolution, this is a great event in sunny Monterey, CA. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From BillMounce at Comcast.net Mon Jun 12 16:41:56 2006 From: BillMounce at Comcast.net (Bill Mounce) Date: Mon Jun 12 18:42:03 2006 Subject: [V4RB] Compiler quiting expectantly Message-ID: <5FD0FCD3-2E46-40BC-9E12-6D0781AEAA24@Comcast.net> When I am in the IDE and run an app, and then quit the app, I am getting the same error message I used to get, that the Compiled app has quit unexpectantly. I don't know if this is RB or Valentina issue. I am quitting Valentina properly. Latest version of all software, Mac. Any suggestions? Thanks. Bill From sunshine at public.kherson.ua Tue Jun 13 11:50:35 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 13 03:50:40 2006 Subject: Sudden Stop & Loss of Input Data In-Reply-To: <8D5DD87C-02C2-43A2-88CD-7E338F570199@pcisys.net> Message-ID: On 6/12/06 8:27 PM, "Chuck Pelto" wrote: Hi Chuck, > Greetings All, > > I'm working on entering data into a V4RB2 database as part of testing > the system. > > After a while, I suddenly lose contact with the database during a > UpdateRecord() call. > > The app, running in debug mode, must be force quit. > > And, when I start the app again and look at the database....NONE of > the data that was input is in there. > > What's the problem here? > > How is it corrected? After UpdateRecord() it is good idea to do db.Flush() After flush() you can check it - force quite - should not loose data. Why you loose connection - it is hard to say. Set DebugLevel = kLogParams and check V4RB_log file -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 13 11:52:10 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 13 03:52:13 2006 Subject: non-casesensitive like - search In-Reply-To: <448DC907.2040802@derlichtblick.at> Message-ID: On 6/12/06 11:05 PM, "thomas doppler" wrote: Hi Thomas > hi, > > what settings i have to do to my db if i need a non-casesensitive search > with "like %searchterm%" > i'm using vmd 2.1, mac + win Valentina 2 do not have yet feature of 1.x no_case. Do you need case-insensitive searches always ? If yes then you can set for your db db.CollationAttribute( kStrength ) = kPrimary With this option all indexes and all searches will be case-insensitive -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 13 11:53:15 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 13 03:53:19 2006 Subject: [V4RB] Compiler quiting expectantly In-Reply-To: <5FD0FCD3-2E46-40BC-9E12-6D0781AEAA24@Comcast.net> Message-ID: On 6/13/06 2:41 AM, "Bill Mounce" wrote: Hi Bill, > When I am in the IDE and run an app, and then quit the app, I am > getting the same error message I used to get, that the Compiled app > has quit unexpectantly. I don't know if this is RB or Valentina > issue. I am quitting Valentina properly. Latest version of all > software, Mac. > > Any suggestions? Thanks. So crashes DEbugApp ? I think you should have crash log of that app. Check it to see where was crash -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dev at macfoh.com Tue Jun 13 02:28:06 2006 From: dev at macfoh.com (Shaun Wexler) Date: Tue Jun 13 04:28:13 2006 Subject: [V4RB] Compiler quiting expectantly In-Reply-To: <5FD0FCD3-2E46-40BC-9E12-6D0781AEAA24@Comcast.net> References: <5FD0FCD3-2E46-40BC-9E12-6D0781AEAA24@Comcast.net> Message-ID: <82A965B1-E757-4F91-AAE3-167DDB9FD538@macfoh.com> On Jun 12, 2006, at 4:41 PM, Bill Mounce wrote: > When I am in the IDE and run an app, and then quit the app, I am > getting the same error message I used to get, that the Compiled app > has quit unexpectantly. I don't know if this is RB or Valentina > issue. I am quitting Valentina properly. Latest version of all > software, Mac. > > Any suggestions? Thanks. Do you have Crash Reports configured for developer-level reports? If not, use: /Developer/Applications/Utilities/CrashReporterPrefs.app -- Shaun Wexler MacFOH http://www.macfoh.com From bwarlick at sunbelt-graphics.com Tue Jun 13 09:29:19 2006 From: bwarlick at sunbelt-graphics.com (Brandon ) Date: Tue Jun 13 09:29:23 2006 Subject: TIMESTAMP Example In-Reply-To: <82A965B1-E757-4F91-AAE3-167DDB9FD538@macfoh.com> Message-ID: <000001c68ef5$c222f380$9601a8c0@Brandon> How do I set a field to automatically insert a time stamp for new records? Thanks, Brandon From cbpelto at pcisys.net Tue Jun 13 09:21:18 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jun 13 10:21:24 2006 Subject: When the Record Is the Last Record Message-ID: <5E93AD74-8856-4DA4-9990-7D3DF61C7C3B@pcisys.net> Greetings, Is there a way to test if the record one is looking at, either in a table or a vcursor, is the LAST record in the set? In FMP this could be accomplished with a test if RecordNumber = RecordCount; where RecordNumber is the number of the record in the found set. If RecordNumber is equal to the RecordCount, you were at the end of all the records in the found set. How is that done in Valentina? Regards, Chuck Pelto From yeomans at desuetude.com Tue Jun 13 14:38:48 2006 From: yeomans at desuetude.com (Charles Yeomans) Date: Tue Jun 13 13:39:07 2006 Subject: When the Record Is the Last Record In-Reply-To: <5E93AD74-8856-4DA4-9990-7D3DF61C7C3B@pcisys.net> References: <5E93AD74-8856-4DA4-9990-7D3DF61C7C3B@pcisys.net> Message-ID: <0FE4CA35-717F-46D5-99B4-8E37ECE301FD@desuetude.com> On Jun 13, 2006, at 11:21 AM, Chuck Pelto wrote: > Greetings, > > Is there a way to test if the record one is looking at, either in a > table or a vcursor, is the LAST record in the set? > > In FMP this could be accomplished with a test if RecordNumber = > RecordCount; where RecordNumber is the number of the record in the > found set. If RecordNumber is equal to the RecordCount, you were at > the end of all the records in the found set. > > How is that done in Valentina? Check the documentation for VTable.RecordCount, VTable.LastRecord, VCursor.RecordCount, and VCursor.LastRecord. Charles Yeomans From sunshine at public.kherson.ua Tue Jun 13 23:17:17 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 13 15:17:23 2006 Subject: TIMESTAMP Example In-Reply-To: <000001c68ef5$c222f380$9601a8c0@Brandon> Message-ID: On 6/13/06 5:29 PM, "Brandon" wrote: Hi Brandon, > How do I set a field to automatically insert a time stamp for new > records? I think for this can be used function now() Probably it can be used on creation of field for DEFAULT value Ivan ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bmurf at comcast.net Tue Jun 13 15:51:06 2006 From: bmurf at comcast.net (Brendan Murphy) Date: Tue Jun 13 15:51:15 2006 Subject: [ANN] VInstaller 1.1 Message-ID: <148B0E0B-2AD1-49D4-A9E4-F494A1A3DFAF@comcast.net> VInstaller has be upgraded to version 1.1. This new version allows you to easily switch the V4RB and V4RB_Macho plugins in the REALbasic plugin folder. Previously: > VInstaller is a helper utility to simplify the creation of Mach-O > applications for Mac OS X that use Valentina 2.x or later. When > you create a Mach-O application with REALbasic, you need to insert > the VComponents libraries into the application package after the > build is complete. VInstaller makes this a one step process. > > Installing the VComponents folder is a very easy thing to do > manually, but becomes a pain in the rear end since it is tedious > to open up the application package and navigate to the ?Contents? > folder and then copy the VComponents folder to that location. > Also, if you are like me and you infrequently build a final > application for distribution or testing, it is easy to accidently > install the wrong VComponents folder (i.e., the one for carbon > builds) and spend time trying to figure out why your application > is crashing. VInstaller turns this into a one step ?no brainer? > operation. > > System Requirements: > > Mac OS X 10.2 or later > > Price: > > VInstaller is free. Enjoy! > > http://www.truenorthsoftware.com/Realbasic/VInstaller.html From bwarlick at sunbelt-graphics.com Tue Jun 13 15:53:48 2006 From: bwarlick at sunbelt-graphics.com (Brandon ) Date: Tue Jun 13 15:53:52 2006 Subject: TIMESTAMP Example In-Reply-To: Message-ID: <000201c68f2b$783fa340$9601a8c0@Brandon> I have tried getdate() and now() in the default value for a DateTime field. I am using vStudio to create the fields and do the tests. It does not work. Field is set to strange values such as 08/26/-1152 and 00/26/-1152 when new records are added. Using vServer and V4RB Windows. I know this seems trivial but it is important to me. Anyone have an idea? Brandon -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, June 13, 2006 3:17 PM To: valentina@lists.macserve.net Subject: Re: TIMESTAMP Example On 6/13/06 5:29 PM, "Brandon" wrote: Hi Brandon, > How do I set a field to automatically insert a time stamp for new > records? I think for this can be used function now() Probably it can be used on creation of field for DEFAULT value Ivan ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 14 00:27:15 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 13 16:27:21 2006 Subject: TIMESTAMP Example In-Reply-To: <000201c68f2b$783fa340$9601a8c0@Brandon> Message-ID: On 6/13/06 11:53 PM, "Brandon" wrote: > I have tried getdate() and now() in the default value for a DateTime > field. I am using vStudio to create the fields and do the tests. It does > not work. Field is set to strange values such as 08/26/-1152 and > 00/26/-1152 when new records are added. Using vServer and V4RB Windows. > > I know this seems trivial but it is important to me. Anyone have an > idea? Ivan will try find solution tomorrow morning, Why you want do this automatic? Why not simply INSERT some value ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 14 00:46:48 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 13 16:46:54 2006 Subject: Link to my project In-Reply-To: <8017B458-D811-4A42-8295-CC889A9E3929@icnc.com> Message-ID: On 6/13/06 3:27 AM, "Matthew Jew" wrote: Hi Matthew, > I have the project working much better now... I think I do more > things in the right order. > > The problem I am having right now is this: > > void DbValentinaBase::Create( I_Location_Ptr pLocation ) > { > try > { > DB->put_Location( pLocation ); > DB->put_Mode( DbMode( kDscDatBlbInd ) ); > DB->Create(); > } > catch( xException& Err ) > { > String Msg( Err.get_ErrorString() ); > > std::cout << "Valentina exception caught in > DbValentinaBase::Create: \n"; > std::cout << "\tError code : " << Err.get_ErrorCode() << "\n"; > std::cout << "\tError description: " << Msg.getBufferA() << "\n"; > } > } I recommend to make single function ProceedException( xException& Err ) { String Msg( Err.get_ErrorString() ); std::cout << "Valentina exception caught in DbValentinaBase::Create: \n"; std::cout << "\tError code : " << Err.get_ErrorCode() << "\n"; std::cout << "\tError description: " << Msg.getBufferA() << "\n"; } And in catch simple call it -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From BillMounce at Comcast.net Tue Jun 13 16:20:28 2006 From: BillMounce at Comcast.net (Bill Mounce) Date: Tue Jun 13 18:20:34 2006 Subject: DEBUG crashes Message-ID: <6CA96904-D2F8-42FF-B513-15A4EFAF2F09@Comcast.net> Ruslan, Yes, it is the ".debug" that creates the error, "The application xxx.debug quit unexpectantly." If I just start the application then quit (which starts Valentina), I don't get the error. But if I ask Valentina to do anything, then I get the error when I quit. BIll From daisychain at iinet.net.au Wed Jun 14 12:31:59 2006 From: daisychain at iinet.net.au (Daisychain EDI) Date: Tue Jun 13 21:32:31 2006 Subject: VServer VPHP In-Reply-To: Message-ID: <006b01c68f5a$b6ebc090$6500a8c0@Damon> Hi Ruslan, Yes, select does NOT work for me. valentina_connect( host, username, password ); -> OK valetina_select_db( "test_database" )->OK Fatal error: INTERNAL MODULE ERROR!!! in C:\Documents and Settings\Damon Pillinger\My Documents\My Webs\Daisychain EDI 2005\vserver\examples\select_assoc.php on line 26 Everything else works, I can connect, create, insert etc... but in the samples and in my own version I get the above error. I have loaded 2.2 and get the same error, and have completely uninstalled and reinstalled 2.3 but with the same error. If there was something wrong with the installation I don?t think I could create a database? I have included the log at the bottom which creates the database, adds a table and inserts a record then the select statement. Please help Thanks Best regards Damon L. Pillinger Director Daisychain EDi Suite 3 4 Winston Court Moorabbin 3189 Phone : +61 3 9532 1220 Fax : +61 3 9532 1280 /*************************************************************************************/ Wed Jun 14 2006 12:13:27.718000 VServer_Office (2.3, Protocol 2.0, Kernel 2.3 ) ERROR: Licence license_win_4411747456874593 is expired. Licence license_win_4412060989440334 is valid until 2006-06-31. Maximum number of connections: 5 12:13:27.765000 (1740): Database engine inited 12:13:27.796000 (1740): Server started at 15432 port SND: ulong = 3489726464 12:13:43.562000 (1924): Connection established with 'localhost:1114' (464) 12:13:43.578000 (2056): (464) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 2162080000 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT SND: long = 83886080 SND: bool = 1 SND: string = 15432 SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLE SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLE SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVEL SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVEL SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG SND: long = 0 SND: ulong = 16777216 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:43.593000 (1924): (464) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3906976000 SND: uchar = 67 12:13:43.609000 (2056): (464) Creating 'vphp2_db_test__2' database: OK 12:13:43.609000 (2056): (464) Expecting for 0 table(s)... 12:13:43.609000 (2056): (464) Expecting for 0 link(s)... 12:13:43.609000 (2056): (464) Expecting for 0 index style(s)... SND: uchar = 67 12:13:43.609000 (2056): (464) Database 'vphp2_db_test__2' has been successfully created 12:13:43.609000 (1408): (464) Closing database 'vphp2_db_test__2': OK SND: uchar = 67 12:13:43.609000 (1924): Closing connection (464) SND: ulong = 3489726464 12:13:46.906000 (1408): Connection established with 'localhost:1116' (464) 12:13:46.921000 (1924): (464) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3906976000 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT SND: long = 83886080 SND: bool = 1 SND: string = 15432 SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLE SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLE SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVEL SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVEL SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG;? SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG;? SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG;? SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG;? SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG;? SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG;? SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG;? SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG;? SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2?4? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:46.937000 (1408): (464) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 2833365248 12:13:46.953000 (1924): (464) SQL: C; Rows affected: 0 SND: uchar = 67 SND: ulong = 0 12:13:46.968000 (2056): Closing connection (464) SND: ulong = 3556835328 12:13:49.437000 (1924): Connection established with 'localhost:1118' (468) 12:13:49.453000 (1680): (468) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 2833365248 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT SND: long = 83886080 SND: bool = 1 SND: string = 15432 SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLE SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLE SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVEL SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVEL SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2??? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:49.468000 (1924): (468) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 3101866240 12:13:49.468000 (1680): (468) SQL: I; Rows affected: 1 SND: uchar = 67 SND: ulong = 16777216 12:13:49.484000 (1936): Closing connection (468) SND: ulong = 402784256 12:13:51.281000 (1680): Connection established with 'localhost:1120' (536) 12:13:51.296000 (1924): (536) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3101866240 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT ?? SND: long = 83886080 SND: bool = 1 SND: string = 15432?? SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLEH?? SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLEH?? SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVELH?? SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVELH?? SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG?|??? SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG?|??? SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG?|??? SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG?|??? SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG?|??? SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG?|??? SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG?|??? SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG?|??? SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2??? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:51.312000 (1680): (536) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 3370367232 12:13:51.312000 (1924): (536) SQL: I; Rows affected: 1 SND: uchar = 67 SND: ulong = 16777216 12:13:51.312000 (2056): Closing connection (536) SND: ulong = 3623944192 12:13:55.312000 (1924): Connection established with 'localhost:1122' (472) 12:13:55.328000 (1408): (472) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3370367232 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT ?? SND: long = 83886080 SND: bool = 1 SND: string = 15432?? SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLEH?? SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLEH?? SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVELH?? SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVELH?? SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG?|??? SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG?|??? SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG?|??? SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG?|??? SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG?|??? SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG?|??? SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG?|??? SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG?|??? SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2??|??|p? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:55.328000 (1924): (472) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 417708288 SND: uchar = 82 SND: ulong = 272546048 12:13:55.343000 (1408): (472) SQL: SELECT age, salary, name FROM vphp2_table_test; # of records: 2 SND: ulong = 33554432 SND: bool = 1 SND: ushort = 768 SND: long = 50331648 SND: bool = 1 SND: string = age SND: ulong = 134217728 SND: long = 67108864 SND: bool = 1 SND: string = Long(?? SND: ulong = 0 SND: ulong = 2685988609 SND: bool = 0 SND: bool = 0 SND: bool = 1 SND: bool = 0 SND: bool = 0 SND: long = 100663296 SND: bool = 1 SND: string = salary? SND: ulong = 134217728 SND: long = 67108864 SND: bool = 1 SND: string = Longry? SND: ulong = 0 SND: ulong = 3222925057 SND: bool = 0 SND: bool = 0 SND: bool = 1 SND: bool = 0 SND: bool = 0 SND: long = 67108864 SND: bool = 1 SND: string = namery? SND: ulong = 318767104 SND: long = 100663296 SND: bool = 1 SND: string = String? SND: ulong = 16777216 SND: long = 100663296 SND: bool = 1 SND: string = maxlen? SND: short = 256 SND: long = 838860800 SND: ulong = 3222990593 SND: bool = 0 SND: bool = 0 SND: bool = 1 SND: bool = 0 SND: bool = 0 SND: bool = 0 SND: long = 503316480 SND: bool = 0 SND: long = 812974080 SND: bool = 0 SND: long = 167772160 SND: bool = 1 SND: string = John Smith? SND: bool = 0 SND: long = 419430400 SND: bool = 0 SND: long = 269812480 SND: bool = 0 SND: long = 301989888 SND: bool = 1 SND: string = Smith Jones Binded? 12:13:55.343000 (1408): (472) CURSOR(0xC52CA0): Destroyed: OK 12:13:55.343000 (1936): (472) Closing database 'vphp2_db_test__2': OK SND: uchar = 67 12:13:55.343000 (1924): Closing connection (472) From daisychain at iinet.net.au Wed Jun 14 12:59:41 2006 From: daisychain at iinet.net.au (damon) Date: Tue Jun 13 21:59:50 2006 Subject: VServer VPHP More In-Reply-To: <006b01c68f5a$b6ebc090$6500a8c0@Damon> Message-ID: <007101c68f5e$95e2bbc0$6500a8c0@Damon> Hi Ruslan, In desperation I have downloaded Vserver 2.1 And it works fine.... I would like to use 2.3 as this is what I would be purchasing but 2.1 will be fine for testing Thanks Best regards Damon L. Pillinger Director Daisychain EDi Suite 3 4 Winston Court Moorabbin 3189 Phone : +61 3 9532 1220 Fax : +61 3 9532 1280 -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Daisychain EDI Sent: Wednesday, 14 June 2006 12:32 PM To: 'Valentina Developers' Subject: RE: VServer VPHP Hi Ruslan, Yes, select does NOT work for me. valentina_connect( host, username, password ); -> OK valetina_select_db( "test_database" )->OK Fatal error: INTERNAL MODULE ERROR!!! in C:\Documents and Settings\Damon Pillinger\My Documents\My Webs\Daisychain EDI 2005\vserver\examples\select_assoc.php on line 26 Everything else works, I can connect, create, insert etc... but in the samples and in my own version I get the above error. I have loaded 2.2 and get the same error, and have completely uninstalled and reinstalled 2.3 but with the same error. If there was something wrong with the installation I don?t think I could create a database? I have included the log at the bottom which creates the database, adds a table and inserts a record then the select statement. Please help Thanks Best regards Damon L. Pillinger Director Daisychain EDi Suite 3 4 Winston Court Moorabbin 3189 Phone : +61 3 9532 1220 Fax : +61 3 9532 1280 /*************************************************************************************/ Wed Jun 14 2006 12:13:27.718000 VServer_Office (2.3, Protocol 2.0, Kernel 2.3 ) ERROR: Licence license_win_4411747456874593 is expired. Licence license_win_4412060989440334 is valid until 2006-06-31. Maximum number of connections: 5 12:13:27.765000 (1740): Database engine inited 12:13:27.796000 (1740): Server started at 15432 port SND: ulong = 3489726464 12:13:43.562000 (1924): Connection established with 'localhost:1114' (464) 12:13:43.578000 (2056): (464) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 2162080000 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT SND: long = 83886080 SND: bool = 1 SND: string = 15432 SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLE SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLE SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVEL SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVEL SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG SND: long = 0 SND: ulong = 16777216 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:43.593000 (1924): (464) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3906976000 SND: uchar = 67 12:13:43.609000 (2056): (464) Creating 'vphp2_db_test__2' database: OK 12:13:43.609000 (2056): (464) Expecting for 0 table(s)... 12:13:43.609000 (2056): (464) Expecting for 0 link(s)... 12:13:43.609000 (2056): (464) Expecting for 0 index style(s)... SND: uchar = 67 12:13:43.609000 (2056): (464) Database 'vphp2_db_test__2' has been successfully created 12:13:43.609000 (1408): (464) Closing database 'vphp2_db_test__2': OK SND: uchar = 67 12:13:43.609000 (1924): Closing connection (464) SND: ulong = 3489726464 12:13:46.906000 (1408): Connection established with 'localhost:1116' (464) 12:13:46.921000 (1924): (464) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3906976000 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT SND: long = 83886080 SND: bool = 1 SND: string = 15432 SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLE SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLE SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVEL SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVEL SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG;? SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG;? SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG;? SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG;? SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG;? SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG;? SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG;? SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG;? SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2?4? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:46.937000 (1408): (464) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 2833365248 12:13:46.953000 (1924): (464) SQL: C; Rows affected: 0 SND: uchar = 67 SND: ulong = 0 12:13:46.968000 (2056): Closing connection (464) SND: ulong = 3556835328 12:13:49.437000 (1924): Connection established with 'localhost:1118' (468) 12:13:49.453000 (1680): (468) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 2833365248 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT SND: long = 83886080 SND: bool = 1 SND: string = 15432 SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLE SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLE SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLE SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVEL SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVEL SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2??? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:49.468000 (1924): (468) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 3101866240 12:13:49.468000 (1680): (468) SQL: I; Rows affected: 1 SND: uchar = 67 SND: ulong = 16777216 12:13:49.484000 (1936): Closing connection (468) SND: ulong = 402784256 12:13:51.281000 (1680): Connection established with 'localhost:1120' (536) 12:13:51.296000 (1924): (536) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3101866240 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT ?? SND: long = 83886080 SND: bool = 1 SND: string = 15432?? SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLEH?? SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLEH?? SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVELH?? SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVELH?? SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG?|??? SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG?|??? SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG?|??? SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG?|??? SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG?|??? SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG?|??? SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG?|??? SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG?|??? SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master?|x? SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2??? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:51.312000 (1680): (536) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 3370367232 12:13:51.312000 (1924): (536) SQL: I; Rows affected: 1 SND: uchar = 67 SND: ulong = 16777216 12:13:51.312000 (2056): Closing connection (536) SND: ulong = 3623944192 12:13:55.312000 (1924): Connection established with 'localhost:1122' (472) 12:13:55.328000 (1408): (472) Database: ; User: sa: OK SND: uchar = 75 SND: ulong = 3370367232 SND: uchar = 67 SND: long = 50331648 SND: bool = 1 SND: string = 2.3 SND: ulong = 16777216 SND: long = 117440512 SND: bool = 1 SND: string = THREADS SND: long = 16777216 SND: bool = 1 SND: string = 5HREADS SND: long = 268435456 SND: bool = 1 SND: string = MAXCLIENTTIMEOUT SND: long = 33554432 SND: bool = 1 SND: string = 20XCLIENTTIMEOUT SND: long = 67108864 SND: bool = 1 SND: string = PORT ?? SND: long = 83886080 SND: bool = 1 SND: string = 15432?? SND: long = 117440512 SND: bool = 1 SND: string = BACKLOG SND: long = 33554432 SND: bool = 1 SND: string = 20CKLOG SND: long = 201326592 SND: bool = 1 SND: string = LOGTOCONSOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOCONSOLEH?? SND: long = 150994944 SND: bool = 1 SND: string = LOGTOFILEOLEH?? SND: long = 16777216 SND: bool = 1 SND: string = 1OGTOFILEOLEH?? SND: long = 201326592 SND: bool = 1 SND: string = VERBOSELEVELH?? SND: long = 16777216 SND: bool = 1 SND: string = 4ERBOSELEVELH?? SND: long = 218103808 SND: bool = 1 SND: string = SYSTEMCATALOG?|??? SND: long = 167772160 SND: bool = 1 SND: string = Databases\LOG?|??? SND: long = 134217728 SND: bool = 1 SND: string = PROTOCOLs\LOG?|??? SND: long = 50331648 SND: bool = 1 SND: string = 2.0TOCOLs\LOG?|??? SND: long = 100663296 SND: bool = 1 SND: string = KERNELOLs\LOG?|??? SND: long = 67108864 SND: bool = 1 SND: string = 2.3 ELOLs\LOG?|??? SND: long = 150994944 SND: bool = 1 SND: string = CACHESIZE\LOG?|??? SND: long = 33554432 SND: bool = 1 SND: string = 10CHESIZE\LOG?|??? SND: long = 0 SND: ulong = 33554432 SND: long = 100663296 SND: bool = 1 SND: string = master SND: long = 268435456 SND: bool = 1 SND: string = vphp2_db_test__2??|??|p? SND: ulong = 16777216 SND: long = 33554432 SND: bool = 1 SND: string = sa?|8 ?|????2 ?|??|??|?@? SND: bool = 1 12:13:55.328000 (1924): (472) Database: vphp2_db_test__2; User: sa: OK SND: uchar = 75 SND: ulong = 417708288 SND: uchar = 82 SND: ulong = 272546048 12:13:55.343000 (1408): (472) SQL: SELECT age, salary, name FROM vphp2_table_test; # of records: 2 SND: ulong = 33554432 SND: bool = 1 SND: ushort = 768 SND: long = 50331648 SND: bool = 1 SND: string = age SND: ulong = 134217728 SND: long = 67108864 SND: bool = 1 SND: string = Long(?? SND: ulong = 0 SND: ulong = 2685988609 SND: bool = 0 SND: bool = 0 SND: bool = 1 SND: bool = 0 SND: bool = 0 SND: long = 100663296 SND: bool = 1 SND: string = salary? SND: ulong = 134217728 SND: long = 67108864 SND: bool = 1 SND: string = Longry? SND: ulong = 0 SND: ulong = 3222925057 SND: bool = 0 SND: bool = 0 SND: bool = 1 SND: bool = 0 SND: bool = 0 SND: long = 67108864 SND: bool = 1 SND: string = namery? SND: ulong = 318767104 SND: long = 100663296 SND: bool = 1 SND: string = String? SND: ulong = 16777216 SND: long = 100663296 SND: bool = 1 SND: string = maxlen? SND: short = 256 SND: long = 838860800 SND: ulong = 3222990593 SND: bool = 0 SND: bool = 0 SND: bool = 1 SND: bool = 0 SND: bool = 0 SND: bool = 0 SND: long = 503316480 SND: bool = 0 SND: long = 812974080 SND: bool = 0 SND: long = 167772160 SND: bool = 1 SND: string = John Smith? SND: bool = 0 SND: long = 419430400 SND: bool = 0 SND: long = 269812480 SND: bool = 0 SND: long = 301989888 SND: bool = 1 SND: string = Smith Jones Binded? 12:13:55.343000 (1408): (472) CURSOR(0xC52CA0): Destroyed: OK 12:13:55.343000 (1936): (472) Closing database 'vphp2_db_test__2': OK SND: uchar = 67 12:13:55.343000 (1924): Closing connection (472) _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 14 11:03:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 03:04:03 2006 Subject: VServer VPHP More In-Reply-To: <007101c68f5e$95e2bbc0$6500a8c0@Damon> Message-ID: On 6/14/06 5:59 AM, "damon" wrote: > Hi Ruslan, > > In desperation I have downloaded Vserver 2.1 > > And it works fine.... I would like to use 2.3 as this is what I would be > purchasing but 2.1 will be fine for testing Hi Damon, In nearest 5-10 days we will introduce new Vserver 2.4 beta with new protocol and we will update all ADKs to work with this new server. For now please use 2.1 ok ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 14 11:07:22 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 03:07:30 2006 Subject: DEBUG crashes In-Reply-To: <6CA96904-D2F8-42FF-B513-15A4EFAF2F09@Comcast.net> Message-ID: On 6/14/06 2:20 AM, "Bill Mounce" wrote: Hi Bill, > Yes, it is the ".debug" that creates the error, "The application > xxx.debug quit unexpectantly." > If I just start the application then > quit (which starts Valentina), I don't get the error. Which application you mean here? Compiled by RB? MyApp ? > But if I ask > Valentina to do anything, then I get the error when I quit. When you see this dialog "The application xxx.debug quit unexpectantly." It should have button Send To Apple. Right? Click it. You will see report. Copy it here. May be you have not close/destroy all objects before shutdown. Although this should not cause crash. Is app able create db and do other operations? I ask because If yes then Init was ok ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From porto_agus at ono.com Wed Jun 14 11:43:29 2006 From: porto_agus at ono.com (agustin) Date: Wed Jun 14 04:43:39 2006 Subject: Importing text files tables to data base Message-ID: <001201c68f97$01f588a0$2122ca51@altair> I'm using Valentina with director mx in a multiplatform project with several languages (spanish, english, french, german and portuguese), but I have some troubles: 1) I must show a lot of test that must be show correctly at any language of the listed above. I created the database with charcode latin9 (iso-8859-15). I see all chars correctly except o (a french char), it appears en latin9 but not in latin1 (iso-8859-1). It seems that Director can use latin1 but no latin9 and when I use that char in shows an unknown char. Inside the database y see the char correctly, so I supose that it?s not a problem of Valentina but Director. I want to know if there is another way to show this char correctly as it do with the rest of chars. 2) I looking for an example of how to populate the links (binary links) and ObjectPtr fields. I populate my database from tables exported from Access as text files with fields separated by tabs and later I import the tables with the import command of Valentina. I want to transform this tables to a structure more apropiate to Valentina way of work but I don?t know exactly how. I must create the ObjectPtr fields in each table an later insert in the values with my own program reading tables and copying the recId field of the related table row to row? There is in the Valentina documentation an example of how to do that of the best and rapid way? From sunshine at public.kherson.ua Wed Jun 14 13:22:35 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 05:22:42 2006 Subject: Importing text files tables to data base In-Reply-To: <001201c68f97$01f588a0$2122ca51@altair> Message-ID: On 6/14/06 12:43 PM, "agustin" wrote: > I'm using Valentina with director mx in a multiplatform project with several > languages (spanish, english, french, german and portuguese), but I have some > troubles: What version of Valentina ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 14 13:24:30 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 05:24:35 2006 Subject: Importing text files tables to data base In-Reply-To: <001201c68f97$01f588a0$2122ca51@altair> Message-ID: On 6/14/06 12:43 PM, "agustin" wrote: Hi Augustin, > I'm using Valentina with director mx in a multiplatform project with several > languages (spanish, english, french, german and portuguese), but I have some > troubles: > > 1) I must show a lot of test that must be show correctly at any language of > the listed above. I created the database with charcode latin9 (iso-8859-15). I > see all chars correctly except o (a french char), it appears en latin9 but not > in latin1 (iso-8859-1). It seems that Director can use latin1 but no latin9 > and when I use that char in shows an unknown char. Inside the database y see > the char correctly, You mean using Valentina Studio ? > so I supose that it?s not a problem of Valentina but Director. May be you need setup correct font ? > I want to know if there is another way to show this char correctly as it do > with the rest of chars. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 14 13:29:59 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 05:30:09 2006 Subject: [V4MD] In-Reply-To: <001201c68f97$01f588a0$2122ca51@altair> Message-ID: On 6/14/06 12:43 PM, "agustin" wrote: > 2) I looking for an example of how to populate the links (binary links) and > ObjectPtr fields. > I populate my database from tables exported from Access as text files with > fields separated by tabs and later I import the tables with the import command > of Valentina. > > I want to transform this tables to a structure more apropiate to Valentina way > of work but I don?t know exactly how. > I must create the ObjectPtr fields in each table an later insert in the > values with my own program reading tables and copying the recId field of the > related table row to row? > There is in the Valentina documentation an example > of how to do that of the best and rapid way? Right. You use existing Primary Key + Foreign Key in your 2 tables (that are 1:M) To find linked records. Then do operation you describe above. Actually, for ObjectPtr we have built-in tool in engine: "CONVERT RDB LINK" -- SQL command and exists such API command in the ObjectPtr field. Check docs. We have no yet such tool for BinaryLinks. ---- Also note, Valentina can perfectly work with Access structure. What exactly you want to get converting to Valentina features? Size? Speed? Both ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From porto_agus at ono.com Wed Jun 14 13:00:45 2006 From: porto_agus at ono.com (agustin) Date: Wed Jun 14 06:00:59 2006 Subject: Importing text files tables to data base References: Message-ID: <000b01c68fa1$ceecf460$2122ca51@altair> 2.3 ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, June 14, 2006 12:22 PM Subject: Re: Importing text files tables to data base > On 6/14/06 12:43 PM, "agustin" wrote: > >> I'm using Valentina with director mx in a multiplatform project with >> several >> languages (spanish, english, french, german and portuguese), but I have >> some >> troubles: > > What version of Valentina ? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From porto_agus at ono.com Wed Jun 14 13:23:27 2006 From: porto_agus at ono.com (agustin) Date: Wed Jun 14 06:23:40 2006 Subject: Importing text files tables to data base References: Message-ID: <001201c68fa4$fa275cd0$2122ca51@altair> I'm using "Valentina 2 database Xtra (V4MD)", de exe file I downloaded is "V4MD_2_win.exe". It?s the Xtra for Macromedia Director and I'm working with Windows XP(spanish language). I don't know exactly what you mean with "setup correct font " if you are refering to use another type of font I proved with font arial, verdana, times and don?t works. I see correctly all the other special chars and I there is a lot, specially in french and portuguese (I'm always talking about Windows OS that is the system I'm proving) ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, June 14, 2006 12:24 PM Subject: Re: Importing text files tables to data base On 6/14/06 12:43 PM, "agustin" wrote: Hi Augustin, > I'm using Valentina with director mx in a multiplatform project with > several > languages (spanish, english, french, german and portuguese), but I have > some > troubles: > > 1) I must show a lot of test that must be show correctly at any language > of > the listed above. I created the database with charcode latin9 > (iso-8859-15). I > see all chars correctly except o (a french char), it appears en latin9 but > not > in latin1 (iso-8859-1). It seems that Director can use latin1 but no > latin9 > and when I use that char in shows an unknown char. Inside the database y > see > the char correctly, You mean using Valentina Studio ? > so I supose that it?s not a problem of Valentina but Director. May be you need setup correct font ? > I want to know if there is another way to show this char correctly as it > do > with the rest of chars. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From porto_agus at ono.com Wed Jun 14 13:42:26 2006 From: porto_agus at ono.com (agustin) Date: Wed Jun 14 06:42:36 2006 Subject: [V4MD] References: Message-ID: <001e01c68fa7$9f91f110$2122ca51@altair> Yes, but I have a problem. It?s that I received the original database in text files because the original database were in Foxpro for Mac and I didn?t see them right. I translated tables to Access because it is the DBMS that I have and it allows me to change and export (text file with fields separated with tabs) easily data to Valentina with the import command. My problem is that the original databases have tables related with M : M relations, so I wish convert that relations M:M in 2 relations 1:M and prove if I obtain a speed improve because the final product will be in DVD support, although tables are not bigger and as the are now and it's not so long to get data. I'll look for the example you say. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, June 14, 2006 12:29 PM Subject: [V4MD] On 6/14/06 12:43 PM, "agustin" wrote: > 2) I looking for an example of how to populate the links (binary links) > and > ObjectPtr fields. > I populate my database from tables exported from Access as text files with > fields separated by tabs and later I import the tables with the import > command > of Valentina. > > I want to transform this tables to a structure more apropiate to Valentina > way > of work but I don?t know exactly how. > I must create the ObjectPtr fields in each table an later insert in the > values with my own program reading tables and copying the recId field of > the > related table row to row? > There is in the Valentina documentation an example > of how to do that of the best and rapid way? Right. You use existing Primary Key + Foreign Key in your 2 tables (that are 1:M) To find linked records. Then do operation you describe above. Actually, for ObjectPtr we have built-in tool in engine: "CONVERT RDB LINK" -- SQL command and exists such API command in the ObjectPtr field. Check docs. We have no yet such tool for BinaryLinks. ---- Also note, Valentina can perfectly work with Access structure. What exactly you want to get converting to Valentina features? Size? Speed? Both ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 14 14:54:22 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 06:54:28 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink In-Reply-To: <001e01c68fa7$9f91f110$2122ca51@altair> Message-ID: On 6/14/06 2:42 PM, "agustin" wrote: Hi Augustin, > Yes, but I have a problem. It?s that I received the original database in > text files because the original database were in Foxpro for Mac and I didn?t > see them right. Where in Valentina ? Vcursor.Import() have parameter encoding. I think you could specify "Macintosh" encoding, and Valentina should convert Mac encoiding into UTF16 win. > I translated tables to Access because it is the DBMS that I > have and it allows me to change and export (text file with fields separated > with tabs) easily data to Valentina with the import command. Okay. > My problem is that the original databases have tables related with M : M > relations, > so I wish convert that relations M:M in 2 relations 1:M and prove if I obtain > a speed improve because the final product will be in DVD support, although > tables are not bigger and as the are now and it's not so long to get data. Stop...something wrong here in understanding. You say you did have in FoxPro (and Access) tables related as M : M ??? Why you think so ? Not FoxPro not access do not support this. You can have M:M link between tables A and B only with help of THIRD TABLE -- TableAB Do you talk about this case ? ------ Second. Convesion of single MM to two 1:M generaly speaking not good idea. But taking in account above -- you just cannot have MM in FoxPro. Please explain -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From porto_agus at ono.com Wed Jun 14 14:43:06 2006 From: porto_agus at ono.com (agustin) Date: Wed Jun 14 07:43:22 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink References: Message-ID: <001a01c68fb0$1b9c1df0$2122ca51@altair> When I imported the original file in foxpro to Access the aparence of special chars in Access were not correct in Windows (Acceess), I didn?t proved to export them directly to Valentina (I'll do). I encoded as latin9 because I didn?t find a list of allowed encoding types. I tryed with latin9 and as it works I used it. If there is a list, say me where I can find it. I'll prove "Macintosh" encoding. When I say M:M relation I mean that I have in a main table a field like this "=147=145=420b=421b=478=615a=621b=" where each =145= corresponds to a data field value "145" witch is a key field in the related table. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, June 14, 2006 1:54 PM Subject: Re: [V4MD] Foxpro/Access MM tables to BinaryLink On 6/14/06 2:42 PM, "agustin" wrote: Hi Augustin, > Yes, but I have a problem. It?s that I received the original database in > text files because the original database were in Foxpro for Mac and I > didn?t > see them right. Where in Valentina ? Vcursor.Import() have parameter encoding. I think you could specify "Macintosh" encoding, and Valentina should convert Mac encoiding into UTF16 win. > I translated tables to Access because it is the DBMS that I > have and it allows me to change and export (text file with fields > separated > with tabs) easily data to Valentina with the import command. Okay. > My problem is that the original databases have tables related with M : M > relations, > so I wish convert that relations M:M in 2 relations 1:M and prove if I > obtain > a speed improve because the final product will be in DVD support, although > tables are not bigger and as the are now and it's not so long to get data. Stop...something wrong here in understanding. You say you did have in FoxPro (and Access) tables related as M : M ??? Why you think so ? Not FoxPro not access do not support this. You can have M:M link between tables A and B only with help of THIRD TABLE -- TableAB Do you talk about this case ? ------ Second. Convesion of single MM to two 1:M generaly speaking not good idea. But taking in account above -- you just cannot have MM in FoxPro. Please explain -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 14 15:52:39 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 07:52:46 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink In-Reply-To: <001a01c68fb0$1b9c1df0$2122ca51@altair> Message-ID: On 6/14/06 3:43 PM, "agustin" wrote: > When I imported the original file in foxpro to Access the aparence of > special chars in Access were not correct in Windows (Acceess), I didn?t > proved to export them directly to Valentina (I'll do). > > I encoded as latin9 because I didn?t find a list of allowed encoding types. > I tryed with latin9 and as it works I used it. If there is a list, say me > where I can find it. I'll prove "Macintosh" encoding. Valentina use ICU which use ISO standard. ICU understand any aliases to encodings. E.g Windows-1251 = Cyrillic Win ICU know tons of possible aliases for 220 world encodings. I have see Apple did have list of encodings...(they also use ICU) ----- > When I say M:M relation I mean that I have in a main table a field like this > "=147=145=420b=421b=478=615a=621b=" where each =145= corresponds to a data > field value "145" witch is a key field in the related table. Aha, Wow. This is very non-standard solution.. To convert it into Valentina's BinaryLink MM, you need write some special function to translate this .. After conversion to BinaryLink you can drop this field in your tables... If you will need help to write such function we can discuss it here.. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Wed Jun 14 18:18:53 2006 From: maxprog at mac.com (Stan Busk) Date: Wed Jun 14 11:18:30 2006 Subject: Sorry... Message-ID: <38DC1E9B-D97F-435E-B431-103763322C59@mac.com> ... for what we have done to you today... :) ~/Stan From sunshine at public.kherson.ua Wed Jun 14 19:48:51 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 14 11:48:56 2006 Subject: Sorry... In-Reply-To: <38DC1E9B-D97F-435E-B431-103763322C59@mac.com> Message-ID: On 6/14/06 7:18 PM, "Stan Busk" wrote: > > ... for what we have done to you today... :) You mean football? You are from Spain? Aha! :-) Yes one of worse game for UA team, that we have see I think :( Lets hope It is not evening yet :) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Wed Jun 14 19:15:08 2006 From: maxprog at mac.com (Stan Busk) Date: Wed Jun 14 12:14:44 2006 Subject: Sorry... In-Reply-To: References: Message-ID: <32305B18-D5DC-4BFE-96CD-252BB2E260BB@mac.com> yep... can't believe it!... I think nobody in Spain was expecting that. Actually it seems most Spaniards are not confident in their team. I am not a football/soccer big fan but when Spain is winning it becomes interesting... :) Anyway, there will be a lot more chances later. ~/Stan > On 6/14/06 7:18 PM, "Stan Busk" wrote: > >> >> ... for what we have done to you today... :) > > You mean football? > > You are from Spain? Aha! :-) > > Yes one of worse game for UA team, that we have see I think :( > Lets hope It is not evening yet :) > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From porto_agus at ono.com Thu Jun 15 12:12:13 2006 From: porto_agus at ono.com (agustin) Date: Thu Jun 15 05:12:33 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink References: Message-ID: <000301c69064$3353d820$5b357b54@altair> I have a problem with numeric fields. I populate my database from tables exported from Access as text files with fields separated by tabs. When I import the tables with the import command Valentina don?t report errors but when I retrieve values of that numeric fields only obtain the number 0. What?s the problem?. The process I use to create the database is like this: Valentina = new ( Xtra "Valentina" ) Valentina.Init( 10 * 1024 * 1024 ) gDatabase = new(Xtra "VDatabase", #kLocal) dbpath = the moviePath & "bases" & dirsimbol & "mibase.vdb" gDatabase.Create( dbpath, #kDscDatBlb_Ind ) tblEnfer = gDatabase.CreateTable( "enfermedades" ) tblEnfer.CreateULongField( "org") tblEnfer.CreateStringField( "pagBes", 3 ) tblEnfer.CreateStringField( "pagDe", 5 ) tblEnfer.CreateStringField( "pagNev", 3 ) tblEnfer.CreateStringField( "claveEnf", 4 ) tblEnfer.CreateVarCharField( "enfEs", 100 ) tblEnfer.CreateVarCharField( "enfUs", 100 ) tblEnfer.CreateVarCharField( "enfFr", 100 ) tblEnfer.CreateVarCharField( "enfPo", 100 ) tblEnfer.CreateVarCharField( "enfDe", 100 ) tblEnfer.CreateStringField( "capNev", 2 ) tblEnfer.Flush() cursor = gDatabase.SqlSelect("SELECT * FROM enfermedades WHERE FALSE", #kServerSide, #kReadWrite) cursor.importText(the moviePath & "enf.txt", TAB, RETURN, "latin9", FALSE) tblEnfer.Flush() cursor = VOID After this process if i retrieve values of "org" field, the result is always 0. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Wednesday, June 14, 2006 2:52 PM Subject: Re: [V4MD] Foxpro/Access MM tables to BinaryLink On 6/14/06 3:43 PM, "agustin" wrote: > When I imported the original file in foxpro to Access the aparence of > special chars in Access were not correct in Windows (Acceess), I didn?t > proved to export them directly to Valentina (I'll do). > > I encoded as latin9 because I didn?t find a list of allowed encoding > types. > I tryed with latin9 and as it works I used it. If there is a list, say me > where I can find it. I'll prove "Macintosh" encoding. Valentina use ICU which use ISO standard. ICU understand any aliases to encodings. E.g Windows-1251 = Cyrillic Win ICU know tons of possible aliases for 220 world encodings. I have see Apple did have list of encodings...(they also use ICU) ----- > When I say M:M relation I mean that I have in a main table a field like > this > "=147=145=420b=421b=478=615a=621b=" where each =145= corresponds to a data > field value "145" witch is a key field in the related table. Aha, Wow. This is very non-standard solution.. To convert it into Valentina's BinaryLink MM, you need write some special function to translate this .. After conversion to BinaryLink you can drop this field in your tables... If you will need help to write such function we can discuss it here.. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From porto_agus at ono.com Thu Jun 15 14:33:53 2006 From: porto_agus at ono.com (agustin) Date: Thu Jun 15 07:33:58 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink References: <000301c69064$3353d820$5b357b54@altair> Message-ID: <000a01c69077$f9560530$5b357b54@altair> I have seen that the problem is that althought the import command identifies the RETURN char as register separator it inserts it as first char of the first field of the next register, if it is a number field returns 0, but if its a char field adds it as the first char of the field. I'm using Director mx and export tables as text files from Microsoft Access. How can I avoid it? ----- Original Message ----- From: "agustin" To: "Valentina Developers" Sent: Thursday, June 15, 2006 12:12 PM Subject: Re: [V4MD] Foxpro/Access MM tables to BinaryLink >I have a problem with numeric fields. I populate my database from tables >exported from Access as text files with fields separated by tabs. When I >import the tables with the import command Valentina don?t report errors but >when I retrieve values of that numeric fields only obtain the number 0. >What?s the problem?. The process I use to create the database is like this: > > Valentina = new ( Xtra "Valentina" ) > Valentina.Init( 10 * 1024 * 1024 ) > gDatabase = new(Xtra "VDatabase", #kLocal) > dbpath = the moviePath & "bases" & dirsimbol & "mibase.vdb" > gDatabase.Create( dbpath, #kDscDatBlb_Ind ) > > tblEnfer = gDatabase.CreateTable( "enfermedades" ) > > tblEnfer.CreateULongField( "org") > tblEnfer.CreateStringField( "pagBes", 3 ) > tblEnfer.CreateStringField( "pagDe", 5 ) > tblEnfer.CreateStringField( "pagNev", 3 ) > tblEnfer.CreateStringField( "claveEnf", 4 ) > tblEnfer.CreateVarCharField( "enfEs", 100 ) > tblEnfer.CreateVarCharField( "enfUs", 100 ) > tblEnfer.CreateVarCharField( "enfFr", 100 ) > tblEnfer.CreateVarCharField( "enfPo", 100 ) > tblEnfer.CreateVarCharField( "enfDe", 100 ) > tblEnfer.CreateStringField( "capNev", 2 ) > tblEnfer.Flush() > cursor = gDatabase.SqlSelect("SELECT * FROM enfermedades WHERE FALSE", > #kServerSide, #kReadWrite) > cursor.importText(the moviePath & "enf.txt", TAB, RETURN, "latin9", > FALSE) > tblEnfer.Flush() > cursor = VOID > > After this process if i retrieve values of "org" field, the result is > always 0. > > > > ----- Original Message ----- > From: "Ruslan Zasukhin" > To: > Sent: Wednesday, June 14, 2006 2:52 PM > Subject: Re: [V4MD] Foxpro/Access MM tables to BinaryLink > > > On 6/14/06 3:43 PM, "agustin" wrote: > >> When I imported the original file in foxpro to Access the aparence of >> special chars in Access were not correct in Windows (Acceess), I didn?t >> proved to export them directly to Valentina (I'll do). >> >> I encoded as latin9 because I didn?t find a list of allowed encoding >> types. >> I tryed with latin9 and as it works I used it. If there is a list, say me >> where I can find it. I'll prove "Macintosh" encoding. > > Valentina use ICU which use ISO standard. > > ICU understand any aliases to encodings. > E.g > Windows-1251 = Cyrillic Win > > ICU know tons of possible aliases for 220 world encodings. > > I have see Apple did have list of encodings...(they also use ICU) > > > ----- >> When I say M:M relation I mean that I have in a main table a field like >> this >> "=147=145=420b=421b=478=615a=621b=" where each =145= corresponds to a >> data >> field value "145" witch is a key field in the related table. > > Aha, Wow. > > This is very non-standard solution.. > > To convert it into Valentina's BinaryLink MM, you need write some special > function to translate this .. > > After conversion to BinaryLink you can drop this field in your tables... > > If you will need help to write such function we can discuss it here.. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From lists at mangomultimedia.com Thu Jun 15 07:09:51 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Jun 15 09:10:00 2006 Subject: VServer Questions Message-ID: 1) VServer crashed on OS X. How can I restart it using Terminal? I see in docs how to shut it down, but not restart. 2) I couldn't get VServer to run as an executable either. In Docs it enter the full path to the Vserver executable and press return. I tried: /Library/VServer_Office/VServer_Office.app/Contents/MacOS/VServer_Office but the terminal says: 22:02:40.865083 (2684415384): ERROR 0xFFFFFFC3: Cannot open 'master' database 22:02:40.866736 (2684415384): Server terminated Thanks, -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor@bluemangolearning.com -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor@bluemangolearning.com From sunshine at public.kherson.ua Thu Jun 15 17:16:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 09:16:59 2006 Subject: VServer Questions In-Reply-To: Message-ID: On 6/15/06 5:09 PM, "Trevor DeVore" wrote: > 1) VServer crashed on OS X. How can I restart it using Terminal? I > see in docs how to shut it down, but not restart. Drag file /Library/StartupItems/VServer_Office/VServer_Office To terminal, and press enter > 2) I couldn't get VServer to run as an executable either. In Docs it > enter the full path to the Vserver executable and press return. > > I tried: > > /Library/VServer_Office/VServer_Office.app/Contents/MacOS/VServer_Office > > but the terminal says: > > 22:02:40.865083 (2684415384): ERROR 0xFFFFFFC3: Cannot open 'master' > database > 22:02:40.866736 (2684415384): Server terminated -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 15 17:18:24 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 09:18:26 2006 Subject: VServer Questions In-Reply-To: Message-ID: On 6/15/06 5:09 PM, "Trevor DeVore" wrote: > 1) VServer crashed on OS X. How can I restart it using Terminal? I > see in docs how to shut it down, but not restart. > > 2) I couldn't get VServer to run as an executable either. In Docs it > enter the full path to the Vserver executable and press return. > > I tried: > > /Library/VServer_Office/VServer_Office.app/Contents/MacOS/VServer_Office > > but the terminal says: > > 22:02:40.865083 (2684415384): ERROR 0xFFFFFFC3: Cannot open 'master' > database > 22:02:40.866736 (2684415384): Server terminated Try trash MasterDB -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 15 17:19:29 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 09:19:32 2006 Subject: VServer Questions In-Reply-To: Message-ID: On 6/15/06 5:16 PM, "Ruslan Zasukhin" wrote: > On 6/15/06 5:09 PM, "Trevor DeVore" wrote: > >> 1) VServer crashed on OS X. How can I restart it using Terminal? I >> see in docs how to shut it down, but not restart. > > Drag file /Library/StartupItems/VServer_Office/VServer_Office > > To terminal, and press enter Correction, must be /Library/StartupItems/VServer_Office/VServer_Office start -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lists at mangomultimedia.com Thu Jun 15 07:24:10 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Jun 15 09:24:15 2006 Subject: VServer Questions In-Reply-To: References: Message-ID: <232438E0-377D-4865-83A7-A88765662784@mangomultimedia.com> On Jun 15, 2006, at 7:19 AM, Ruslan Zasukhin wrote: > > Correction, must be > > /Library/StartupItems/VServer_Office/VServer_Office start Worked - I tried VServer_Office last night but got an unbound variable warning. The "start" was the missing piece. I ended up trashing the master db and using this in the terminal: sudo /Library/StartupItems/VServer_Office/VServer_Office start When I started the server without sudo I got an error about not being able to use ConsoleMessage. Thanks, -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor@bluemangolearning.com From sunshine at public.kherson.ua Thu Jun 15 17:29:59 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 09:30:02 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink In-Reply-To: <000a01c69077$f9560530$5b357b54@altair> Message-ID: On 6/15/06 3:33 PM, "agustin" wrote: > I have seen that the problem is that althought the import command identifies > the RETURN char as register separator it inserts it as first char of the > first field of the next register, if it is a number field returns 0, but if > its a char field adds it as the first char of the field. I'm using Director > mx and export tables as text files from Microsoft Access. How can I avoid > it? Not sure it sounds like fixed bug in one of latest 2.4 betas. Anna did use Access also.. Please try lates 2.4 beta of V4MD WIN http://paradigmasoft.com/en/products/download/beta And let me know if this help -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Thu Jun 15 11:23:49 2006 From: fitzbew at nc.rr.com (Russ Tyndall) Date: Thu Jun 15 10:23:55 2006 Subject: VServer Questions In-Reply-To: <232438E0-377D-4865-83A7-A88765662784@mangomultimedia.com> Message-ID: On 6/15/06 10:24 AM, "Trevor DeVore" wrote: > Worked - I tried VServer_Office last night but got an unbound > variable warning. The "start" was the missing piece. I ended up > trashing the master db and using this in the terminal: > > sudo /Library/StartupItems/VServer_Office/VServer_Office start > > When I started the server without sudo I got an error about not being > able to use ConsoleMessage. Trevor, just curious: When you logout of the ID, does Vserver terminate? Also, when you close the Terminal session, does it terminate? On my OS X.4.6 installation, Vserver starts up when the machine boots up and remains open until a user logs out. If I start it up from terminal, it quits when I quit the terminal session. This happens even though the Vserver process is running as Root. I would love to know how to get it to start and stay "up" whether someone logs in/logs off, etc.. I'm sure there is some way to do it via terminal or by adjusting some unix setting(s) on OS X --- but I haven't stumbled across it yet. -- Russ Tyndall Wake Forest, NC From lists at mangomultimedia.com Thu Jun 15 08:32:23 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu Jun 15 10:32:30 2006 Subject: VServer Questions In-Reply-To: References: Message-ID: <43ECA314-AB85-426A-9CE4-DCA4851CFC9F@mangomultimedia.com> On Jun 15, 2006, at 8:23 AM, Russ Tyndall wrote: > > Trevor, just curious: > > When you logout of the ID, does Vserver terminate? > > Also, when you close the Terminal session, does it terminate? > > On my OS X.4.6 installation, Vserver starts up when the machine > boots up and > remains open until a user logs out. If I start it up from > terminal, it > quits when I quit the terminal session. This happens even though > the Vserver > process is running as Root. > > I would love to know how to get it to start and stay "up" whether > someone > logs in/logs off, etc.. I'm sure there is some way to do it via > terminal or > by adjusting some unix setting(s) on OS X --- but I haven't > stumbled across > it yet. I just started playing with VServer so I haven't experimented with this. This works for me though (VServer stays open after closing terminal window): sudo echo sudo /Library/StartupItems/VServer_Office/VServer_Office start & I got this example from http://www.entropy.ch/software/MacOSx/mysql/ -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.com trevor@bluemangolearning.com From porto_agus at ono.com Thu Jun 15 18:08:04 2006 From: porto_agus at ono.com (agustin) Date: Thu Jun 15 11:08:17 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink References: Message-ID: <000301c69095$e8b6d1a0$5b357b54@altair> I downloaded 2.4 beta and the problem persists, when importing, it adds char(10) at the begining of first field o at the end of the last field, it depends of the case. There is any solution?, it?s urgent for me to solve this problem I'm doing a work that must be ended next week and there is a lot of work to do. ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, June 15, 2006 4:29 PM Subject: Re: [V4MD] Foxpro/Access MM tables to BinaryLink > On 6/15/06 3:33 PM, "agustin" wrote: > >> I have seen that the problem is that althought the import command >> identifies >> the RETURN char as register separator it inserts it as first char of the >> first field of the next register, if it is a number field returns 0, but >> if >> its a char field adds it as the first char of the field. I'm using >> Director >> mx and export tables as text files from Microsoft Access. How can I avoid >> it? > > Not sure it sounds like fixed bug in one of latest 2.4 betas. > Anna did use Access also.. > > Please try lates 2.4 beta of V4MD WIN > > http://paradigmasoft.com/en/products/download/beta > > And let me know if this help > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From fitzbew at nc.rr.com Thu Jun 15 13:44:45 2006 From: fitzbew at nc.rr.com (Russ Tyndall) Date: Thu Jun 15 12:44:55 2006 Subject: VServer Questions In-Reply-To: <43ECA314-AB85-426A-9CE4-DCA4851CFC9F@mangomultimedia.com> Message-ID: On 6/15/06 11:32 AM, "Trevor DeVore" wrote: > On Jun 15, 2006, at 8:23 AM, Russ Tyndall wrote: >> >> Trevor, just curious: >> >> When you logout of the ID, does Vserver terminate? >> >> Also, when you close the Terminal session, does it terminate? >> >> On my OS X.4.6 installation, Vserver starts up when the machine >> boots up and >> remains open until a user logs out. If I start it up from >> terminal, it >> quits when I quit the terminal session. This happens even though >> the Vserver >> process is running as Root. >> >> I would love to know how to get it to start and stay "up" whether >> someone >> logs in/logs off, etc.. I'm sure there is some way to do it via >> terminal or >> by adjusting some unix setting(s) on OS X --- but I haven't >> stumbled across >> it yet. > > I just started playing with VServer so I haven't experimented with > this. This works for me though (VServer stays open after closing > terminal window): > > sudo echo > sudo /Library/StartupItems/VServer_Office/VServer_Office start & > > I got this example from http://www.entropy.ch/software/MacOSx/mysql/ > Well, this solves part of my problem. I can start Vserver in Terminal using your suggestions and Vserver stays running even when I close the terminal session. But, when the user logs out, Vserver still quits. This is on X.4.6, Vserver 2.3, Protocol 2.0, Kernel 2.3. This expectation (that Vserver remains running despite a user logging off) is rational, correct? The reason I question this at all is that I visited a client site yesterday in which they had servers sitting around in an obvious "logged in" state. It occurred to me that perhaps I was being na?ve in expecting this. -- Russ Tyndall Wake Forest, NC From sunshine at public.kherson.ua Thu Jun 15 21:26:58 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 13:27:04 2006 Subject: VServer Questions In-Reply-To: Message-ID: On 6/15/06 8:44 PM, "Russ Tyndall" wrote: Hi Guys, >>> I would love to know how to get it to start and stay "up" whether someone >>> logs in/logs off, etc.. I'm sure there is some way to do it via terminal or >>> by adjusting some unix setting(s) on OS X --- but I haven't stumbled across >>> it yet. >> >> I just started playing with VServer so I haven't experimented with >> this. This works for me though (VServer stays open after closing >> terminal window): >> >> sudo echo >> sudo /Library/StartupItems/VServer_Office/VServer_Office start & >> >> I got this example from http://www.entropy.ch/software/MacOSx/mysql/ >> > > Well, this solves part of my problem. I can start Vserver in Terminal using > your suggestions and Vserver stays running even when I close the terminal > session. Interesting tip. I will add it into WIKI > But, when the user logs out, Vserver still quits. This is on X.4.6, Vserver > 2.3, Protocol 2.0, Kernel 2.3. > > This expectation (that Vserver remains running despite a user logging off) > is rational, correct? The reason I question this at all is that I visited a > client site yesterday in which they had servers sitting around in an obvious > "logged in" state. It occurred to me that perhaps I was being na?ve in > expecting this. Yes this is correct expectation... I have meet not so war so topic on Apple and tech notes about this issue it seems. It discuss different between startup items and login items,... But I can say that it seems OpenBase behave like Valentina here.. Not 100% sure although. May be Shaun will add light on this issue. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 15 21:28:44 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 13:28:49 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink In-Reply-To: <000301c69095$e8b6d1a0$5b357b54@altair> Message-ID: On 6/15/06 7:08 PM, "agustin" wrote: Hi Augstin, > I downloaded 2.4 beta and the problem persists, when importing, it adds > char(10) at the begining of first field o at the end of the last field, it > depends of the case. > > There is any solution?, it?s urgent for me to solve this problem I'm doing a > work that must be ended next week and there is a lot of work to do. Send me please one small text file for import And database with table WHERE to import. What else...may be simple .dir that open db, make cursor and import that file We will debug it . ------ Also, have you try play with Vstudo ? There, in Import dialog, you can in live mode play with settings to see how text file is parsed -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From porto_agus at ono.com Thu Jun 15 21:26:01 2006 From: porto_agus at ono.com (agustin) Date: Thu Jun 15 14:26:12 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink References: Message-ID: <000701c690b1$8f68a990$5b357b54@altair> I send you to the list email? ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Thursday, June 15, 2006 8:28 PM Subject: Re: [V4MD] Foxpro/Access MM tables to BinaryLink On 6/15/06 7:08 PM, "agustin" wrote: Hi Augstin, > I downloaded 2.4 beta and the problem persists, when importing, it adds > char(10) at the begining of first field o at the end of the last field, it > depends of the case. > > There is any solution?, it?s urgent for me to solve this problem I'm doing > a > work that must be ended next week and there is a lot of work to do. Send me please one small text file for import And database with table WHERE to import. What else...may be simple .dir that open db, make cursor and import that file We will debug it . ------ Also, have you try play with Vstudo ? There, in Import dialog, you can in live mode play with settings to see how text file is parsed -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Jun 15 22:31:09 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 14:31:14 2006 Subject: [V4MD] Foxpro/Access MM tables to BinaryLink In-Reply-To: <000701c690b1$8f68a990$5b357b54@altair> Message-ID: On 6/15/06 10:26 PM, "agustin" wrote: > I send you to the list email? sunshine@public.kherson.ua -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fitzbew at nc.rr.com Thu Jun 15 15:50:44 2006 From: fitzbew at nc.rr.com (Russ Tyndall) Date: Thu Jun 15 14:50:50 2006 Subject: VServer Questions In-Reply-To: Message-ID: On 6/15/06 2:26 PM, "Ruslan Zasukhin" wrote: > Yes this is correct expectation... I have meet not so war so topic on Apple > and tech notes about this issue it seems. It discuss different between > startup items and login items,... Sorry, I don't understand the first sentence. Russ From cbpelto at pcisys.net Thu Jun 15 15:22:30 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Thu Jun 15 16:22:37 2006 Subject: Easiest Way to Connect V4RB VFields to RB2006 Window Controls Message-ID: I'm open to suggestions on the simplest way to correlate/coordinate V4RB2 VFields or fields in a VCursor with data-containing control elements of an RB206 Window. Has anyone considered this before? If so, what did you come up with as a standardized mechanism? Regards, Chuck Pelto From sunshine at public.kherson.ua Fri Jun 16 00:59:09 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 15 16:59:19 2006 Subject: VServer Questions In-Reply-To: Message-ID: On 6/15/06 10:50 PM, "Russ Tyndall" wrote: >> Yes this is correct expectation... I have meet not so war so topic on Apple >> and tech notes about this issue it seems. It discuss different between >> startup items and login items,... > > Sorry, I don't understand the first sentence. You have ask: >This expectation (that Vserver remains running despite a user logging off) >is rational, correct? I answer - yes -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From gogaworm at tut.by Fri Jun 16 22:16:00 2006 From: gogaworm at tut.by (Lilu) Date: Fri Jun 16 14:16:12 2006 Subject: bug in IsNull property Message-ID: Hi, everyone! I added a row to my table with field ID=1. ID field is a primary key and not nullable. Anyway in debugger I see that my ID has value 1, but IsNull is set to true. I thing it's a bug. Sencerely, Ilona Karpova. --- ????? ????????-???????? ???: ??????? ???????, ???????? ??????, ????? ? ??????. ???????? ??????? ?? http://shop.tut.by From sunshine at public.kherson.ua Fri Jun 16 22:46:26 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 16 14:46:32 2006 Subject: bug in IsNull property In-Reply-To: Message-ID: On 6/16/06 10:16 PM, "Lilu" wrote: > Hi, everyone! > I added a row to my table with field ID=1. ID field is a primary key and > not nullable. Anyway in debugger I see that my ID has value 1, but IsNull > is set to true. I thing it's a bug. > Sencerely, Ilona Karpova. Hi Illona, What OS? What product? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mjew at icnc.com Fri Jun 16 14:38:07 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 16 16:38:16 2006 Subject: List of error codes for VSDK2? Message-ID: Hello, I searched on the discussion list and briefly in the Wiki for a list of error codes for VSDK2. I found a short list of VServer error codes, but not one for the error code I received. My app gave me this message: Valentina exception caught in DbValentinaBase::Open: Error code : 627987 Error description: Invalid parameter value was specified in function "open". How might I interpret this? (Or have I already received all the interpretation I am going to get?) - Matthew From sunshine at public.kherson.ua Sat Jun 17 09:40:01 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Jun 17 01:40:08 2006 Subject: List of error codes for VSDK2? In-Reply-To: Message-ID: On 6/17/06 12:38 AM, "Matthew Jew" wrote: Hi Matthew, > I searched on the discussion list and briefly in the Wiki for a list > of error codes for VSDK2. > I found a short list of VServer error codes, but not one for the > error code I received. > > My app gave me this message: > > Valentina exception caught in DbValentinaBase::Open: > Error code : 627987 > Error description: Invalid parameter value was specified in function > "open". > > How might I interpret this? (Or have I already received all the > interpretation I am going to get?) Yes for now this is all we could be able to provide you... We need try improve this to say at least number of bad param. The full list of errors is in the vcomponents/vresources/english/.xml files -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From steve at steve-albin.com Sun Jun 18 12:04:39 2006 From: steve at steve-albin.com (Steve Albin) Date: Sun Jun 18 11:04:45 2006 Subject: V4RB releases Message-ID: Below are the listings for the V4RB downloads that are available from the two different Valentina pages for downloads of this product. As can be seen, the dates on these are different and makes one wonder if the versions are different as well. The 2 versions of V4RB_2_mac.dmg have different file sizes while the others match in size. http://www.paradigmasoft.com/en/products/download/V4RB V4RB_2_mac.dmg Apr 12 11:52 V4RB_2_macho.dmg Apr 10 18:06 V4RB_2_win.exe Apr 10 18:06 http://www.valentina-db.com/en/products/download/V4RB V4RB_2_mac.dmg Apr 10 06:49 V4RB_2_macho.dmg Apr 10 05:01 V4RB_2_win.exe Apr 9 22:08 Is there a difference in these? If so, which page is the one to use? Is one site more up-to-date than the other? Steve -- Steve Albin - Montclair, NJ http://www.jazzdiscography.com/ http://www.steve-albin.com/ From sunshine at public.kherson.ua Mon Jun 19 08:38:29 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 19 00:38:36 2006 Subject: V4RB releases In-Reply-To: Message-ID: On 6/18/06 7:04 PM, "Steve Albin" wrote: Hi Steven, > Below are the listings for the V4RB downloads that are available from the two > different Valentina pages for downloads of this product. As can be seen, the > dates on these are different and makes one wonder if the versions are > different as well. The 2 versions of V4RB_2_mac.dmg have different file sizes > while the others match in size. > > http://www.paradigmasoft.com/en/products/download/V4RB > V4RB_2_mac.dmg Apr 12 11:52 > V4RB_2_macho.dmg Apr 10 18:06 > V4RB_2_win.exe Apr 10 18:06 > > http://www.valentina-db.com/en/products/download/V4RB > V4RB_2_mac.dmg Apr 10 06:49 > V4RB_2_macho.dmg Apr 10 05:01 > V4RB_2_win.exe Apr 9 22:08 > > > Is there a difference in these? If so, which page is the one to use? > > Is one site more up-to-date than the other? paradigmasoft is primary. I have update V4RB_2_mac.dmg on Valentina-db, Thank you for point. Date of third file can differ because host are in little different time zone, I think it show time of COPY to host -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Mon Jun 19 09:20:21 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 19 10:20:35 2006 Subject: VStudio Change Table Name Message-ID: <797AD0F3-34FE-45D7-B2D9-698BD3A0E320@pcisys.net> Can VStudio be used to change the name of a table in a V4RB2 database system? If so, how so? I'm having trouble changing the names of tables. Regards, Chuck Pelto From cbpelto at pcisys.net Mon Jun 19 09:24:56 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 19 10:25:07 2006 Subject: VStudio Change Table Name In-Reply-To: <797AD0F3-34FE-45D7-B2D9-698BD3A0E320@pcisys.net> References: <797AD0F3-34FE-45D7-B2D9-698BD3A0E320@pcisys.net> Message-ID: <87B3F05C-9C9F-4917-9029-0DFBDF43C3DD@pcisys.net> On Jun 19, 2006, at 9:20 AM, Chuck Pelto wrote: > Can VStudio be used to change the name of a table in a V4RB2 > database system? > > If so, how so? I'm having trouble changing the names of tables. Okay... ...I figured THAT one out. You have to hit the RETURN or ENTER key after editing the name in INFO. However, this leads (as always) to the next question.... There's a link between two of the data tables. How does one change the names of the tables in the link item so it gets that right? Regards, Chuck From sunshine at public.kherson.ua Mon Jun 19 18:30:44 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 19 10:30:56 2006 Subject: VStudio Change Table Name In-Reply-To: <87B3F05C-9C9F-4917-9029-0DFBDF43C3DD@pcisys.net> Message-ID: On 6/19/06 6:24 PM, "Chuck Pelto" wrote: > There's a link between two of the data tables. How does one change > the names of the tables in the link item so it gets that right? No need. Do you mean that you see old name in INFO of link ? I think this is problem of refresh them. If you close db open it again then should be ok. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Mon Jun 19 09:41:53 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 19 10:42:04 2006 Subject: VStudio Change Table Name In-Reply-To: References: Message-ID: On Jun 19, 2006, at 9:30 AM, Ruslan Zasukhin wrote: > On 6/19/06 6:24 PM, "Chuck Pelto" wrote: > >> There's a link between two of the data tables. How does one change >> the names of the tables in the link item so it gets that right? > > No need. > > Do you mean that you see old name in INFO of link ? > > I think this is problem of refresh them. > If you close db open it again then should be ok. Yes. Closing the database and reopening it in VStudio corrects the text for the renamed data tables. Need to work on that in VStudio. It's particularly annoying. Might want to rethink that business about having to hit ENTER or RETURN in order to rename a table. I'd recommend just tabbing out of the field. Regards, Chuck From joakim at astrocalc.com Mon Jun 19 19:52:18 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Mon Jun 19 12:52:56 2006 Subject: VStudio Change Table Name In-Reply-To: Message-ID: <20060619174524.56A0280AF44@merc.astrocalc.net> Hi, > > Need to work on that in VStudio. It's particularly annoying. > > Might want to rethink that business about having to hit ENTER > or RETURN in order to rename a table. I'd recommend just > tabbing out of the field. > I disagree, if the value is permanently saved there should be a clear executing command, either a "save" button or hitting the Enter key. Typically you give help instruction for such a field a wording like "enter the value..." which imply pressing Enter key after typing, otherwise you are typing into a feel, press Tab to move to next one and so on until you are done and do a command to update the changes. Well that's my opinion about it anyhow and I think it's pretty much Windows standard at least, can't speak for other platforms. Regards, Joakim From gogaworm at tut.by Mon Jun 19 20:53:09 2006 From: gogaworm at tut.by (Lilu) Date: Mon Jun 19 12:53:21 2006 Subject: bug in IsNull property Message-ID: Ups, sorry. It was VNET_2_win. I use Windows XP Professional Service Pack 2. --- ??????????????? ??????? ?? ??????????? ?? 25 ???. ?????? ?? ???? ?? 3 ??? ? ??? ????? ????????? ?? 12,4 ???. ??????! ?????: (017) 203 24 72, (029) 138 4 138, ?????: (0162) 22 11 50, ??????: (029) 159 6 159 From cbpelto at pcisys.net Mon Jun 19 12:24:20 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 19 13:24:32 2006 Subject: VStudio Change Table Name In-Reply-To: <20060619174524.56A0280AF44@merc.astrocalc.net> References: <20060619174524.56A0280AF44@merc.astrocalc.net> Message-ID: <60C3C7E4-7C59-49F6-85B0-810E83665E21@pcisys.net> On Jun 19, 2006, at 11:52 AM, Joakim Schramm wrote: > Hi, >> >> Need to work on that in VStudio. It's particularly annoying. >> >> Might want to rethink that business about having to hit ENTER >> or RETURN in order to rename a table. I'd recommend just >> tabbing out of the field. >> > > I disagree, if the value is permanently saved there should be a clear > executing command, either a "save" button or hitting the Enter key. > Typically you give help instruction for such a field a wording like > "enter > the value..." which imply pressing Enter key after typing, > otherwise you are > typing into a feel, press Tab to move to next one and so on until > you are > done and do a command to update the changes. That would work for me. As it is right now, there is no 'Save' button in the system, as I recall. Adding one, that became active when a change was made, would be a great idea. Certainly more obvious than the current procedure. Regards, Chuck From mjew at icnc.com Mon Jun 19 20:30:30 2006 From: mjew at icnc.com (Matthew Jew) Date: Mon Jun 19 22:30:41 2006 Subject: Strange C++ VSDK2 anomaly when creating DB Table Message-ID: Hello, I am experiencing a strange anomaly when creating a DB table using the C++ VSDK2. When I create the table using this sequence: void TblAuthFailureLog::Create( I_Database_Ptr DB ) { Table = DB->CreateTable ( "AuthFailureLog" ); customerNumber = CreateULongField ( Table, "customerNumber" ); clientIP = CreateULongField ( Table, "clientIP" ); serverIP = CreateULongField ( Table, "serverIP" ); loginDateTime = CreateDateTimeField ( Table, "loginDateTime" ); username = CreateVarCharField ( Table, "username", 32 ); password = CreateVarCharField ( Table, "password", 32 ); Table->Flush(); } Then the password field is created incorrectly, with a max length of 0 instead of 32. The diagnose function of VStudio reports this: ==========> Field: password , type VarChar .....> VarCharFile Length of varchar value at record 1 is = 14 but maximal length of this VarChar is = 0 ...........Page 1 Problems found! ( VarCharFile ) Problems found! ( Field: password , type VarChar ) However, if I just change the order in which the fields are created, thusly: void TblAuthFailureLog::Create( I_Database_Ptr DB ) { Table = DB->CreateTable ( "AuthFailureLog" ); customerNumber = CreateULongField ( Table, "customerNumber" ); loginDateTime = CreateDateTimeField ( Table, "loginDateTime" ); username = CreateVarCharField ( Table, "username", 32 ); password = CreateVarCharField ( Table, "password", 32 ); clientIP = CreateULongField ( Table, "clientIP" ); serverIP = CreateULongField ( Table, "serverIP" ); Table->Flush(); } so that the password field is NOT created last, then everything works fine. I have saved copies of these databases, if you want to look at them. (Ruslan, this is the same project you have looked at for me. It seems to work now, except for this anomaly.) - Matthew From sunshine at public.kherson.ua Tue Jun 20 09:29:20 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 20 01:29:30 2006 Subject: Strange C++ VSDK2 anomaly when creating DB Table In-Reply-To: Message-ID: On 6/20/06 6:30 AM, "Matthew Jew" wrote: > > void TblAuthFailureLog::Create( I_Database_Ptr DB ) > { > Table = DB->CreateTable ( "AuthFailureLog" ); > customerNumber = CreateULongField ( Table, "customerNumber" ); > clientIP = CreateULongField ( Table, "clientIP" ); > serverIP = CreateULongField ( Table, "serverIP" ); > loginDateTime = CreateDateTimeField ( Table, "loginDateTime" ); > username = CreateVarCharField ( Table, "username", 32 ); > password = CreateVarCharField ( Table, "password", 32 ); > Table->Flush(); > } Here better do db->Flush() Because you change structure also. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 20 09:33:12 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 20 01:33:21 2006 Subject: Strange C++ VSDK2 anomaly when creating DB Table In-Reply-To: Message-ID: On 6/20/06 6:30 AM, "Matthew Jew" wrote: Hi Matthew, > I am experiencing a strange anomaly when creating a DB table using > the C++ VSDK2. > > When I create the table using this sequence: > > void TblAuthFailureLog::Create( I_Database_Ptr DB ) > { > Table = DB->CreateTable ( "AuthFailureLog" ); > customerNumber = CreateULongField ( Table, "customerNumber" ); > clientIP = CreateULongField ( Table, "clientIP" ); > serverIP = CreateULongField ( Table, "serverIP" ); > loginDateTime = CreateDateTimeField ( Table, "loginDateTime" ); > username = CreateVarCharField ( Table, "username", 32 ); > password = CreateVarCharField ( Table, "password", 32 ); > Table->Flush(); > } > > Then the password field is created incorrectly, with a max length of > 0 instead of 32. > The diagnose function of VStudio reports this: > ==========> Field: password , type VarChar > .....> VarCharFile > Length of varchar value at record 1 is = 14 but maximal length of > this VarChar is = 0 > ...........Page 1 > > Problems found! ( VarCharFile ) > > > Problems found! ( Field: password , type VarChar ) > > However, if I just change the order in which the fields are created, > thusly: > > void TblAuthFailureLog::Create( I_Database_Ptr DB ) > { > Table = DB->CreateTable ( "AuthFailureLog" ); > customerNumber = CreateULongField ( Table, "customerNumber" ); > loginDateTime = CreateDateTimeField ( Table, "loginDateTime" ); > username = CreateVarCharField ( Table, "username", 32 ); > password = CreateVarCharField ( Table, "password", 32 ); > clientIP = CreateULongField ( Table, "clientIP" ); > serverIP = CreateULongField ( Table, "serverIP" ); > Table->Flush(); > } > > so that the password field is NOT created last, then everything works > fine. > > I have saved copies of these databases, if you want to look at them. > > (Ruslan, this is the same project you have looked at for me. It seems > to work now, except for this anomaly.) Well, I think reason can be in db->Flush() although looks strange. We have not see never such glitches... Although if you do db->Close() then db.flush must be done self. If this is reproducible please send to me or may be better add as report to Mantis and attach there files (without serial numbers :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 20 14:13:38 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 20 06:13:43 2006 Subject: Encoding of a String In-Reply-To: Message-ID: On 6/20/06 1:55 PM, "Philip M?tteli" wrote: Hi Philip, > Is there a way to find out the encoding of a given fbl::String > instance? I mean, is the string in UTF8, ASCII, ISO-Latin, Unicode,?? 1) I remember we have isSingleByte() string 2) no, as I see no. FBL::String class - is balance between powerful ICU String class and limited string class for Vclient. 3) I_Localizable do have IOEncoding and SotrageEncoding properties --------- When you start to work with DB, on default all is UTF16. You can change IOEncoding to be UTF8 for example, for the whole db, or some tables/fields. While you are in UTF16 you will use pvalue->put_String( UChar*) If you are on UTF8 or other single byte encoding, you will use pvalue->put_String( char* ) I.e. You make contract with Valentina db, after this you should follow to your promise. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dev at macfoh.com Tue Jun 20 10:14:19 2006 From: dev at macfoh.com (Shaun Wexler) Date: Tue Jun 20 12:14:26 2006 Subject: Encoding of a String In-Reply-To: References: Message-ID: <0E02C79B-9DD7-48EC-9A87-5945A91B994F@macfoh.com> On Jun 20, 2006, at 3:55 AM, Philip M?tteli wrote: > Is there a way to find out the encoding of a given fbl::String > instance? I mean, is the string in UTF8, ASCII, ISO-Latin, Unicode,?? You can compensate by [avoiding] conversion on the CF/NS side. There are several ways to reduce copying as well, but to illustrate, here is an improved version of your NSString category, which has a max of one length lookup at O(1) and one copy: // // PMVCPPNSString.h // // Created by Philip M?tteli on 17. 6. 06. // Copyright 2006 __MyCompanyName__. All rights reserved. // #import #import extern BOOL databasePrefersUTF16; @interface NSString (PMVCPPNSString) + (NSString *)stringWithFBLString:(FBL::String *)fblString; - (FBL::String *)fblString; @end // // PMVCPPNSString.mm // // Created by Philip M?tteli on 17. 6. 06. // Copyright 2006 __MyCompanyName__. All rights reserved. // #import "PMVCPPNSString.h" BOOL databasePrefersUTF16 = YES; @implementation NSString (PMVCPPNSString) + (NSString *)stringWithFBLString:(FBL::String *)fblString { if (fblString) { if (!fblString->isSingleByte()) { const UniChar *utf16str; if ((utf16str = fblString->c_str())) { CFStringRef string = CFStringCreateWithCharacters (NULL, utf16str, fblString->length()); return [(NSString *)string autorelease]; } } else { const char *utf8str; if ((utf8str = fblString->getBufferA())) { CFStringRef string = CFStringCreateWithCString(NULL, utf8str, kCFStringEncodingUTF8); return [(NSString *)string autorelease]; } } } return nil; } - (FBL::String *)fblString { if (databasePrefersUTF16) { const UniChar *utf16str; if ((utf16str = CFStringGetCharactersPtr((CFStringRef)self))) { return new FBL::String(utf16str); } else { CFIndex length = CFStringGetLength((CFStringRef)self); UniChar utf16buf[length + 1]; CFStringGetCharacters((CFStringRef)self, CFRangeMake(0, length), utf16buf); utf16buf[length] = 0; return new FBL::String((UniChar *)utf16buf, length); } } const char *utf8str; if ((utf8str = CFStringGetCStringPtr((CFStringRef)self, kCFStringEncodingUTF8))) { return new FBL::String(utf8str, -1, "UTF-8"); } else { CFIndex length = CFStringGetLength((CFStringRef)self); char utf8buf[CFStringGetMaximumSizeForEncoding(length, kCFStringEncodingUTF8)]; CFStringGetCString((CFStringRef)self, utf8buf, length, kCFStringEncodingUTF8); return new FBL::String(utf8buf, length, "UTF-8"); } } @end -- Shaun Wexler MacFOH http://www.macfoh.com From mjew at icnc.com Tue Jun 20 16:28:03 2006 From: mjew at icnc.com (Matthew Jew) Date: Tue Jun 20 18:28:13 2006 Subject: Copying VComponents into Cocoa app Message-ID: <29C456F4-BCF3-4276-8BF7-FADBA123D7F4@icnc.com> Ruslan, In a chat with me, you commented on how to copy the VComponents into my application. ruslan : IF you copy inside you need yet correct executable_path for dylibs ! [ 3:29pm ] matthewjew : also, can I copy in the libraries so that I don't have to install the dylibs on the target macine? [ 3:29pm ] matthewjew : or am I thinking about it wrong? [ 3:29pm ] ruslan : we have such script on our VComponents folder [ 3:29pm ] ruslan : YOU CAN [ 3:29pm ] matthewjew : it copies itself already? [ 3:29pm ] ruslan : but not in this way [ 3:29pm ] matthewjew : oh [ 3:29pm ] ruslan : as you have in your project that I have now [ 3:31pm ] matthewjew : how are you supposed to do it then? (put dylibs in application) [ 3:32pm ] ruslan : look on file change_names_icu_vcomponents.sh [ 3:32pm ] ruslan : also look inside of Valentina Studio [ 3:33pm ] I followed the instructions, (I changed the script so that it refers to *_fat_release.dylib instead of *_ppc_release.dylib) and when my app runs, it crashes thusly: Date/Time: 2006-06-20 16:22:01.300 -0700 OS Version: 10.4.6 (Build 8I127) Report Version: 4 Command: RadiusAuthenticator2 Path: /Volumes/Alpha2/Dev-ProjectBuilder/Cocoa-Projects/ RadiusAuthenticator2/build/Release/RadiusAuthenticator2.app/Contents/ MacOS/RadiusAuthenticator2 Parent: WindowServer [72] Version: RadiusAuthenticator2 version 2.0 (2.0) PID: 3103 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libvshared_fat_release.dylib 0x0065ac88 fbl::String::String[in- charge](char const*, long, char const*, fbl::EStringImpType) + 64 1 libvshared_fat_release.dylib 0x00641570 fbl::Location_Disk_FSSpec::get_Path() const + 96 2 libvkernel_fat_release.dylib 0x01030268 fbl::Valentina_Init_ICU () + 52 3 libvkernel_fat_release.dylib 0x010305f0 fbl::ValentinaInit (unsigned long, char*, char*) + 68 4 ...ompany.RadiusAuthenticator2 0x000167d4 PVInitializeDBSystem + 88 5 ...ompany.RadiusAuthenticator2 0x000049e8 DbValentinaBase::DbValentinaBase[not-in-charge]() + 52 6 ...ompany.RadiusAuthenticator2 0x00006058 DbAuthLog::DbAuthLog [in-charge]() + 24 7 ...ompany.RadiusAuthenticator2 0x000146fc -[AuthLogDBManager instantiateOurTypeOfDatabase] + 32 8 ...ompany.RadiusAuthenticator2 0x00007854 - [ValentinaBaseDBManager openExistingDatabase:] + 348 9 ...ompany.RadiusAuthenticator2 0x000149c0 -[AuthLogDBManager openHighestDBOrCreateDBInDefaultLocation] + 292 10 ...ompany.RadiusAuthenticator2 0x0000c24c - [RadAuthServerModelObject init] + 1192 11 com.apple.AppKit 0x9370a56c -[NSCustomObject nibInstantiate] + 260 12 com.apple.AppKit 0x936f4f74 -[NSIBObjectData instantiateObject:] + 188 13 com.apple.AppKit 0x936f4b40 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 144 14 com.apple.AppKit 0x936e103c loadNib + 240 15 com.apple.AppKit 0x936e0a94 +[NSBundle (NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 716 16 com.apple.AppKit 0x93737f64 +[NSBundle (NSNibLoading) loadNibFile:externalNameTable:withZone:] + 156 17 com.apple.AppKit 0x937c7df0 +[NSBundle (NSNibLoading) loadNibNamed:owner:] + 344 18 com.apple.AppKit 0x937c7b90 NSApplicationMain + 344 19 ...ompany.RadiusAuthenticator2 0x00002554 _start + 340 (crt.c:272) 20 ...ompany.RadiusAuthenticator2 0x000023fc start + 60 Thread 0 crashed with PPC Thread State 64: srr0: 0x000000000065ac88 srr1: 0x100000000200d030 vrsave: 0x0000000000000000 cr: 0x24000404 xer: 0x0000000000000000 lr: 0x000000000065ac58 ctr: 0x00000000900036b8 r0: 0x0000000000000000 r1: 0x00000000bfffef30 r2: 0x00000000006c77f0 r3: 0x0000000000000000 r4: 0x00000000bfffefb8 r5: 0xffffffffffffffff r6: 0x0000000000000000 r7: 0x0000000000000000 r8: 0x0000000000000004 r9: 0x0000000000000079 r10: 0x0000000016d015aa r11: 0x0000000044000402 r12: 0x00000000900036b8 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 r16: 0x0000000000020000 r17: 0x000000000002579c r18: 0x00000000000255d4 r19: 0x0000000000020000 r20: 0x0000000000020000 r21: 0x0000000000020000 r22: 0x0000000002b7f1a0 r23: 0x0000000000025788 r24: 0x000000000002557c r25: 0x0000000000023ef4 r26: 0x0000000000025754 r27: 0x0000000000025590 r28: 0x0000000000000000 r29: 0x0000000016cad530 r30: 0x0000000016cad534 r31: 0x000000000065ac58 Binary Images Description: 0x1000 - 0x21fff com.yourcompany.RadiusAuthenticator2 RadiusAuthenticator2 version 2.0 (2.0) /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/MacOS/RadiusAuthenticator2 0x39000 - 0x3ffff libicuio.dylib /usr/local/lib/vcomponents/ libicuio.dylib 0x205000 - 0x2c5fff libicui18n.dylib /usr/local/lib/vcomponents/ libicui18n.dylib 0x352000 - 0x3e8fff libicuuc.dylib /usr/local/lib/vcomponents/ libicuuc.dylib 0x639000 - 0x6b2fff libvshared_fat_release.dylib /usr/local/lib/ vcomponents/libvshared_fat_release.dylib 0x1008000 - 0x14c3fff libvkernel_fat_release.dylib /usr/local/lib/ vcomponents/libvkernel_fat_release.dylib 0x19ce000 - 0x21f7fff libicudata.dylib /usr/local/lib/vcomponents/ libicudata.dylib 0x21fa000 - 0x2251fff libvclient_fat_release.dylib /usr/local/lib/ vcomponents/libvclient_fat_release.dylib 0x2873000 - 0x2982fff VSDK /usr/local/lib/vcomponents/ VSDK.framework/Versions/A/VSDK 0x2e18000 - 0x2ed8fff libicui18n.dylib /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/libicui18n.dylib 0x2f65000 - 0x2f6bfff libicuio.dylib /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/libicuio.dylib 0x16617000 - 0x16690fff libvshared_fat_release.dylib /Volumes/Alpha2/ Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/ libvshared_fat_release.dylib 0x16d05000 - 0x171c0fff libvkernel_fat_release.dylib /Volumes/Alpha2/ Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/ libvkernel_fat_release.dylib 0x176cb000 - 0x17ef4fff libicudata.dylib /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/libicudata.dylib 0x8fa73000 - 0x8fd27fff com.apple.QuickTime 7.1.0 /System/Library/ Frameworks/QuickTime.framework/Versions/A/QuickTime 0x8fe00000 - 0x8fe51fff dyld 44.4 /usr/lib/dyld 0x90000000 - 0x901bbfff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x90213000 - 0x90218fff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib 0x9021a000 - 0x90267fff com.apple.CoreText 1.0.1 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreText.framework/Versions/A/CoreText 0x90292000 - 0x90343fff ATS /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/ Versions/A/ATS 0x90372000 - 0x9072cfff com.apple.CoreGraphics 1.258.30 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x907b9000 - 0x90892fff com.apple.CoreFoundation 6.4.6 (368.27) / System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation 0x908db000 - 0x908dbfff com.apple.CoreServices 10.4 (???) /System/ Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x908dd000 - 0x909dffff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a39000 - 0x90abdfff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90ae7000 - 0x90b57fff com.apple.framework.IOKit 1.4 (???) /System/ Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90b6d000 - 0x90b7ffff libauto.dylib /usr/lib/libauto.dylib 0x90b86000 - 0x90e5dfff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90ec3000 - 0x90f43fff com.apple.CoreServices.OSServices 4.1 /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ OSServices.framework/Versions/A/OSServices 0x90f8d000 - 0x90fcefff com.apple.CFNetwork 129.16 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ CFNetwork.framework/Versions/A/CFNetwork 0x90fe3000 - 0x90ffbfff com.apple.WebServices 1.1.2 (1.1.0) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ WebServicesCore.framework/Versions/A/WebServicesCore 0x9100b000 - 0x9108cfff com.apple.SearchKit 1.0.5 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ SearchKit.framework/Versions/A/SearchKit 0x910d2000 - 0x910fbfff com.apple.Metadata 10.4.4 (121.36) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ Metadata.framework/Versions/A/Metadata 0x9110c000 - 0x9111afff libz.1.dylib /usr/lib/libz.1.dylib 0x9111d000 - 0x912d3fff com.apple.security 4.3 (25966) /System/ Library/Frameworks/Security.framework/Versions/A/Security 0x913d0000 - 0x913d9fff com.apple.DiskArbitration 2.1 /System/Library/ Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x913e0000 - 0x91407fff com.apple.SystemConfiguration 1.8.2 /System/ Library/Frameworks/SystemConfiguration.framework/Versions/A/ SystemConfiguration 0x9141a000 - 0x91425fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x9142a000 - 0x91432fff libbsm.dylib /usr/lib/libbsm.dylib 0x91436000 - 0x914b1fff com.apple.audio.CoreAudio 3.0.3 /System/ Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x914ee000 - 0x914eefff com.apple.ApplicationServices 10.4 (???) / System/Library/Frameworks/ApplicationServices.framework/Versions/A/ ApplicationServices 0x914f0000 - 0x91528fff com.apple.AE 1.5 (297) /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE 0x91543000 - 0x91610fff com.apple.ColorSync 4.4.4 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync 0x91665000 - 0x916f6fff com.apple.print.framework.PrintCore 4.5 (177.10) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x9173d000 - 0x917f4fff com.apple.QD 3.8.20 (???) /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD 0x91831000 - 0x9188ffff com.apple.HIServices 1.5.1 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/HIServices.framework/Versions/A/HIServices 0x918be000 - 0x918dffff com.apple.LangAnalysis 1.6.1 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis 0x918f3000 - 0x91918fff com.apple.FindByContent 1.5 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent 0x9192b000 - 0x9196dfff com.apple.LaunchServices 178 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices 0x91989000 - 0x9199dfff com.apple.speech.synthesis.framework 3.3 / System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x919ab000 - 0x919eafff com.apple.ImageIO.framework 1.4.6 /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ImageIO.framework/Versions/A/ImageIO 0x91a00000 - 0x91ac8fff libcrypto.0.9.7.dylib /usr/lib/libcrypto. 0.9.7.dylib 0x91b16000 - 0x91b2bfff libcups.2.dylib /usr/lib/libcups.2.dylib 0x91b30000 - 0x91b4dfff libJPEG.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJPEG.dylib 0x91b52000 - 0x91bc1fff libJP2.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJP2.dylib 0x91bd8000 - 0x91bdcfff libGIF.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libGIF.dylib 0x91bde000 - 0x91c25fff libRaw.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRaw.dylib 0x91c2a000 - 0x91c67fff libTIFF.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libTIFF.dylib 0x91c6e000 - 0x91c87fff libPng.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libPng.dylib 0x91c8c000 - 0x91c8ffff libRadiance.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRadiance.dylib 0x91c91000 - 0x91c91fff com.apple.Accelerate 1.2.1 (Accelerate 1.2.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Accelerate 0x91c93000 - 0x91d73fff com.apple.vImage 2.3 /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/ vImage.framework/Versions/A/vImage 0x91d7b000 - 0x91d9afff com.apple.Accelerate.vecLib 3.2.1 (vecLib 3.2.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Frameworks/vecLib.framework/Versions/A/vecLib 0x91e06000 - 0x91e74fff libvMisc.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libvMisc.dylib 0x91e7f000 - 0x91f13fff libvDSP.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libvDSP.dylib 0x91f2d000 - 0x924b5fff libBLAS.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libBLAS.dylib 0x924e8000 - 0x92813fff libLAPACK.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libLAPACK.dylib 0x92843000 - 0x928cbfff com.apple.DesktopServices 1.3.3 /System/ Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/ DesktopServicesPriv 0x9290c000 - 0x92b37fff com.apple.Foundation 6.4.5 (567.26) /System/ Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x92c55000 - 0x92d33fff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x92d53000 - 0x92e41fff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x92e53000 - 0x92e71fff libGL.dylib /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x92e7c000 - 0x92ed6fff libGLU.dylib /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x92ef4000 - 0x92ef4fff com.apple.Carbon 10.4 (???) /System/Library/ Frameworks/Carbon.framework/Versions/A/Carbon 0x92ef6000 - 0x92f0afff com.apple.ImageCapture 3.0 /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/ ImageCapture.framework/Versions/A/ImageCapture 0x92f22000 - 0x92f32fff com.apple.speech.recognition.framework 3.4 / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SpeechRecognition.framework/Versions/A/SpeechRecognition 0x92f3e000 - 0x92f53fff com.apple.securityhi 2.0 (203) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SecurityHI.framework/Versions/A/SecurityHI 0x92f65000 - 0x92fecfff com.apple.ink.framework 101.2 (69) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Ink.framework/Versions/A/Ink 0x93000000 - 0x9300bfff com.apple.help 1.0.3 (32) /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/ Versions/A/Help 0x93015000 - 0x93042fff com.apple.openscripting 1.2.5 (???) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ OpenScripting.framework/Versions/A/OpenScripting 0x9305c000 - 0x9306bfff com.apple.print.framework.Print 5.2 (192.4) / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Print.framework/Versions/A/Print 0x93077000 - 0x930ddfff com.apple.htmlrendering 1.1.2 /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/ HTMLRendering.framework/Versions/A/HTMLRendering 0x9310e000 - 0x9315dfff com.apple.NavigationServices 3.4.4 (3.4.3) / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ NavigationServices.framework/Versions/A/NavigationServices 0x9318b000 - 0x931a8fff com.apple.audio.SoundManager 3.9 /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CarbonSound.framework/Versions/A/CarbonSound 0x931ba000 - 0x931c7fff com.apple.CommonPanels 1.2.2 (73) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CommonPanels.framework/Versions/A/CommonPanels 0x931d0000 - 0x934ddfff com.apple.HIToolbox 1.4.6 (???) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ HIToolbox.framework/Versions/A/HIToolbox 0x9362c000 - 0x93638fff com.apple.opengl 1.4.7 /System/Library/ Frameworks/OpenGL.framework/Versions/A/OpenGL 0x936d1000 - 0x936d1fff com.apple.Cocoa 6.4 (???) /System/Library/ Frameworks/Cocoa.framework/Versions/A/Cocoa 0x936d3000 - 0x93d05fff com.apple.AppKit 6.4.6 (824.38) /System/ Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x94092000 - 0x94102fff com.apple.CoreData 80 /System/Library/ Frameworks/CoreData.framework/Versions/A/CoreData 0x9413b000 - 0x941fefff com.apple.audio.toolbox.AudioToolbox 1.4.1 / System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x94250000 - 0x94250fff com.apple.audio.units.AudioUnit 1.4 /System/ Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x94252000 - 0x94406fff com.apple.QuartzCore 1.4.7 /System/Library/ Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x94459000 - 0x94496fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib 0x9449e000 - 0x944eefff libGLImage.dylib /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x9469c000 - 0x946abfff libCGATS.A.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x946b3000 - 0x946c0fff libCSync.A.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x94726000 - 0x94797fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib 0x9480a000 - 0x9482afff libmx.A.dylib /usr/lib/libmx.A.dylib 0xb0000000 - 0xb0158fff com.paradigmasoft.vsdk kernel version 1.9.10b11 (1.9.8) /Library/Frameworks/VSDK.framework/Versions/A/VSDK 0xc1000000 - 0xc1017fff OpenBaseNet 9.1 /Library/Frameworks/ OpenBaseNet.framework/Versions/A/OpenBaseNet 0xc2000000 - 0xc202bfff OpenBaseAPI 7.0 (9.1) /Library/Frameworks/ OpenBaseAPI.framework/Versions/A/OpenBaseAPI Model: PowerMac7,3, BootROM 5.1.8f7, 2 processors, PowerPC G5 (3.0), 2.5 GHz, 4.25 GB Graphics: NVIDIA GeForce 6800 Ultra DDL, GeForce 6800 Ultra, AGP, 256 MB Memory Module: DIMM0/J11, 128 MB, DDR SDRAM, PC3200U-30330 Memory Module: DIMM1/J12, 128 MB, DDR SDRAM, PC3200U-30330 Memory Module: DIMM2/J13, 1 GB, DDR SDRAM, PC3200U-30440 Memory Module: DIMM3/J14, 1 GB, DDR SDRAM, PC3200U-30440 Memory Module: DIMM4/J41, 1 GB, DDR SDRAM, PC3200U-30440 Memory Module: DIMM5/J42, 1 GB, DDR SDRAM, PC3200U-30440 Modem: Jump, , V.92, Version 1.0, Bluetooth: Version 1.7.3f4, 2 service, 0 devices, 1 incoming serial ports Network Service: Built-in Ethernet, Ethernet, en0 Serial ATA Device: Maxtor 7Y250M0, 233.76 GB Parallel ATA Device: PIONEER DVD-RW DVR-117D, USB Device: Bluetooth HCI, , Up to 12 Mb/sec, 500 mA USB Device: General Purpose USB Hub, , Up to 12 Mb/sec, 500 mA USB Device: hp designjet 70, Hewlett-Packard, Up to 12 Mb/sec, 100 mA USB Device: DYMO LabelWriter 330, DYMO, Up to 12 Mb/sec, 100 mA USB Device: iPod, Apple, Up to 480 Mb/sec, 500 mA USB Device: Hub, , Up to 480 Mb/sec, 500 mA USB Device: Hub in Apple Pro Keyboard, Alps Electric, Up to 12 Mb/ sec, 500 mA USB Device: Microsoft IntelliMouse? Explorer, Microsoft, Up to 1.5 Mb/ sec, 100 mA USB Device: Apple Pro Keyboard, Alps Electric, Up to 12 Mb/sec, 250 mA USB Device: Apple Cinema HD Display, , Up to 1.5 Mb/sec, 500 mA FireWire Device: OXFORD IDE Device 1, Macpower, Up to 800 Mb/sec FireWire Device: 922G Master, Oxford, Up to 800 Mb/sec FireWire Device: 922G Master, Oxford, Up to 800 Mb/sec FireWire Device: 922G Master, Oxford, Up to 800 Mb/sec FireWire Device: unknown_device, unknown_value, Up to 400 Mb/sec What else should I be doing? - Matthew From dev at macfoh.com Tue Jun 20 20:18:14 2006 From: dev at macfoh.com (Shaun Wexler) Date: Tue Jun 20 22:18:20 2006 Subject: Copying VComponents into Cocoa app In-Reply-To: <29C456F4-BCF3-4276-8BF7-FADBA123D7F4@icnc.com> References: <29C456F4-BCF3-4276-8BF7-FADBA123D7F4@icnc.com> Message-ID: <7B68583B-2FA0-4706-84EA-4D1B4B8BDEAA@macfoh.com> On Jun 20, 2006, at 4:28 PM, Matthew Jew wrote: > 0 libvshared_fat_release.dylib 0x0065ac88 fbl::String::String > [in-charge](char const*, long, char const*, fbl::EStringImpType) + 64 > 1 libvshared_fat_release.dylib 0x00641570 > fbl::Location_Disk_FSSpec::get_Path() const + 96 > 2 libvkernel_fat_release.dylib 0x01030268 > fbl::Valentina_Init_ICU() + 52 > 3 libvkernel_fat_release.dylib 0x010305f0 fbl::ValentinaInit > (unsigned long, char*, char*) + 68 > > Binary Images Description: > 0x1000 - 0x21fff com.yourcompany.RadiusAuthenticator2 > RadiusAuthenticator2 version 2.0 (2.0) /Volumes/Alpha2/Dev- > ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ > RadiusAuthenticator2.app/Contents/MacOS/RadiusAuthenticator2 > 0x39000 - 0x3ffff libicuio.dylib /usr/local/lib/vcomponents/ > libicuio.dylib > 0x205000 - 0x2c5fff libicui18n.dylib /usr/local/lib/ > vcomponents/libicui18n.dylib > 0x352000 - 0x3e8fff libicuuc.dylib /usr/local/lib/vcomponents/ > libicuuc.dylib > 0x639000 - 0x6b2fff libvshared_fat_release.dylib /usr/local/ > lib/vcomponents/libvshared_fat_release.dylib > 0x1008000 - 0x14c3fff libvkernel_fat_release.dylib /usr/local/lib/ > vcomponents/libvkernel_fat_release.dylib > 0x19ce000 - 0x21f7fff libicudata.dylib /usr/local/lib/vcomponents/ > libicudata.dylib > 0x21fa000 - 0x2251fff libvclient_fat_release.dylib /usr/local/lib/ > vcomponents/libvclient_fat_release.dylib > 0x2873000 - 0x2982fff VSDK /usr/local/lib/vcomponents/ > VSDK.framework/Versions/A/VSDK > 0x2e18000 - 0x2ed8fff libicui18n.dylib /Volumes/Alpha2/Dev- > ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ > RadiusAuthenticator2.app/Contents/VComponents/libicui18n.dylib > 0x2f65000 - 0x2f6bfff libicuio.dylib /Volumes/Alpha2/Dev- > ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ > RadiusAuthenticator2.app/Contents/VComponents/libicuio.dylib > 0x16617000 - 0x16690fff libvshared_fat_release.dylib /Volumes/ > Alpha2/Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/ > Release/RadiusAuthenticator2.app/Contents/VComponents/ > libvshared_fat_release.dylib > 0x16d05000 - 0x171c0fff libvkernel_fat_release.dylib /Volumes/ > Alpha2/Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/ > Release/RadiusAuthenticator2.app/Contents/VComponents/ > libvkernel_fat_release.dylib > 0x176cb000 - 0x17ef4fff libicudata.dylib /Volumes/Alpha2/Dev- > ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ > RadiusAuthenticator2.app/Contents/VComponents/libicudata.dylib > > 0x908dd000 - 0x909dffff libicucore.A.dylib /usr/lib/ > libicucore.A.dylib > > What else should I be doing? You're doing too much! Actually, there are 3 sets of ICU libraries linked into your app simultaneously. See above. ;) 1. /usr/local/lib/vcomponents/* 2. Contents/VComponents/* 3. /usr/lib/libicucore.dylib Remove ALL library and framework search paths from your target(s), deselect all libraries and frameworks, and only select the embedded copies of the lib's... ie delete the references to /usr/local/lib/ vcomponents, and drag the embedded copies into your project and select them for the target. Xcode 2.3 improperly leaves multiple library path garbage in target build settings, so you'll have to clean them up yourself. This is most likely the cause of the problem; one lib is initialized, the other is not, but some things are calling functions in the latter. Also, the VX project uses the built-in ICU (#3) from Mac OS X. While we were getting VX working, I had Ruslan remove the "icu_3_0::" namespace from Valentina's ICU classes and change it to the default "icu::" which is used by the system's libicucore. It's possible that you [or paradigma] may have built some recent classes with the icu:: namespace enabled and some of the String handling functions are linking to the wrong ICU lib at runtime. -- Shaun Wexler MacFOH http://www.macfoh.com PS - If you have access to the VX project, you can substitute Valentina.framework (Release/Universal) for ALL of the vcomponents and just copy it right into your Contents/Frameworks/ folder, and add it to your target, for a savings of 35 MB in your app bundle vs vcomponents. Please note that there are no error message strings yet, and I haven't added VClient to it yet either, but will get that done in the next few days. Be sure to ask Ruslan if VX is okay to use for your app deployment, because it is a private project of mine and not offered by Paradigma (yet?) until it becomes "VLight". Also, it doesn't have any v1 classes like the C++ SDK, only those found in v2.3 or greater, plus no picture format conversions or database upgrades from v1. Shaun ~ From mjew at icnc.com Tue Jun 20 21:49:23 2006 From: mjew at icnc.com (Matthew Jew) Date: Tue Jun 20 23:49:35 2006 Subject: Copying VComponents into Cocoa app In-Reply-To: <7B68583B-2FA0-4706-84EA-4D1B4B8BDEAA@macfoh.com> References: <29C456F4-BCF3-4276-8BF7-FADBA123D7F4@icnc.com> <7B68583B-2FA0-4706-84EA-4D1B4B8BDEAA@macfoh.com> Message-ID: <5A1DC835-CBF8-4396-8C9C-78E46644D3E8@icnc.com> Shaun, Thank you very much for the information and the swiftness of your reply. I will follow your guidance as soon as I get back to my development machine. - Matthew On Jun 20, 2006, at 8:18 PM, Shaun Wexler wrote: > On Jun 20, 2006, at 4:28 PM, Matthew Jew wrote: > >> 0 libvshared_fat_release.dylib 0x0065ac88 fbl::String::String >> [in-charge](char const*, long, char const*, fbl::EStringImpType) + 64 >> 1 libvshared_fat_release.dylib 0x00641570 >> fbl::Location_Disk_FSSpec::get_Path() const + 96 >> 2 libvkernel_fat_release.dylib 0x01030268 >> fbl::Valentina_Init_ICU() + 52 >> 3 libvkernel_fat_release.dylib 0x010305f0 fbl::ValentinaInit >> (unsigned long, char*, char*) + 68 >> >> Binary Images Description: >> 0x1000 - 0x21fff com.yourcompany.RadiusAuthenticator2 >> RadiusAuthenticator2 version 2.0 (2.0) /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/MacOS/RadiusAuthenticator2 >> 0x39000 - 0x3ffff libicuio.dylib /usr/local/lib/vcomponents/ >> libicuio.dylib >> 0x205000 - 0x2c5fff libicui18n.dylib /usr/local/lib/ >> vcomponents/libicui18n.dylib >> 0x352000 - 0x3e8fff libicuuc.dylib /usr/local/lib/vcomponents/ >> libicuuc.dylib >> 0x639000 - 0x6b2fff libvshared_fat_release.dylib /usr/local/ >> lib/vcomponents/libvshared_fat_release.dylib >> 0x1008000 - 0x14c3fff libvkernel_fat_release.dylib /usr/local/ >> lib/vcomponents/libvkernel_fat_release.dylib >> 0x19ce000 - 0x21f7fff libicudata.dylib /usr/local/lib/ >> vcomponents/libicudata.dylib >> 0x21fa000 - 0x2251fff libvclient_fat_release.dylib /usr/local/ >> lib/vcomponents/libvclient_fat_release.dylib >> 0x2873000 - 0x2982fff VSDK /usr/local/lib/vcomponents/ >> VSDK.framework/Versions/A/VSDK >> 0x2e18000 - 0x2ed8fff libicui18n.dylib /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/VComponents/libicui18n.dylib >> 0x2f65000 - 0x2f6bfff libicuio.dylib /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/VComponents/libicuio.dylib >> 0x16617000 - 0x16690fff libvshared_fat_release.dylib /Volumes/ >> Alpha2/Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/ >> build/Release/RadiusAuthenticator2.app/Contents/VComponents/ >> libvshared_fat_release.dylib >> 0x16d05000 - 0x171c0fff libvkernel_fat_release.dylib /Volumes/ >> Alpha2/Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/ >> build/Release/RadiusAuthenticator2.app/Contents/VComponents/ >> libvkernel_fat_release.dylib >> 0x176cb000 - 0x17ef4fff libicudata.dylib /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/VComponents/libicudata.dylib >> >> 0x908dd000 - 0x909dffff libicucore.A.dylib /usr/lib/ >> libicucore.A.dylib >> >> What else should I be doing? > > You're doing too much! Actually, there are 3 sets of ICU libraries > linked into your app simultaneously. See above. ;) > > 1. /usr/local/lib/vcomponents/* > 2. Contents/VComponents/* > 3. /usr/lib/libicucore.dylib > > Remove ALL library and framework search paths from your target(s), > deselect all libraries and frameworks, and only select the embedded > copies of the lib's... ie delete the references to /usr/local/lib/ > vcomponents, and drag the embedded copies into your project and > select them for the target. Xcode 2.3 improperly leaves multiple > library path garbage in target build settings, so you'll have to > clean them up yourself. This is most likely the cause of the > problem; one lib is initialized, the other is not, but some things > are calling functions in the latter. > > Also, the VX project uses the built-in ICU (#3) from Mac OS X. > While we were getting VX working, I had Ruslan remove the > "icu_3_0::" namespace from Valentina's ICU classes and change it to > the default "icu::" which is used by the system's libicucore. It's > possible that you [or paradigma] may have built some recent classes > with the icu:: namespace enabled and some of the String handling > functions are linking to the wrong ICU lib at runtime. > > -- > Shaun Wexler > MacFOH > http://www.macfoh.com > > PS - If you have access to the VX project, you can substitute > Valentina.framework (Release/Universal) for ALL of the vcomponents > and just copy it right into your Contents/Frameworks/ folder, and > add it to your target, for a savings of 35 MB in your app bundle vs > vcomponents. Please note that there are no error message strings > yet, and I haven't added VClient to it yet either, but will get > that done in the next few days. Be sure to ask Ruslan if VX is > okay to use for your app deployment, because it is a private > project of mine and not offered by Paradigma (yet?) until it > becomes "VLight". Also, it doesn't have any v1 classes like the C+ > + SDK, only those found in v2.3 or greater, plus no picture format > conversions or database upgrades from v1. > > Shaun ~ > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From gogaworm at tut.by Wed Jun 21 13:04:56 2006 From: gogaworm at tut.by (Lilu) Date: Wed Jun 21 05:05:05 2006 Subject: locate methods for cursor Message-ID: Hi! I select data into cursor. In the data selected I've got some primary key. Using that key I want to be able to locate to the record in the cursor that has the value specified as a key. For example, my key field is "TEST_ID". I want to move to a record that has a value 3 of field "TEST_ID" and to delete or udate that record. How can I do it? Thanx. Best, Ilona Karpova --- ?? ????? ?????????? ???? ? ??????????????! ?????????? ????? 2, ??????????? ????????????? ????? (? ?????????), ???/???????????? 507-62-48. ???????? ???? ?? ?????? ??????????! http://av.by/tmk/kino.html From sunshine at public.kherson.ua Wed Jun 21 13:42:56 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 05:43:01 2006 Subject: locate methods for cursor In-Reply-To: Message-ID: On 6/21/06 1:04 PM, "Lilu" wrote: > Hi! > I select data into cursor. In the data selected I've got some primary key. > Using that key I want to be able to locate to the record in the cursor > that has the value specified as a key. For example, my key field is > "TEST_ID". I want to move to a record that has a value 3 of field > "TEST_ID" and to delete or udate that record. How can I do it? Thanx. As in any SQL database: DELETE ...... WHERE TEST_ID = 3 UPDATE ...... WHERE TEST_ID = 3 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Wed Jun 21 12:56:47 2006 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Jun 21 05:57:19 2006 Subject: locate methods for cursor In-Reply-To: Message-ID: <002901c69521$67659dd0$152ca8c0@GRAUEGEFAHR> > > > Hi! > > I select data into cursor. In the data selected I've got some primary > key. > > > Using that key I want to be able to locate to the record in the cursor > > that has the value specified as a key. For example, my key field is > > "TEST_ID". I want to move to a record that has a value 3 of field > > "TEST_ID" and to delete or udate that record. How can I do it? Thanx. > > As in any SQL database: > > DELETE ...... WHERE TEST_ID = 3 > > UPDATE ...... WHERE TEST_ID = 3 > > > -- > Best regards, Hi Ruslan! I remember missing this feature in V1 already. Since the SQL approach would not update the cursor data, it would be necessary to build a new cursor. But the cursor may be impossible to rebuild, since it might come from a different part of the program and belong to queries that no longer exist. Or the cursor might already have been changed (records dropped e.g.) and a repeated query would be quite an effort (need to log all drops on the previous cursor). In such a case I always had to make a repeat loop to step through the cursor and find a specific record with this value...no need to talk about the negatives in here. Why not build it as a feature? jumpToValueInCursor(cursor,fieldname,value) I would love that Best Florian From sunshine at public.kherson.ua Wed Jun 21 14:04:05 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 06:04:08 2006 Subject: locate methods for cursor In-Reply-To: <002901c69521$67659dd0$152ca8c0@GRAUEGEFAHR> Message-ID: On 6/21/06 1:56 PM, "Florian Bogeschdorfer" wrote: Hi Florian, >>> I select data into cursor. In the data selected I've got some primary key. >>> >>> Using that key I want to be able to locate to the record in the cursor that >>> has the value specified as a key. For example, my key field is "TEST_ID". I >>> want to move to a record that has a value 3 of field "TEST_ID" and to delete >>> or udate that record. How can I do it? Thanx. >> >> As in any SQL database: >> >> DELETE ...... WHERE TEST_ID = 3 >> >> UPDATE ...... WHERE TEST_ID = 3 >> >> >> -- >> Best regards, > > Hi Ruslan! > > I remember missing this feature in V1 already. In V2 it works -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fb at memedia.de Wed Jun 21 13:09:13 2006 From: fb at memedia.de (Florian Bogeschdorfer) Date: Wed Jun 21 06:09:38 2006 Subject: locate methods for cursor In-Reply-To: Message-ID: <002d01c69523$24370f60$152ca8c0@GRAUEGEFAHR> > > > > I remember missing this feature in V1 already. > > In V2 it works > So for Ilona, how does it work then? Florian From sunshine at public.kherson.ua Wed Jun 21 14:14:42 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 06:14:46 2006 Subject: locate methods for cursor In-Reply-To: <002901c69521$67659dd0$152ca8c0@GRAUEGEFAHR> Message-ID: On 6/21/06 1:56 PM, "Florian Bogeschdorfer" wrote: >> As in any SQL database: >> >> DELETE ...... WHERE TEST_ID = 3 >> >> UPDATE ...... WHERE TEST_ID = 3 >> >> >> -- >> Best regards, > > Hi Ruslan! > > I remember missing this feature in V1 already. > > Since the SQL approach would not update the cursor data, it would be > necessary to build a new cursor. If you create ServerSide cursor, ReadWrite -- then you can update cursor. > But the cursor may be impossible to rebuild, since it might come from a > different part of the program and belong to queries that no longer exist. > Or the cursor might already have been changed (records dropped e.g.) and a > repeated query would be quite an effort (need to log all drops on the previous > cursor). It should work. For ServerSide + ReadWrite > In such a case I always had to make a repeat loop to step through the cursor > and find a specific record with this value...no need to talk about the > negatives in here. > > Why not build it as a feature? > > jumpToValueInCursor(cursor,fieldname,value) > > I would love that This is not usual, and in best case we can implement this as the same loop.. Well on C++ level .... Well for server-side cursor it can be really win -- because do loop on server. Ivan, what you think? Florian, please add this request to Mantis. ----------------------------------------------------------------- For Florian, and for ALL. We have got great progress in development of new vserver new vclient new protocol * Ivan works last 3 months only on this task. * We now have own generator of sources for our interfaces like do idl in COM or CORBA. * This a lots reduce number of human bugs. * We have also change design of client-server. It is more similar now to protocol of distributed objects in COM/CORBA, i.e. we have proxy/stub objects....But also we have add over this layer the own layer of objects to provide better performance and expected behavior. * We have now much more stable protocol as we believe. * We already test servers on both platforms using our example. * we already have almost update all examples, tutorials, docs, test projects on new syntax for vserver. Don't be scary. Ready below. * we already have Vserver MAC built with xcode as Universal Binary. * and we see ability get perfect way do auto-compression of info when we send it via network using new protocol. from this will benefit obviously BLOBs and (!!!) client-side cursors. We hope finish polishing in few nearest days and introduce new 2.4 beta of Vserver. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 21 14:15:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 06:15:57 2006 Subject: locate methods for cursor In-Reply-To: <002d01c69523$24370f60$152ca8c0@GRAUEGEFAHR> Message-ID: On 6/21/06 2:09 PM, "Florian Bogeschdorfer" wrote: >>> I remember missing this feature in V1 already. >> >> In V2 it works >> > > So for Ilona, how does it work then? May be I do not understand task good ? And we talk about different things? I have write: SqlExecute( "UPDATE T1 SET ... WHERE test_id = 3" ) Or you want something else ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ivan_smahin at valentina-db.com Wed Jun 21 14:39:10 2006 From: ivan_smahin at valentina-db.com (Ivan Smahin) Date: Wed Jun 21 06:39:11 2006 Subject: locate methods for cursor In-Reply-To: References: <002901c69521$67659dd0$152ca8c0@GRAUEGEFAHR> Message-ID: <8510326717.20060621143910@valentina-db.com> Hello Ruslan, Wednesday, June 21, 2006, 2:14:42 PM, you wrote: >> In such a case I always had to make a repeat loop to step through the cursor >> and find a specific record with this value...no need to talk about the >> negatives in here. >> >> Why not build it as a feature? >> >> jumpToValueInCursor(cursor,fieldname,value) >> >> I would love that > This is not usual, and in best case we can implement this as the same loop.. > Well on C++ level .... > Well for server-side cursor it can be really win -- because do loop on > server. > Ivan, what you think? > Florian, please add this request to Mantis. Actually, Mantis is the best place to discuss it. How it should be solved in case of not-unique value in the field? Probably it would be better to use FindValue() call and work with Set of records? -- Best regards, Ivan mailto:ivan_smahin@valentina-db.com From sunshine at public.kherson.ua Wed Jun 21 14:42:45 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 06:42:48 2006 Subject: locate methods for cursor In-Reply-To: <8510326717.20060621143910@valentina-db.com> Message-ID: On 6/21/06 2:39 PM, "Ivan Smahin" wrote: > How it should be solved in case of not-unique value in the field? > > Probably it would be better to use FindValue() call > and work with Set of records? But we talk about Vcursor. Set is used for Vtable. May be Florian, it is enough FindForward? As I have told -- very tricky feature.... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From MCZAJKA at ags.com Wed Jun 21 10:43:21 2006 From: MCZAJKA at ags.com (Czajka, Mark) Date: Wed Jun 21 09:43:31 2006 Subject: problem with a recent Microsoft Security update? Message-ID: <01232052740D1F4C86E1901DB557824402FBF8E5@agsmd_mail.ags.com> Has anyone experienced a problem with Director Projectors (10.1.0.11) crashing on Windows XP because of a recent Microsoft Security update? I'm currently looking for a needle in a haystack as we use several Xtras with our product, including Valentina and the WebViewer Xtra by Xtras.jp. From don at thinkingpublications.com Wed Jun 21 10:37:57 2006 From: don at thinkingpublications.com (Don Toro) Date: Wed Jun 21 10:44:50 2006 Subject: Installing V4REV 2.3 Message-ID: <531A8F985242FE4EAC59FAE1F3676357CF6FFD@mcsrv1.mckinley.dom> I installed V4REV 2.3 but I am getting an error message "This application has failed to start because Kernel_Win32_Release.dll was not found. Re-installing the application may fix this problem." The "V4REV_2" folder is in the "Revolution Enterprise" folder. The "Kernel_Win32_Release.dll" in "C:\Program Files\Paradigma Software\VComponents_Win_VC" folder. I even set the external path to an absolute path. Am I missing something? Donard Toro Information Manager/Computer Programmer ------------------------------------------------------------------- Thinking Publications, a division of McKinley Companies, Inc. 424 Galloway Street, Eau Claire, WI 54703 Phone: 1.800.225.4769 (US) & 1.715.832.2488 Fax: 1.800.828.8885 (US) & 1.715.832.9082 www.ThinkingPublications.com ------------------------------------------------------------------- COMMUNICATION SOLUTIONS THAT CHANGE LIVES Specializing in resources for individuals with speaking, listening, reading, writing, and thinking skill deficits From sunshine at public.kherson.ua Wed Jun 21 19:34:46 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 11:34:52 2006 Subject: Installing V4REV 2.3 In-Reply-To: <531A8F985242FE4EAC59FAE1F3676357CF6FFD@mcsrv1.mckinley.dom> Message-ID: On 6/21/06 6:37 PM, "Don Toro" wrote: > I installed V4REV 2.3 but I am getting an error message "This application has > failed to start because Kernel_Win32_Release.dll was not found. Re-installing > the application may fix this problem." The "V4REV_2" folder is in the > "Revolution Enterprise" folder. The "Kernel_Win32_Release.dll" in "C:\Program > Files\Paradigma Software\VComponents_Win_VC" folder. I even set the external > path to an absolute path. Am I missing something? Windows, right? Try restart computer. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From don at thinkingpublications.com Wed Jun 21 11:34:20 2006 From: don at thinkingpublications.com (Don Toro) Date: Wed Jun 21 11:41:18 2006 Subject: Installing V4REV 2.3 Message-ID: <531A8F985242FE4EAC59FAE1F3676357CF6FFE@mcsrv1.mckinley.dom> That worked. Thanks. One suggestion. It's a good idea for the installer to prompt the user to restart the system or you can put it in the wiki. Donard Toro Information Manager/Computer Programmer ------------------------------------------------------------------- Thinking Publications, a division of McKinley Companies, Inc. 424 Galloway Street, Eau Claire, WI 54703 Phone: 1.800.225.4769 (US) & 1.715.832.2488 Fax: 1.800.828.8885 (US) & 1.715.832.9082 www.ThinkingPublications.com ------------------------------------------------------------------- COMMUNICATION SOLUTIONS THAT CHANGE LIVES Specializing in resources for individuals with speaking, listening, reading, writing, and thinking skill deficits -----Original Message----- From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] Sent: Wednesday, June 21, 2006 11:35 AM To: valentina@lists.macserve.net Subject: Re: Installing V4REV 2.3 On 6/21/06 6:37 PM, "Don Toro" wrote: > I installed V4REV 2.3 but I am getting an error message "This application has > failed to start because Kernel_Win32_Release.dll was not found. Re-installing > the application may fix this problem." The "V4REV_2" folder is in the > "Revolution Enterprise" folder. The "Kernel_Win32_Release.dll" in "C:\Program > Files\Paradigma Software\VComponents_Win_VC" folder. I even set the external > path to an absolute path. Am I missing something? Windows, right? Try restart computer. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From lfredricks at proactive-intl.com Wed Jun 21 10:35:21 2006 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Jun 21 12:35:34 2006 Subject: Installing V4REV 2.3 In-Reply-To: <531A8F985242FE4EAC59FAE1F3676357CF6FFE@mcsrv1.mckinley.dom> Message-ID: <000801c69559$13ca2280$6401a8c0@lynn> > That worked. Thanks. > > One suggestion. It's a good idea for the installer to prompt > the user to restart the system or you can put it in the wiki. Good idea, Don. The V4REV 2.x docs on installation in the wiki have been updated. Hey, did you come to RevCon? Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com > Donard Toro > Information Manager/Computer Programmer > ------------------------------------------------------------------- > Thinking Publications, a division of > McKinley Companies, Inc. > 424 Galloway Street, Eau Claire, WI 54703 > Phone: 1.800.225.4769 (US) & 1.715.832.2488 > Fax: 1.800.828.8885 (US) & 1.715.832.9082 www.ThinkingPublications.com > ------------------------------------------------------------------- > COMMUNICATION SOLUTIONS THAT CHANGE LIVES Specializing in > resources for individuals with speaking, listening, reading, > writing, and thinking skill deficits > > > -----Original Message----- > From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] > Sent: Wednesday, June 21, 2006 11:35 AM > To: valentina@lists.macserve.net > Subject: Re: Installing V4REV 2.3 > > > On 6/21/06 6:37 PM, "Don Toro" wrote: > > > I installed V4REV 2.3 but I am getting an error message "This > > application has failed to start because > Kernel_Win32_Release.dll was > > not found. Re-installing the application may fix this problem." The > > "V4REV_2" folder is in the "Revolution Enterprise" folder. The > > "Kernel_Win32_Release.dll" in "C:\Program Files\Paradigma > > Software\VComponents_Win_VC" folder. I even set the > external path to an absolute path. Am I missing something? > > Windows, right? > > Try restart computer. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From sunshine at public.kherson.ua Wed Jun 21 20:48:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 12:48:30 2006 Subject: Installing V4REV 2.3 In-Reply-To: <531A8F985242FE4EAC59FAE1F3676357CF6FFE@mcsrv1.mckinley.dom> Message-ID: On 6/21/06 7:34 PM, "Don Toro" wrote: > That worked. Thanks. > > One suggestion. It's a good idea for the installer to prompt the user to > restart the system or you can put it in the wiki. Deal is that usually it works without restart. Only few times I have see need in restart. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From don at thinkingpublications.com Wed Jun 21 14:06:38 2006 From: don at thinkingpublications.com (Don Toro) Date: Wed Jun 21 14:13:26 2006 Subject: Installing V4REV 2.3 Message-ID: <531A8F985242FE4EAC59FAE1F3676357CF7004@mcsrv1.mckinley.dom> No. Maybe next time. Donard Toro Information Manager/Computer Programmer ------------------------------------------------------------------- Thinking Publications, a division of McKinley Companies, Inc. 424 Galloway Street, Eau Claire, WI 54703 Phone: 1.800.225.4769 (US) & 1.715.832.2488 Fax: 1.800.828.8885 (US) & 1.715.832.9082 www.ThinkingPublications.com ------------------------------------------------------------------- COMMUNICATION SOLUTIONS THAT CHANGE LIVES Specializing in resources for individuals with speaking, listening, reading, writing, and thinking skill deficits -----Original Message----- From: Lynn Fredricks [mailto:lfredricks@proactive-intl.com] Sent: Wednesday, June 21, 2006 12:35 PM To: 'Valentina Developers' Subject: RE: Installing V4REV 2.3 > That worked. Thanks. > > One suggestion. It's a good idea for the installer to prompt > the user to restart the system or you can put it in the wiki. Good idea, Don. The V4REV 2.x docs on installation in the wiki have been updated. Hey, did you come to RevCon? Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com > Donard Toro > Information Manager/Computer Programmer > ------------------------------------------------------------------- > Thinking Publications, a division of > McKinley Companies, Inc. > 424 Galloway Street, Eau Claire, WI 54703 > Phone: 1.800.225.4769 (US) & 1.715.832.2488 > Fax: 1.800.828.8885 (US) & 1.715.832.9082 www.ThinkingPublications.com > ------------------------------------------------------------------- > COMMUNICATION SOLUTIONS THAT CHANGE LIVES Specializing in > resources for individuals with speaking, listening, reading, > writing, and thinking skill deficits > > > -----Original Message----- > From: Ruslan Zasukhin [mailto:sunshine@public.kherson.ua] > Sent: Wednesday, June 21, 2006 11:35 AM > To: valentina@lists.macserve.net > Subject: Re: Installing V4REV 2.3 > > > On 6/21/06 6:37 PM, "Don Toro" wrote: > > > I installed V4REV 2.3 but I am getting an error message "This > > application has failed to start because > Kernel_Win32_Release.dll was > > not found. Re-installing the application may fix this problem." The > > "V4REV_2" folder is in the "Revolution Enterprise" folder. The > > "Kernel_Win32_Release.dll" in "C:\Program Files\Paradigma > > Software\VComponents_Win_VC" folder. I even set the > external path to an absolute path. Am I missing something? > > Windows, right? > > Try restart computer. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From mike at bedar.net Wed Jun 21 15:41:38 2006 From: mike at bedar.net (Michael Bedar) Date: Wed Jun 21 14:41:45 2006 Subject: findLinked() crashing Message-ID: <645ED157-2606-4F0C-8D70-2AEB908ACFAB@bedar.net> I just upgraded to 2.3 for Director, and in my current project, findLinked() is crashing the app. It's a binary link, and its was working fine up to this point.. has there been any changes to how these are used that could be causing this crash? Thanks, Mike Below is the crash report.. 2006-06-21 15:33:33 -0400 EXC_BAD_ACCESS (0x0001) KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 findLinked__19VLink_IMoaMmXScriptFP13MoaMmCallInfo + 744 1 Call__19VLink_IMoaMmXScriptFP13MoaMmCallInfo + 152 2 0x10bb000 + 382116 3 0x10bb000 + 1487648 4 0x10bb000 + 1486596 5 0x10bb000 + 1486532 6 0x10bb000 + 1422980 7 0x10bb000 + 1419308 8 0x10bb000 + 1475964 9 0x10bb000 + 1475496 From sunshine at public.kherson.ua Wed Jun 21 22:45:29 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 14:45:34 2006 Subject: findLinked() crashing In-Reply-To: <645ED157-2606-4F0C-8D70-2AEB908ACFAB@bedar.net> Message-ID: On 6/21/06 10:41 PM, "Michael Bedar" wrote: Hi Michael, > I just upgraded to 2.3 for Director, and in my current project, > findLinked() is crashing the app. > > It's a binary link, and its was working fine up to this point.. has > there been any changes to how these are used that could be causing > this crash? It should work. May be some parameter was passed bad (null) ? Crash below is not inside of engine but in V4MD layer... May be you can try 2.4 beta latest. If that also crashes...well we have TestProject... then Kirill will check if it have such call to be tested... > Thanks, > Mike > > > > Below is the crash report.. > > > 2006-06-21 15:33:33 -0400 > > EXC_BAD_ACCESS (0x0001) > KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 > > Thread 0 Crashed: > 0 findLinked__19VLink_IMoaMmXScriptFP13MoaMmCallInfo + 744 > 1 Call__19VLink_IMoaMmXScriptFP13MoaMmCallInfo + 152 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mike at bedar.net Wed Jun 21 15:58:03 2006 From: mike at bedar.net (Michael Bedar) Date: Wed Jun 21 14:58:10 2006 Subject: findLinked() crashing In-Reply-To: References: Message-ID: <375DCA2E-52FF-42A8-A371-DEA155E78A5F@bedar.net> I'm not sure what you mean by: > Crash below is not inside of engine but in V4MD layer... the crash seems to happen any time findLinked is called in my project.. not just in one instance.. -- Michael Bedar mike@bedar.net On Jun 21, 2006, at 3:45 PM, Ruslan Zasukhin wrote: > On 6/21/06 10:41 PM, "Michael Bedar" wrote: > > Hi Michael, > >> I just upgraded to 2.3 for Director, and in my current project, >> findLinked() is crashing the app. >> >> It's a binary link, and its was working fine up to this point.. has >> there been any changes to how these are used that could be causing >> this crash? > > It should work. > > May be some parameter was passed bad (null) ? > Crash below is not inside of engine but in V4MD layer... > > May be you can try 2.4 beta latest. > If that also crashes...well we have TestProject... > then Kirill will check if it have such call to be tested... > > >> Thanks, >> Mike >> >> >> >> Below is the crash report.. >> >> >> 2006-06-21 15:33:33 -0400 >> >> EXC_BAD_ACCESS (0x0001) >> KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 >> >> Thread 0 Crashed: >> 0 findLinked__19VLink_IMoaMmXScriptFP13MoaMmCallInfo + 744 >> 1 Call__19VLink_IMoaMmXScriptFP13MoaMmCallInfo + 152 > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 21 23:12:58 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 15:13:03 2006 Subject: findLinked() crashing In-Reply-To: <375DCA2E-52FF-42A8-A371-DEA155E78A5F@bedar.net> Message-ID: On 6/21/06 10:58 PM, "Michael Bedar" wrote: > I'm not sure what you mean by: > >> Crash below is not inside of engine but in V4MD layer... Well not very important. > the crash seems to happen any time findLinked is called in my > project.. not just in one instance.. Please try 2.4 beta. If still crash give us may be some project to reproduce -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mjew at icnc.com Wed Jun 21 19:03:55 2006 From: mjew at icnc.com (Matthew Jew) Date: Wed Jun 21 21:04:10 2006 Subject: Copying VComponents into Cocoa app In-Reply-To: <7B68583B-2FA0-4706-84EA-4D1B4B8BDEAA@macfoh.com> References: <29C456F4-BCF3-4276-8BF7-FADBA123D7F4@icnc.com> <7B68583B-2FA0-4706-84EA-4D1B4B8BDEAA@macfoh.com> Message-ID: <3FD0F43C-C4F8-4F48-BD74-3655D3480FBA@icnc.com> On Jun 20, 2006, at 8:18 PM, Shaun Wexler wrote: > On Jun 20, 2006, at 4:28 PM, Matthew Jew wrote: > >> 0 libvshared_fat_release.dylib 0x0065ac88 fbl::String::String >> [in-charge](char const*, long, char const*, fbl::EStringImpType) + 64 >> 1 libvshared_fat_release.dylib 0x00641570 >> fbl::Location_Disk_FSSpec::get_Path() const + 96 >> 2 libvkernel_fat_release.dylib 0x01030268 >> fbl::Valentina_Init_ICU() + 52 >> 3 libvkernel_fat_release.dylib 0x010305f0 fbl::ValentinaInit >> (unsigned long, char*, char*) + 68 >> >> Binary Images Description: >> 0x1000 - 0x21fff com.yourcompany.RadiusAuthenticator2 >> RadiusAuthenticator2 version 2.0 (2.0) /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/MacOS/RadiusAuthenticator2 >> 0x39000 - 0x3ffff libicuio.dylib /usr/local/lib/vcomponents/ >> libicuio.dylib >> 0x205000 - 0x2c5fff libicui18n.dylib /usr/local/lib/ >> vcomponents/libicui18n.dylib >> 0x352000 - 0x3e8fff libicuuc.dylib /usr/local/lib/vcomponents/ >> libicuuc.dylib >> 0x639000 - 0x6b2fff libvshared_fat_release.dylib /usr/local/ >> lib/vcomponents/libvshared_fat_release.dylib >> 0x1008000 - 0x14c3fff libvkernel_fat_release.dylib /usr/local/ >> lib/vcomponents/libvkernel_fat_release.dylib >> 0x19ce000 - 0x21f7fff libicudata.dylib /usr/local/lib/ >> vcomponents/libicudata.dylib >> 0x21fa000 - 0x2251fff libvclient_fat_release.dylib /usr/local/ >> lib/vcomponents/libvclient_fat_release.dylib >> 0x2873000 - 0x2982fff VSDK /usr/local/lib/vcomponents/ >> VSDK.framework/Versions/A/VSDK >> 0x2e18000 - 0x2ed8fff libicui18n.dylib /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/VComponents/libicui18n.dylib >> 0x2f65000 - 0x2f6bfff libicuio.dylib /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/VComponents/libicuio.dylib >> 0x16617000 - 0x16690fff libvshared_fat_release.dylib /Volumes/ >> Alpha2/Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/ >> build/Release/RadiusAuthenticator2.app/Contents/VComponents/ >> libvshared_fat_release.dylib >> 0x16d05000 - 0x171c0fff libvkernel_fat_release.dylib /Volumes/ >> Alpha2/Dev-ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/ >> build/Release/RadiusAuthenticator2.app/Contents/VComponents/ >> libvkernel_fat_release.dylib >> 0x176cb000 - 0x17ef4fff libicudata.dylib /Volumes/Alpha2/Dev- >> ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ >> RadiusAuthenticator2.app/Contents/VComponents/libicudata.dylib >> >> 0x908dd000 - 0x909dffff libicucore.A.dylib /usr/lib/ >> libicucore.A.dylib >> >> What else should I be doing? > > You're doing too much! Actually, there are 3 sets of ICU libraries > linked into your app simultaneously. See above. ;) > > 1. /usr/local/lib/vcomponents/* > 2. Contents/VComponents/* > 3. /usr/lib/libicucore.dylib > > Remove ALL library and framework search paths from your target(s), > deselect all libraries and frameworks, and only select the embedded > copies of the lib's... ie delete the references to /usr/local/lib/ > vcomponents, and drag the embedded copies into your project and > select them for the target. Xcode 2.3 improperly leaves multiple > library path garbage in target build settings, so you'll have to > clean them up yourself. This is most likely the cause of the > problem; one lib is initialized, the other is not, but some things > are calling functions in the latter. > > Also, the VX project uses the built-in ICU (#3) from Mac OS X. > While we were getting VX working, I had Ruslan remove the > "icu_3_0::" namespace from Valentina's ICU classes and change it to > the default "icu::" which is used by the system's libicucore. It's > possible that you [or paradigma] may have built some recent classes > with the icu:: namespace enabled and some of the String handling > functions are linking to the wrong ICU lib at runtime. > > -- > Shaun Wexler > MacFOH > http://www.macfoh.com > > PS - If you have access to the VX project, you can substitute > Valentina.framework (Release/Universal) for ALL of the vcomponents > and just copy it right into your Contents/Frameworks/ folder, and > add it to your target, for a savings of 35 MB in your app bundle vs > vcomponents. Please note that there are no error message strings > yet, and I haven't added VClient to it yet either, but will get > that done in the next few days. Be sure to ask Ruslan if VX is > okay to use for your app deployment, because it is a private > project of mine and not offered by Paradigma (yet?) until it > becomes "VLight". Also, it doesn't have any v1 classes like the C+ > + SDK, only those found in v2.3 or greater, plus no picture format > conversions or database upgrades from v1. > > Shaun ~ > _______________________________________________ Shaun, I have removed all other library search paths and framework search paths. I am somewhat puzzled by the instruction to include only the embedded copies of the libraries in my project, because I thought the embedded copies were created during the Copy Files phase during a Build. I can move copies of the libraries into the appropriate place in the application's Package Contents, and link to those, but if I do a "Clean All", it will delete those files and I will be left with nothing. Should I move the files in manually, include them in my project, and just never do a "Clean All" ever again? Or is there some other way that I am missing? - Matthew From mjew at icnc.com Wed Jun 21 19:15:06 2006 From: mjew at icnc.com (Matthew Jew) Date: Wed Jun 21 21:15:11 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: References: Message-ID: <23BD86A9-7D1B-4C9D-9FBE-6F4082DD5C12@icnc.com> On Jun 2, 2006, at 2:24 PM, Ruslan Zasukhin wrote: > On 6/3/06 12:18 AM, "Matthew Jew" wrote: > >> Ruslan, >> >> In certain configurations of my XCode project, I get this error: >> >> dyld: Library not loaded: @executable_path/../Frameworks/ >> VSDK.framework/Versions/A/VSDK >> Referenced from: /Volumes/Alpha2/Dev-ProjectBuilder/Cocoa- >> Projects/ >> RadiusAuthenticator2/build/Debug/RadiusAuthenticator2.app/Contents/ >> MacOS/RadiusAuthenticator2 >> Reason: Incompatible library version: RadiusAuthenticator2 >> requires version 1.0.0 or later, but VSDK provides version 0.0.0 >> >> What does this mean? > > I will try tomorrow make new VSDK build using xcode 2.3 > > Also I will check this version for VSDK.Framework.. > This is 1.x version VSDK as I see > > > -- > Best regards, > > Ruslan Zasukhin Ruslan, Ok, I think I figured out how to move the VSDK2 libraries into my app. (I was putting the copy files phase after the link phase; it should be before the link phase, I guess.) Anyway, now I get the same error I was getting before: RadiusAuthenticator2 has exited with status 0. [Session started at 2006-06-21 19:05:44 -0700.] dyld: Library not loaded: @executable_path/../Frameworks/ VSDK.framework/Versions/A/VSDK Referenced from: /Volumes/Alpha2/Dev-ProjectBuilder/Cocoa-Projects/ RadiusAuthenticator2/build/Release/RadiusAuthenticator2.app/Contents/ MacOS/RadiusAuthenticator2 Reason: Incompatible library version: RadiusAuthenticator2 requires version 1.0.0 or later, but VSDK provides version 0.0.0 RadiusAuthenticator2 has exited due to signal 5 (SIGTRAP). Have you had a chance to look into this? - Matthew From sunshine at public.kherson.ua Thu Jun 22 06:56:51 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 21 22:57:01 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: <23BD86A9-7D1B-4C9D-9FBE-6F4082DD5C12@icnc.com> Message-ID: On 6/22/06 5:15 AM, "Matthew Jew" wrote: > Ok, I think I figured out how to move the VSDK2 libraries into my app. > (I was putting the copy files phase after the link phase; it should > be before the link phase, I guess.) NO. it should be after link. Let me describe picture again: 1) you install VSDK. VComponents have few Valentina dlls. 2) you make project which point that dlls in VComponents see VSDK examples project. 3) you build app. result you get myapp.app package Up to know all is clear, yes? ------------------------------------- 4) for DEBUG target it works right now. you can press debug, myapp starts, loads VComponents dlls. perfect, you can debug. 5) for DEPLOYMENT you need install VComponents folder INSIDE of your myapp.app For this you do easy steps: * open package * copy the whole VComponents folder into myapp/Contents * open terminal * cd to myapp.app/Contents/Vcomponents * drag file change_names_icu_vcomponents.sh into terminal window ENTER. * DONE. Now you an copy myapp.app to other computer, and it works. 6) it is possible in the your project make new build phase "Run Script" where specify script which will do this job. In ideal this script should work only for RELEASe target but I don't know how todo this ... All our projects use script for DEBUG also (but this bring new issue of xcode glitch, that require small workaround) This is example of our script from Vserver xcode project: again -- executed AFTER link phase Also note, that I plan today or tomorrow setup our xcode engine projects to use ICU from OS X...then VComponents folder for xcode-made products (VSDK, V4REV, VSTudio, Vserver) say goodbuy to ICU dlls. Also this means that this script will become 2 times simpler and smaller.... Also note, in the project settings we add manually once few lines of settings as VserverDllName libvserver_ppc_debug for DEBUG libvserver_fat_release for RELEASE And script use these settings. P.S. At first you need get used to manual way of VComponents setup for RELEASE build. On our site in news pointed third party utility todo this by drag and drop... ########################################## # vserver.dll: cp "$BUILT_PRODUCTS_DIR//$VserverDllName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" # RZ: workaround of xcode glitch: it loads vserver.dll 2 times from 2 locations. This cause crash # to avoid this - we REMOVE original dll in old location. rm "$BUILT_PRODUCTS_DIR//$VserverDllName" install_name_tool -id "@executable_path/$VserverDllName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" install_name_tool -change "/usr/local/lib/vcomponents/VSDK.framework/Versions/A/VSDK" "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" install_name_tool -change "/usr/local/lib/vcomponents/libicudata.dylib" "@executable_path/../VComponents/libicudata.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" "@executable_path/../VComponents/libicuuc.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" install_name_tool -change "/usr/local/lib/vcomponents/libicui18n.dylib" "@executable_path/../VComponents/libicui18n.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" install_name_tool -change "/usr/local/lib/vcomponents/libicuio.dylib" "@executable_path/../VComponents/libicuio.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" install_name_tool -change "/usr/local/lib/vcomponents/$SharedLibName" "@executable_path/../VComponents/$SharedLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" install_name_tool -change "/usr/local/lib/vcomponents/$KernelLibName" "@executable_path/../VComponents/$KernelLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" ########################################## # VComponents folder: if [ ! -d "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" ] ; then mkdir "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" fi ########################################## # COPY VSDK.framework 1.x: if [ ! -d "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VSDK.framework" ] ; then cp -R "../../kernel/xcode/v1/VSDK.framework" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" # change id VSDK install_name_tool -id "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VSDK.framework/Version s/A/VSDK" fi ########################################## # COPY engine dlls: cp "/usr/local/lib/vcomponents/$KernelLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" cp "/usr/local/lib/vcomponents/$SharedLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" ########################################## # change id of VSHARED: install_name_tool -id "@executable_path/../VComponents/$SharedLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$SharedLibName" ########################################## # change id of VKERNEL: install_name_tool -id "@executable_path/../VComponents/$KernelLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" install_name_tool -change "/usr/local/lib/vcomponents/$SharedLibName" "@executable_path/../VComponents/$SharedLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" install_name_tool -change "/usr/local/lib/vcomponents/VSDK.framework/Versions/A/VSDK" "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" install_name_tool -change "/usr/local/lib/vcomponents/libicudata.dylib" "@executable_path/../VComponents/libicudata.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" "@executable_path/../VComponents/libicuuc.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" install_name_tool -change "/usr/local/lib/vcomponents/libicui18n.dylib" "@executable_path/../VComponents/libicui18n.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" install_name_tool -change "/usr/local/lib/vcomponents/libicuio.dylib" "@executable_path/../VComponents/libicuio.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" ########################################## # ICU: cp /usr/local/lib/vcomponents/libicudata.dylib "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicudata.dylib" cp /usr/local/lib/vcomponents/libicui18n.dylib "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicui18n.dylib" cp /usr/local/lib/vcomponents/libicuio.dylib "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" cp /usr/local/lib/vcomponents/libicuuc.dylib "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuuc.dylib" # change id of data library install_name_tool -id "@executable_path/../VComponents/libicudata.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicudata.dylib" # change id and dependencies in common library install_name_tool -id "@executable_path/../VComponents/libicuuc.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuuc.dylib" install_name_tool -change "/usr/local/lib/vcomponents/libicudata.dylib" "@executable_path/../VComponents/libicudata.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuuc.dylib" # change id and dependencies in i18n library install_name_tool -id "@executable_path/../VComponents/libicui18n.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicui18n.dylib" install_name_tool -change "/usr/local/lib/vcomponents/libicudata.dylib" "@executable_path/../VComponents/libicudata.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicui18n.dylib" install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" "@executable_path/../VComponents/libicuuc.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicui18n.dylib" # change id and dependencies in io library install_name_tool -id "@executable_path/../VComponents/libicuio.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" "@executable_path/../VComponents/libicuuc.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" install_name_tool -change "/usr/local/lib/vcomponents/libicudata.dylib" "@executable_path/../VComponents/libicudata.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" install_name_tool -change "/usr/local/lib/vcomponents/libicui18n.dylib" "@executable_path/../VComponents/libicui18n.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" ########################################## # Copy VResources folder: if [ ! -d "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources" ] ; then mkdir "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources" mkdir "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources/English" fi cp -f ../../sources/VKernel/FBL/prot/Errors/kernel_errors.xml "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources/English" cp -f ../../sources/VKernel/VSQL/Errors/xml/sql_errors.xml "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources/English" ########################################## # This Executable: install_name_tool -change "/usr/local/lib/$VserverDllName" "@executable_path/$VserverDllName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" install_name_tool -change "/usr/local/lib/vcomponents/VSDK.framework/Versions/A/VSDK" "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" install_name_tool -change "/usr/local/lib/vcomponents/libicudata.dylib" "@executable_path/../VComponents/libicudata.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" "@executable_path/../VComponents/libicuuc.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" install_name_tool -change "/usr/local/lib/vcomponents/libicui18n.dylib" "@executable_path/../VComponents/libicui18n.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" install_name_tool -change "/usr/local/lib/vcomponents/libicuio.dylib" "@executable_path/../VComponents/libicuio.dylib" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" install_name_tool -change "/usr/local/lib/vcomponents/$SharedLibName" "@executable_path/../VComponents/$SharedLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" install_name_tool -change "/usr/local/lib/vcomponents/$KernelLibName" "@executable_path/../VComponents/$KernelLibName" "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" ########################################## # Databases and licenses folders for debugging: if [ ! -d "$BUILT_PRODUCTS_DIR/Databases" ] ; then mkdir "$BUILT_PRODUCTS_DIR/Databases" fi if [ ! -d "$BUILT_PRODUCTS_DIR/licences" ] ; then cp -R "/PARADIGMA/UPLOAD/2.0/license_mac" "$BUILT_PRODUCTS_DIR" mv "$BUILT_PRODUCTS_DIR/license_mac/" "$BUILT_PRODUCTS_DIR/licences/" fi From medips at mac.com Thu Jun 22 11:11:41 2006 From: medips at mac.com (medips) Date: Thu Jun 22 04:11:57 2006 Subject: Easy Server Installation on Win/MacOSX? In-Reply-To: <20060621191326.197F14366D7@edison.macserve.net> References: <20060621191326.197F14366D7@edison.macserve.net> Message-ID: Can anyone share his/her experiences on server installation for lambda end-users? What I want to evaluate is the possibility to build an installer for end users to install complete solution software themself very smoothly, i.e. without any problem. Then the installer will save on a specified location: - my application (build with Revolution) and - the Valentina server on one machine... all in one click? The end users will not be able to fix anything. Naturally this question is about evaluating if it is possible to sell a commercial product including the Valentina server to group of users without having to go physically on user' s office. And if this kind of e- business (downloading the application and self-install it) is risky (the user will face many problem and will abandon the application) or simply unrisky. Thanks for any reply. From sunshine at public.kherson.ua Thu Jun 22 12:16:28 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 22 04:16:34 2006 Subject: Easy Server Installation on Win/MacOSX? In-Reply-To: Message-ID: On 6/22/06 12:11 PM, "medips" wrote: Hi, > Can anyone share his/her experiences on server installation for > lambda end-users? > > What I want to evaluate is the possibility to build an installer for > end users to install complete solution software themself very > smoothly, i.e. without any problem. Then the installer will save on a > specified location: > - my application (build with Revolution) and > - the Valentina server on one machine... > all in one click? Have you see our installers of Vserver? Are they looks easy/standard enough ? I doubt can be something more easy. Have you read vserver.pdf about CUSTOM installer ? > The end users will not be able to fix anything. Naturally this > question is about evaluating if it is possible to sell a commercial > product including the Valentina server to group of users without > having to go physically on user' s office. This is our target. > And if this kind of e- business (downloading the application and self-install > it) is risky (the user will face many problem and will abandon the > application) or simply unrisky. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From gogaworm at tut.by Thu Jun 22 12:54:35 2006 From: gogaworm at tut.by (Lilu) Date: Thu Jun 22 04:54:40 2006 Subject: strange cursor update Message-ID: I update some field value using the cursor. The field value is changed but it's not stored in the database. This is the code I use. IVCursor _cursor = _database.SqlSelect("select * from TEST_TABLE"); if( _cursor != null ){ if( _cursor.FirstRecord() ){ _cursor.Field("TEST_NAME").Value = "new name"; _cursor.UpdateRecord(); } } The code: Console.WriteLine("New name is: " + _cursor.Field("TEST_NAME").Value ) ; gives "new name". But after the program restart value is the old one. TEST_TABLE is from the code I've sent. How can I store values in DB? Thanx, Ilona Karpova --- ??????????????? ??????? ?? ??????????? ?? 25 ???. ?????? ?? ???? ?? 3 ??? ? ??? ????? ????????? ?? 12,4 ???. ??????! ?????: (017) 203 24 72, (029) 138 4 138, ?????: (0162) 22 11 50, ??????: (029) 159 6 159 From prossel2 at myrealbox.com Thu Jun 22 16:56:12 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Thu Jun 22 09:56:26 2006 Subject: Support for V4MD 1.11 In-Reply-To: Message-ID: <007201c6960c$01d68dd0$0601a8c0@prosselboss> Hello, I am using V4MD 1.11 for a mac-win project and I found some bugs and differences between the mac and win version. Is this version still supported ? Thank you Pierre Rossel From sunshine at public.kherson.ua Thu Jun 22 18:39:54 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 22 10:40:01 2006 Subject: strange cursor update In-Reply-To: Message-ID: On 6/22/06 12:54 PM, "Lilu" wrote: > I update some field value using the cursor. The field value is changed but > it's not stored in the database. This is the code I use. > > IVCursor _cursor = _database.SqlSelect("select * from TEST_TABLE"); ^^^^^^^^^^^^^^^^^^^^^^^ You need specify kReadWrite > if( _cursor != null ){ > if( _cursor.FirstRecord() ){ > _cursor.Field("TEST_NAME").Value = "new name"; > _cursor.UpdateRecord(); > } > } -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 22 18:41:56 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 22 10:42:01 2006 Subject: Support for V4MD 1.11 In-Reply-To: <007201c6960c$01d68dd0$0601a8c0@prosselboss> Message-ID: On 6/22/06 5:56 PM, "Pierre Rossel" wrote: Hi Pierre, > I am using V4MD 1.11 for a mac-win project and I found some bugs and > differences between the mac and win version. > > Is this version still supported ? As bug fix - No. You sure that you see bugs? This version is in use about 4 years, And is considered to be quite stable. A lots of projects done using it. Please describe your problem... May be you should consider switch to V4MD 2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From prossel2 at myrealbox.com Thu Jun 22 22:05:31 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Thu Jun 22 15:05:50 2006 Subject: Void on mac, empty string on win In-Reply-To: Message-ID: <00b101c69637$3aa13950$0601a8c0@prosselboss> Hello, Using V4MD 1.11 on XP and OS X. I use the following code to add a record, with #mediaData: "" to avoid null value in a #Text field (not nullable, indexed by words, ASCII, segment 128). curMediaItems = db.Query("SELECT RecID, * FROM MediaItem WHERE RecID=0", [#LockType: #ReadWrite, #Direction: #Random]) bRet = curMediaItems.AddRecord([#MediaFolderPtr: iMediaFolderId, #name: sName, #mediaType: 1, #mediaData: "", #comments: ""]) Later, this code is used to load the data: curItem = db.Query("SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId) p_lstData = curItem.GetRecordAsPropList() On windows, I get a prop list with an empty string for #mediaData: "" On mac, I get a void value for #mediaData. Why this difference ? Thank you. Pierre Rossel From prossel2 at myrealbox.com Thu Jun 22 22:22:53 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Thu Jun 22 15:23:10 2006 Subject: How to handle the null value In-Reply-To: Message-ID: <00b201c69639$a4c935b0$0601a8c0@prosselboss> Hello, I wonder where the value is documented in Director Help and how to handle it. Here is an example: I'm creating a record using this code: Using V4MD 1.11 on XP and OS X. I use the following code to add a record. The #mediaData field value is not provided. It is a #Text field (not nullable, indexed by words, ASCII, segment 128). curMediaItems = db.Query("SELECT RecID, * FROM MediaItem WHERE RecID=0", [#LockType: #ReadWrite, #Direction: #Random]) bRet = curMediaItems.AddRecord([#MediaFolderPtr: iMediaFolderId, #name: sName, #mediaType: 1]) Later, this code is used to load the data. The result of the put commands are merged under the commands. curItem = db.Query("SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId) p_lstData = curItem.GetRecordAsPropList() put p_lstData[#mediaData] -- put p_lstData[#mediaData] = void -- 1 put voidP(p_lstData[#mediaData]) -- 0 The value is something I have never seen documented. Is it the same as void ? Seems not since the voidP() call return false. Usually the test value = void should be avoided and the voidP() function used instead. In this situation, it is just the opposite. I am a bit confused. Thanks for any help. Pierre Rossel From sunshine at public.kherson.ua Thu Jun 22 23:33:06 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 22 15:33:17 2006 Subject: How to handle the null value In-Reply-To: <00b201c69639$a4c935b0$0601a8c0@prosselboss> Message-ID: On 6/22/06 11:22 PM, "Pierre Rossel" wrote: Hi Pierre, > I wonder where the value is documented in Director Help and how to > handle it. > > Here is an example: > > I'm creating a record using this code: > > Using V4MD 1.11 on XP and OS X. I use the following code to add a record. > The #mediaData field value is not provided. It is a #Text field (not > nullable, indexed by words, ASCII, segment 128). > > curMediaItems = db.Query("SELECT RecID, * FROM MediaItem WHERE RecID=0", > [#LockType: #ReadWrite, #Direction: #Random]) > bRet = curMediaItems.AddRecord([#MediaFolderPtr: iMediaFolderId, #name: > sName, #mediaType: 1]) > > Later, this code is used to load the data. The result of the put commands > are merged under the commands. > > curItem = db.Query("SELECT * FROM MediaItem WHERE RecID=" & > p_iMediaItemId) > p_lstData = curItem.GetRecordAsPropList() > > put p_lstData[#mediaData] > -- > > put p_lstData[#mediaData] = void > -- 1 > > put voidP(p_lstData[#mediaData]) > -- 0 > > The value is something I have never seen documented. Is it the same > as void ? Seems not since the voidP() call return false. Usually the test > value = void should be avoided and the voidP() function used instead. In > this situation, it is just the opposite. > > I am a bit confused. Well, I believe that V4MD returns VOID type when some field value has NULL of SQL Director has the following types: enum { kMoaMmValueType_Void, kMoaMmValueType_Integer, kMoaMmValueType_Symbol, kMoaMmValueType_String, kMoaMmValueType_Object, kMoaMmValueType_Picture, kMoaMmValueType_Float, kMoaMmValueType_List, kMoaMmValueType_Point, kMoaMmValueType_Rect, kMoaMmValueType_PropList, kMoaMmValueType_Member, kMoaMmValueType_CastLib, kMoaMmValueType_Script, kMoaMmValueType_Instance, kMoaMmValueType_Xtra, kMoaMmValueType_Sprite, kMoaMmValueType_SoundSprite, kMoaMmValueType_Color, kMoaMmValueType_Date, kMoaMmValueType_Media, kMoaMmValueType_Other, kMoaMmValueType_3dVector, kMoaMmValueType_3dTransform, }; And we use VOID to get/set the NULL value. Also note, exist VField_IsNull() method, which allow test field value on NULL. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 22 23:34:29 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 22 15:34:34 2006 Subject: Void on mac, empty string on win In-Reply-To: <00b101c69637$3aa13950$0601a8c0@prosselboss> Message-ID: On 6/22/06 11:05 PM, "Pierre Rossel" wrote: > Using V4MD 1.11 on XP and OS X. I use the following code to add a record, > with #mediaData: "" to avoid null value in a #Text field (not nullable, > indexed by words, ASCII, segment 128). Note, TEXT field as any BLOB is always Nullable, even if you say no. Because of technical implementation. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 22 23:35:36 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 22 15:35:42 2006 Subject: Void on mac, empty string on win In-Reply-To: <00b101c69637$3aa13950$0601a8c0@prosselboss> Message-ID: On 6/22/06 11:05 PM, "Pierre Rossel" wrote: > Using V4MD 1.11 on XP and OS X. I use the following code to add a record, > with #mediaData: "" to avoid null value in a #Text field (not nullable, > indexed by words, ASCII, segment 128). > > curMediaItems = db.Query("SELECT RecID, * FROM MediaItem WHERE RecID=0", > [#LockType: #ReadWrite, #Direction: #Random]) > bRet = curMediaItems.AddRecord([#MediaFolderPtr: iMediaFolderId, #name: > sName, #mediaType: 1, #mediaData: "", #comments: ""]) Btw, Are you sure you use 1.11 ? Db.SqlQuery() method is in 2.x V4MD 1.x did have new Vcursor( "SELECT ..." ) syntax. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 22 23:42:01 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 22 15:42:06 2006 Subject: Void on mac, empty string on win In-Reply-To: <00b101c69637$3aa13950$0601a8c0@prosselboss> Message-ID: On 6/22/06 11:05 PM, "Pierre Rossel" wrote: > Using V4MD 1.11 on XP and OS X. I use the following code to add a record, > with #mediaData: "" to avoid null value in a #Text field (not nullable, > indexed by words, ASCII, segment 128). > > curMediaItems = db.Query("SELECT RecID, * FROM MediaItem WHERE RecID=0", > [#LockType: #ReadWrite, #Direction: #Random]) > bRet = curMediaItems.AddRecord([#MediaFolderPtr: iMediaFolderId, #name: > sName, #mediaType: 1, #mediaData: "", #comments: ""]) > > Later, this code is used to load the data: > > curItem = db.Query("SELECT * FROM MediaItem WHERE RecID=" & > p_iMediaItemId) > p_lstData = curItem.GetRecordAsPropList() > > On windows, I get a prop list with an empty string for #mediaData: "" > > On mac, I get a void value for #mediaData. > > Why this difference ? No idea... but I think that code of V4MD is the same.. Can it be that Director show in different ways VOID value? Or another possible reason - bug in TEXT field, which return empty string instead of NULL... --------------- Query: select * from MediaItem WHERE mediaData is NULL Returns your record ? -------------- Have you download Valentina Studio ? It can show db on mac and windows in GUI -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From prossel2 at myrealbox.com Thu Jun 22 23:50:34 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Thu Jun 22 16:50:40 2006 Subject: Void on mac, empty string on win In-Reply-To: References: <00b101c69637$3aa13950$0601a8c0@prosselboss> Message-ID: Yes. db.Query is a handler in a parent script which creates a "new( xtra"VCursor"... " 2006/6/22, Ruslan Zasukhin sunshine@public.kherson.ua: Are you sure you use 1.11 ? Db.SqlQuery() method is in 2.x V4MD 1.x did have new Vcursor( "SELECT ..." ) syntax. From prossel2 at myrealbox.com Fri Jun 23 00:25:39 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Thu Jun 22 17:25:44 2006 Subject: Void on mac, empty string on win In-Reply-To: References: <00b101c69637$3aa13950$0601a8c0@prosselboss> Message-ID: > Can it be that Director show in different ways VOID value? Maybe, as it seems to be able to put in the message window, which is not documented anywhere. > Or another possible reason - bug in TEXT field, which return empty string > instead of NULL... In this case, the value in database should not be NULL since I create the record with an empty string. I verified in vstudio that the same lingo insertion code (which provides my text field with an empty string) creates a record with an empty string on windows and a record with a NULL value on mac. > --------------- > Query: > select * from MediaItem WHERE mediaData is NULL > > Returns your record ? Yes if it is created without specifying a value (correct) or if it is created on mac, even with an initial empty string (which is not correct). So the bug could be resumed as: On Macintosh, a record insertion with an empty string stores a NULL value in a text field instead of an empty string. > Have you download Valentina Studio ? Yes, on windows. Pierre Rossel From prossel2 at myrealbox.com Fri Jun 23 00:41:57 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Thu Jun 22 17:42:03 2006 Subject: GetField returns different value from GetRecordAsPropList Message-ID: Hello, Another strange behavior (V4MD 1.11, Win). This code is ran on a record with a NULL value in mediaData field: curItem = MyQuery("SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId) p_lstData = curItem.GetRecordAsPropList() put p_lstData[#mediaData] -- put curItem.GetField("mediaData") -- "" Why is GetRecordAsPropList() returning (this still strange value) while GetField returns an empty string ? Pierre Rossel From mjew at icnc.com Thu Jun 22 18:59:39 2006 From: mjew at icnc.com (Matthew Jew) Date: Thu Jun 22 20:59:52 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: References: Message-ID: On Jun 21, 2006, at 8:56 PM, Ruslan Zasukhin wrote: > On 6/22/06 5:15 AM, "Matthew Jew" wrote: > >> Ok, I think I figured out how to move the VSDK2 libraries into my >> app. >> (I was putting the copy files phase after the link phase; it should >> be before the link phase, I guess.) > > NO. it should be after link. > > Let me describe picture again: > > 1) you install VSDK. > > VComponents have few Valentina dlls. > > 2) you make project which point that dlls in VComponents > > see VSDK examples project. > > 3) you build app. > > result you get myapp.app package > > Up to know all is clear, yes? > > ------------------------------------- > 4) for DEBUG target it works right now. > > you can press debug, myapp starts, loads VComponents dlls. > perfect, you can debug. > > > 5) for DEPLOYMENT you need install VComponents folder INSIDE of your > myapp.app For this you do easy steps: > > * open package > > * copy the whole VComponents folder into myapp/Contents > > * open terminal > > * cd to myapp.app/Contents/Vcomponents > > * drag file change_names_icu_vcomponents.sh into terminal window > ENTER. > > * DONE. > > > Now you an copy myapp.app to other computer, and it works. > > > 6) it is possible in the your project make new build phase "Run > Script" > where specify script which will do this job. In ideal this > script should > work only for RELEASe target but I don't know how todo this ... > All > our projects use script for DEBUG also (but this bring new > issue of > xcode glitch, that require small workaround) > > > This is example of our script from Vserver xcode project: > again -- executed AFTER link phase > > Also note, that I plan today or tomorrow setup our xcode engine > projects to > use ICU from OS X...then VComponents folder for xcode-made products > (VSDK, V4REV, VSTudio, Vserver) say goodbuy to ICU dlls. Also this > means > that this script will become 2 times simpler and smaller.... > > Also note, in the project settings we add manually once few lines of > settings as > > VserverDllName libvserver_ppc_debug for DEBUG > libvserver_fat_release for RELEASE > > And script use these settings. > > P.S. At first you need get used to manual way of VComponents setup for > RELEASE build. On our site in news pointed third party utility todo > this by > drag and drop... > > > ########################################## > # vserver.dll: > > cp "$BUILT_PRODUCTS_DIR//$VserverDllName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > > # RZ: workaround of xcode glitch: it loads vserver.dll 2 times from 2 > locations. This cause crash > # to avoid this - we REMOVE original dll in old location. > rm "$BUILT_PRODUCTS_DIR//$VserverDllName" > > install_name_tool -id "@executable_path/$VserverDllName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > install_name_tool -change > "/usr/local/lib/vcomponents/VSDK.framework/Versions/A/VSDK" > "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicudata.dylib" > "@executable_path/../VComponents/libicudata.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" > "@executable_path/../VComponents/libicuuc.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicui18n.dylib" > "@executable_path/../VComponents/libicui18n.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > install_name_tool -change "/usr/local/lib/vcomponents/libicuio.dylib" > "@executable_path/../VComponents/libicuio.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > install_name_tool -change "/usr/local/lib/vcomponents/$SharedLibName" > "@executable_path/../VComponents/$SharedLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > install_name_tool -change "/usr/local/lib/vcomponents/$KernelLibName" > "@executable_path/../VComponents/$KernelLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$VserverDllName" > > > ########################################## > # VComponents folder: > > if [ ! -d "$BUILT_PRODUCTS_DIR/VServer.app/Contents/ > VComponents" ] ; then > mkdir "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" > fi > > > ########################################## > # COPY VSDK.framework 1.x: > > if [ ! -d > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > VSDK.framework" ] ; > then > cp -R "../../kernel/xcode/v1/VSDK.framework" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" > > # change id VSDK > install_name_tool -id > "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > VSDK.framework/Version > s/A/VSDK" > fi > > > ########################################## > # COPY engine dlls: > > cp "/usr/local/lib/vcomponents/$KernelLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" > cp "/usr/local/lib/vcomponents/$SharedLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents" > > > ########################################## > # change id of VSHARED: > > install_name_tool -id "@executable_path/../VComponents/$SharedLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$SharedLibName" > > > ########################################## > # change id of VKERNEL: > > install_name_tool -id "@executable_path/../VComponents/$KernelLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" > install_name_tool -change "/usr/local/lib/vcomponents/$SharedLibName" > "@executable_path/../VComponents/$SharedLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" > install_name_tool -change > "/usr/local/lib/vcomponents/VSDK.framework/Versions/A/VSDK" > "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicudata.dylib" > "@executable_path/../VComponents/libicudata.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" > install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" > "@executable_path/../VComponents/libicuuc.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicui18n.dylib" > "@executable_path/../VComponents/libicui18n.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" > install_name_tool -change "/usr/local/lib/vcomponents/libicuio.dylib" > "@executable_path/../VComponents/libicuio.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/$KernelLibName" > > > ########################################## > # ICU: > > cp /usr/local/lib/vcomponents/libicudata.dylib > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > libicudata.dylib" > cp /usr/local/lib/vcomponents/libicui18n.dylib > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > libicui18n.dylib" > cp /usr/local/lib/vcomponents/libicuio.dylib > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" > cp /usr/local/lib/vcomponents/libicuuc.dylib > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuuc.dylib" > > # change id of data library > install_name_tool -id "@executable_path/../VComponents/ > libicudata.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > libicudata.dylib" > > # change id and dependencies in common library > install_name_tool -id "@executable_path/../VComponents/libicuuc.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuuc.dylib" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicudata.dylib" > "@executable_path/../VComponents/libicudata.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuuc.dylib" > > # change id and dependencies in i18n library > install_name_tool -id "@executable_path/../VComponents/ > libicui18n.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > libicui18n.dylib" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicudata.dylib" > "@executable_path/../VComponents/libicudata.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > libicui18n.dylib" > install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" > "@executable_path/../VComponents/libicuuc.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > libicui18n.dylib" > > # change id and dependencies in io library > install_name_tool -id "@executable_path/../VComponents/libicuio.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" > install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" > "@executable_path/../VComponents/libicuuc.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicudata.dylib" > "@executable_path/../VComponents/libicudata.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicui18n.dylib" > "@executable_path/../VComponents/libicui18n.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/libicuio.dylib" > > > ########################################## > # Copy VResources folder: > > if [ ! -d "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > VResources" > ] ; then > mkdir "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/ > VResources" > mkdir > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources/ > English" > fi > cp -f ../../sources/VKernel/FBL/prot/Errors/kernel_errors.xml > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources/ > English" > cp -f ../../sources/VKernel/VSQL/Errors/xml/sql_errors.xml > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/VComponents/VResources/ > English" > > > ########################################## > # This Executable: > > install_name_tool -change "/usr/local/lib/$VserverDllName" > "@executable_path/$VserverDllName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > > install_name_tool -change > "/usr/local/lib/vcomponents/VSDK.framework/Versions/A/VSDK" > "@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicudata.dylib" > "@executable_path/../VComponents/libicudata.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib" > "@executable_path/../VComponents/libicuuc.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > install_name_tool -change "/usr/local/lib/vcomponents/ > libicui18n.dylib" > "@executable_path/../VComponents/libicui18n.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > install_name_tool -change "/usr/local/lib/vcomponents/libicuio.dylib" > "@executable_path/../VComponents/libicuio.dylib" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > install_name_tool -change "/usr/local/lib/vcomponents/$SharedLibName" > "@executable_path/../VComponents/$SharedLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > install_name_tool -change "/usr/local/lib/vcomponents/$KernelLibName" > "@executable_path/../VComponents/$KernelLibName" > "$BUILT_PRODUCTS_DIR/VServer.app/Contents/MacOS/$PRODUCT_NAME" > > > > ########################################## > # Databases and licenses folders for debugging: > > if [ ! -d "$BUILT_PRODUCTS_DIR/Databases" ] ; then > mkdir "$BUILT_PRODUCTS_DIR/Databases" > fi > > if [ ! -d "$BUILT_PRODUCTS_DIR/licences" ] ; then > cp -R "/PARADIGMA/UPLOAD/2.0/license_mac" "$BUILT_PRODUCTS_DIR" > mv "$BUILT_PRODUCTS_DIR/license_mac/" "$BUILT_PRODUCTS_DIR/ > licences/" > fi > > > Ruslan, I have followed your instructions completely, and I get the app to build and debug reliably. Even the RELEASE version get built (I am using the script you attached, modified to fix VServer.app specific items). The only thing that causes the RELEASE app to crash seems to be the same thing that Shaun Wexler pointed out: I have more than one version of the Valentina libraries linked to my app. The crash.log shows: Date/Time: 2006-06-22 18:54:27.734 -0700 OS Version: 10.4.6 (Build 8I127) Report Version: 4 Command: RadiusAuthenticator2 Path: /Volumes/Alpha2/Dev-ProjectBuilder/Cocoa-Projects/ RadiusAuthenticator2/build/Release/RadiusAuthenticator2.app/Contents/ MacOS/RadiusAuthenticator2 Parent: WindowServer [78] Version: RadiusAuthenticator2 version 2.0 (2.0) PID: 3893 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libvshared_fat_release.dylib 0x0062cc88 fbl::String::String[in- charge](char const*, long, char const*, fbl::EStringImpType) + 64 1 libvshared_fat_release.dylib 0x00613570 fbl::Location_Disk_FSSpec::get_Path() const + 96 2 libvkernel_fat_release.dylib 0x01ed5268 fbl::Valentina_Init_ICU () + 52 3 libvkernel_fat_release.dylib 0x01ed55f0 fbl::ValentinaInit (unsigned long, char*, char*) + 68 4 ...ompany.RadiusAuthenticator2 0x000167d4 PVInitializeDBSystem + 88 5 ...ompany.RadiusAuthenticator2 0x000049e8 DbValentinaBase::DbValentinaBase[not-in-charge]() + 52 6 ...ompany.RadiusAuthenticator2 0x00006058 DbAuthLog::DbAuthLog [in-charge]() + 24 7 ...ompany.RadiusAuthenticator2 0x000146fc -[AuthLogDBManager instantiateOurTypeOfDatabase] + 32 8 ...ompany.RadiusAuthenticator2 0x00007854 - [ValentinaBaseDBManager openExistingDatabase:] + 348 9 ...ompany.RadiusAuthenticator2 0x000149c0 -[AuthLogDBManager openHighestDBOrCreateDBInDefaultLocation] + 292 10 ...ompany.RadiusAuthenticator2 0x0000c24c - [RadAuthServerModelObject init] + 1192 11 com.apple.AppKit 0x9370a56c -[NSCustomObject nibInstantiate] + 260 12 com.apple.AppKit 0x936f4f74 -[NSIBObjectData instantiateObject:] + 188 13 com.apple.AppKit 0x936f4b40 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 144 14 com.apple.AppKit 0x936e103c loadNib + 240 15 com.apple.AppKit 0x936e0a94 +[NSBundle (NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 716 16 com.apple.AppKit 0x93737f64 +[NSBundle (NSNibLoading) loadNibFile:externalNameTable:withZone:] + 156 17 com.apple.AppKit 0x937c7df0 +[NSBundle (NSNibLoading) loadNibNamed:owner:] + 344 18 com.apple.AppKit 0x937c7b90 NSApplicationMain + 344 19 ...ompany.RadiusAuthenticator2 0x00002554 _start + 340 (crt.c:272) 20 ...ompany.RadiusAuthenticator2 0x000023fc start + 60 Thread 0 crashed with PPC Thread State 64: srr0: 0x000000000062cc88 srr1: 0x100000000200d030 vrsave: 0x0000000000000000 cr: 0x24000404 xer: 0x0000000000000000 lr: 0x000000000062cc58 ctr: 0x00000000900036b8 r0: 0x0000000000000000 r1: 0x00000000bfffef30 r2: 0x00000000006997f0 r3: 0x0000000000000000 r4: 0x00000000bfffefb8 r5: 0xffffffffffffffff r6: 0x0000000000000000 r7: 0x0000000000000000 r8: 0x0000000000000002 r9: 0x0000000000000006 r10: 0x0000000017801685 r11: 0x0000000044000402 r12: 0x00000000900036b8 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 r16: 0x0000000000020000 r17: 0x000000000002579c r18: 0x00000000000255d4 r19: 0x0000000000020000 r20: 0x0000000000020000 r21: 0x0000000000020000 r22: 0x00000000035824d0 r23: 0x0000000000025788 r24: 0x000000000002557c r25: 0x0000000000023ef4 r26: 0x0000000000025754 r27: 0x0000000000025590 r28: 0x0000000000000000 r29: 0x00000000177b4290 r30: 0x00000000177b4294 r31: 0x000000000062cc58 Binary Images Description: 0x1000 - 0x21fff com.yourcompany.RadiusAuthenticator2 RadiusAuthenticator2 version 2.0 (2.0) /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/MacOS/RadiusAuthenticator2 0x39000 - 0x3ffff libicuio.dylib /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/libicuio.dylib 0x44000 - 0x4afff libicuio.dylib /usr/local/lib/vcomponents/ libicuio.dylib 0x205000 - 0x314fff VSDK /Volumes/Alpha2/Dev-ProjectBuilder/ Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/VSDK.framework/Versions/ A/VSDK 0x3cf000 - 0x48ffff libicui18n.dylib /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/libicui18n.dylib 0x51c000 - 0x5b2fff libicuuc.dylib /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/libicuuc.dylib 0x60b000 - 0x684fff libvshared_fat_release.dylib /usr/local/lib/ vcomponents/libvshared_fat_release.dylib 0x1008000 - 0x1831fff libicudata.dylib /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/VComponents/libicudata.dylib 0x1834000 - 0x188bfff libvclient_fat_release.dylib /usr/local/lib/ vcomponents/libvclient_fat_release.dylib 0x1ead000 - 0x2368fff libvkernel_fat_release.dylib /usr/local/lib/ vcomponents/libvkernel_fat_release.dylib 0x2873000 - 0x2982fff VSDK /usr/local/lib/vcomponents/ VSDK.framework/Versions/A/VSDK 0x2a3d000 - 0x2ad3fff libicuuc.dylib /usr/local/lib/vcomponents/ libicuuc.dylib 0x2b2c000 - 0x3355fff libicudata.dylib /usr/local/lib/vcomponents/ libicudata.dylib 0x3358000 - 0x3418fff libicui18n.dylib /usr/local/lib/vcomponents/ libicui18n.dylib 0x8fa73000 - 0x8fd27fff com.apple.QuickTime 7.1.0 /System/Library/ Frameworks/QuickTime.framework/Versions/A/QuickTime 0x8fe00000 - 0x8fe51fff dyld 44.4 /usr/lib/dyld 0x90000000 - 0x901bbfff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x90213000 - 0x90218fff libmathCommon.A.dylib /usr/lib/system/ libmathCommon.A.dylib 0x9021a000 - 0x90267fff com.apple.CoreText 1.0.1 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreText.framework/Versions/A/CoreText 0x90292000 - 0x90343fff ATS /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/ Versions/A/ATS 0x90372000 - 0x9072cfff com.apple.CoreGraphics 1.258.30 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x907b9000 - 0x90892fff com.apple.CoreFoundation 6.4.6 (368.27) / System/Library/Frameworks/CoreFoundation.framework/Versions/A/ CoreFoundation 0x908db000 - 0x908dbfff com.apple.CoreServices 10.4 (???) /System/ Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x908dd000 - 0x909dffff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a39000 - 0x90abdfff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90ae7000 - 0x90b57fff com.apple.framework.IOKit 1.4 (???) /System/ Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90b6d000 - 0x90b7ffff libauto.dylib /usr/lib/libauto.dylib 0x90b86000 - 0x90e5dfff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/ Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90ec3000 - 0x90f43fff com.apple.CoreServices.OSServices 4.1 /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ OSServices.framework/Versions/A/OSServices 0x90f8d000 - 0x90fcefff com.apple.CFNetwork 129.16 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ CFNetwork.framework/Versions/A/CFNetwork 0x90fe3000 - 0x90ffbfff com.apple.WebServices 1.1.2 (1.1.0) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ WebServicesCore.framework/Versions/A/WebServicesCore 0x9100b000 - 0x9108cfff com.apple.SearchKit 1.0.5 /System/Library/ Frameworks/CoreServices.framework/Versions/A/Frameworks/ SearchKit.framework/Versions/A/SearchKit 0x910d2000 - 0x910fbfff com.apple.Metadata 10.4.4 (121.36) /System/ Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/ Metadata.framework/Versions/A/Metadata 0x9110c000 - 0x9111afff libz.1.dylib /usr/lib/libz.1.dylib 0x9111d000 - 0x912d3fff com.apple.security 4.3 (25966) /System/ Library/Frameworks/Security.framework/Versions/A/Security 0x913d0000 - 0x913d9fff com.apple.DiskArbitration 2.1 /System/Library/ Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x913e0000 - 0x91407fff com.apple.SystemConfiguration 1.8.2 /System/ Library/Frameworks/SystemConfiguration.framework/Versions/A/ SystemConfiguration 0x9141a000 - 0x91425fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x9142a000 - 0x91432fff libbsm.dylib /usr/lib/libbsm.dylib 0x91436000 - 0x914b1fff com.apple.audio.CoreAudio 3.0.3 /System/ Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x914ee000 - 0x914eefff com.apple.ApplicationServices 10.4 (???) / System/Library/Frameworks/ApplicationServices.framework/Versions/A/ ApplicationServices 0x914f0000 - 0x91528fff com.apple.AE 1.5 (297) /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE 0x91543000 - 0x91610fff com.apple.ColorSync 4.4.4 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync 0x91665000 - 0x916f6fff com.apple.print.framework.PrintCore 4.5 (177.10) /System/Library/Frameworks/ApplicationServices.framework/ Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x9173d000 - 0x917f4fff com.apple.QD 3.8.20 (???) /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD 0x91831000 - 0x9188ffff com.apple.HIServices 1.5.1 (???) /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/HIServices.framework/Versions/A/HIServices 0x918be000 - 0x918dffff com.apple.LangAnalysis 1.6.1 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis 0x918f3000 - 0x91918fff com.apple.FindByContent 1.5 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent 0x9192b000 - 0x9196dfff com.apple.LaunchServices 178 /System/Library/ Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices 0x91989000 - 0x9199dfff com.apple.speech.synthesis.framework 3.3 / System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x919ab000 - 0x919eafff com.apple.ImageIO.framework 1.4.6 /System/ Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/ImageIO.framework/Versions/A/ImageIO 0x91a00000 - 0x91ac8fff libcrypto.0.9.7.dylib /usr/lib/libcrypto. 0.9.7.dylib 0x91b16000 - 0x91b2bfff libcups.2.dylib /usr/lib/libcups.2.dylib 0x91b30000 - 0x91b4dfff libJPEG.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJPEG.dylib 0x91b52000 - 0x91bc1fff libJP2.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libJP2.dylib 0x91bd8000 - 0x91bdcfff libGIF.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libGIF.dylib 0x91bde000 - 0x91c25fff libRaw.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRaw.dylib 0x91c2a000 - 0x91c67fff libTIFF.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libTIFF.dylib 0x91c6e000 - 0x91c87fff libPng.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libPng.dylib 0x91c8c000 - 0x91c8ffff libRadiance.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/Resources/libRadiance.dylib 0x91c91000 - 0x91c91fff com.apple.Accelerate 1.2.1 (Accelerate 1.2.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Accelerate 0x91c93000 - 0x91d73fff com.apple.vImage 2.3 /System/Library/ Frameworks/Accelerate.framework/Versions/A/Frameworks/ vImage.framework/Versions/A/vImage 0x91d7b000 - 0x91d9afff com.apple.Accelerate.vecLib 3.2.1 (vecLib 3.2.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/ Frameworks/vecLib.framework/Versions/A/vecLib 0x91e06000 - 0x91e74fff libvMisc.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libvMisc.dylib 0x91e7f000 - 0x91f13fff libvDSP.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libvDSP.dylib 0x91f2d000 - 0x924b5fff libBLAS.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libBLAS.dylib 0x924e8000 - 0x92813fff libLAPACK.dylib /System/Library/Frameworks/ Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/ A/libLAPACK.dylib 0x92843000 - 0x928cbfff com.apple.DesktopServices 1.3.3 /System/ Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/ DesktopServicesPriv 0x9290c000 - 0x92b37fff com.apple.Foundation 6.4.5 (567.26) /System/ Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x92c55000 - 0x92d33fff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x92d53000 - 0x92e41fff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x92e53000 - 0x92e71fff libGL.dylib /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x92e7c000 - 0x92ed6fff libGLU.dylib /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x92ef4000 - 0x92ef4fff com.apple.Carbon 10.4 (???) /System/Library/ Frameworks/Carbon.framework/Versions/A/Carbon 0x92ef6000 - 0x92f0afff com.apple.ImageCapture 3.0 /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/ ImageCapture.framework/Versions/A/ImageCapture 0x92f22000 - 0x92f32fff com.apple.speech.recognition.framework 3.4 / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SpeechRecognition.framework/Versions/A/SpeechRecognition 0x92f3e000 - 0x92f53fff com.apple.securityhi 2.0 (203) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ SecurityHI.framework/Versions/A/SecurityHI 0x92f65000 - 0x92fecfff com.apple.ink.framework 101.2 (69) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Ink.framework/Versions/A/Ink 0x93000000 - 0x9300bfff com.apple.help 1.0.3 (32) /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/ Versions/A/Help 0x93015000 - 0x93042fff com.apple.openscripting 1.2.5 (???) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ OpenScripting.framework/Versions/A/OpenScripting 0x9305c000 - 0x9306bfff com.apple.print.framework.Print 5.2 (192.4) / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ Print.framework/Versions/A/Print 0x93077000 - 0x930ddfff com.apple.htmlrendering 1.1.2 /System/Library/ Frameworks/Carbon.framework/Versions/A/Frameworks/ HTMLRendering.framework/Versions/A/HTMLRendering 0x9310e000 - 0x9315dfff com.apple.NavigationServices 3.4.4 (3.4.3) / System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ NavigationServices.framework/Versions/A/NavigationServices 0x9318b000 - 0x931a8fff com.apple.audio.SoundManager 3.9 /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CarbonSound.framework/Versions/A/CarbonSound 0x931ba000 - 0x931c7fff com.apple.CommonPanels 1.2.2 (73) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ CommonPanels.framework/Versions/A/CommonPanels 0x931d0000 - 0x934ddfff com.apple.HIToolbox 1.4.6 (???) /System/ Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ HIToolbox.framework/Versions/A/HIToolbox 0x9362c000 - 0x93638fff com.apple.opengl 1.4.7 /System/Library/ Frameworks/OpenGL.framework/Versions/A/OpenGL 0x936d1000 - 0x936d1fff com.apple.Cocoa 6.4 (???) /System/Library/ Frameworks/Cocoa.framework/Versions/A/Cocoa 0x936d3000 - 0x93d05fff com.apple.AppKit 6.4.6 (824.38) /System/ Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x94092000 - 0x94102fff com.apple.CoreData 80 /System/Library/ Frameworks/CoreData.framework/Versions/A/CoreData 0x9413b000 - 0x941fefff com.apple.audio.toolbox.AudioToolbox 1.4.1 / System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x94250000 - 0x94250fff com.apple.audio.units.AudioUnit 1.4 /System/ Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x94252000 - 0x94406fff com.apple.QuartzCore 1.4.7 /System/Library/ Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x94459000 - 0x94496fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib 0x9449e000 - 0x944eefff libGLImage.dylib /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x9469c000 - 0x946abfff libCGATS.A.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x946b3000 - 0x946c0fff libCSync.A.dylib /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x94726000 - 0x94797fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib 0x9480a000 - 0x9482afff libmx.A.dylib /usr/lib/libmx.A.dylib 0xc1000000 - 0xc1017fff OpenBaseNet 9.1 /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/Frameworks/OpenBaseNet.framework/ Versions/A/OpenBaseNet 0xc2000000 - 0xc202bfff OpenBaseAPI 7.0 (9.1) /Volumes/Alpha2/Dev- ProjectBuilder/Cocoa-Projects/RadiusAuthenticator2/build/Release/ RadiusAuthenticator2.app/Contents/Frameworks/OpenBaseAPI.framework/ Versions/A/OpenBaseAPI and the crash.log from the release machine (that does not even have the vcomponents installed) reads: Command: RadiusAuthenticator2 Path: /RadiusAuthenticator2/RadiusAuthenticator2.app/Contents/ MacOS/RadiusAuthenticator2 Parent: WindowServer [200] Version: RadiusAuthenticator2 version 2.0 (2.0) PID: 6504 Thread: Unknown Link (dyld) error: Library not loaded: /usr/local/lib/vcomponents/ libvclient_fat_release.dylib Referenced from: /RadiusAuthenticator2/RadiusAuthenticator2.app/ Contents/MacOS/RadiusAuthenticator2 Reason: image not found I have gone through both the Project build settings and the Target build settings and removed all the garbage library/framework search paths. However, of course, if I remove the /usr/local/lib/vcomponents path from the library/framework search paths, then the application cannot be compiled/linked successfully. It seems that I am very close to succeeding, but I am not sure what else to try. I have tried changing many things, but without success. BTW, this is the big reason I was hoping there was a demonstration Cocoa application XCode project, so show exactly how this is done. It is clear that it can be done (since you build VStudio and Shaun builds his applications), but I seem to be stuck. - Matthew From sunshine at public.kherson.ua Fri Jun 23 08:26:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 00:26:29 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: Message-ID: On 6/23/06 4:59 AM, "Matthew Jew" wrote: > The only thing that causes the RELEASE app to crash seems to be the > same thing that Shaun Wexler pointed out: > I have more than one version of the Valentina libraries linked to my > app. But how ??? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 23 08:38:54 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 00:39:02 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: Message-ID: On 6/23/06 1:41 AM, "Pierre Rossel" wrote: > Hello, > > Another strange behavior (V4MD 1.11, Win). > > This code is ran on a record with a NULL value in mediaData field: > > curItem = MyQuery("SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId) > p_lstData = curItem.GetRecordAsPropList() > > put p_lstData[#mediaData] > -- > put curItem.GetField("mediaData") > -- "" > > Why is GetRecordAsPropList() returning (this still strange value) > while GetField returns an empty string ? I have look in sources of V4MD 1.x for( ushort i = 1; i <= fldCount; i++ ) { VDK_Field* pField = pCursor->GetField( (ushort) i); MoaMmValue fldValue = {0}; Cursor_GetField_aux( This, pField, &fldValue ); bool isNull = pField->IsNull(); if( isNull ) { pMmValue->ValueRelease( &fldValue ); } MoaMmSymbol symName; MoaMmValue valueName; pMmValue->StringToSymbol( pField->GetName(), &symName ); pMmValue->SymbolToValue( symName, &valueName ); pMmList->AppendValueToPropList( pList, &valueName, &fldValue ); pMmValue->ValueRelease( &valueName ); if( !isNull ) pMmValue->ValueRelease( &fldValue ); } If field value is Null, then we simply make empty fldValue. I.e. We DO NOT put string there. I think this is Director issue. But note! Assume you have in table f1 which is nullable. Assume first record has NULL there. The correct code to extract value from this field is: curItem = MyQuery( "SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId) isNull = curItem.GetFieldIsNull("mediaData") if( not isNull ) value = curItem.GetField("mediaData") You cannot just extract value. If you do this, you will get ZERO for numeric fields, and empty string for STRING/VARCHAR/TEXT. ** Function GetRecordAsPropList() do this code self. It check if field us null, and put values into list...Why Director show you I don't know. May be this is normal for VOID varaibale ? Have you try e.g. var = void put var ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mjew at icnc.com Thu Jun 22 23:30:19 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 23 01:30:35 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: References: Message-ID: n Jun 22, 2006, at 10:26 PM, Ruslan Zasukhin wrote: > On 6/23/06 4:59 AM, "Matthew Jew" wrote: > >> The only thing that causes the RELEASE app to crash seems to be the >> same thing that Shaun Wexler pointed out: > >> I have more than one version of the Valentina libraries linked to my >> app. > > But how ??? > Ruslan, I am wondering if it might have something to do with another issue I asked about. I have twice mentioned the "version 0.0.0" problem, and you once responded: On Jun 2, 2006, at 2:24 PM, Ruslan Zasukhin wrote: > On 6/3/06 12:18 AM, "Matthew Jew" wrote: > >> Ruslan, >> >> In certain configurations of my XCode project, I get this error: >> >> dyld: Library not loaded: @executable_path/../Frameworks/ >> VSDK.framework/Versions/A/VSDK >> Referenced from: /Volumes/Alpha2/Dev-ProjectBuilder/Cocoa- >> Projects/ >> RadiusAuthenticator2/build/Debug/RadiusAuthenticator2.app/Contents/ >> MacOS/RadiusAuthenticator2 >> Reason: Incompatible library version: RadiusAuthenticator2 >> requires version 1.0.0 or later, but VSDK provides version 0.0.0 >> >> What does this mean? > > I will try tomorrow make new VSDK build using xcode 2.3 > > Also I will check this version for VSDK.Framework.. > This is 1.x version VSDK as I see The VSDK.framework that is causing this "version 0.0.0" problem is the one inside the vcomponents folder. Because that one has the "version 0.0.0" problem, I cannot use it. I am forced to link instead to an older copy of VSDK.framework (which is, unfortunately, not Universal), which exists in an entirely different location. Could this be contributing to the problem? I can send another copy of the project, if that helps. - Matthew From gogaworm at tut.by Fri Jun 23 09:57:39 2006 From: gogaworm at tut.by (Lilu) Date: Fri Jun 23 01:57:58 2006 Subject: strange cursor update Message-ID: I tried both EVLockType.kReadWrite and EVLockType.kNoLocks. The problem with saving remains the same. --- ??????????????? ??????? ?? ??????????? ?? 25 ???. ?????? ?? ???? ?? 3 ??? ? ??? ????? ????????? ?? 12,4 ???. ??????! ?????: (017) 203 24 72, (029) 138 4 138, ?????: (0162) 22 11 50, ??????: (029) 159 6 159 From prossel2 at myrealbox.com Fri Jun 23 09:55:36 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Fri Jun 23 02:55:51 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: Message-ID: <001401c6969a$69e1e620$0601a8c0@prosselboss> Hello Ruslan, > if( isNull ) > { > pMmValue->ValueRelease( &fldValue ); > } > > If field value is Null, then we simply make empty fldValue. > I.e. We DO NOT put string there. > I think this is Director issue. I am not a XDK specialist, but I downloaded it and read a bit through the doc. I also looked in PRegEx xtra source code to try to find the way to set a value to void. Are you sure that a simple ValueRelease() call will set the value to void in property list ? I guess the ValueRelease will only decrement the reference counter. But the point is: if there is no chance to have a 1.11 update, even if there is a bug, is it worth looking for a solution in the source code ? > The correct code to extract value from this field is: > > curItem = MyQuery( > "SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId) > > isNull = curItem.GetFieldIsNull("mediaData") > > if( not isNull ) > value = curItem.GetField("mediaData") > > > You cannot just extract value. If you do this, you will get > ZERO for numeric > fields, and empty string for STRING/VARCHAR/TEXT. Why not a real void value if the field is NULL ? One that will make voidP(value) return true. > ** Function GetRecordAsPropList() do this code self. It check > if field us > null, and put values into list...Why Director show you > I don't know. Maybe because the way the value is set when the field is NULL is not the best way to set a void value. > May be this is normal for VOID varaibale ? No. There are lots of use of void values in Director and I have never seen the value before. Note this is not a string. > Have you try e.g. > > var = void > > put var Yes. The result is: -- It is not a string, which would be enclosed in quotes, but the way Director shows a variable that has no value. It is different from the value 0, although it is considered as a 0 in operations such as: Put void = 0 -- 1 This is the reason of the voidP() function which will tell whether a value is void or not. Put voidP(0) -- 0 Put voidP(void) -- 1 Pierre Rossel From sunshine at public.kherson.ua Fri Jun 23 10:58:58 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 02:59:06 2006 Subject: Crash 'EXC_BAD_ACCESS' when calling CreateDatabase() in C++ VSDK In-Reply-To: Message-ID: On 6/23/06 9:30 AM, "Matthew Jew" wrote: > The VSDK.framework that is causing this "version 0.0.0" problem is > the one inside > the vcomponents folder. Because that one has the "version 0.0.0" > problem, I cannot use it. > I am forced to link instead to an older copy of VSDK.framework (which > is, unfortunately, not Universal), > which exists in an entirely different location. > > Could this be contributing to the problem? > > I can send another copy of the project, if that helps. Hard to say. Lets do next. I will start today update our xcode projects to use ICU from OSX. As I have told before. This should simplify issue.. When and if success then I will make new VSDK versions. Few benefits. One of them - we remove 21MB of code from VComponents folder. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 23 10:59:59 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 03:00:09 2006 Subject: strange cursor update In-Reply-To: Message-ID: On 6/23/06 9:57 AM, "Lilu" wrote: > I tried both EVLockType.kReadWrite and EVLockType.kNoLocks. The problem > with saving remains the same. Strange. This is again in VNET + Vsever? Please always remind this configuration: Local or Client.. Please show full code of your function where you create cursor and do update -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 23 11:04:40 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 03:04:50 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: <001401c6969a$69e1e620$0601a8c0@prosselboss> Message-ID: On 6/23/06 10:55 AM, "Pierre Rossel" wrote: Hi Pierre, > >> if( isNull ) >> { >> pMmValue->ValueRelease( &fldValue ); >> } >> >> If field value is Null, then we simply make empty fldValue. >> I.e. We DO NOT put string there. >> I think this is Director issue. > > I am not a XDK specialist, but I downloaded it and read a bit through the > doc. I also looked in PRegEx xtra source code to try to find the way to set > a value to void. Wow. You do not need go so deeply :) > Are you sure that a simple ValueRelease() call will set the value to void in > property list ? I guess the ValueRelease will only decrement the reference > counter. And when counter become zero, object is destroyed. > But the point is: if there is no chance to have a 1.11 update, even if there > is a bug, is it worth looking for a solution in the source code ? Pierre, you have not answer. What about switch to V4MD 2 ? In V4MD 2 we can debug, improve, update.. Why you use 1.x ? >> The correct code to extract value from this field is: >> >> curItem = MyQuery( >> "SELECT * FROM MediaItem WHERE RecID=" & p_iMediaItemId) >> >> isNull = curItem.GetFieldIsNull("mediaData") >> >> if( not isNull ) >> value = curItem.GetField("mediaData") >> >> >> You cannot just extract value. If you do this, you will get >> ZERO for numeric >> fields, and empty string for STRING/VARCHAR/TEXT. > > Why not a real void value if the field is NULL ? > One that will make voidP(value) return true. Hmm. Good point. Lingo have true VOID value which we map to SQL's NULL. And you see that we return not VOID in V4MD 1.x.. Again, we can test this fast in V4MD 2, but not easy for 1.x -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 23 11:08:41 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 03:08:49 2006 Subject: [V4MD] Void on mac, empty string on win -- Kirill new test todo In-Reply-To: Message-ID: On 6/23/06 1:25 AM, "Pierre Rossel" wrote: >> Or another possible reason - bug in TEXT field, which return empty string >> instead of NULL... > > In this case, the value in database should not be NULL since I create > the record with an empty string. But why you insert into TEXT an empty string ? This is not good, because then you eat one segment of BLOB on disk for nothing. > I verified in vstudio that the same lingo insertion code (which > provides my text field with an empty string) creates a record with an > empty string on windows and a record with a NULL value on mac. Really strange. Kirill, please add into our V4MD/TestPrpject similar tests. Let us know how V4MD 2 works on this issue. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From prossel2 at myrealbox.com Fri Jun 23 10:31:29 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Fri Jun 23 03:31:43 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: Message-ID: <001901c6969f$6d26e5b0$0601a8c0@prosselboss> Ruslan, > And when counter become zero, object is destroyed. Is that the way to set a void value ? > Pierre, you have not answer. What about switch to V4MD 2 ? > In V4MD 2 we can debug, improve, update.. Of course. I would love to. I prefer the interface of the v 2. > Why you use 1.x ? - db file double its size because of UTF-16 (I could live with that) - readme says that encryption is not yet supported (this is more a problem) > Lingo have true VOID value which we map to SQL's NULL. > And you see that we return not VOID in V4MD 1.x.. > Again, we can test this fast in V4MD 2, but not easy for 1.x I understand your reticence to work on 1.11. If there is encryption on 2.3, I will switch to v 2. Pierre Rossel From gogaworm at tut.by Fri Jun 23 12:16:50 2006 From: gogaworm at tut.by (Lilu) Date: Fri Jun 23 04:16:57 2006 Subject: boolean field value refuses to change Message-ID: I save values to the DB using the code public sub SaveDB( ByVal table as IVTable, ByVal id as Integer, ByVal fieldName as String, ByVal value as Object ) table.RecId = _id 'some valid id dim _field as IVField = _table.Field(fieldName) _field.Value = value table.UpdateRecord() end sub It works fine until I try to save boolean value to boolean field. In that case the value stayes the same and no exception is thrown. What am I doing wrong? Thanx, Ilona Karpova P.S. I'm using VServer with VNET --- ?? ????? ?????????? ???? ? ??????????????! ?????????? ????? 2, ??????????? ????????????? ????? (? ?????????), ???/???????????? 507-62-48. ???????? ???? ?? ?????? ??????????. http://av.by/tmk/kino.html From sunshine at public.kherson.ua Fri Jun 23 12:58:15 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 04:58:21 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: <001901c6969f$6d26e5b0$0601a8c0@prosselboss> Message-ID: On 6/23/06 11:31 AM, "Pierre Rossel" wrote: Hi Pierre, >> Pierre, you have not answer. What about switch to V4MD 2 ? >> In V4MD 2 we can debug, improve, update.. > > Of course. I would love to. I prefer the interface of the v 2. >> Why you use 1.x ? > > - db file double its size because of UTF-16 (I could live with that) > - readme says that encryption is not yet supported (this is more a problem) Oh, we need fix readme. Encryption support long time ago. >> Lingo have true VOID value which we map to SQL's NULL. >> And you see that we return not VOID in V4MD 1.x.. >> Again, we can test this fast in V4MD 2, but not easy for 1.x > > I understand your reticence to work on 1.11. > If there is encryption on 2.3, I will switch to v 2. Yes P.S. Kirill have reproduce issue for GetRecordAsPropList in v2 We now working on it -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 23 12:59:24 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 04:59:28 2006 Subject: boolean field value refuses to change In-Reply-To: Message-ID: On 6/23/06 12:16 PM, "Lilu" wrote: > I save values to the DB using the code > > public sub SaveDB( ByVal table as IVTable, ByVal id as Integer, ByVal > fieldName as String, ByVal value as Object ) > table.RecId = _id 'some valid id > dim _field as IVField = _table.Field(fieldName) > _field.Value = value > table.UpdateRecord() > end sub > > It works fine until I try to save boolean value to boolean field. In that > case the value stayes the same and no exception is thrown. What am I doing > wrong? > Thanx, Ilona Karpova > > P.S. I'm using VServer with VNET I think this is bug. And we have it working new vserver 2.4 beta. Please wait few days yet to get new server -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 23 13:03:45 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 05:03:50 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: Message-ID: On 6/23/06 12:58 PM, "Ruslan Zasukhin" wrote: > On 6/23/06 11:31 AM, "Pierre Rossel" wrote: > > Hi Pierre, > >>> Pierre, you have not answer. What about switch to V4MD 2 ? >>> In V4MD 2 we can debug, improve, update.. >> >> Of course. I would love to. I prefer the interface of the v 2. > >>> Why you use 1.x ? >> >> - db file double its size because of UTF-16 (I could live with that) > >> - readme says that encryption is not yet supported (this is more a problem) > > Oh, we need fix readme. Encryption support long time ago. Actually latest ReadMe says ----------------------------- Valentina 2.0. Known Issues UTF-16. Valentina 2.0 currently supports only UTF-16 native databases. Additional formats will become available in a soon to be released update. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From prossel2 at myrealbox.com Fri Jun 23 12:30:51 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Fri Jun 23 05:31:08 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: Message-ID: <004a01c696b0$1a095eb0$0601a8c0@prosselboss> > Actually latest ReadMe says > > ----------------------------- > Valentina 2.0. Known Issues > > UTF-16. Valentina 2.0 currently supports only UTF-16 native databases. > Additional formats will become available in a soon to be > released update. Is this part also outdated ? If not do you know when we will be able to use 1 byte database ? Pierre Rossel From sunshine at public.kherson.ua Fri Jun 23 14:33:10 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 23 06:33:16 2006 Subject: GetField returns different value from GetRecordAsPropList In-Reply-To: <004a01c696b0$1a095eb0$0601a8c0@prosselboss> Message-ID: On 6/23/06 1:30 PM, "Pierre Rossel" wrote: >> Actually latest ReadMe says >> >> ----------------------------- >> Valentina 2.0. Known Issues >> >> UTF-16. Valentina 2.0 currently supports only UTF-16 native databases. >> Additional formats will become available in a soon to be >> released update. > > Is this part also outdated ? If not do you know when we will be able to use > 1 byte database ? My plan is that after 2.4 I start develop * new full text indexes, * support UTF8 storage * win version of engine without ICU. I.e. I want spend July on text-related issues. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From prossel2 at myrealbox.com Fri Jun 23 15:51:09 2006 From: prossel2 at myrealbox.com (Pierre Rossel) Date: Fri Jun 23 08:51:29 2006 Subject: Secure checkout In-Reply-To: Message-ID: <006301c696cc$16fd6d80$0601a8c0@prosselboss> Hello, How comes that you don't have a secure checkout in your store ? I am reticent to send my credit card number on http. Is there another way ? Pierre Rossel From Claudius at sailer-online.de Fri Jun 23 21:34:55 2006 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Jun 23 14:34:58 2006 Subject: Error Code -39 Message-ID: <69876D56-C822-4B2F-A040-7D5C519EA578@sailer-online.de> Hello, where can I find what Error Number -39 means? thanks for help Claudius -- iMac CD 2GHz / MacOS X 10.4de / RB 2006r2/ Valentina 2.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From lists at redcort.com Fri Jun 23 12:48:59 2006 From: lists at redcort.com (Keith DeLong) Date: Fri Jun 23 14:47:25 2006 Subject: Error Code -39 In-Reply-To: <69876D56-C822-4B2F-A040-7D5C519EA578@sailer-online.de> Message-ID: Claudius, It's an OS error. I believe it is 'unexpected end of file'. Whenever I've seen this it means the file is irretrievably hosed. Keith DeLong > Hello, > > where can I find what Error Number -39 means? > > thanks for help > > > Claudius > > -- > iMac CD 2GHz / MacOS X 10.4de / RB 2006r2/ Valentina 2.3 > Homepage http://www.ClaSai.de > iChat ryhoruk > RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] > From Claudius at sailer-online.de Sat Jun 24 08:35:45 2006 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sat Jun 24 01:35:54 2006 Subject: Problems with UPDATE #1666 Message-ID: <9A899C72-850F-46A6-A2CC-DC4F232ADFD7@sailer-online.de> Hi, Deleted is a Boolean. When I try following SQLs my application and viSQL crashes everytime without any error message. Does anybody has same problem? Update Buchungen SET Deleted='1' where RecID=1 Update Buchungen SET Deleted='1' where RecID='1' Update Buchungen SET Deleted=1 where RecID=1 Update Buchungen SET Deleted=1 where RecID='1' is it neccessary to use myDatabase.Table.RecID=1 myDatabase.Table.Deleted=true myDatabase.Table.UpdateRecord() it seems this works thanks Claudius -- iMac CD 2GHz / MacOS X 10.4de / RB 2006r2/ Valentina 2.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From steve at steve-albin.com Sun Jun 25 23:31:33 2006 From: steve at steve-albin.com (Steve Albin) Date: Sun Jun 25 22:31:41 2006 Subject: Valentina Studio crashing on SQL Message-ID: I am having a very odd problem with Valentina Studio. The following SQL works fine: Select * from Perfs, IssPerfs WHERE Perfs.nSessId = 2 AND Perfs.nPerfId = IssPerfs.nPerfId The following SQL crashes Valentina Studio: Select * from Perfs, IssPerfs WHERE Perfs.nSessId = 3 AND Perfs.nPerfId = IssPerfs.nPerfId There is no value of Perfs.nSessid = 3. I would expect an empty cursor, but instead Valentina Studio just crashes and subsequently will not open the database. The target database is a V4RB 1.10 database that I allow Valentina Studio to convert to V2. I am using Valentina Studio 2.3. I really don't care if Valentina Studio works for me, but the real problem is that my V4RB 2.4b13 app is crashing on the same SQL. Any ideas? Steve -- Steve Albin - Montclair, NJ http://www.jazzdiscography.com/ http://www.steve-albin.com/ From sunshine at public.kherson.ua Mon Jun 26 08:59:03 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 26 00:59:14 2006 Subject: Valentina Studio crashing on SQL In-Reply-To: Message-ID: On 6/26/06 6:31 AM, "Steve Albin" wrote: Hi Steve, Have you diagnose your db ? May be = 3 record is bad ? > I am having a very odd problem with Valentina Studio. > > The following SQL works fine: > > Select * from Perfs, IssPerfs > WHERE Perfs.nSessId = 2 > AND Perfs.nPerfId = IssPerfs.nPerfId > > The following SQL crashes Valentina Studio: > > Select * from Perfs, IssPerfs > WHERE Perfs.nSessId = 3 > AND Perfs.nPerfId = IssPerfs.nPerfId > > There is no value of Perfs.nSessid = 3. I would expect an empty cursor, but > instead Valentina Studio just crashes and subsequently will not open the > database. The target database is a V4RB 1.10 database that I allow Valentina > Studio to convert to V2. > > I am using Valentina Studio 2.3. I really don't care if Valentina Studio > works for me, but the real problem is that my V4RB 2.4b13 app is crashing on > the same SQL. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jun 26 09:01:49 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 26 01:02:07 2006 Subject: Progress on ICU job Message-ID: Hi All, I want inform you that last 3 days I have spend on change Valentina code that use C++ classes from ICU to use C functions from ICU. This is major step to be able use ICU from OS X and to be able use it from CW projects also... I have port all such code and our tests was fine. Sunday I have re-write our String class and now I need recover our tests... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Mon Jun 26 09:08:06 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 26 01:08:16 2006 Subject: Problems with UPDATE #1666 In-Reply-To: <9A899C72-850F-46A6-A2CC-DC4F232ADFD7@sailer-online.de> Message-ID: On 6/24/06 9:35 AM, "Claudius Sailer" wrote: Hi Claudius, > Deleted is a Boolean. When I try following SQLs my application and > viSQL crashes everytime without any error message. > > Does anybody has same problem? > > Update Buchungen SET Deleted='1' where RecID=1 > Update Buchungen SET Deleted='1' where RecID='1' > Update Buchungen SET Deleted=1 where RecID=1 > Update Buchungen SET Deleted=1 where RecID='1' > is it neccessary to use > > myDatabase.Table.RecID=1 > myDatabase.Table.Deleted=true > myDatabase.Table.UpdateRecord() > it seems this works 1) our SQL parser exactly do not support for DB.TABLE.FIELD. but only TABLE.FIELD 2) your form also should work but without single quotes Update Buchungen SET Deleted=1 where RecID=1 I see your report in Mantis. We will test it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From steve at steve-albin.com Mon Jun 26 08:06:48 2006 From: steve at steve-albin.com (Steve Albin) Date: Mon Jun 26 07:06:57 2006 Subject: Valentina Studio crashing on SQL In-Reply-To: Message-ID: On Monday, June 26, 2006 sunshine@public.kherson.ua (Ruslan Zasukhin) wrote: >On 6/26/06 6:31 AM, "Steve Albin" wrote: > >Hi Steve, > >Have you diagnose your db ? > >May be = 3 record is bad ? Actually Perfs.nSessid does not exist. Should give empty cursor. I did a diagnose before the SQL and no problems are found. I just submitted this to Mantis with a small database that will reproduce the problem. Entry number 1667. Steve -- Steve Albin - Montclair, NJ http://www.jazzdiscography.com/ http://www.steve-albin.com/ > >> I am having a very odd problem with Valentina Studio. >> >> The following SQL works fine: >> >> Select * from Perfs, IssPerfs >> WHERE Perfs.nSessId = 2 >> AND Perfs.nPerfId = IssPerfs.nPerfId >> >> The following SQL crashes Valentina Studio: >> >> Select * from Perfs, IssPerfs >> WHERE Perfs.nSessId = 3 >> AND Perfs.nPerfId = IssPerfs.nPerfId >> >> There is no value of Perfs.nSessid = 3. I would expect an empty cursor, but >> instead Valentina Studio just crashes and subsequently will not open the >> database. The target database is a V4RB 1.10 database that I allow Valentina >> Studio to convert to V2. >> >> I am using Valentina Studio 2.3. I really don't care if Valentina Studio >> works for me, but the real problem is that my V4RB 2.4b13 app is crashing on >> the same SQL. > > > From fitzbew at nc.rr.com Mon Jun 26 08:44:56 2006 From: fitzbew at nc.rr.com (Russ Tyndall) Date: Mon Jun 26 07:45:04 2006 Subject: Valentina Studio crashing on SQL In-Reply-To: Message-ID: On 6/26/06 8:06 AM, "Steve Albin" wrote: > > On Monday, June 26, 2006 sunshine@public.kherson.ua (Ruslan Zasukhin) wrote: > >> On 6/26/06 6:31 AM, "Steve Albin" wrote: >> >> Hi Steve, >> >> Have you diagnose your db ? >> >> May be = 3 record is bad ? > > Actually Perfs.nSessid does not exist. Should give empty cursor. I did a > diagnose before the SQL and no problems are found. > > I just submitted this to Mantis with a small database that will reproduce the > problem. Entry number 1667. > > > Steve >> >>> I am having a very odd problem with Valentina Studio. >>> >>> The following SQL works fine: >>> >>> Select * from Perfs, IssPerfs >>> WHERE Perfs.nSessId = 2 >>> AND Perfs.nPerfId = IssPerfs.nPerfId >>> >>> The following SQL crashes Valentina Studio: >>> >>> Select * from Perfs, IssPerfs >>> WHERE Perfs.nSessId = 3 >>> AND Perfs.nPerfId = IssPerfs.nPerfId >>> >>> There is no value of Perfs.nSessid = 3. I would expect an empty cursor, but >>> instead Valentina Studio just crashes and subsequently will not open the >>> database. The target database is a V4RB 1.10 database that I allow >>> Valentina >>> Studio to convert to V2. >>> >>> I am using Valentina Studio 2.3. I really don't care if Valentina Studio >>> works for me, but the real problem is that my V4RB 2.4b13 app is crashing on >>> the same SQL. >> >> I was able to duplicate Steve's crash in Vstudio 2.3.2 with Steve's test db on OS X.4.6. But I was able to use the exact same syntax on one of my own databases without problem. Here's the first half-dozen lines of the crash log. Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: 0 libvshared_fat_release.dylib 0x05e3e078 fbl::Value_Numeric<(unsigned long)9, (fbl::VALUE_CATEGORY)2, fbl::policyInPlace > >::CopyFromIndex(void const*, bool) + 28 1 libvkernel_fat_release.dylib 0x06397000 fbl::Index_NotUnique_Iterator::get_Value(fbl::smart_ptr) const + 72 2 libvkernel_fat_release.dylib 0x06367950 fbl::IndexIterator_Imp::FindForward(fbl::smart_ptr, bool*) + 132 3 libvkernel_fat_release.dylib 0x0600bb84 fbl::Join_Builder_2::DoInnerJoin_IndexedSortMerge_NU() + 408 4 libvkernel_fat_release.dylib 0x0600b72c fbl::Join_Builder_2::DoInnerJoin_IndexedSortMerge() + 408 5 libvkernel_fat_release.dylib 0x0600af80 fbl::Join_Builder_2::DoInnerJoin() + 228 I also tried dumping it into xml from Valentina Carbon 1.x, then importing the xml into Vstudio 2.3.2 without success. I also tried cloning the db after converting it with Convert_1_2 -- no luck. I had thought this might be related to some other Vstudio SQL crashes I recently experienced, but I don't think [guess] so; at least the crash logs are entirely different. -- Russ Tyndall Wake Forest, NC From ayu8 at cdc.gov Mon Jun 26 08:55:36 2006 From: ayu8 at cdc.gov (Sims, John (CDC/NCBDDD/DBDDD) (CTR)) Date: Mon Jun 26 07:55:53 2006 Subject: locate methods for cursor Message-ID: > -----Original Message----- > From: valentina-bounces@lists.macserve.net > [mailto:valentina-bounces@lists.macserve.net] On Behalf Of > Ruslan Zasukhin > Sent: Wednesday, June 21, 2006 7:43 AM > To: valentina@lists.macserve.net > Subject: Re: Re[2]: locate methods for cursor > > On 6/21/06 2:39 PM, "Ivan Smahin" > wrote: > > > How it should be solved in case of not-unique value in the field? > > > > Probably it would be better to use FindValue() call and > work with Set > > of records? > > But we talk about Vcursor. > Set is used for Vtable. > > May be Florian, it is enough FindForward? > > As I have told -- very tricky feature.... > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > Hi all, Sorry if I'm a little late to the dance. I was on vacation. The .Net Datatable (similar in concept to a Vcursor) has a PrimaryKey property as an array of DataColumns. You can then execute a "Find" on the Datatable by providing it with the value (or values if you have a multiple column PrimaryKey) and it will return the Datarow of the row that matches. As in a database, the PrimaryKey column(s) must contain values that make each row unique. If you attempt to create a PrimaryKey that has duplicate data, it will fail. Perhaps you could do something similar with the Vcursor. Vcursor.PrimaryKey as Vfield() Then Vcursor.Find(Value()) could set the Vcursor to the matching record if found or EOF if not found. Just my little input. Take care, -John From cbpelto at pcisys.net Mon Jun 26 09:52:43 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 26 10:52:50 2006 Subject: Read Only Cursor? Message-ID: Greetings, Working on something and getting an odd Exception error message. I'm passing a VCursor that has no records to call that is to create a new-blank record. The call to create the new record is as follows: theCursor.SetBlank() recID = theCursor.AddRecord() I'm getting an error that tells me the cursor is "read-only". The exception error number is 353536. I cannot find that error number in any of my V4RB2 documentation. Furthermore, the cursor was created as READ-WRITE. What's causing this problem? Regards, Chuck From cbpelto at pcisys.net Mon Jun 26 10:04:54 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 26 11:05:02 2006 Subject: Read Only Cursor? In-Reply-To: References: Message-ID: <3FF45911-1303-4F29-896D-F70D3A072A27@pcisys.net> On Jun 26, 2006, at 9:52 AM, Chuck Pelto wrote: > Greetings, > > Working on something and getting an odd Exception error message. > > I'm passing a VCursor that has no records to call that is to create > a new-blank record. > > The call to create the new record is as follows: > > theCursor.SetBlank() > > recID = theCursor.AddRecord() > > I'm getting an error that tells me the cursor is "read-only". The > exception error number is 353536. > > I cannot find that error number in any of my V4RB2 documentation. > > Furthermore, the cursor was created as READ-WRITE. > > What's causing this problem? Gads! I HATE IT when this sort of thing happens.... It made no sense, but on a whim?waiting for a reply to my e-mail?I retyped in the SQLSelect line and NOW the fool thing works. Regards, Chuck From Claudius at sailer-online.de Mon Jun 26 20:54:41 2006 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Jun 26 13:54:47 2006 Subject: Problems with UPDATE #1666 In-Reply-To: References: Message-ID: Hi Ruslan, Am 26.06.2006 um 08:08 schrieb Ruslan Zasukhin: >> Deleted is a Boolean. When I try following SQLs my application and >> viSQL crashes everytime without any error message. >> >> Does anybody has same problem? >> >> Update Buchungen SET Deleted='1' where RecID=1 >> Update Buchungen SET Deleted='1' where RecID='1' >> Update Buchungen SET Deleted=1 where RecID=1 >> Update Buchungen SET Deleted=1 where RecID='1' > > >> is it neccessary to use >> >> myDatabase.Table.RecID=1 >> myDatabase.Table.Deleted=true >> myDatabase.Table.UpdateRecord() > >> it seems this works > > 1) our SQL parser exactly do not support for DB.TABLE.FIELD. > but only TABLE.FIELD *hmmm* I use always for Insert and complete Update of one record the way. myDatase.Table.Field.value=XXXX myDatabase.Table.InserRecord or UpdateRecord. And it worked always, but without SQLExecute or whatever. > 2) your form also should work but without single quotes > > Update Buchungen SET Deleted=1 where RecID=1 > > I see your report in Mantis. We will test it. thanks a lot. V4RB2.1 it worked ... V4RB2.3 it is broken... bye Claudius -- iMac CD 2GHz / MacOS X 10.4de / RB 2006r2/ Valentina 2.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From cbpelto at pcisys.net Mon Jun 26 14:05:14 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Mon Jun 26 15:05:24 2006 Subject: Capturing a Non-Fatal VException Message-ID: Where do I see the information about a non-fatal VException? I'm doing a call to theCursor.UpdateRecord() in V4RB2. When I step through that line of code, I see VException at the bottom of the screen and the debugger wants me to hit the STEP button again. When I do, the program does not stop, but takes me back to window where I was working in the App in debug mode, as if the record had been updated. However, browsing the table's data, I see not change has occurred. Everything in the code compiles and seems to be running properly in the debugger. Regards, Chuck From sunshine at public.kherson.ua Tue Jun 27 00:45:12 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 26 16:45:20 2006 Subject: Capturing a Non-Fatal VException In-Reply-To: Message-ID: On 6/26/06 11:05 PM, "Chuck Pelto" wrote: > Where do I see the information about a non-fatal VException? > > I'm doing a call to theCursor.UpdateRecord() in V4RB2. > > When I step through that line of code, I see VException at the bottom > of the screen and the debugger wants me to hit the STEP button again. > > When I do, the program does not stop, but takes me back to window > where I was working in the App in debug mode, as if the record had > been updated. However, browsing the table's data, I see not change > has occurred. > > Everything in the code compiles and seems to be running properly in > the debugger. If you want catch some exception you need have catch block for this. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 00:46:18 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 26 16:46:25 2006 Subject: Problems with UPDATE #1666 In-Reply-To: Message-ID: On 6/26/06 9:54 PM, "Claudius Sailer" wrote: >> >>> is it neccessary to use >>> >>> myDatabase.Table.RecID=1 >>> myDatabase.Table.Deleted=true >>> myDatabase.Table.UpdateRecord() >> >>> it seems this works >> 1) our SQL parser exactly do not support for DB.TABLE.FIELD. >> but only TABLE.FIELD > > *hmmm* I use always for Insert and complete Update of one record the > way. > > myDatase.Table.Field.value=XXXX > myDatabase.Table.InserRecord or UpdateRecord. And it worked always, > but without SQLExecute or whatever. Wait, it seems you show REALBasic code, but not SQL code, right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 00:50:25 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Jun 26 16:50:31 2006 Subject: locate methods for cursor In-Reply-To: Message-ID: On 6/26/06 3:55 PM, "Sims, John (CDC/NCBDDD/DBDDD) (CTR)" wrote: Hi John, > Sorry if I'm a little late to the dance. I was on vacation. The .Net > Datatable (similar in concept to a Vcursor) has a PrimaryKey property as > an array of DataColumns. You can then execute a "Find" on the Datatable > by providing it with the value (or values if you have a multiple column > PrimaryKey) and it will return the Datarow of the row that matches. As > in a database, the PrimaryKey column(s) must contain values that make > each row unique. If you attempt to create a PrimaryKey that has > duplicate data, it will fail. Perhaps you could do something similar > with the Vcursor. > > Vcursor.PrimaryKey as Vfield() > > Then Vcursor.Find(Value()) could set the Vcursor to the matching record > if found or EOF if not found. > > Just my little input. To clarify. So steps are next? curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) curs.PrimaryKey = f2 // f2 must have unique values... curs.Find( v2 ) // move cursor to record that have in f2 value v2. Right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bobs at twft.com Mon Jun 26 18:08:27 2006 From: bobs at twft.com (Robert Sneidar) Date: Mon Jun 26 20:08:35 2006 Subject: Valentina Digest, Vol 42, Issue 24 In-Reply-To: <20060626200531.BEED0438F50@edison.macserve.net> References: <20060626200531.BEED0438F50@edison.macserve.net> Message-ID: <361DD47B-632C-4BFE-BD9E-19DAF77D6432@twft.com> Hi All. Sorry to use this forum, but at the Revcon West conference we were told we could get a copy of Valentina Office Server. I never did find out how to get that. Anyone know? Paradigmasoft doesn't seem to have a Contact Us link on their web site. Bob Sneidar IT Manager Logos Management Calvary Chapel CM From Claudius at sailer-online.de Tue Jun 27 06:03:33 2006 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Jun 26 23:03:41 2006 Subject: Problems with UPDATE #1666 In-Reply-To: References: Message-ID: <0C371638-8030-4D9B-95FF-E57AB811475A@sailer-online.de> Am 26.06.2006 um 23:46 schrieb Ruslan Zasukhin: > On 6/26/06 9:54 PM, "Claudius Sailer" > wrote: > >>> >>>> is it neccessary to use >>>> >>>> myDatabase.Table.RecID=1 >>>> myDatabase.Table.Deleted=true >>>> myDatabase.Table.UpdateRecord() >>> >>>> it seems this works > >>> 1) our SQL parser exactly do not support for DB.TABLE.FIELD. >>> but only TABLE.FIELD >> >> *hmmm* I use always for Insert and complete Update of one record the >> way. >> >> myDatase.Table.Field.value=XXXX >> myDatabase.Table.InserRecord or UpdateRecord. And it worked always, >> but without SQLExecute or whatever. > > Wait, it seems you show REALBasic code, but not SQL code, right ? yes. RB Code... bye Claudius -- iMac CD 2GHz / MacOS X 10.4de / RB 2006r2/ Valentina 2.3 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Tue Jun 27 10:12:20 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 02:12:29 2006 Subject: Valentina Digest, Vol 42, Issue 24 In-Reply-To: <361DD47B-632C-4BFE-BD9E-19DAF77D6432@twft.com> Message-ID: On 6/27/06 4:08 AM, "Robert Sneidar" wrote: > Hi All. Sorry to use this forum, but at the Revcon West conference we > were told we could get a copy of Valentina Office Server. I never did > find out how to get that. Anyone know? Paradigmasoft doesn't seem to > have a Contact Us link on their web site. Hi Robert, Yes, we have not sent you yet license of Vserver. Please let me know what platform you prefer for it? Mac or win ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 10:14:03 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 02:14:11 2006 Subject: Problems with UPDATE #1666 In-Reply-To: <0C371638-8030-4D9B-95FF-E57AB811475A@sailer-online.de> Message-ID: On 6/27/06 7:03 AM, "Claudius Sailer" wrote: Hi Claudius, >>>>> myDatabase.Table.RecID=1 >>>>> myDatabase.Table.Deleted=true >>>>> myDatabase.Table.UpdateRecord() >>>> >>>>> it seems this works >> >>>> 1) our SQL parser exactly do not support for DB.TABLE.FIELD. >>>> but only TABLE.FIELD >>> >>> *hmmm* I use always for Insert and complete Update of one record the >>> way. >>> >>> myDatase.Table.Field.value=XXXX >>> myDatabase.Table.InserRecord or UpdateRecord. And it worked always, >>> but without SQLExecute or whatever. >> >> Wait, it seems you show REALBasic code, but not SQL code, right ? > > yes. RB Code... In RB code this will work of course. I have told about SQL. Btw, TIP: in hot loops (if any) do not use such long chains of objects. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Tue Jun 27 03:26:45 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jun 27 04:26:51 2006 Subject: Capturing a Non-Fatal VException In-Reply-To: References: Message-ID: On Jun 26, 2006, at 3:45 PM, Ruslan Zasukhin wrote: > On 6/26/06 11:05 PM, "Chuck Pelto" wrote: > >> Where do I see the information about a non-fatal VException? >> >> I'm doing a call to theCursor.UpdateRecord() in V4RB2. >> >> When I step through that line of code, I see VException at the bottom >> of the screen and the debugger wants me to hit the STEP button again. >> >> When I do, the program does not stop, but takes me back to window >> where I was working in the App in debug mode, as if the record had >> been updated. However, browsing the table's data, I see not change >> has occurred. >> >> Everything in the code compiles and seems to be running properly in >> the debugger. > > If you want catch some exception you need have catch block for this. Please forgive my ignorance, but what call is supposed to be made in order to see what the exception is? What goes between 'catch' and 'end try'? I've searched through the reference material and the archives but have not found an example of that particular line of code. Regards, Chuck From cbpelto at pcisys.net Tue Jun 27 03:30:16 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jun 27 04:30:24 2006 Subject: VCursor Changes Locking Type Message-ID: Greetings, What could cause a VCursor to go from a ReadWrite to a ReadOnly? Using the DebugLevel logging, the error I'm experiencing with that non-fatal VException is that the VCursor has become ReadOnly. I cannot find anyplace where I've made a call to a ReadOnly SQLSelect. Is there a simple way to reset it to ReadWrite? Regards, Chuck From sunshine at public.kherson.ua Tue Jun 27 12:33:24 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 04:33:30 2006 Subject: Uregex.cpp C API depends on C++ ? Bad idea Message-ID: Hi All, If you remember we develop Valentina database, and on MAC OS X I was going to use icu.dylib made by Apple. I was recommended to use C only API. And this is right. So last few days we have correct all our code to switch only on C API in ICU. * But in ICU 3.0 the regex have only draft of C API. * MACOS 10.3.9 has icu.dylib which NOT include regex C methods. Argh! :( * MacOS 10.4 has icu.dylib which contains regex C methods -- good. I was in hope that I will be able add uregex.cpp into our project, and this will work...but not so easy. This file contains references on C++ API of ICU ?! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IMHO this is not best design. C API must depend only on C API. C API should contain main-core algorithms of regEx. C algorithms can wrap some INTERNAL for this .cpp file C++ structures/algorithms, but only internal for file. C++ of REGEX should be thing wrapper to C algorithms of regex What you think ? ---- P.S. Now I have only 2 ways: a) drop support of REGEX -- not acceptable b) drop support of OS X 10.3.9 P.S.2 Deboragh, I think it will be good idea include into Apple's ICU library as many methods/features from ICU as possible. Even if they are not used by Apple itself.. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 13:31:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 05:31:29 2006 Subject: Capturing a Non-Fatal VException In-Reply-To: Message-ID: On 6/27/06 12:26 PM, "Chuck Pelto" wrote: Hi Chuck, >> If you want catch some exception you need have catch block for this. > > Please forgive my ignorance, but what call is supposed to be made in > order to see what the exception is? What goes between 'catch' and > 'end try'? > > I've searched through the reference material and the archives but > have not found an example of that particular line of code. Please look into our V4RB examples You should see code at end of functions as Func foo() On VEXception e e.ErrNumber e.errMessage End Also in RB exists full features try-catch syntax -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 13:33:18 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 05:33:22 2006 Subject: VCursor Changes Locking Type In-Reply-To: Message-ID: On 6/27/06 12:30 PM, "Chuck Pelto" wrote: Hi Chuck, > Greetings, > > What could cause a VCursor to go from a ReadWrite to a ReadOnly? Existing cursor cannot do such switch. > Using the DebugLevel logging, the error I'm experiencing with that > non-fatal VException is that the VCursor has become ReadOnly. I > cannot find anyplace where I've made a call to a ReadOnly SQLSelect. > > Is there a simple way to reset it to ReadWrite? You must self set ReadWrite in SqlSelect() BUT note, not each cursor can be ReadWrite. Only Single Table cursor can be ReadWrite. If you have JOIN, then cursor will be ALWAYS Read only -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 13:43:39 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 05:43:53 2006 Subject: We need drop support of Panther 10.3.9 Message-ID: Hi All, 1) We have time X -- when we need drop support of 10.3 to be able do next step for xcode-made projects and use ICU from Apple included into each OS X 10.4 + How many people will be disappointed by this fact ? ----------- 2) Also I have found that V4RB and V4MD CARBON will not be able use MACHO libicucore.dylib -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 14:43:34 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 06:43:39 2006 Subject: We need drop support of Panther 10.3.9 In-Reply-To: Message-ID: On 6/27/06 2:28 PM, "jda" wrote: >> Hi All, >> >> 1) We have time X -- when we need drop support of 10.3 >> >> to be able do next step for xcode-made projects >> and use ICU from Apple included into each OS X 10.4 + >> >> How many people will be disappointed by this fact ? > > > Hi Ruslan. > > > Me. I suggest at the least there be two builds, then. One that works > with 10.3.9 and earlier (my app goes back to support 10.2 now!) and > requires that ICU be included and one that does not. > >> >> >> ----------- >> 2) Also I have found that V4RB and V4MD CARBON will not be able use >> MACHO libicucore.dylib >> > > Same as above. Well, V4RB CARBON users still have ICU included. so you will not be limited by 10.4 So you are safe until REAL will make RB UB, and we will must move to xcode for RB plugins. So V4RB 2.4 and V4MD will work on 10.2+ yet...... --------- Limitations comes only to Xcode - made products Valentina for Rev UB Valentina Studio UB Valentina Server UB V4RB MACHO -- if we agree to reduce its size and remove here ICU, then it also will be limited to 10.4 + -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ayu8 at cdc.gov Tue Jun 27 09:08:12 2006 From: ayu8 at cdc.gov (Sims, John (CDC/NCBDDD/DBDDD) (CTR)) Date: Tue Jun 27 08:13:22 2006 Subject: locate methods for cursor Message-ID: > Hi John, > > > Sorry if I'm a little late to the dance. I was on > vacation. The .Net > > Datatable (similar in concept to a Vcursor) has a > PrimaryKey property > > as an array of DataColumns. You can then execute a "Find" on the > > Datatable by providing it with the value (or values if you have a > > multiple column > > PrimaryKey) and it will return the Datarow of the row that > matches. > > As in a database, the PrimaryKey column(s) must contain values that > > make each row unique. If you attempt to create a > PrimaryKey that has > > duplicate data, it will fail. Perhaps you could do > something similar > > with the Vcursor. > > > > Vcursor.PrimaryKey as Vfield() > > > > Then Vcursor.Find(Value()) could set the Vcursor to the matching > > record if found or EOF if not found. > > > > Just my little input. > > To clarify. So steps are next? > > curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) > > curs.PrimaryKey = f2 // f2 must have unique values... > > curs.Find( v2 ) // move cursor to record that have in f2 > value v2. > > > Right ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc Hi Ruslan, Yes, that is very much how the .NET Datatable works. The only thing I would point out is that the .NET Datatable allows you to use multiple column PrimaryKey by making PrimaryKey an array of Datacolumns. Using your example, it might look more like this. Dim pk() as Vfield curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) Pk.append(f2) curs.PrimaryKey = pk // f2 must have unique values... Dim vals() as string Vals.append(v2) curs.Find( Vals ) // move cursor to record that have in f2 value v2. So, if you needed a multiple column primary key, you could do this. Dim pk() as Vfield curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) Pk.append(f2) Pk.append(f3) curs.PrimaryKey = pk // The combination of f2 and f3 must have unique values... Dim vals() as string Vals.append(v2) Vals.append(v3) curs.Find( Vals ) // move cursor to record that have in f2 value v2 and f3 value v3. I hope I have made this clear enough. If not, let me know. Thanks! -John From sunshine at public.kherson.ua Tue Jun 27 16:41:56 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 08:42:06 2006 Subject: Well, good luck! I have found regex solution! Message-ID: Hi All, Well, few tests have show that for MAC OS X, at least some time before we all agree to drop 10.3, we can use instead of ICU the man's I have made few tests on UTF8 russian text it works correctly. ------- Interesting to test yet searches with Ignore Case ... I will do this now Nope. (?i) syntax is not support -- strange So we can all all except ignore case ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Tue Jun 27 08:31:40 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jun 27 09:31:47 2006 Subject: VCursor Changes Locking Type In-Reply-To: References: Message-ID: <6644269D-144B-4139-A0B7-D928D0554F7A@pcisys.net> On Jun 27, 2006, at 4:33 AM, Ruslan Zasukhin wrote: > On 6/27/06 12:30 PM, "Chuck Pelto" wrote: > > Hi Chuck, > >> Greetings, >> >> What could cause a VCursor to go from a ReadWrite to a ReadOnly? > > Existing cursor cannot do such switch. > >> Using the DebugLevel logging, the error I'm experiencing with that >> non-fatal VException is that the VCursor has become ReadOnly. I >> cannot find anyplace where I've made a call to a ReadOnly SQLSelect. >> >> Is there a simple way to reset it to ReadWrite? > > You must self set ReadWrite in SqlSelect() > > BUT note, not each cursor can be ReadWrite. > Only Single Table cursor can be ReadWrite. > > If you have JOIN, then cursor will be ALWAYS Read only Seems like we're back to that problem I encountered earlier, the call is not generating a ReadWrite VCursor. Instead it results in a ReadOnly VCursor. Here's the call.... thisCursor = App.tDatabase.SQLSelect(sqlString, EVCursorLocation.kClientSide, EVLockType.kReadWrite, EVCursorDirection.kRandom) Where: sqlString = "SELECT recID, * FROM tbl_test" Is there anything you can see wrong with it? Regards, Chuck From jennifer at jennifershall.com Tue Jun 27 11:03:42 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Tue Jun 27 10:03:46 2006 Subject: data base errors Message-ID: <0MKp2t-1FvF6K3qDk-0003NJ@mrelay.perfora.net> In Valentina, what are the possible errors returned when calling ValentinaError. I'd like to know the numbers and the string. Thanks Jennifer From ayu8 at cdc.gov Tue Jun 27 11:11:58 2006 From: ayu8 at cdc.gov (Sims, John (CDC/NCBDDD/DBDDD) (CTR)) Date: Tue Jun 27 10:23:27 2006 Subject: VCursor Changes Locking Type Message-ID: > Seems like we're back to that problem I encountered earlier, > the call is not generating a ReadWrite VCursor. Instead it > results in a ReadOnly VCursor. > > Here's the call.... > > thisCursor = App.tDatabase.SQLSelect(sqlString, > EVCursorLocation.kClientSide, EVLockType.kReadWrite, > EVCursorDirection.kRandom) > > Where: > > sqlString = "SELECT recID, * FROM tbl_test" > > > Is there anything you can see wrong with it? > > Regards, > > Chuck Hi Chuck, If I remember correctly, you have to use EVCursorLocation.kServerSide for writable cursors. I'm sure Ruslan will correct me if I am wrong. -John From sunshine at public.kherson.ua Tue Jun 27 19:25:39 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 11:25:45 2006 Subject: data base errors In-Reply-To: <0MKp2t-1FvF6K3qDk-0003NJ@mrelay.perfora.net> Message-ID: On 6/27/06 6:03 PM, "Jennifer Hall" wrote: Hi Jennifer, > In Valentina, what are the possible errors returned when calling > ValentinaError. I'd like to know the numbers and the string. If you are on Valentina 2 then look into VComponents fodler For 2 XML files with full list -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 19:26:13 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 11:26:18 2006 Subject: VCursor Changes Locking Type In-Reply-To: <6644269D-144B-4139-A0B7-D928D0554F7A@pcisys.net> Message-ID: On 6/27/06 5:31 PM, "Chuck Pelto" wrote: > thisCursor = App.tDatabase.SQLSelect(sqlString, > EVCursorLocation.kClientSide, EVLockType.kReadWrite, > EVCursorDirection.kRandom) ClientSide always is read only. You need SERVER SIDE -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cbpelto at pcisys.net Tue Jun 27 10:26:32 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jun 27 11:26:40 2006 Subject: VCursor Changes Locking Type In-Reply-To: References: Message-ID: <1A0E5DA1-ECEA-4AEC-A879-1889A9A11C54@pcisys.net> Sakes! On Jun 27, 2006, at 9:11 AM, Sims, John (CDC/NCBDDD/DBDDD) (CTR) wrote: > If I remember correctly, you have to use EVCursorLocation.kServerSide > for writable cursors. That's a new one to me. Ruslan, Is John correct in his assertion? Regards, Chuck From jennifer at jennifershall.com Tue Jun 27 12:28:45 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Tue Jun 27 11:28:51 2006 Subject: data base errors In-Reply-To: Message-ID: <0MKoyl-1FvGQe0hmm-0002VI@mrelay.perfora.net> Actually I'm using Valentina 1, not 2. thanks jennifer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, June 27, 2006 12:26 PM To: valentina@lists.macserve.net Subject: Re: data base errors On 6/27/06 6:03 PM, "Jennifer Hall" wrote: Hi Jennifer, > In Valentina, what are the possible errors returned when calling > ValentinaError. I'd like to know the numbers and the string. If you are on Valentina 2 then look into VComponents fodler For 2 XML files with full list -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From bmurf at comcast.net Tue Jun 27 11:40:16 2006 From: bmurf at comcast.net (Brendan Murphy) Date: Tue Jun 27 11:40:25 2006 Subject: We need drop support of Panther 10.3.9 In-Reply-To: <20060627162642.660B54395AB@edison.macserve.net> References: <20060627162642.660B54395AB@edison.macserve.net> Message-ID: Obviously it will affect us especially with legacy application that will get updated. The problem with what you are suggesting is that it will limit the markets which we can sell into on the Mac since not everyone is on 10.4. I don't know what the current stats are for distribution of users across 10.2 to 10.4, but the last time Apple showed the stats, it was pretty evenly spread across the board. So if you have to move up to 10.4 for technical reasons, then it is really a matter of timing as to when you release it. I would say it would be a good policy to support one legacy OS. So today that would mean you support 10.4 and 10.3. When 10.5 comes out, then I would say you could drop 10.3 support. That's reasonable. From cbpelto at pcisys.net Tue Jun 27 10:53:04 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Tue Jun 27 11:53:10 2006 Subject: VCursor Changes Locking Type In-Reply-To: References: Message-ID: <9EB1E810-D5AB-4B68-920C-D693CFF8D5F8@pcisys.net> Hi Ruslan, On Jun 27, 2006, at 10:26 AM, Ruslan Zasukhin wrote: > On 6/27/06 5:31 PM, "Chuck Pelto" wrote: > >> thisCursor = App.tDatabase.SQLSelect(sqlString, >> EVCursorLocation.kClientSide, EVLockType.kReadWrite, >> EVCursorDirection.kRandom) > > ClientSide always is read only. > > You need SERVER SIDE I think you need to make that little fact more obvious in the documentation. Pouring through the V4RB_Reference, I find no direct statement saying such constraints are there. It would have saved me considerable frustration. Regards, Chuck From sunshine at public.kherson.ua Tue Jun 27 20:25:39 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 12:25:45 2006 Subject: VCursor Changes Locking Type In-Reply-To: <1A0E5DA1-ECEA-4AEC-A879-1889A9A11C54@pcisys.net> Message-ID: On 6/27/06 7:26 PM, "Chuck Pelto" wrote: > Sakes! > > On Jun 27, 2006, at 9:11 AM, Sims, John (CDC/NCBDDD/DBDDD) (CTR) wrote: > >> If I remember correctly, you have to use EVCursorLocation.kServerSide >> for writable cursors. > > That's a new one to me. > > Ruslan, > > Is John correct in his assertion? Yes, he have told the same as me -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 20:26:00 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 12:26:07 2006 Subject: data base errors In-Reply-To: <0MKoyl-1FvGQe0hmm-0002VI@mrelay.perfora.net> Message-ID: On 6/27/06 7:28 PM, "Jennifer Hall" wrote: > Actually I'm using Valentina 1, not 2. Then look on last page of Vkernel.pdf -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 20:29:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 12:30:01 2006 Subject: We need drop support of Panther 10.3.9 In-Reply-To: Message-ID: On 6/27/06 7:40 PM, "Brendan Murphy" wrote: Hi Brendan, > Obviously it will affect us especially with legacy application > that will get updated. > > The problem with what you are suggesting is that it will limit the > markets which we can sell into on the Mac since not everyone is on > 10.4. I don't know what the current stats are for distribution of > users across 10.2 to 10.4, but the last time Apple showed the > stats, it was pretty evenly spread across the board. So if you > have to move up to 10.4 for technical reasons, then it is really a > matter of timing as to when you release it. I would say it would > be a good policy to support one legacy OS. So today that would > mean you support 10.4 and 10.3. When 10.5 comes out, then I would > say you could drop 10.3 support. That's reasonable. Yes, I already have point that V4RB will not get any limits yet. I have got success with limited REGEX. Now I try one more way.. May be at last of end we can wait few months more, and still use full ICU in all products. But we will warm our harts that in (near) future we will remove it away for MAC project.... At last of end, for now there is no many complains on size... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 21:00:03 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 13:00:14 2006 Subject: Okay, lets use ICU and 10.3 as is some time more... Message-ID: Hi All, I have spend few days port from C++ ICU to C ICU in hope to get more simple configuration for all us. Instead small trap -- absent of regex C function in OS X 10.3 become show stopper. Attempt to workaround this trap will only add troubles. So it is reasonable to say: * we have made GOOD step to C API. this is required step in any case. * some code have become more clean * some code have become improved. * we have prepare self for next step when OS X will be ready. * we have prepare self for next step tp get Valentina-All-In-One as on MAC so on Windows. * after 2.4 release I will work mainly on text-related issues in all regards. Including try compile is STATIC library and reduce its default size Future we will consider what is better for all us: a) Valentina ADKS as now + new line Valentina Lite (all in one with some disabled features, e.g. -XML -PAINTLIB or b) Valentina All in one without limits only ICU reduced in size + new line Valentina ADK ADVANCED with VComponents as now + more. ----------- Okay, now I need finish polishing of our tests with new String class. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 21:29:17 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 13:29:23 2006 Subject: locate methods for cursor In-Reply-To: Message-ID: On 6/27/06 4:08 PM, "Sims, John (CDC/NCBDDD/DBDDD) (CTR)" wrote: >> To clarify. So steps are next? >> >> curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) >> >> curs.PrimaryKey = f2 // f2 must have unique values... >> >> curs.Find( v2 ) // move cursor to record that have in f2 >> value v2. >> >> >> Right ? >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc > > Hi Ruslan, > > Yes, that is very much how the .NET Datatable works. The only thing I > would point out is that the .NET Datatable allows you to use multiple > column PrimaryKey by making PrimaryKey an array of Datacolumns. Using > your example, it might look more like this. > > Dim pk() as Vfield > > curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) > > Pk.append(f2) > > curs.PrimaryKey = pk // f2 must have unique values... > > Dim vals() as string > > Vals.append(v2) > > curs.Find( Vals ) // move cursor to record that have in f2 value v2. I see, but note that we not support multi-column PKs even for Tables. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dev at macfoh.com Tue Jun 27 11:40:12 2006 From: dev at macfoh.com (Shaun Wexler) Date: Tue Jun 27 13:40:19 2006 Subject: Uregex.cpp C API depends on C++ ? Bad idea In-Reply-To: References: Message-ID: <17AB1B7A-D012-40ED-B6D0-05096C15DF84@macfoh.com> On Jun 27, 2006, at 2:33 AM, Ruslan Zasukhin wrote: > P.S. Now I have only 2 ways: > > a) drop support of REGEX -- not acceptable > > b) drop support of OS X 10.3.9 This should answer for b: -- Shaun Wexler MacFOH http://www.macfoh.com From sunshine at public.kherson.ua Tue Jun 27 21:49:10 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 13:49:16 2006 Subject: Uregex.cpp C API depends on C++ ? Bad idea In-Reply-To: <17AB1B7A-D012-40ED-B6D0-05096C15DF84@macfoh.com> Message-ID: On 6/27/06 9:40 PM, "Shaun Wexler" wrote: > On Jun 27, 2006, at 2:33 AM, Ruslan Zasukhin wrote: > >> P.S. Now I have only 2 ways: >> >> a) drop support of REGEX -- not acceptable >> >> b) drop support of OS X 10.3.9 > > This should answer for b: > Very nice picture :) And taking into account Apple efforts on MAC intel promotion, pre-10.4 OS X will go fast out of game. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ayu8 at cdc.gov Tue Jun 27 14:50:25 2006 From: ayu8 at cdc.gov (Sims, John (CDC/NCBDDD/DBDDD) (CTR)) Date: Tue Jun 27 14:01:40 2006 Subject: locate methods for cursor Message-ID: > >> To clarify. So steps are next? > >> > >> curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) > >> > >> curs.PrimaryKey = f2 // f2 must have unique values... > >> > >> curs.Find( v2 ) // move cursor to record that have in > f2 value > >> v2. > >> > >> > >> Right ? > >> > >> > >> -- > >> Best regards, > >> > >> Ruslan Zasukhin > >> VP Engineering and New Technology > >> Paradigma Software, Inc > > > > Hi Ruslan, > > > > Yes, that is very much how the .NET Datatable works. The > only thing I > > would point out is that the .NET Datatable allows you to > use multiple > > column PrimaryKey by making PrimaryKey an array of > Datacolumns. Using > > your example, it might look more like this. > > > > Dim pk() as Vfield > > > > curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) > > > > Pk.append(f2) > > > > curs.PrimaryKey = pk // f2 must have unique values... > > > > Dim vals() as string > > > > Vals.append(v2) > > > > curs.Find( Vals ) // move cursor to record that have in f2 > value v2. > > I see, but note that we not support multi-column PKs even for Tables. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > Right. In .NET, the "Primary Key" you define for the Datatable is not necessarily the PK for the table. The Datatable.PrimaryKey is defined by the developer to enable searchability. The Datatable may contain data from several joined tables. As long as the developer knows that a certain column or set of columns will be unique, he/she can define them as the Datatable.PrimaryKey so that they can locate records in the Datatable more easiliy. Does that make sense? -John From jda at his.com Tue Jun 27 15:01:48 2006 From: jda at his.com (jda) Date: Tue Jun 27 14:02:06 2006 Subject: Uregex.cpp C API depends on C++ ? Bad idea In-Reply-To: References: Message-ID: > > > This should answer for b: > > > >Very nice picture :) > >And taking into account Apple efforts on MAC intel promotion, > pre-10.4 OS X will go fast out of game. > Note that this is a very biased sample (and it is unbelievable to me that the general use of Panther went from 95% to 10% in six months-- come on!). OS use will vary a LOT depending on the application and the audience (e.g. education vs. professional). We as individual developers know our own markets, and should be the judge of when to drop support for a given platform. Jon From sunshine at public.kherson.ua Tue Jun 27 23:07:38 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 15:07:45 2006 Subject: locate methods for cursor In-Reply-To: Message-ID: On 6/27/06 9:50 PM, "Sims, John (CDC/NCBDDD/DBDDD) (CTR)" wrote: > Right. In .NET, the "Primary Key" you define for the Datatable is not > necessarily the PK for the table. The Datatable.PrimaryKey is defined > by the developer to enable searchability. The Datatable may contain > data from several joined tables. As long as the developer knows that a > certain column or set of columns will be unique, he/she can define them > as the Datatable.PrimaryKey so that they can locate records in the > Datatable more easiliy. > > Does that make sense? Yes. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Jun 27 23:08:18 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Jun 27 15:08:24 2006 Subject: locate methods for cursor In-Reply-To: Message-ID: On 6/27/06 9:50 PM, "Sims, John (CDC/NCBDDD/DBDDD) (CTR)" wrote: > >>>> To clarify. So steps are next? >>>> >>>> curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) >>>> >>>> curs.PrimaryKey = f2 // f2 must have unique values... >>>> >>>> curs.Find( v2 ) // move cursor to record that have in >> f2 value >>>> v2. >>>> >>>> >>>> Right ? >>>> >>>> >>>> -- >>>> Best regards, >>>> >>>> Ruslan Zasukhin >>>> VP Engineering and New Technology >>>> Paradigma Software, Inc >>> >>> Hi Ruslan, >>> >>> Yes, that is very much how the .NET Datatable works. The >> only thing I >>> would point out is that the .NET Datatable allows you to >> use multiple >>> column PrimaryKey by making PrimaryKey an array of >> Datacolumns. Using >>> your example, it might look more like this. >>> >>> Dim pk() as Vfield >>> >>> curs = db.SqlSelect( "select f1, f2, f3, FROM T1 ..." ) >>> >>> Pk.append(f2) >>> >>> curs.PrimaryKey = pk // f2 must have unique values... >>> >>> Dim vals() as string >>> >>> Vals.append(v2) >>> >>> curs.Find( Vals ) // move cursor to record that have in f2 >> value v2. >> >> I see, but note that we not support multi-column PKs even for Tables. >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> > > Right. In .NET, the "Primary Key" you define for the Datatable is not > necessarily the PK for the table. The Datatable.PrimaryKey is defined > by the developer to enable searchability. The Datatable may contain > data from several joined tables. As long as the developer knows that a > certain column or set of columns will be unique, he/she can define them > as the Datatable.PrimaryKey so that they can locate records in the > Datatable more easiliy. > > Does that make sense? Florian, In your task do you have such Unique fields in the cursor ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From steve at steve-albin.com Tue Jun 27 17:19:33 2006 From: steve at steve-albin.com (Steve Albin) Date: Tue Jun 27 16:19:43 2006 Subject: Support for Panther Message-ID: It may be obvious to everyone but me, but I am assuming that this talk of not supporting Panther in future Valentina releases refers to development environments only. Dropping support for Panther means only developers will need to upgrade to Tiger and not end users of our apps, correct? Steve -- Steve Albin - Montclair, NJ http://www.jazzdiscography.com/ http://www.steve-albin.com/ From dev at macfoh.com Tue Jun 27 14:45:34 2006 From: dev at macfoh.com (Shaun Wexler) Date: Tue Jun 27 16:45:45 2006 Subject: Support for Panther In-Reply-To: References: Message-ID: On Jun 27, 2006, at 2:19 PM, Steve Albin wrote: > It may be obvious to everyone but me, but I am assuming that this > talk of not supporting Panther in future Valentina releases refers > to development environments only. > > Dropping support for Panther means only developers will need to > upgrade to Tiger and not end users of our apps, correct? No, this means all users of the new "All-In-One" VLight.dylib would require Tiger or greater to run apps which use the new streamlined libraries, or lose some functionality when run on Panther. App's would have to include the full set of ICU library files and individual Valentina dylib's to run as-is on Panther. FYI, I created the VX project to build an efficient Enterprise Objects layer atop the already-fast Valentina engine, and make it even faster. In combining VShared and VKernel, as well as utilizing the ICU library which is built into Tiger, Valentina.framework is embeddable into app's at only 21 MB total, and enjoys faster internal function calls because VShared base classes are statically linked with VKernel. Ruslan is taking my initial work on VX a step further, and is rewriting the core unicode string classes to use C-function calls of the native ICU, rather than ICU's own C++ wrapper classes, and in doing so, he has removed some dispatch and wrapper overhead from FBL::String. The current stumbling point is that the ICU lib included in Panther does not have case-sensitive unicode Regular Expression matching which is required for non-Western language encodings, but it does appear in Tiger. -- Shaun Wexler MacFOH http://www.macfoh.com From steve at steve-albin.com Tue Jun 27 17:46:43 2006 From: steve at steve-albin.com (Steve Albin) Date: Tue Jun 27 16:46:52 2006 Subject: Status of Mantis submissions Message-ID: I have 2 bug reports submitted to Mantis that have not been acknowledged. This is a problem for me because I can't plan my work or any work arounds that may be needed for my app. My app not ready for a couple of months anyway, but it would help me greatly to know if I can plan on a fix or if I need to make plans to work around a bug. These are the submissions: 1667 - SQL statement crashes Valentina Studio 1669 - Segment error on SQL - resubmission of problem # 1429 I realize that every little bug report can't be addressed immediately, but one of these has been on the site for a couple of months. Can someone at Paradigma please just review the submission so I can know that what I am reporting is in fact a bug and not just some dumb error that I am making. If in fact these are bugs, can I know that they will be addressed at some time? Each one has a small database and test project where appropriate. Thanks in advance Steve -- Steve Albin - Montclair, NJ http://www.jazzdiscography.com/ http://www.steve-albin.com/ From ernestogiannotta at tiscalinet.it Wed Jun 28 12:12:17 2006 From: ernestogiannotta at tiscalinet.it (erne) Date: Wed Jun 28 05:12:43 2006 Subject: Okay, lets use ICU and 10.3 as is some time more... In-Reply-To: Message-ID: on 27-06-2006 20:00, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Hi All, > > I have spend few days port from C++ ICU to C ICU in hope to get more simple > configuration for all us. > > Instead small trap -- absent of regex C function in OS X 10.3 become show > stopper. Attempt to workaround this trap will only add troubles. > Ok Ruslan, as usual you did your best, big thank you for that! now, may I remind you that unicode paths to the ICU Library crash the application? Is there really no way to prevent this? (what an irony that a libary meant to solve international language issues stumbles exactly on this!) Cool Runnings, Erne. -- / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From sunshine at public.kherson.ua Wed Jun 28 13:20:49 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 05:20:55 2006 Subject: Okay, lets use ICU and 10.3 as is some time more... In-Reply-To: Message-ID: On 6/28/06 1:12 PM, "erne" wrote: Hi Erne, >> I have spend few days port from C++ ICU to C ICU in hope to get more simple >> configuration for all us. >> >> Instead small trap -- absent of regex C function in OS X 10.3 become show >> stopper. Attempt to workaround this trap will only add troubles. >> > > Ok Ruslan, as usual you did your best, big thank you for that! > > now, may I remind you that unicode paths to the ICU Library crash the > application? > > Is there really no way to prevent this? IF we'd be able to use ICU form OS X then this automatically solve problem with this path, because it simply go away. > (what an irony that a libary meant to solve international language issues > stumbles exactly on this!) Yes...because function u_SetDataFilder( char* ) Do not accept Unicode path. At least I have not get success. Deborah say that it should...may be they have fix this for ICU 3.4. But for 2.4 release I will not switch ICU. I will start play with new ICU on both platforms AFTER 2.4 build. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 28 13:21:30 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 05:21:34 2006 Subject: Status of Mantis submissions In-Reply-To: Message-ID: On 6/28/06 12:46 AM, "Steve Albin" wrote: > I have 2 bug reports submitted to Mantis that have not been acknowledged. > This is a problem for me because I can't plan my work or any work arounds that > may be needed for my app. My app not ready for a couple of months anyway, > but it would help me greatly to know if I can plan on a fix or if I need to > make plans to work around a bug. > > These are the submissions: > > 1667 - SQL statement crashes Valentina Studio > 1669 - Segment error on SQL - resubmission of problem # 1429 > > I realize that every little bug report can't be addressed immediately, but one > of these has been on the site for a couple of months. Can someone at > Paradigma please just review the submission so I can know that what I am > reporting is in fact a bug and not just some dumb error that I am making. If > in fact these are bugs, can I know that they will be addressed at some time? > > Each one has a small database and test project where appropriate. Hi Steve, Well, we have almost recover after latest re-design steps and soon we will be able work on bug reports. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 28 13:35:26 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 05:35:29 2006 Subject: boolean field value refuses to change In-Reply-To: Message-ID: On 6/23/06 12:16 PM, "Lilu" wrote: > I save values to the DB using the code > > public sub SaveDB( ByVal table as IVTable, ByVal id as Integer, ByVal > fieldName as String, ByVal value as Object ) > table.RecId = _id 'some valid id > dim _field as IVField = _table.Field(fieldName) > _field.Value = value > table.UpdateRecord() > end sub Illona, I have remember this code and want point * you develop VNET + Vserver. From scratch. * we recommend use for Client/server projects the Database + Vcursor + SQL way. ------------------------ AVOID to use API way and work with VTable, Vlink classes directly. This way still have some things to be resolved, e.g. Problem with concurrency. We need yet open to ADK functions methods of low level locks of records such as VTable.LockRecords( VSet inSet, ushort inOwnerID ) VTable.UnlockRecords( VSet inSet, ushort inOwnerID ) At least always do not forget about concurrency !!! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ernestogiannotta at tiscalinet.it Wed Jun 28 12:53:02 2006 From: ernestogiannotta at tiscalinet.it (erne) Date: Wed Jun 28 05:53:28 2006 Subject: Okay, lets use ICU and 10.3 as is some time more... In-Reply-To: Message-ID: on 28-06-2006 12:20, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > On 6/28/06 1:12 PM, "erne" wrote: > > >> (what an irony that a libary meant to solve international language issues >> stumbles exactly on this!) > > Yes...because function > > u_SetDataFilder( char* ) > > Do not accept Unicode path. At least I have not get success. > Well, I'm not aware of many things... but couldn't you intercept this path and convert it into an urlpath or something? (just can't believe we're stuck on this one!) > Deborah say that it should...may be they have fix this for ICU 3.4. > But for 2.4 release I will not switch ICU. > > I will start play with new ICU on both platforms AFTER 2.4 build. > OK, I know you really did what you could... ...but I can't help feeling sad having to cope with bug reports on this subject... really hard to explain to angry customers Cool Runnings, Erne. -- / |\ |\ | / ? |/ | \ | ? \ |\ | \| \ From jennifer at jennifershall.com Wed Jun 28 07:18:08 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Wed Jun 28 06:18:18 2006 Subject: data base errors In-Reply-To: Message-ID: <0MKoyl-1FvY3a27Ej-0002Qz@mrelay.perfora.net> I don't have that documentation and the only thing I see on line refers to Valentina 2. Could you point me in the right direction or send it to me. thanks Jennifer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Tuesday, June 27, 2006 1:26 PM To: valentina@lists.macserve.net Subject: Re: data base errors On 6/27/06 7:28 PM, "Jennifer Hall" wrote: > Actually I'm using Valentina 1, not 2. Then look on last page of Vkernel.pdf -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From jda at his.com Wed Jun 28 07:47:50 2006 From: jda at his.com (jda) Date: Wed Jun 28 06:47:58 2006 Subject: Okay, lets use ICU and 10.3 as is some time more... In-Reply-To: References: Message-ID: > > Yes...because function >> >> u_SetDataFilder( char* ) >> >> Do not accept Unicode path. At least I have not get success. >> > >Well, I'm not aware of many things... >but couldn't you intercept this path and convert it into an urlpath or >something? That was exactly my thought. > > > I will start play with new ICU on both platforms AFTER 2.4 build. >> > >OK, I know you really did what you could... >....but I can't help feeling sad having to cope with bug reports on this >subject... really hard to explain to angry customers > Me, too. Jon From sunshine at public.kherson.ua Wed Jun 28 14:51:46 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 06:51:51 2006 Subject: data base errors -- 1.x documentation In-Reply-To: <0MKoyl-1FvY3a27Ej-0002Qz@mrelay.perfora.net> Message-ID: On 6/28/06 2:18 PM, "Jennifer Hall" wrote: > I don't have that documentation and the only thing I see on line refers to > Valentina 2. Could you point me in the right direction or send it to me. > thanks http://www.paradigmasoft.com/en/products/documentation1 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jennifer at jennifershall.com Wed Jun 28 08:59:58 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Wed Jun 28 08:00:02 2006 Subject: data base errors -- 1.x documentation In-Reply-To: Message-ID: <0MKoyl-1FvZe74BrM-0002P6@mrelay.perfora.net> Thanks, I'm trying to figure out a way to block the database from being opened twice without closing it. I don't see that as an error, and when I open it twice in a row and don't close it, I don't get an error either. I need to make sure that two users can't edit the data base at the same time. Any suggestions???? Jennifer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, June 28, 2006 7:52 AM To: valentina@lists.macserve.net Subject: Re: data base errors -- 1.x documentation On 6/28/06 2:18 PM, "Jennifer Hall" wrote: > I don't have that documentation and the only thing I see on line refers to > Valentina 2. Could you point me in the right direction or send it to me. > thanks http://www.paradigmasoft.com/en/products/documentation1 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From mohammad.moeini at gmail.com Wed Jun 28 18:28:29 2006 From: mohammad.moeini at gmail.com (mohammad moeini) Date: Wed Jun 28 09:58:34 2006 Subject: easy sample in vc++ Message-ID: hi i need easy sample in vc++ the valentina sample not easy. the sample that have preview,window base,... please help me. From steve at steve-albin.com Wed Jun 28 11:01:46 2006 From: steve at steve-albin.com (Steve Albin) Date: Wed Jun 28 10:01:54 2006 Subject: Status of Mantis submissions In-Reply-To: Message-ID: On Wednesday, June 28, 2006 sunshine@public.kherson.ua (Ruslan Zasukhin) wrote: >On 6/28/06 12:46 AM, "Steve Albin" wrote: > >> I have 2 bug reports submitted to Mantis that have not been acknowledged. >> This is a problem for me because I can't plan my work or any work arounds that >> may be needed for my app. My app not ready for a couple of months anyway, >> but it would help me greatly to know if I can plan on a fix or if I need to >> make plans to work around a bug. >> >> These are the submissions: >> >> 1667 - SQL statement crashes Valentina Studio >> 1669 - Segment error on SQL - resubmission of problem # 1429 >> >> I realize that every little bug report can't be addressed immediately, but one >> of these has been on the site for a couple of months. Can someone at >> Paradigma please just review the submission so I can know that what I am >> reporting is in fact a bug and not just some dumb error that I am making. If >> in fact these are bugs, can I know that they will be addressed at some time? >> >> Each one has a small database and test project where appropriate. > >Hi Steve, > >Well, we have almost recover after latest re-design steps and soon we will >be able work on bug reports. Thank you. Steve -- Steve Albin - Montclair, NJ http://www.jazzdiscography.com/ http://www.steve-albin.com/ From sylvain.perque at ac-reims.fr Wed Jun 28 18:12:51 2006 From: sylvain.perque at ac-reims.fr (Sylvain Perque) Date: Wed Jun 28 11:13:04 2006 Subject: share a database Message-ID: <00db01c69acd$b6558930$9d64a8c0@SCEREN.RMS> Hi, I have some basic questions. 1 - If you want to use valentina in client-serveur mode, you have to install "Valentina Office Server" in the computer where you put the database. Is that true ? 2 - If you put your database in a shared drive, can several user use it at the same time (in read / write mode) without trouble ? Something like 20 users at the same time. Sylvain (sory if I have approximative english in that mail and in further mails) -- Ce message a ?t? v?rifi? par MailScanner pour des polluriels (SPAM) et rien de suspect n'a ?t? trouv?. From sylvain.perque at ac-reims.fr Wed Jun 28 18:31:30 2006 From: sylvain.perque at ac-reims.fr (Sylvain Perque) Date: Wed Jun 28 11:31:39 2006 Subject: open - close a database Message-ID: <00eb01c69ad0$508730b0$9d64a8c0@SCEREN.RMS> Hi, I work with Director. I would like to know the best way to use a database. I have to update datas in several parts of my software. Is it preferable to keep the database open in all my project or to close it and open it when I need to access and update datas ? I noticed that it is not possible to open - update - close a database quickly (in a single script) in director. I have to close database after a short delay. Thanks Sylvain -- Ce message a ?t? v?rifi? par MailScanner pour des polluriels (SPAM) et rien de suspect n'a ?t? trouv?. From sunshine at public.kherson.ua Wed Jun 28 19:38:00 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 11:38:08 2006 Subject: data base errors -- 1.x documentation In-Reply-To: <0MKoyl-1FvZe74BrM-0002P6@mrelay.perfora.net> Message-ID: On 6/28/06 3:59 PM, "Jennifer Hall" wrote: > Thanks, > I'm trying to figure out a way to block the database from being opened twice > without closing it. I don't see that as an error, and when I open it twice > in a row and don't close it, I don't get an error either. > > I need to make sure that two users can't edit the data base at the same > time. > > Any suggestions???? I assume you talk about OS X. right ? This is because OS X follow to UNIX way. Discussed many times. Apple point way -- you create some file when open db which play role of flag... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 28 19:40:01 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 11:40:09 2006 Subject: share a database In-Reply-To: <00db01c69acd$b6558930$9d64a8c0@SCEREN.RMS> Message-ID: On 6/28/06 7:12 PM, "Sylvain Perque" wrote: Hi Sylvain, > Hi, > I have some basic questions. > 1 - If you want to use valentina in client-serveur mode, you have to install > "Valentina Office Server" in the computer where you put the database. Is > that true ? yes > 2 - If you put your database in a shared drive, can several user use it at > the same time (in read / write mode) without trouble ? Something like 20 > users at the same time. Yes, this is possible, but you need write own code which check open/close state ... Many times this was on this list. Check archives. Client/server way can work up to 20 times faster than such open/close way. > Sylvain (sory if I have approximative english in that mail and in further > mails) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From listmail1 at dsl.pipex.com Wed Jun 28 17:40:32 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Wed Jun 28 11:40:41 2006 Subject: V4RB 2.3 doesn't respect case-insensitivity when inserting new data In-Reply-To: Message-ID: Hi all, I didn't follow this up in March - sorry. But it's still a problem in V4RB 2.3 for me. Here's the problem: I have these collation settings for a table: Alternate Handling: UCOL_NON_IGNORABLE Case First: UCOL_OFF Case Level: UCOL_OFF French Collation: UCOL_OFF Quaternary Mode: UCOL_OFF Normalization Mode: UCOL_OFF Strength: UCOL_PRIMARY I have checked that individual fields do not have their own collation settings. When I first insert some data into the database, I find that my LIKE searches on this data are not case-insensitive. However, if I quit my application, and then launch it again, using the same database, I then find that my searches are case-insensitive. If I drop all tables from the database, re-create the tables, and re-import, then the same problem occurs. Any idea what is happening here? I would submit a copy of my database to Mantis, but it seems that the problem goes away as soon as I quit the application - so the database I get afterwards works fine :-( Any ideas? Dave. From jennifer at jennifershall.com Wed Jun 28 12:41:20 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Wed Jun 28 11:41:26 2006 Subject: data base errors -- 1.x documentation In-Reply-To: Message-ID: <0MKp2t-1Fvd6N01M2-0003LY@mrelay.perfora.net> Nope - talking windows xp, right now all local jennifer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, June 28, 2006 12:38 PM To: valentina@lists.macserve.net Subject: Re: data base errors -- 1.x documentation On 6/28/06 3:59 PM, "Jennifer Hall" wrote: > Thanks, > I'm trying to figure out a way to block the database from being opened twice > without closing it. I don't see that as an error, and when I open it twice > in a row and don't close it, I don't get an error either. > > I need to make sure that two users can't edit the data base at the same > time. > > Any suggestions???? I assume you talk about OS X. right ? This is because OS X follow to UNIX way. Discussed many times. Apple point way -- you create some file when open db which play role of flag... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 28 19:41:32 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 11:41:36 2006 Subject: open - close a database In-Reply-To: <00eb01c69ad0$508730b0$9d64a8c0@SCEREN.RMS> Message-ID: On 6/28/06 7:31 PM, "Sylvain Perque" wrote: > Hi, > I work with Director. > I would like to know the best way to use a database. I have to update datas > in several parts of my software. Is it preferable to keep the database open > in all my project or to close it and open it when I need to access and > update datas ? And you are single user of that db ? Then no difference. Just make sure that you do db.flush after changes. > I noticed that it is not possible to open - update - close a database > quickly (in a single script) in director. I have to close database after a > short delay. Hmm, you have complex/big database ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 28 19:44:10 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 11:44:16 2006 Subject: easy sample in vc++ In-Reply-To: Message-ID: On 6/28/06 5:58 PM, "mohammad moeini" wrote: Hi Mohammad, > i need easy sample in vc++ > the valentina sample not easy. Why not easy? What is hard there?! Simple CONSOLE - only examples. NO GUI. reason -- because these examples work on any platform > the sample that have preview,window base,... You ask how to move info from db to Windows of app ? What exactly is not clear to you ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sylvain.perque at ac-reims.fr Wed Jun 28 18:52:40 2006 From: sylvain.perque at ac-reims.fr (Sylvain Perque) Date: Wed Jun 28 11:53:23 2006 Subject: open - close a database References: Message-ID: <001401c69ad3$582b7da0$9d64a8c0@SCEREN.RMS> > > Hi, > > I work with Director. > > I would like to know the best way to use a database. I have to update datas > > in several parts of my software. Is it preferable to keep the database open > > in all my project or to close it and open it when I need to access and > > update datas ? > > And you are single user of that db ? no, so must I open - close the database each time I use it ? > > Then no difference. Just make sure that you do db.flush after changes. > > > I noticed that it is not possible to open - update - close a database > > quickly (in a single script) in director. I have to close database after a > > short delay. > > Hmm, you have complex/big database ? no it is a very little database. Director (MX 2004) have trouble with th instruction "gDb.close()" > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > -- Ce message a ?t? v?rifi? par MailScanner pour des polluriels (SPAM) et rien de suspect n'a ?t? trouv?. From cbpelto at pcisys.net Wed Jun 28 10:59:09 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Jun 28 11:59:17 2006 Subject: Naming of Tables for V4RB2 Message-ID: <1B111B70-3DC6-47D4-8400-3821502DA5DC@pcisys.net> Greetings, Is there any possible conflict or potential problem if one names a VTable the same for V4RB2 and RB2006? E.g..... tbl_test = tDatabase.CreateTable("tbl_test") Regards, Chuck From listmail1 at dsl.pipex.com Wed Jun 28 18:18:12 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Wed Jun 28 12:18:19 2006 Subject: Okay, lets use ICU and 10.3 as is some time more... In-Reply-To: Message-ID: Hi Ruslan, If it helps, we're thinking of moving our application to requiring 10.4.x for Mac OS X. So, losing 10.3.9 wouldn't be a problem for us. We'd rather not drop support for 10.3.9, but too many other things we need require us to use 10.4, so if V4RB required 10.4, this would be fine for us. Dave. > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Tue, 27 Jun 2006 21:00:03 +0300 > To: "valentina@lists.macserve.net" , > "valentina-beta@lists.macserve.net" > Conversation: Okay, lets use ICU and 10.3 as is some time more... > Subject: Okay, lets use ICU and 10.3 as is some time more... > > Hi All, > > I have spend few days port from C++ ICU to C ICU in hope to get more simple > configuration for all us. > > Instead small trap -- absent of regex C function in OS X 10.3 become show > stopper. Attempt to workaround this trap will only add troubles. > > So it is reasonable to say: > > * we have made GOOD step to C API. > this is required step in any case. > > * some code have become more clean > * some code have become improved. > > * we have prepare self for next step when OS X will be ready. > > * we have prepare self for next step tp get Valentina-All-In-One > as on MAC so on Windows. > > * after 2.4 release I will work mainly on text-related issues in all > regards. Including try compile is STATIC library and reduce its default size > > Future we will consider what is better for all us: > > a) Valentina ADKS as now > + new line Valentina Lite (all in one with some disabled features, > e.g. -XML -PAINTLIB > > or > > b) Valentina All in one without limits only ICU reduced in size > + new line Valentina ADK ADVANCED with VComponents as now + more. > > > ----------- > Okay, now I need finish polishing of our tests with new String class. > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Wed Jun 28 21:08:05 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 13:08:11 2006 Subject: V4RB 2.3 doesn't respect case-insensitivity when inserting new data In-Reply-To: Message-ID: On 6/28/06 7:40 PM, "Dave Addey" wrote: Hi Dave, > I didn't follow this up in March - sorry. But it's still a problem in V4RB > 2.3 for me. > > Here's the problem: > > I have these collation settings for a table: > > Alternate Handling: UCOL_NON_IGNORABLE > Case First: UCOL_OFF > Case Level: UCOL_OFF > French Collation: UCOL_OFF > Quaternary Mode: UCOL_OFF > Normalization Mode: UCOL_OFF > Strength: UCOL_PRIMARY > > I have checked that individual fields do not have their own collation > settings. Q: you have set Strength = Primary for this one table only ? or all your tables have the same settings? If all the same then all you need is: db = new Vdatabase db.Create db.SetCollationAttribute( kStrength ) = kPrimary > When I first insert some data into the database, I find that my LIKE > searches on this data are not case-insensitive. However, if I quit my > application, and then launch it again, using the same database, I then find > that my searches are case-insensitive. If I drop all tables from the > database, re-create the tables, and re-import, then the same problem occurs. > > Any idea what is happening here? I would submit a copy of my database to > Mantis, but it seems that the problem goes away as soon as I quit the > application - so the database I get afterwards works fine :-( It sounds to me like JUST only created objects of Vtable do not pickup your settings into work. After close, on next open they correctly setup self reading info from sys tables. As I see to reproduce your bug it needs NOT your database, but YOUR or similar small project that create db and tables and set settings add records do LIKE search -> see problem Agree ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 28 21:08:57 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 13:09:02 2006 Subject: Naming of Tables for V4RB2 In-Reply-To: <1B111B70-3DC6-47D4-8400-3821502DA5DC@pcisys.net> Message-ID: On 6/28/06 7:59 PM, "Chuck Pelto" wrote: > Greetings, > > Is there any possible conflict or potential problem if one names a > VTable the same for V4RB2 and RB2006? > > E.g..... > > tbl_test = tDatabase.CreateTable("tbl_test") no tbl_test = tDatabase.CreateTable("tbl_test") ^^^^^^^^^^ ^^^^^^^^^ this is RB variable this is name of db table -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 28 21:11:59 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 13:12:08 2006 Subject: open - close a database In-Reply-To: <001401c69ad3$582b7da0$9d64a8c0@SCEREN.RMS> Message-ID: On 6/28/06 7:52 PM, "Sylvain Perque" wrote: >> And you are single user of that db ? > > no, so must I open - close the database each time I use it ? Yes. You can search list archive on this issue. http://leafe.com/archives/search/valentina >> Then no difference. Just make sure that you do db.flush after changes. >> >>> I noticed that it is not possible to open - update - close a database >>> quickly (in a single script) in director. I have to close database after > a >>> short delay. >> >> Hmm, you have complex/big database ? > > no it is a very little database. Director (MX 2004) have trouble with th > instruction "gDb.close()" Windows ? What troubles ? May be you have DebugLevel on ? then you get big log files. This slow down a lots. check this. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Jun 28 21:13:01 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Jun 28 13:13:08 2006 Subject: data base errors -- 1.x documentation In-Reply-To: <0MKp2t-1Fvd6N01M2-0003LY@mrelay.perfora.net> Message-ID: On 6/28/06 7:41 PM, "Jennifer Hall" wrote: > Nope - talking windows xp, right now all local For windows no problems. If user1 open db, then second will not be able open it and get error "file is busy". -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sylvain.perque at ac-reims.fr Wed Jun 28 20:19:33 2006 From: sylvain.perque at ac-reims.fr (sylvain.perque@ac-reims.fr) Date: Wed Jun 28 13:19:40 2006 Subject: open - close a database In-Reply-To: References: <001401c69ad3$582b7da0$9d64a8c0@SCEREN.RMS> Message-ID: ----- Message d'origine ----- De: Ruslan Zasukhin Date: Mercredi, Juin 28, 2006 8:12 pm Objet: Re: open - close a database ?: "valentina@lists.macserve.net" > On 6/28/06 7:52 PM, "Sylvain Perque" > wrote: > >> And you are single user of that db ? > > > > no, so must I open - close the database each time I use it ? > > Yes. > > You can search list archive on this issue. > > http://leafe.com/archives/search/valentina > > > > >> Then no difference. Just make sure that you do db.flush after > changes.>> > >>> I noticed that it is not possible to open - update - close a > database>>> quickly (in a single script) in director. I have to > close database after > > a > >>> short delay. > >> > >> Hmm, you have complex/big database ? > > > > no it is a very little database. Director (MX 2004) have trouble > with th > > instruction "gDb.close()" > > Windows ? > > What troubles ? > > May be you have DebugLevel on ? > then you get big log files. This slow down a lots. > check this. > Yes I have debugLevel on. I will desable it. thanks > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From cbpelto at pcisys.net Wed Jun 28 12:44:34 2006 From: cbpelto at pcisys.net (Chuck Pelto) Date: Wed Jun 28 13:44:41 2006 Subject: Naming of Tables for V4RB2 In-Reply-To: References: Message-ID: Hi Ruslan, On Jun 28, 2006, at 12:08 PM, Ruslan Zasukhin wrote: > No > tbl_test = tDatabase.CreateTable("tbl_test") > ^^^^^^^^^^ ^^^^^^^^^ > this is RB variable this is name of db table So being simple-minded, i.e., using the same name for the RB and V4RB2 items, will not confuse anything. Good. Thanks, Chuck From jennifer at jennifershall.com Wed Jun 28 14:52:43 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Wed Jun 28 13:52:49 2006 Subject: data base errors -- 1.x documentation In-Reply-To: Message-ID: <0MKp2t-1Fvf9V0XrW-0003Of@mrelay.perfora.net> but it doesn't work that way it opens just fine and does not return an error this is the code - no error on second open openDatabase(pDB, dbpath, 4) err = ValentinaError() openDatabase(pDB, dbpath, 4) err = ValentinaError() jennifer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Wednesday, June 28, 2006 2:13 PM To: valentina@lists.macserve.net Subject: Re: data base errors -- 1.x documentation On 6/28/06 7:41 PM, "Jennifer Hall" wrote: > Nope - talking windows xp, right now all local For windows no problems. If user1 open db, then second will not be able open it and get error "file is busy". -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From joakim at astrocalc.com Wed Jun 28 22:30:05 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Wed Jun 28 15:30:21 2006 Subject: forUpdate flag Message-ID: <20060628202307.43F5E17CFEC@merc.astrocalc.net> Hi, I wonder a bit about the inAccess forUpdate flag, is there any benefit in blanking the RAM buffer when updating a record compared to NOT doing it when updating a record and some values may have changed while others stays the same? Like if I set values to all field although some may be the same as already there (which I of course have to do if I Blank the record)? Or in another scenario if I know just 1 or 2 fields have changed, any difference if I just set new values to this 2 fields or if I "SetBlank forUpdate" and fill all fields with fresh values (although I may not have to)? Another question about Nullable fields, are there any Pro/Cons or special benefit of having nullable fields? I know they add 1 bit to each record, but do I "save" something for those fileds that are NULL compared to those having a value? Regards, Joakim From listmail1 at dsl.pipex.com Wed Jun 28 23:25:15 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Wed Jun 28 17:25:24 2006 Subject: V4RB 2.3 doesn't respect case-insensitivity when inserting new data In-Reply-To: Message-ID: Hi Ruslan, > Q: you have set Strength = Primary for this one table only ? > or all your tables have the same settings? > > If all the same then all you need is: > > db = new Vdatabase > db.Create > db.SetCollationAttribute( kStrength ) = kPrimary Actually, the code should be: db = new Vdatabase db.Create db.CollationAttribute( EVColAttribute.kStrength ) = EVColAttributeValue.kPrimary ...but it's the same principle :-) > It sounds to me like JUST only created objects of Vtable do not pickup your > settings into work. After close, on next open they correctly setup self > reading info from sys tables. Yes, this is correct. However, I just tried the approach mentioned above, and this solves the problem! If I set the strength to Primary for the database rather than for each table, then newly-created objects do pick up the setting correctly. > As I see to reproduce your bug it needs NOT your database, but YOUR or > similar small project that > create db and tables and set settings > add records > do LIKE search -> see problem > > Agree ? I agree! Unfortunately this would take quite a while for me to do - and you just suggested a better workaround... I'll try and do this if I get time, but for now, the approach described above solves the problem for me. Of course, if I needed a *different* strength for one of the tables in the database, then I would hit the bug again... Thanks for the help, Dave. From sunshine at public.kherson.ua Thu Jun 29 08:14:00 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 29 00:14:07 2006 Subject: data base errors -- 1.x documentation In-Reply-To: <0MKp2t-1Fvf9V0XrW-0003Of@mrelay.perfora.net> Message-ID: On 6/28/06 9:52 PM, "Jennifer Hall" wrote: > but it doesn't work that way > it opens just fine and does not return an error > > this is the code - no error on second open > openDatabase(pDB, dbpath, 4) > err = ValentinaError() > openDatabase(pDB, dbpath, 4) > err = ValentinaError() But this is not correct test. You try open for the same pDB object! So second open for the same object do nothing in v1. In v2, we are more strict and return error "already opened" In v1 you can test db IsOpen ----- But as I understand, you want feature -- when SEVERAL .exe files Will try open the same db files. Right ? To test this you need produce 2 EXE file and test to see how this works. Or you can do openDatabase(pDB, dbpath, 4) err = ValentinaError() openDatabase(pDB2, dbpath, 4) err = ValentinaError() I.e. Use 2 different db objects pdb and pdb2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 29 08:41:22 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 29 00:41:30 2006 Subject: forUpdate flag In-Reply-To: <20060628202307.43F5E17CFEC@merc.astrocalc.net> Message-ID: On 6/28/06 11:30 PM, "Joakim Schramm" wrote: Hi Joakim, > I wonder a bit about the inAccess forUpdate flag, is there any benefit in > blanking the RAM buffer when updating a record compared to NOT doing it when > updating a record and some values may have changed while others stays the > same? Like if I set values to all field although some may be the same as > already there (which I of course have to do if I Blank the record)? If you blank record, then you need setup back all fields. Usually IF you do update you change only few fields. Usually you do not use SetBlank() + Update. > Or in another scenario if I know just 1 or 2 fields have changed, any > difference if I just set new values to this 2 fields or if I "SetBlank > forUpdate" and fill all fields with fresh values (although I may not have > to)? Wrong. All you need is table.goto f1 = f2 = table.update > Another question about Nullable fields, are there any Pro/Cons or special > benefit of having nullable fields? I know they add 1 bit to each record, but > do I "save" something for those fileds that are NULL compared to those > having a value? Rule is simple: IF you need keep NULL values or this field you make it Nullable. Otherwise do not make it nullable -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 29 08:42:57 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 29 00:43:05 2006 Subject: V4RB 2.3 doesn't respect case-insensitivity when inserting new data In-Reply-To: Message-ID: On 6/29/06 1:25 AM, "Dave Addey" wrote: >> Q: you have set Strength = Primary for this one table only ? >> or all your tables have the same settings? >> >> If all the same then all you need is: >> >> db = new Vdatabase >> db.Create >> db.SetCollationAttribute( kStrength ) = kPrimary > > Actually, the code should be: > > db = new Vdatabase > db.Create > db.CollationAttribute( EVColAttribute.kStrength ) = > EVColAttributeValue.kPrimary > > ...but it's the same principle :-) > >> It sounds to me like JUST only created objects of Vtable do not pickup your >> settings into work. After close, on next open they correctly setup self >> reading info from sys tables. > > Yes, this is correct. However, I just tried the approach mentioned above, > and this solves the problem! If I set the strength to Primary for the > database rather than for each table, then newly-created objects do pick up > the setting correctly. > >> As I see to reproduce your bug it needs NOT your database, but YOUR or >> similar small project that >> create db and tables and set settings >> add records >> do LIKE search -> see problem >> >> Agree ? > > I agree! Unfortunately this would take quite a while for me to do - and you > just suggested a better workaround... I'll try and do this if I get time, > but for now, the approach described above solves the problem for me. Of > course, if I needed a *different* strength for one of the tables in the > database, then I would hit the bug again... I have add this letter to Mantis. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From joakim at astrocalc.com Thu Jun 29 09:33:51 2006 From: joakim at astrocalc.com (Joakim Schramm) Date: Thu Jun 29 02:34:00 2006 Subject: forUpdate flag In-Reply-To: Message-ID: <20060629072650.4776E7FD8A1@merc.astrocalc.net> > > > Another question about Nullable fields, are there any Pro/Cons or > > special benefit of having nullable fields? I know they add 1 bit to > > each record, but do I "save" something for those fileds > that are NULL > > compared to those having a value? > > Rule is simple: > IF you need keep NULL values or this field > you make it Nullable. Otherwise do not make it nullable > Yes, but why do I want to have NULL fields? Why not just "" or 0 etc.? My problem not getting this maybe have to do with me coming from VB were as an example a variable doesn't have to be initialized before use. In such case I could see a benefit in being able to test for NULL to see if value been set once (if so to 0) but we can't do this in VB. Is it what it's about? Joakim > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > From fb at memedia.de Thu Jun 29 10:02:19 2006 From: fb at memedia.de (Florian Bogeschdorfer) Date: Thu Jun 29 03:02:49 2006 Subject: forUpdate flag In-Reply-To: <20060629072650.4776E7FD8A1@merc.astrocalc.net> Message-ID: <003901c69b52$5b72c6b0$152ca8c0@GRAUEGEFAHR> > > > Yes, but why do I want to have NULL fields? Why not just "" or 0 etc.? My > problem not getting this maybe have to do with me coming from VB were as > an Because NULL is different to "" and 0, "" and 0 are still values. For example if you want to erase a unique field - "" and 0 are impossible because you could not erase more than one field. But if you set it to NULL it has no value and you can set several fields to NULL. Florian From sunshine at public.kherson.ua Thu Jun 29 11:24:39 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 29 03:24:47 2006 Subject: forUpdate flag In-Reply-To: <003901c69b52$5b72c6b0$152ca8c0@GRAUEGEFAHR> Message-ID: On 6/29/06 11:02 AM, "Florian Bogeschdorfer" wrote: >> Yes, but why do I want to have NULL fields? Why not just "" or 0 etc.? My >> problem not getting this maybe have to do with me coming from VB were as >> an > > Because NULL is different to "" and 0, "" and 0 are still values. For > example if you want to erase a unique field - "" and 0 are impossible > because you could not erase more than one field. But if you set it to NULL > it has no value and you can set several fields to NULL. Right. Joakim, this is standard DB issue. Try search inet to get more info about NULLs. I think exists tons pages about this -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jennifer at jennifershall.com Thu Jun 29 07:25:30 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Thu Jun 29 06:25:34 2006 Subject: data base errors -- 1.x documentation In-Reply-To: Message-ID: <0MKp2t-1FvueG0FAu-0003Hm@mrelay.perfora.net> sorry, but I cannot find any reference to a IsOPen call for the data base????? could you point me to where this is in the documentation??? I currently have the V4MD_Reference_1_en.pdf, ValentinaKernel_1_en.pdf, and ValentinaSQL_1_en.pdf. None of which even mention the open data base command. so I must be missing some documentation. thanks Jennifer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Thursday, June 29, 2006 1:14 AM To: valentina@lists.macserve.net Subject: Re: data base errors -- 1.x documentation On 6/28/06 9:52 PM, "Jennifer Hall" wrote: > but it doesn't work that way > it opens just fine and does not return an error > > this is the code - no error on second open > openDatabase(pDB, dbpath, 4) > err = ValentinaError() > openDatabase(pDB, dbpath, 4) > err = ValentinaError() But this is not correct test. You try open for the same pDB object! So second open for the same object do nothing in v1. In v2, we are more strict and return error "already opened" In v1 you can test db IsOpen ----- But as I understand, you want feature -- when SEVERAL .exe files Will try open the same db files. Right ? To test this you need produce 2 EXE file and test to see how this works. Or you can do openDatabase(pDB, dbpath, 4) err = ValentinaError() openDatabase(pDB2, dbpath, 4) err = ValentinaError() I.e. Use 2 different db objects pdb and pdb2 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From listmail1 at dsl.pipex.com Thu Jun 29 13:07:59 2006 From: listmail1 at dsl.pipex.com (Dave Addey) Date: Thu Jun 29 07:08:08 2006 Subject: V4RB 2.3 doesn't respect case-insensitivity when inserting new data In-Reply-To: Message-ID: Hi Ruslan, Great stuff. Thanks as ever for the help! Dave. > From: Ruslan Zasukhin > Reply-To: Valentina Developers > Date: Thu, 29 Jun 2006 08:42:57 +0300 > To: "valentina@lists.macserve.net" > Conversation: V4RB 2.3 doesn't respect case-insensitivity when inserting new > data > Subject: Re: V4RB 2.3 doesn't respect case-insensitivity when inserting new > data > > On 6/29/06 1:25 AM, "Dave Addey" wrote: > >>> Q: you have set Strength = Primary for this one table only ? >>> or all your tables have the same settings? >>> >>> If all the same then all you need is: >>> >>> db = new Vdatabase >>> db.Create >>> db.SetCollationAttribute( kStrength ) = kPrimary >> >> Actually, the code should be: >> >> db = new Vdatabase >> db.Create >> db.CollationAttribute( EVColAttribute.kStrength ) = >> EVColAttributeValue.kPrimary >> >> ...but it's the same principle :-) >> >>> It sounds to me like JUST only created objects of Vtable do not pickup your >>> settings into work. After close, on next open they correctly setup self >>> reading info from sys tables. >> >> Yes, this is correct. However, I just tried the approach mentioned above, >> and this solves the problem! If I set the strength to Primary for the >> database rather than for each table, then newly-created objects do pick up >> the setting correctly. >> >>> As I see to reproduce your bug it needs NOT your database, but YOUR or >>> similar small project that >>> create db and tables and set settings >>> add records >>> do LIKE search -> see problem >>> >>> Agree ? >> >> I agree! Unfortunately this would take quite a while for me to do - and you >> just suggested a better workaround... I'll try and do this if I get time, >> but for now, the approach described above solves the problem for me. Of >> course, if I needed a *different* strength for one of the tables in the >> database, then I would hit the bug again... > > I have add this letter to Mantis. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Jun 29 16:04:50 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 29 08:04:58 2006 Subject: data base errors -- 1.x documentation In-Reply-To: <0MKp2t-1FvueG0FAu-0003Hm@mrelay.perfora.net> Message-ID: On 6/29/06 2:25 PM, "Jennifer Hall" wrote: Hi Jennifer, > sorry, but I cannot find any reference to a IsOPen call for the data > base????? Well, I point idea. I really not remember all methods names in memory. > could you point me to where this is in the documentation??? May be it is a property as db.IsOpen > I currently have the V4MD_Reference_1_en.pdf, ValentinaKernel_1_en.pdf, and > ValentinaSQL_1_en.pdf. None of which even mention the open data base > command. so I must be missing some documentation. I will check now -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Jun 29 16:12:11 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 29 08:12:18 2006 Subject: data base errors -- 1.x documentation In-Reply-To: <0MKp2t-1FvueG0FAu-0003Hm@mrelay.perfora.net> Message-ID: On 6/29/06 2:25 PM, "Jennifer Hall" wrote: > sorry, but I cannot find any reference to a IsOPen call for the data > base????? > > could you point me to where this is in the documentation??? > > I currently have the V4MD_Reference_1_en.pdf, ValentinaKernel_1_en.pdf, and > ValentinaSQL_1_en.pdf. None of which even mention the open data base > command. so I must be missing some documentation. I have check sources of V4DM. Exists such method for Vdatabase Xtra. "isOpen object me -- Returns true if db is open.\n" Btw, in Director it is possible print into message window all methods of Xtra. You know how to ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jennifer at jennifershall.com Thu Jun 29 09:27:32 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Thu Jun 29 08:27:35 2006 Subject: data base errors -- 1.x documentation In-Reply-To: Message-ID: <0MKp2t-1FvwYM2FEe-0003OP@mrelay.perfora.net> I thought so put interface(xtra "V4MD") but it's not working???? it says "xtra not found" I just tested the program - and it's finding it all right. suggestions???? jennifer -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Ruslan Zasukhin Sent: Thursday, June 29, 2006 9:12 AM To: valentina@lists.macserve.net Subject: Re: data base errors -- 1.x documentation On 6/29/06 2:25 PM, "Jennifer Hall" wrote: > sorry, but I cannot find any reference to a IsOPen call for the data > base????? > > could you point me to where this is in the documentation??? > > I currently have the V4MD_Reference_1_en.pdf, ValentinaKernel_1_en.pdf, and > ValentinaSQL_1_en.pdf. None of which even mention the open data base > command. so I must be missing some documentation. I have check sources of V4DM. Exists such method for Vdatabase Xtra. "isOpen object me -- Returns true if db is open.\n" Btw, in Director it is possible print into message window all methods of Xtra. You know how to ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From ich at medienzar.de Thu Jun 29 16:09:52 2006 From: ich at medienzar.de (Tschoatscho Kettl) Date: Thu Jun 29 09:10:07 2006 Subject: data base errors -- 1.x documentation In-Reply-To: <0MKp2t-1FvwYM2FEe-0003OP@mrelay.perfora.net> References: <0MKp2t-1FvwYM2FEe-0003OP@mrelay.perfora.net> Message-ID: > I thought so > put interface(xtra "V4MD") There is not such Xtra. From Lingo's point of view the xtra is divided in two xtras: VDataBase and VCursor Use showXlib to identify xtra names. ->put interface(xtra "VDataBase") ->put interface(xtra "VCursor") Greets Tsch. ----------> on stopMovie mRemember gRealLife updateStage no end From jennifer at jennifershall.com Thu Jun 29 10:24:42 2006 From: jennifer at jennifershall.com (Jennifer Hall) Date: Thu Jun 29 09:24:46 2006 Subject: data base errors -- 1.x documentation In-Reply-To: Message-ID: <0MKp2t-1FvxRg2AVC-0003OD@mrelay.perfora.net> thank you so much -----Original Message----- From: valentina-bounces@lists.macserve.net [mailto:valentina-bounces@lists.macserve.net] On Behalf Of Tschoatscho Kettl Sent: Thursday, June 29, 2006 10:10 AM To: Valentina Developers Subject: Re: data base errors -- 1.x documentation > I thought so > put interface(xtra "V4MD") There is not such Xtra. From Lingo's point of view the xtra is divided in two xtras: VDataBase and VCursor Use showXlib to identify xtra names. ->put interface(xtra "VDataBase") ->put interface(xtra "VCursor") Greets Tsch. ----------> on stopMovie mRemember gRealLife updateStage no end _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From sunshine at public.kherson.ua Thu Jun 29 18:29:21 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Jun 29 10:29:29 2006 Subject: [C++] CreateField and Properties In-Reply-To: <3F5DDFB2-F048-429F-A1E9-3828BC6D5296@econophone.ch> Message-ID: On 6/29/06 5:50 PM, "Philip M?tteli" wrote: Hi Philip, > Could somebody explain me, what properties (I_Property) in the > context of fields are? > Examples? Sometimes to create field you need only its name, type, Nullable. Some types require more info. Maxlength Encoding Segmentsize .... To have general solution, we have made I_Property, and I_PropertyContainer. So we CAN pass to factory whatever we want. ---------------------------------------------------------- FBL/prot/Properties Here you will find classes - implementations... Ah, yo have no this sources. Okay, not imortant. Important to note that exists comfortable set of methods: sources/Vshared/FBL/publ/FBL_Algs_Table.h To create fields of EACH supported type. These methods self create properties as required. They are easy to use -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mjew at icnc.com Thu Jun 29 22:24:29 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 30 00:24:40 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? Message-ID: <3D9F17FE-B156-497C-A0F2-C7E099D3AAE5@icnc.com> Hello, I have been able to set DateTime fields like this: I_ValueDateTime_Ptr pvdt = fbl_dynamic_cast ( aAuthFailureLogTable.loginDateTime->get_Value(forAdd) ); pvdt->put_DateTime( aDateTimeRec->year, aDateTimeRec->month, aDateTimeRec->day, aDateTimeRec->hour, aDateTimeRec->minute, aDateTimeRec->second, 0 ); but when I try to do the equivalent thing for Date fields and Time fields, it doesn't even compile: I_ValueDate_Ptr pvd = fbl_dynamic_cast( anArticleTable- >date->get_Value(forAdd) ); pvd->put_Date( aDateTimeRec.year, aDateTimeRec.month, aDateTimeRec.day ); I_ValueTime_Ptr pvt = fbl_dynamic_cast( anArticleTable- >time->get_Value(forAdd) ); pvt->put_Time( aDateTimeRec.hour, aDateTimeRec.minute, aDateTimeRec.second, 0 ); /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ ArticleDBManager2.mm:230: error: 'I_ValueDate_Ptr' was not declared in this scope /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ ArticleDBManager2.mm:230: error: expected `;' before 'pvd' /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ ArticleDBManager2.mm:231: error: 'pvd' was not declared in this scope /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ ArticleDBManager2.mm:232: error: 'class fbl::I_Field_Ptr' has no member named 'Set' /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ ArticleDBManager2.mm:233: error: 'I_ValueTime_Ptr' was not declared in this scope /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ ArticleDBManager2.mm:233: error: expected `;' before 'pvt' /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ ArticleDBManager2.mm:234: error: 'pvt' was not declared in this scope What is the syntax for doing this with Date fields and Time fields? - Matthew From sunshine at public.kherson.ua Fri Jun 30 10:05:55 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 30 02:06:08 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? In-Reply-To: <3D9F17FE-B156-497C-A0F2-C7E099D3AAE5@icnc.com> Message-ID: On 6/30/06 8:24 AM, "Matthew Jew" wrote: Hi Matthew, > I have been able to set DateTime fields like this: > > I_ValueDateTime_Ptr pvdt = fbl_dynamic_cast > ( aAuthFailureLogTable.loginDateTime->get_Value(forAdd) ); > pvdt->put_DateTime( aDateTimeRec->year, aDateTimeRec->month, > aDateTimeRec->day, aDateTimeRec->hour, aDateTimeRec->minute, > aDateTimeRec->second, 0 ); > > but when I try to do the equivalent thing for Date fields and Time > fields, it doesn't even compile: > > I_ValueDate_Ptr pvd = fbl_dynamic_cast( anArticleTable- >> date->get_Value(forAdd) ); > pvd->put_Date( aDateTimeRec.year, aDateTimeRec.month, > aDateTimeRec.day ); > I_ValueTime_Ptr pvt = fbl_dynamic_cast( anArticleTable- >> time->get_Value(forAdd) ); > pvt->put_Time( aDateTimeRec.hour, aDateTimeRec.minute, > aDateTimeRec.second, 0 ); > > > /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/Valentina2pv/ > ArticleDBManager2.mm:230: error: 'I_ValueDate_Ptr' was not declared > in this scope Strange...sounds like you you no included header FBL_I_ValueDate.h Here in this header you can see: SMART_INTERFACE(I_ValueDate); Which defines this I_ValueDate_Ptr Although this header should be included via VSDK.h, which you use, right ? You should use ONLY and ONLY -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From mjew at icnc.com Fri Jun 30 00:53:27 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 30 02:53:32 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? In-Reply-To: References: Message-ID: <05016725-8567-4A8B-BE67-19D09FACF381@icnc.com> On Jun 30, 2006, at 12:05 AM, Ruslan Zasukhin wrote: > On 6/30/06 8:24 AM, "Matthew Jew" wrote: > > Hi Matthew, > >> I have been able to set DateTime fields like this: >> >> I_ValueDateTime_Ptr pvdt = fbl_dynamic_cast >> ( aAuthFailureLogTable.loginDateTime->get_Value(forAdd) ); >> pvdt->put_DateTime( aDateTimeRec->year, aDateTimeRec->month, >> aDateTimeRec->day, aDateTimeRec->hour, aDateTimeRec->minute, >> aDateTimeRec->second, 0 ); >> >> but when I try to do the equivalent thing for Date fields and Time >> fields, it doesn't even compile: >> >> I_ValueDate_Ptr pvd = fbl_dynamic_cast( anArticleTable- >>> date->get_Value(forAdd) ); >> pvd->put_Date( aDateTimeRec.year, aDateTimeRec.month, >> aDateTimeRec.day ); >> I_ValueTime_Ptr pvt = fbl_dynamic_cast( anArticleTable- >>> time->get_Value(forAdd) ); >> pvt->put_Time( aDateTimeRec.hour, aDateTimeRec.minute, >> aDateTimeRec.second, 0 ); >> >> >> /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/ >> Valentina2pv/ >> ArticleDBManager2.mm:230: error: 'I_ValueDate_Ptr' was not declared >> in this scope > > Strange...sounds like you you no included header FBL_I_ValueDate.h > > Here in this header you can see: > > SMART_INTERFACE(I_ValueDate); > > Which defines this I_ValueDate_Ptr > > > Although this header should be included via VSDK.h, which you use, > right ? > You should use ONLY and ONLY > > > Yes, I use VSDK.h Sometimes, when it seems a definition or specific header is missing, I will include it specifically. Should I include FBL_I_ValueDate.h? And also FBL_I_ValueTime.h? And is the way I am trying to do it correct? (Except for the missing definitions?) - Matthew From sunshine at public.kherson.ua Fri Jun 30 11:21:24 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 30 03:21:34 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? In-Reply-To: <05016725-8567-4A8B-BE67-19D09FACF381@icnc.com> Message-ID: On 6/30/06 10:53 AM, "Matthew Jew" wrote: > Yes, I use VSDK.h > > Sometimes, when it seems a definition or specific header is missing, > I will include it specifically. > > Should I include FBL_I_ValueDate.h? > And also FBL_I_ValueTime.h? Try it. If this resolve, then may be its me have miss them in VSDK.h Hmm, I see that #include #include Are included in the FBL_Interfaces.h strange > And is the way I am trying to do it correct? (Except for the missing > definitions?) Do correct what ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 30 11:22:23 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 30 03:22:32 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? In-Reply-To: <05016725-8567-4A8B-BE67-19D09FACF381@icnc.com> Message-ID: On 6/30/06 10:53 AM, "Matthew Jew" wrote: > > On Jun 30, 2006, at 12:05 AM, Ruslan Zasukhin wrote: > >> On 6/30/06 8:24 AM, "Matthew Jew" wrote: >> >> Hi Matthew, >> >>> I have been able to set DateTime fields like this: >>> >>> I_ValueDateTime_Ptr pvdt = fbl_dynamic_cast >>> ( aAuthFailureLogTable.loginDateTime->get_Value(forAdd) ); >>> pvdt->put_DateTime( aDateTimeRec->year, aDateTimeRec->month, >>> aDateTimeRec->day, aDateTimeRec->hour, aDateTimeRec->minute, >>> aDateTimeRec->second, 0 ); >>> >>> but when I try to do the equivalent thing for Date fields and Time >>> fields, it doesn't even compile: >>> >>> I_ValueDate_Ptr pvd = fbl_dynamic_cast( anArticleTable- >>>> date->get_Value(forAdd) ); >>> pvd->put_Date( aDateTimeRec.year, aDateTimeRec.month, >>> aDateTimeRec.day ); >>> I_ValueTime_Ptr pvt = fbl_dynamic_cast( anArticleTable- >>>> time->get_Value(forAdd) ); >>> pvt->put_Time( aDateTimeRec.hour, aDateTimeRec.minute, >>> aDateTimeRec.second, 0 ); >>> >>> >>> /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/ >>> Valentina2pv/ >>> ArticleDBManager2.mm:230: error: 'I_ValueDate_Ptr' was not declared >>> in this scope >> >> Strange...sounds like you you no included header FBL_I_ValueDate.h >> >> Here in this header you can see: >> >> SMART_INTERFACE(I_ValueDate); >> >> Which defines this I_ValueDate_Ptr >> >> >> Although this header should be included via VSDK.h, which you use, >> right ? >> You should use ONLY and ONLY >> >> >> > > Yes, I use VSDK.h > > Sometimes, when it seems a definition or specific header is missing, > I will include it specifically. > > Should I include FBL_I_ValueDate.h? > And also FBL_I_ValueTime.h? > > And is the way I am trying to do it correct? (Except for the missing > definitions?) Aha, moment You should use -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Jun 30 11:29:36 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Jun 30 03:29:44 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? In-Reply-To: <05016725-8567-4A8B-BE67-19D09FACF381@icnc.com> Message-ID: On 6/30/06 10:53 AM, "Matthew Jew" wrote: > > On Jun 30, 2006, at 12:05 AM, Ruslan Zasukhin wrote: > >> On 6/30/06 8:24 AM, "Matthew Jew" wrote: >> >> Hi Matthew, >> >>> I have been able to set DateTime fields like this: >>> >>> I_ValueDateTime_Ptr pvdt = fbl_dynamic_cast >>> ( aAuthFailureLogTable.loginDateTime->get_Value(forAdd) ); >>> pvdt->put_DateTime( aDateTimeRec->year, aDateTimeRec->month, >>> aDateTimeRec->day, aDateTimeRec->hour, aDateTimeRec->minute, >>> aDateTimeRec->second, 0 ); >>> >>> but when I try to do the equivalent thing for Date fields and Time >>> fields, it doesn't even compile: >>> >>> I_ValueDate_Ptr pvd = fbl_dynamic_cast( anArticleTable- >>>> date->get_Value(forAdd) ); >>> pvd->put_Date( aDateTimeRec.year, aDateTimeRec.month, >>> aDateTimeRec.day ); >>> I_ValueTime_Ptr pvt = fbl_dynamic_cast( anArticleTable- >>>> time->get_Value(forAdd) ); >>> pvt->put_Time( aDateTimeRec.hour, aDateTimeRec.minute, >>> aDateTimeRec.second, 0 ); >>> >>> >>> /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/ >>> Valentina2pv/ >>> ArticleDBManager2.mm:230: error: 'I_ValueDate_Ptr' was not declared >>> in this scope >> >> Strange...sounds like you you no included header FBL_I_ValueDate.h >> >> Here in this header you can see: >> >> SMART_INTERFACE(I_ValueDate); >> >> Which defines this I_ValueDate_Ptr >> >> >> Although this header should be included via VSDK.h, which you use, >> right ? >> You should use ONLY and ONLY >> >> >> > > Yes, I use VSDK.h > > Sometimes, when it seems a definition or specific header is missing, > I will include it specifically. > > Should I include FBL_I_ValueDate.h? > And also FBL_I_ValueTime.h? > > And is the way I am trying to do it correct? (Except for the missing > definitions?) So, VSDK2.h has #include -------------- And FBL_Interfaces.h has #include #include #include All looks correctly. Make sure you use VSDK2.h but not VSDK.h -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sylvain.perque at ac-reims.fr Fri Jun 30 16:16:33 2006 From: sylvain.perque at ac-reims.fr (Sylvain Perque) Date: Fri Jun 30 09:16:53 2006 Subject: add a record Message-ID: <004a01c69c4f$cec62780$9d64a8c0@SCEREN.RMS> Hi, I can't find what i do wrong. A error occure after I close the base. If I keep it open, there is not error. The code for one field : --------------------------------------------------------------------- Valentina = new (Xtra("Valentina")) Valentina.Init(200 * 1024, "", "") gDb = new (Xtra "VDatabase", #kLocal) gDb.open("My Path\Name of my db.vdb") -- To add records to the table we need build a cursor using SQL query. query = "select * from Resultats WHERE false" -- This is the new way to build a cursor gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) tblRes = gDb.table("Resultats") vTDBNom = tblRes.field("TDBName") RecID = tblRes.addRecord() tblRes.flush() -- close gCursor = void gDb.close() gDb = void if objectP(Valentina) then -- When we finish work with Valentina engine we should shutdown it. Valentina.shutDown() end if ----------------------------------------- thanks to help a so newbie. Sylvain -- Ce message a ?t? v?rifi? par MailScanner pour des polluriels (SPAM) et rien de suspect n'a ?t? trouv?. From sylvain.perque at ac-reims.fr Fri Jun 30 16:46:10 2006 From: sylvain.perque at ac-reims.fr (Sylvain Perque) Date: Fri Jun 30 09:46:23 2006 Subject: add a record References: <004a01c69c4f$cec62780$9d64a8c0@SCEREN.RMS> Message-ID: <005a01c69c53$eee9dbc0$9d64a8c0@SCEREN.RMS> Missed 1 line. > Hi, > I can't find what i do wrong. A error occure after I close the base. > If I keep it open, there is not error. > The code for one field : > --------------------------------------------------------------------- > Valentina = new (Xtra("Valentina")) > Valentina.Init(200 * 1024, "", "") > gDb = new (Xtra "VDatabase", #kLocal) > gDb.open("My Path\Name of my db.vdb") > -- To add records to the table we need build a cursor using SQL query. > query = "select * from Resultats WHERE false" > -- This is the new way to build a cursor > gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) > tblRes = gDb.table("Resultats") > vTDBNom = tblRes.field("TDBName") vTDBNom.value = "My Name" > RecID = tblRes.addRecord() > tblRes.flush() > > -- close > gCursor = void > gDb.close() > gDb = void > if objectP(Valentina) then > -- When we finish work with Valentina engine we should shutdown it. > Valentina.shutDown() > end if > ----------------------------------------- > thanks to help a so newbie. > > Sylvain > > -- > Ce message a ?t? v?rifi? par MailScanner > pour des polluriels (SPAM) et rien de > suspect n'a ?t? trouv?. > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > -- Ce message a ?t? v?rifi? par MailScanner pour des polluriels (SPAM) et rien de suspect n'a ?t? trouv?. From sylvain.perque at ac-reims.fr Fri Jun 30 18:09:58 2006 From: sylvain.perque at ac-reims.fr (Sylvain Perque) Date: Fri Jun 30 11:10:12 2006 Subject: add a record References: <004a01c69c4f$cec62780$9d64a8c0@SCEREN.RMS> <005a01c69c53$eee9dbc0$9d64a8c0@SCEREN.RMS> Message-ID: <006901c69c5f$a62e34b0$9d64a8c0@SCEREN.RMS> Well, in fact, if I close the database in the next picture of the timeline in director, there is no error. Director seem to need time to add record before close database. It is a tiny database. Missed 1 line. > Hi, > I can't find what i do wrong. A error occure after I close the base. > If I keep it open, there is not error. > The code for one field : > --------------------------------------------------------------------- > Valentina = new (Xtra("Valentina")) > Valentina.Init(200 * 1024, "", "") > gDb = new (Xtra "VDatabase", #kLocal) > gDb.open("My Path\Name of my db.vdb") > -- To add records to the table we need build a cursor using SQL query. > query = "select * from Resultats WHERE false" > -- This is the new way to build a cursor > gCursor = gDb.sqlSelect(query, #kServer, #kReadWrite, #kRandom) > tblRes = gDb.table("Resultats") > vTDBNom = tblRes.field("TDBName") vTDBNom.value = "My Name" > RecID = tblRes.addRecord() > tblRes.flush() > > -- close > gCursor = void > gDb.close() > gDb = void > if objectP(Valentina) then > -- When we finish work with Valentina engine we should shutdown it. > Valentina.shutDown() > end if > ----------------------------------------- > thanks to help a so newbie. > > Sylvain > > -- > Ce message a ?t? v?rifi? par MailScanner > pour des polluriels (SPAM) et rien de > suspect n'a ?t? trouv?. > > _______________________________________________ > Valentina mailing list > Valentina@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina > -- Ce message a ?t? v?rifi? par MailScanner pour des polluriels (SPAM) et rien de suspect n'a ?t? trouv?. _______________________________________________ Valentina mailing list Valentina@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina -- Ce message a ?t? v?rifi? par MailScanner pour des polluriels (SPAM) et rien de suspect n'a ?t? trouv?. From mjew at icnc.com Fri Jun 30 11:52:31 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 30 13:52:42 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? In-Reply-To: References: Message-ID: <50912F3C-96A9-4DE3-BE9E-96D36626052F@icnc.com> On Jun 30, 2006, at 1:29 AM, Ruslan Zasukhin wrote: > On 6/30/06 10:53 AM, "Matthew Jew" wrote: > >> >> On Jun 30, 2006, at 12:05 AM, Ruslan Zasukhin wrote: >> >>> On 6/30/06 8:24 AM, "Matthew Jew" wrote: >>> >>> Hi Matthew, >>> >>>> I have been able to set DateTime fields like this: >>>> >>>> I_ValueDateTime_Ptr pvdt = fbl_dynamic_cast >>>> ( aAuthFailureLogTable.loginDateTime->get_Value(forAdd) ); >>>> pvdt->put_DateTime( aDateTimeRec->year, aDateTimeRec->month, >>>> aDateTimeRec->day, aDateTimeRec->hour, aDateTimeRec->minute, >>>> aDateTimeRec->second, 0 ); >>>> >>>> but when I try to do the equivalent thing for Date fields and Time >>>> fields, it doesn't even compile: >>>> >>>> I_ValueDate_Ptr pvd = fbl_dynamic_cast >>>> ( anArticleTable- >>>>> date->get_Value(forAdd) ); >>>> pvd->put_Date( aDateTimeRec.year, aDateTimeRec.month, >>>> aDateTimeRec.day ); >>>> I_ValueTime_Ptr pvt = fbl_dynamic_cast >>>> ( anArticleTable- >>>>> time->get_Value(forAdd) ); >>>> pvt->put_Time( aDateTimeRec.hour, aDateTimeRec.minute, >>>> aDateTimeRec.second, 0 ); >>>> >>>> >>>> /Volumes/Alpha2/Dev-NuPV/PVReplicator2/../Common-Classes/ >>>> Valentina2pv/ >>>> ArticleDBManager2.mm:230: error: 'I_ValueDate_Ptr' was not declared >>>> in this scope >>> >>> Strange...sounds like you you no included header FBL_I_ValueDate.h >>> >>> Here in this header you can see: >>> >>> SMART_INTERFACE(I_ValueDate); >>> >>> Which defines this I_ValueDate_Ptr >>> >>> >>> Although this header should be included via VSDK.h, which you use, >>> right ? >>> You should use ONLY and ONLY >>> >>> >>> >> >> Yes, I use VSDK.h >> >> Sometimes, when it seems a definition or specific header is missing, >> I will include it specifically. >> >> Should I include FBL_I_ValueDate.h? >> And also FBL_I_ValueTime.h? >> >> And is the way I am trying to do it correct? (Except for the missing >> definitions?) > > So, > > VSDK2.h has > > #include > > -------------- > And FBL_Interfaces.h has > > #include > #include > #include > > > All looks correctly. Make sure you use VSDK2.h but not VSDK.h > > > > I see that some of my problem is because I am converting a project from VSDK version 1 to VSDK version 2. So some files use VSDK.h and some use VSDK2.h, which causes many re- definition complaints from the compiler. I would like to switch all to using VSDK2.h, but how do I access classes from VSDK version 1, such as FBL_ArraySet definitions, if I just include VSDK2.h? It seems that if I entirely remove the import of VSDK.h and just import VSDK2.h, then the class FBL_ArraySet is undefined. - Matthew From mjew at icnc.com Fri Jun 30 14:29:15 2006 From: mjew at icnc.com (Matthew Jew) Date: Fri Jun 30 16:29:26 2006 Subject: Success using I_ValueDateTime_Ptr; but how to use I_ValueDate_Ptr and I_ValueTime_Ptr? In-Reply-To: References: Message-ID: <41DF1ECF-E029-4D4F-8768-D19D54DCFDD1@icnc.com> On Jun 30, 2006, at 2:08 PM, Ruslan Zasukhin wrote: > On 6/30/06 9:52 PM, "Matthew Jew" wrote: > >> I see that some of my problem is because I am converting a project >> from VSDK version 1 >> to VSDK version 2. >> >> So some files use VSDK.h and some use VSDK2.h, which causes many re- >> definition complaints from >> the compiler. >> >> I would like to switch all to using VSDK2.h, but how do I access >> classes from VSDK version 1, >> such as FBL_ArraySet definitions, if I just include VSDK2.h? >> >> It seems that if I entirely remove the import of VSDK.h and just >> import VSDK2.h, then >> the class FBL_ArraySet is undefined. > > Of course.... > > Hmm, we have never consider ability to mix both sets of headers. > > Why you do this ??????? > > You should use ONLY v2 headers and classes!! > > To convert v1 db to v2 exists db.Convert_1_2() method > It isn't the v1 database methods that I want to use; it is the utility classes FBL_BitSet and FBL_ArraySet that I use from v1. Those classes are useful even if you do not use any databases at all. I assume I should rewrite my use of FBL_ArraySet to use FBL::ArraySet instead? - Matthew