Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

MattCrozier

About

Username
MattCrozier
Joined
Visits
1,730
Last Active
Roles
Member

Comments

  • Good stuff, Don. You anticipated my thinking well ;). Looking forward to seeing what pans out. Cheers, M@
  • Are you going to be maintaining both 64-bit and 32-bit versions of the SRP controls, going forward?
  • Cool - no rush. So are the SRP controls for OI X going to be 64-bit themselves? If so I presume they would be registered differently and independant of the 32-bit SRP controls?
  • Aargh - trust me to have some code that uses the Basic+precision comparison operators! How easy is it to include _EQX, _NEX, _LTX, _GTX, _LEX, _GEX ? ;) Cheers, M@
  • The Revelation forums appear to be using https:// now, so you may need to change your bookmarks.
  • Thanks Don - SRP_Path() does the trick without issue. Very curious, I wonder what the difference is. Cheers, M@
  • Nice - thanks! Cheers, M@
  • Sorry, yes I was on the wrong page - talking just about the response header. For the request, I hadn't considered examining the Content-Type header for a charset=utf-8. I decode for any UTF-8 characters in the query strings regardless. Maybe I …
  • Hi Don, Just playing safe, really, as I don't know who/what our API will be serving to, and following W3.org's advise. I know there are some clients that don't render the response correctly without the charset=utf-8 header (eg Chrome - although an…
  • So far I've just been working with UTF-8 data for the HTTP responses. This works well with the HTTP Framework running mainly in ANSI mode (setting UTF8 mode only where required), and with a charset=utf-8 Content-Type header. Just to update this thr…
  • "cars":[] would be parsed as an Array with zero members. You could code this as a special case to null out the whole AMV, or MV. So the above code could be extended to something like Begin Case Case JSONType _EQC 'Array' // Count th…
  • The null array would at least indicate that this is multi valued - either an MV of values or an AMV of rows. It seems this would rely on you being able to identify 'cars' as an AMV and knowing up front all the fields in the AMV group - (ie not neces…
  • HI Don - Adding charset=utf-8 to the Content-Type header would be the only other requirement we have - that affects HTTP_SERVICES and HTTP_RESOURCE_SERVICES. The HTTP Framework itself doesn't need to be run in UTF-8 mode, so one alternative to turn…
  • Yes, we have implemented our web service as UTF-8. It calls many supporting routines from the OI application which is set to run in UTF-8 mode, thus those routines assume UTF-8 unless otherwise stated. Likewise, we've to patched HTTP_MCP to turn o…
  • always make sure that the Content-Type request header has an appropriate value (e.g., application/json or text/plain) I'm not sure if this helps here, but I've found that we need to set 'charset=utf-8' in the Content-Type response header for our s…
  • Hi Don - gosh no, I didn't realize that! Probably because I've been working off simple examples rather than going back to the docs ;). I think this would go a long way in most situations. For my case, I need to do something like GETVALUE 'menu.i…
  • Well, I have some good news! Thanks to your mention of GDI stuff, I just tried resetting the ResizeUsingGDIPlus property on the control to zero and now these images display :). Cheers, M@
  • Oh no, I can just see Don rolling his eyes - those dang-fangled stopwatch names! Great job on finding that culprit though! :)
  • Mark - I'm curious you are using OR (;) overrides in your search criteria for values in the same index. Is there any reason why you don't just list the customer values in the one index search on CUSTOMER? CUSTOMER²EBL²EBL-PERM²EBL-KNOWLES15²EBL-KN…
  • Interesting thought, Barry! We've deployed ImageMagick v7.0.1, but aren't using magick.exe . Looks like they've consolidated the command line tools into one (a la SRP_Array ;). Cheers, M@
  • Hi Kevin, It's happening on multiple workstations, but only at this site - that's the puzzling thing! Also that it's not clear exactly where this crash is happening. I need to think up some isolation tests. Eg, batch calls to ImageMagick outside …
  • Resizing with convert.exe's -thumbnail -auto-orient -background white -flatten options, and converting to BMPs. I would have thought that with each call being a separate Windows process (conhost.exe), Windows would be tidying up nicely after each …
  • Hi Mark, There are about 20 sites (about 70 desktops) currently running the latest version of our software, all using ImageMagick the same way. Only one site getting this problem though. I had a look at Imgman but had some problems with it. Ima…
  • Nice! I've tried both of these plus various other scenarios and all is good. This streamlines quick one-off benchmarks just a tad ;) Thanks Don!
  • Ha - who'd've thought! ;). Can I be really lazy and ask that I'm just timing one block of code, that the stopwatch name be optional (perhaps defaulted internally) ? ;)
  • Hmm, I seem to be getting a VNAV crash on the ShowAll service, line 253. This is with SRP Utilities versions 1.5.7 and 1.5.8. My test is very simple: call srp_stopwatch('Reset') call srp_stopwatch('Start','t') call delay( 4) call srp_stopwatch(…
  • Or perhaps another key word in the precompiler? Something like For Each NonNull Value in Field setting I // Do stuff with Value Next Value
  • There have been cases in the past where we have had to provide customers with a replacement oengine.dll . We would tell them to first rename oengine.dll to something else before copying in the new file. Unfortunately some of them renamed oengine.e…