Search found 17 matches: segments

Return to advanced search

Re: Help splitting up a character address string

... can be refactored to demonstrate how Harbourino's preprocessor functionality might be applied. The main idea is to split complex functions or code segments into manageable modules. This example shows how to use include directives and placeholders to modularize the SplitAddress function: harbour ...
by Otto
Wed Nov 15, 2023 7:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help splitting up a character address string
Replies: 10
Views: 602

Re: Create or open a shared memory block

Dear Otto,

https://stackoverflow.com/questions/16739533/windows-shared-memory-segments

Ok, here we have the full explanation and a working example:
https://nullprogram.com/blog/2016/04/10/

Thinking how to port this into mod_harbour :-)
by Antonio Linares
Sun May 24, 2020 6:00 am
 
Forum: mod_harbour
Topic: Create or open a shared memory block
Replies: 8
Views: 1098

Re: How Create an Array from .CSV file ?

Hi Uwe , the .CSV file format will be similar as given below, it is simply invoice data. it has three segments 1) header 2) detail 3) footer. H,ABC CO.,08052019, INV00031D,10210,CROCIN TAB , 10, 30.00, 300, 10.00,10.00,320.00D,21205,AMLOX TAB  , 10, 20.00, 300, 10.00,10.00,220.00D,21535,CFLOX ...
by shri_fwh
Mon Aug 05, 2019 10:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How Create an Array from .CSV file ?
Replies: 8
Views: 1414

Re: Interfacing with Dicom sistems

... of them. I'll try to find that code. It's actually a very simple process for any given message type. You call HB_ATokens() to split the message segments on Chr(13). Then you split each segment into fields using HB_ATokens on "|". For some fields which can contain multiple values, or ...
by xProgrammer
Tue May 02, 2017 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interfacing with Dicom sistems
Replies: 41
Views: 11784

Re: Checkbox text disappears Harbour/MSVC

Enrico,

Its not the C compiler itself, but several modifications that MS does to the final EXE (segments organization, etc.)

I have seen that inspecting the EXEs with PEInfo and similar apps

https://bitbucket.org/fivetech/fivewin-contributions/downloads/peinfo.exe
by Antonio Linares
Sun Feb 22, 2015 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Checkbox text disappears Harbour/MSVC
Replies: 35
Views: 7312

Re: Migrating to Harbour

... issue with large apps? I assume the compiled code is run, then removed from memory? OK, but aren't large EXEs partially paged out of memory when segments are not being used? Is there some other capability that this technique provides that is better than using a single EXE? Or, is there some feature ...
by James Bott
Wed Dec 17, 2014 5:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrating to Harbour
Replies: 238
Views: 44818

Re: xHarbour vs Harbour

Ok, this is very interesting and may explain many things: The code segments holds the code (not data, just code) and see their sizes: in Harbour: 14CE0A in xHarbour: 10CB5E So that clear means that Harbour has more code into it than xHarbour. Lets compare ...
by Antonio Linares
Tue Dec 09, 2014 11:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour vs Harbour
Replies: 27
Views: 4490

Re: xHarbour vs Harbour

... /Rr Replace resources /S:xxxx Specifies application stack reserve size /Sc:xxxx Specifies application stack commit size /s Detailed map file of segments /Tpd Targets a Windows .DLL file /Tpe Targets a Windows .EXE file /Tpp Generate package /t Displays time spent on link /Ud.d Specifies user ...
by hmpaquito
Tue Dec 09, 2014 11:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour vs Harbour
Replies: 27
Views: 4490

Re: Interfacing with Dicom sistems

Hi Ivan The HL7 message that I have to generate is a REF message (a referral). You probably need a different message although some of the segments are probably common. I don't have the HL7 specification (you have to purchase it and it isn't cheap) but I do have sufficient information to generate ...
by xProgrammer
Tue Sep 20, 2011 9:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interfacing with Dicom sistems
Replies: 41
Views: 11784

Re: he conseguido un iphone

...  return nil     ------------------------------- editado para ampliar ------------------------------------ Ya funciona el preprocesado de segments ..... function Main()   local oWnd := TWindow():New()   local osegment      @ 77,50 SEGMENTED oSegment  ITEMS {"hola","Adios" ...
by mastintin
Mon Nov 22, 2010 10:30 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 130691

Re: Strange program behavior...

... in the background is it using CPU time? When you say "splitting the input file" did you mean splitting the output file into multiple segments? I do see these: #define NMAXLINELENGTH (4096 * 3) #define NSPLIT_LINES 25000 Perhaps it is doing what it is told? James
by James Bott
Thu Nov 05, 2009 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange program behavior...
Replies: 4
Views: 884

Re: Hand-drawing lines on a Google map

... draws an activeX control with a map, with specific coordinates and scale, places some "marks" with labels, draws a polyline with several segments, and places various buttons in the map, with different actions as to change the location of the map and the scale (without using the standard ...
by alvaro533
Fri Oct 16, 2009 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hand-drawing lines on a Google map
Replies: 9
Views: 2291

Slow reading on XP sp3 network drive

... reading and writing from a client to a network drive using this self-contained routine that create a file and then read it (first with small data segments and then with big data segments). The result is this: - using a Windows Vista client connected to a Windows Vista server all is correct (see ...
by Marco Turco
Wed Mar 25, 2009 7:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Slow reading on XP sp3 network drive
Replies: 2
Views: 1772

... ]General drawbacks: - It is not advisable to compress programs which usually have many instances running (like `sh' or `make') because the common segments of compressed programs won't be shared any longer between different processes. - `ldd' and `size' won't show anything useful because all they ...
by karinha
Fri Oct 19, 2007 11:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: proteger exe contra debuggers y cracks
Replies: 16
Views: 6719

Configurando build.bat

... Sin embargo una vez cambiados los paths de build.bat me presenta los siguientes mensajes de error: L1001: option name ambiguos ó L1049: too many segments. Cuál puede ser la causa? Qu{e parametros se deben enviar a build.bat? Gracias.
by Luis Florez
Tue Jan 02, 2007 10:37 pm
 
Forum: FiveWin para CA-Clipper
Topic: Como organizo el build.bat para compilar con link.exe
Replies: 2
Views: 890
Next

Return to advanced search