Faraz Demehri | 1 May 02:00 2006
Picon

Re: Creating XML Using DOM

> Is there any possiblity any of your content fields (person name
> fields) have markup characters that are triggering the escaping?

---------------------------------------------
>  David Adams
 > dpadams@...
 > Wallaga Lake 2546 NSW

Hi David,

I thought that would have had something to do with it , however it did not L even if just send the pure text
"hello", the same problem exists. So here is my modified getCustomerList (Web Method), followed by what
Soap Client receives in response:

C_TEXT($1)

SOAP DECLARATION(OutPutBlob_o;Is BLOB ;SOAP Output ;"CustromerList")

NameInPut_s:=$1

            C_STRING(16;$xml_root)

            C_STRING(16;$xml_node)

            $xml_root:=DOM Create XML Ref("Results")

            If (OK=1)

                        DOM SET XML OPTIONS($xml_root;"UTF-8")

(Continue reading)

Jim Hays | 1 May 02:57 2006
Picon

Re: AreaList and Windows system colors

Hi Armin,

I've found and changed the resources - so far, so good.

Do you know if there is a way to change them on the fly?  It seems to
me the plug-in resources are loaded when 4D starts up.  My attempts to
change them on the fly work sometimes, but not others.  I've run into
-192 or -193 errors (don't remember which), then, crashes.  I may not
be handling opening/closing of the ALP.rsr file properly though.

Any ideas?

Thanks,
Jim

On 4/30/06, Armin Deeg <deeg@...> wrote:
> the graphic is inside the pict ressource.
>
> Open the Mac version 4d ALP with ressourcerer or resedit  (or convert
> the win version with 4d transporter to get a mac editable version)
>
> to view the images. For our own internal use, I ┬┤ve created different
> images sets to adjust the highlight column header.
**********************************************************************
4th Dimension Internet Users Group (4D iNUG)
FAQ:    http://www.4d.com/support/faqnug.html
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************

(Continue reading)

Jim Hays | 1 May 03:09 2006
Picon

Re: how to handle individual formats/filters on multilanguage environments ?

For number formats in number fields and variables you need to match
the OS settings.  If you don't, it will change your entries. 
Obviously, for display only, you can convert to strings.

We use string resources to store the formats, and adjust them on
startup to match the current OS settings.  We changed our already
existing format/filter strings to point to those resources instead of
containing the literal formats.

For instance, set up your needed format templates like this:
"###t###t###t###t##0d00"

Translate (use Win32API plug-in on Windows) to the native OS format on
startup and apply to resource, say, 17001,1

Make your format strings you've already got point to those resources:

|Billions  ==>  :17001,1
|BillionsWithDecimals  ==> :17001,2

HTH,

Jim

On 4/30/06, Brad Perkins <bperkins@...> wrote:
> Armin,
>
> Will the SET FORMAT command work for you?
>
> I think you could also use string resources. Those should allow a
(Continue reading)

Kirk Brooks | 1 May 03:33 2006
Picon

Gedcom parsing

Has anyone written a method to parse Gedcom files? If so would you be
willing to share it?

I didn't imagine I'd wind up writing a genealogical app but this project
seems to be going in that direction and I'd like to avoid reinventing the
wheel if I can. Any input appreciated.

Thanks

Kirk Brooks
San Carlos, CA
**********************************************************************
4th Dimension Internet Users Group (4D iNUG)
FAQ:    http://www.4d.com/support/faqnug.html
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************

Aristedes Maniatis | 1 May 09:27 2006
Picon

TCP_Status broken on Mac with SSL

Today I spent some many hours trying to solve a problem in my code,  
only to find that a bug in 4D was to blame. I tracked down some  
reports of this bug:

http://bugs.4d.fr/4daction/waction_displaybug/ACI0027578/ <at>  <at>  <at> 
http://bugs.4d.fr/4daction/waction_displaybug/ACI0027625/ <at>  <at>  <at> 
http://bugs.4d.fr/4daction/waction_displaybug/ACI0031810/ <at>  <at>  <at> 

For anyone using TCP_Status, you should know that it is broken on Mac  
when using SSL. I have a series of questions for 4D and this list:

* does anyone have a workaround? I have a different set of problems  
with ITK (where it uses 100% of the CPU for up to 30 seconds) so I am  
trying to move away from it.

* is there any ETA on which version (if any) 4D may be putting the  
bug fix into? The bug has been open for three years now, so I am  
thinking that this may never be fixed. But with the slow demise of  
ITK, 4D programmers are in a tough spot without a reliable TCP/IP  
stack to use.

* has 4D changed its stance on making the bug database public and  
more easily searchable? Then I (and others doing the same thing)  
would only have spent 2 hours trying to solve this problem and not 6.

* has 4D changed its copyright stance on allowing a copy of its  
documentation to be made on another web site, along with php.net  
style programmers notes? In this case I could easily document this  
known limitation of the TCP_status command and save others the same  
work next time. I have offered to put this site together and host it,  
(Continue reading)

Mikey | 1 May 15:59 2006
Picon

Re: [OFF] Need US Weather Web Service

RJ,

I just saw on DIGG that NWS is putting out data in RSS: 
http://www.nws.noaa.gov/alerts/

--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
**********************************************************************
4th Dimension Internet Users Group (4D iNUG)
FAQ:    http://www.4d.com/support/faqnug.html
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************

David Witton | 1 May 16:15 2006

Re: TCP_Status broken on Mac with SSL

>
>
>* does anyone have a workaround? I have a different set of problems 
>with ITK (where it uses 100% of the CPU for up to 30 seconds) so I 
>am trying to move away from it.

Ari

I'm also attempting to move away from ITK, but I solved the CPU usage 
problem a while ago - I tracked it down to the way I was using 
ITK_TCPRcv. I can share the details if you are interested.

In researching a move to 4D IC, I discovered a problem with 
TCP_Listen that I shared on the list a few weeks ago. Jeff Kain 
mentioned another issue that caused TCP_Listen to hog the CPU in 
versions earlier than 2004.4. I haven't been able to test further.
--

-- 

================================================================
David Witton
Director - Information Systems
St. John's Medical Center
Jackson Hole, Wyoming
307-739-7383
================================================================
**********************************************************************
4th Dimension Internet Users Group (4D iNUG)
FAQ:    http://www.4d.com/support/faqnug.html
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************
(Continue reading)

Terry Lee | 1 May 16:56 2006
Picon

Re: "Visual C++ Runtime Library" error

Thank you Mehboob for the link.

Terry

On 4/27/06, Mehboob Alam <media4d@...> wrote:
>
> Terry,
>
> 4Dmsg.dll is a bit elusive, it took me a while to get
> it when I was looking. It's bundled with the "Log
> Event" demo database
>
> <ftp://ftp.4d.com/SAMPLE_DATABASES/4D/68_Samples/Windows/LogEvent.exe>
>
>
> --- Terry Lee <terrystephenlee@...> wrote:
>
> > Jeffrey will the "4Dmsg.dll" work with XP? If so
> > where can I get a copy?
>
>
> sincerely,
> m|a
>
>
>
> "The only reason some people get lost in thought is
> because it's unfamiliar territory." -- Paul Fix
> **********************************************************************
> 4th Dimension Internet Users Group (4D iNUG)
(Continue reading)

Randy or Sherry Guttery | 1 May 17:36 2006
Picon

Re: Gedcom parsing

Kirk Brooks wrote:

Has anyone written a method to parse Gedcom files? If so would you be
willing to share it?

Sorta - It was a long time ago - my needs were limited - so the code is 
incomplete and crude.  At the time - PAF was it - and it's printing 
capabilities were (at the time) near useless. So I threw together some 
quick routine to do what I needed.

If you can't find anything else (almost anything has to be better!) let 
me know and I'll give you what I have.

best regards...
--

-- 
randy guttery

A Tender Tale - a page dedicated to those Ships and Crews
so vital to the United States Silent Service:
http://tendertale.com
**********************************************************************
4th Dimension Internet Users Group (4D iNUG)
FAQ:    http://www.4d.com/support/faqnug.html
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************

Aristedes Maniatis | 1 May 17:57 2006
Picon

Re: TCP_Status broken on Mac with SSL


On 02/05/2006, at 12:15 AM, David Witton wrote:

> Ari
>
> I'm also attempting to move away from ITK, but I solved the CPU  
> usage problem a while ago - I tracked it down to the way I was  
> using ITK_TCPRcv. I can share the details if you are interested.

Yes please! My code is pretty simple, but results in 20-30 second  
freezes of 4D Server and all clients. The code runs in a separate  
process on 4D Server.

As you can see, I do the recommended thing, looping around ITK_TCPRcv  
until the status changes. Do you have a different approach?

$streamRef:=ITK_TCPOpen ($HostName;443;0;1024;0;0)  ` open a stream  
to HTTP server

$Proceed:=False
If ($streamRef=0)
	$ResultCode:=-101
	LOG_ADD ("101 eSec running, will fail - Could not open  
connection";log_LowLevel ;True)
Else
	$status:=ITK_TCPWaitConn ($streamRef;8;30)  ` wait for the stream to  
be established but not longer than 30 seconds
	If ($status#8)
		$ResultCode:=-102
		LOG_ADD ("102 eSec running, will fail - Remote server connection  
(Continue reading)


Gmane