<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>JnJ Software</title>
	<atom:link href="http://jnjsoftware.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jnjsoftware.com</link>
	<description>Delphi Productivity Software</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jnjsoftware.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/84a6e1c671c46c160a0582c0e59442e7?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>JnJ Software</title>
		<link>http://jnjsoftware.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jnjsoftware.com/osd.xml" title="JnJ Software" />
	<atom:link rel='hub' href='http://jnjsoftware.com/?pushpress=hub'/>
		<item>
		<title>64-bit Windows OS returning invalid Registered Owner/Company Name</title>
		<link>http://jnjsoftware.com/2011/10/27/microsoft2603229/</link>
		<comments>http://jnjsoftware.com/2011/10/27/microsoft2603229/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 15:49:43 +0000</pubDate>
		<dc:creator>John C.</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[KB2603229]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://jnjsoftware.wordpress.com/?p=68</guid>
		<description><![CDATA[http://support.microsoft.com/kb/2603229 Released on October 25, 2011. Let it not be said that Microsoft can&#8217;t screw up royally. In my opinion, this was a major bug. In short, this bug causes any 32-bit applications running on a 64-bit OS that queries the OS for the current Registered Owner and Registered Company Name to be returned invalid data. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=68&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://support.microsoft.com/kb/2603229">http://support.microsoft.com/kb/2603229</a> Released on October 25, 2011.</p>
<p>Let it not be said that Microsoft can&#8217;t screw up royally. In my opinion, this was a major bug.</p>
<p>In short, this bug causes any 32-bit applications running on a 64-bit OS that queries the OS for the current Registered Owner and Registered Company Name to be returned invalid data. A 64-bit application would get the correct values.</p>
<p>I am unsure whether this affects just queries made to the registry itself (which I personally verified as incorrect) or whether the API calls to return the same information return those same invalid values.</p>
<p>In either case, if your a developer using this information to form a licensing hash for tying a software license to a machine expect people to start showing up unregistered, which is exactly what happened to us.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jnjsoftware.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jnjsoftware.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jnjsoftware.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jnjsoftware.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jnjsoftware.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jnjsoftware.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jnjsoftware.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jnjsoftware.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jnjsoftware.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jnjsoftware.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jnjsoftware.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jnjsoftware.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jnjsoftware.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jnjsoftware.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=68&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jnjsoftware.com/2011/10/27/microsoft2603229/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfcf1fb74e103122970f5774c80ca8bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">macarser</media:title>
		</media:content>
	</item>
		<item>
		<title>LeadTools 16.5 to 17 upgrade path for Delphi, Vector Library</title>
		<link>http://jnjsoftware.com/2010/12/23/leadtools-16-5-to-17-upgrade-path-for-delphi-vector-library/</link>
		<comments>http://jnjsoftware.com/2010/12/23/leadtools-16-5-to-17-upgrade-path-for-delphi-vector-library/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 17:34:47 +0000</pubDate>
		<dc:creator>John C.</dc:creator>
				<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.jnjsoftware.com/?p=60</guid>
		<description><![CDATA[The v17 upgrade path was not as quick as in prior upgrades, normally just an install, re-compile and distribution of new DLLs was all that was required but several changes were made in this version of the source code that requires changes to get it to work.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=60&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The v17 upgrade path was not as quick as in prior upgrades, normally just an install, re-compile and distribution of new DLLs was all that was required but several changes were made in this version of the source code that requires changes to get it to work, and I have not found any documentation on all the changes, the following are just the ones I was able to find in our use of the toolkit, which is probably not as involved as others, so sorry if your compiling issues are not resolved here.</p>
<p>1.	Uses statement changes</p>
<p>First and foremost, all the unit names have changed. In previous versions all you needed to include in your uses statements were 3 PAS files, Ltdlldef, Ltdlltyp and Ltdllunt. This is no longer the case, all the functions have been broken up into individual units. In my application alone this went up to 12 files (Ltlck, LTDLLUnt, Lterr, Lttyp, Ltfil, Ltfil_f, Ltkrn, Lvkrn, Lvkrn_f, Ltkrn_f, Ltimgclr_f, Ltdis_f). If you count the actual .PAS files in the Uses sub-folder of your LeadTools installation you will see it went from 4 up to 102, so substantial changes were made in the structure of the package. Not saying they weren’t needed, but some documentation would have been nice.</p>
<p>Thankfully Delphi still comes with ol’ faithful GREP, so this will be helpful in finding the files you need to include.</p>
<p>2.	VECTORPOLYLINE and VECTORPOLYGON have gone missing</p>
<p>For those enumerating through a vector files objects, you may have seen these types come up a time or two. They correspond to the Object type constants VECTOR_POLYLINE and VECTOR_POLYGON. These two structures have been renamed to VECTORCURVEOPENED (the old VECTORPOLYLINE) and VECTORCURVEOPENED (the old VECTORPOLYGON). The type constants have remained the same names however, which added to some confusion on my part initially.</p>
<p>3.	VECTORxxx structure _Object field renamed to uObject</p>
<p>Also for those who enumerated through objects, you were used to the _Object variable contained within each vector structure that corresponded to the basic entity data. This field has been renamed to a less clunky uObject.</p>
<p>4.	VECTORPEN changes</p>
<p>The VECTORPEN structure used to have a Pen field that was a EXTLOGPEN type. This has been renamed to uPenUnion and is now a union structure containing both a LOGPEN and EXTLOGPEN. Basically, when your old call to the color of the Pen would have been VECTORLINE.Pen.Pen.elpColor for instance, it is now VECTORLINE.Pen.uPenUnion.uExtLogPen.elpColor.</p>
<p>5.	Vector Library unlock code</p>
<p>Although I was given a brand new v17 unlock code string to pass to L_UnlockSupport, I received -400 (ERROR_VECTOR_NOT_ENABLED) when making any vector calls. I had to use my 16.5 unlock code string to enable vector functionality on my development machine. I also have both 16.5 and 17 versions of LeadTools installed on this machine. However when the new exe was distributed, it did not work on that machine, I had to put back the v17 unlock code string, making it no longer work on my machine. I’m most likely going to have to rename the directory the v16.5 DLLs are in to make it work on my machine simultaneously as the clients machine.</p>
<p>I hope this list helps some of you get up and running as quickly as possible in v17!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jnjsoftware.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jnjsoftware.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jnjsoftware.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jnjsoftware.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jnjsoftware.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jnjsoftware.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jnjsoftware.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jnjsoftware.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jnjsoftware.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jnjsoftware.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jnjsoftware.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jnjsoftware.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jnjsoftware.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jnjsoftware.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=60&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jnjsoftware.com/2010/12/23/leadtools-16-5-to-17-upgrade-path-for-delphi-vector-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfcf1fb74e103122970f5774c80ca8bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">macarser</media:title>
		</media:content>
	</item>
		<item>
		<title>Enforced Z-order?</title>
		<link>http://jnjsoftware.com/2010/11/14/enforced-z-order/</link>
		<comments>http://jnjsoftware.com/2010/11/14/enforced-z-order/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 16:52:35 +0000</pubDate>
		<dc:creator>John C.</dc:creator>
				<category><![CDATA[Component]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Product]]></category>
		<category><![CDATA[autocad]]></category>
		<category><![CDATA[draworder]]></category>
		<category><![CDATA[draworderctl]]></category>
		<category><![CDATA[dwg]]></category>
		<category><![CDATA[imaging]]></category>
		<category><![CDATA[layer]]></category>
		<category><![CDATA[leadtools]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[lt]]></category>
		<category><![CDATA[pro]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://www.jnjsoftware.com/?p=53</guid>
		<description><![CDATA[I admit I have been confused by the recent discovery that in some AutoDesk DWG files, there is an enforced z-order for drawing and in others there is not. I have not fully been able to track down the cause for this, whether it is the system variable DRAWORDERCTL or object variable DRAWORDER. I also [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=53&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I admit I have been confused by the recent discovery that in some AutoDesk DWG files, there is an enforced z-order for drawing and in others there is not.</p>
<p>I have not fully been able to track down the cause for this, whether it is the system variable DRAWORDERCTL or object variable DRAWORDER.  I also did not see in AutoCAD LT a way to reset an objects DRAWORDER, if that can even be done.</p>
<p>Personally I don&#8217;t care about the draw order as we bring across the objects into our own format and we don&#8217;t draw things in an enforced order anyway, we have a particular way in which we handle draw order.</p>
<p>However when using LeadTools&#8217; L_VecPaint() to draw, the draw order is important.  Apparently, AutoCAD draw everything in a particular object order, irregardless of layer, with the only way to change this order is the use of BringToFront, SendToBack, etc.  LeadTools however draws in layer order, drawing all the objects on a particular layer before moving onto the next layer.</p>
<p>This causes an issue when trying to faithfully reproduce a sketch as it would have been drawn in AutoCAD, as it might not draw the objects in proper order.  To &#8220;fix&#8221; this, they, instead of keeping the layer property&#8217;s as they are in the file, they modify them and force all objects onto the &#8217;0&#8242; layer, this way object order is preserved, if not the data.</p>
<p>To me the data would be more important, however I guess it&#8217;s just me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jnjsoftware.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jnjsoftware.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jnjsoftware.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jnjsoftware.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jnjsoftware.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jnjsoftware.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jnjsoftware.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jnjsoftware.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jnjsoftware.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jnjsoftware.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jnjsoftware.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jnjsoftware.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jnjsoftware.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jnjsoftware.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=53&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jnjsoftware.com/2010/11/14/enforced-z-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfcf1fb74e103122970f5774c80ca8bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">macarser</media:title>
		</media:content>
	</item>
		<item>
		<title>LeadTools vector to grayscale conversion</title>
		<link>http://jnjsoftware.com/2010/10/18/leadtools-vector-to-grayscale-conversion/</link>
		<comments>http://jnjsoftware.com/2010/10/18/leadtools-vector-to-grayscale-conversion/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 16:42:02 +0000</pubDate>
		<dc:creator>John C.</dc:creator>
				<category><![CDATA[Component]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Product]]></category>
		<category><![CDATA[delphi]]></category>
		<category><![CDATA[greyscale]]></category>
		<category><![CDATA[imaging]]></category>
		<category><![CDATA[leadtools]]></category>
		<category><![CDATA[monochrome]]></category>
		<category><![CDATA[pro]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vectorhandle]]></category>

		<guid isPermaLink="false">http://www.jnjsoftware.com/?p=17</guid>
		<description><![CDATA[I had the need to display a LeadTools VECTORHANDLE in grayscale (or even monochrome) over displaying everything in their natural colors.  LeadTools doesn't currently support drawing in monochrome or grayscale, so I had to write code to do it myself.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=17&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had the need to display a LeadTools VECTORHANDLE in grayscale (or even monochrome) over displaying everything in their natural colors. This is normally based on the need that some viewers have a black background and some white, and you can imagine that black on black or white on white lines are hard to see.</p>
<p>LeadTools doesn&#8217;t currently support drawing in monochrome or grayscale, so I had to write code to do it myself.</p>
<p>I do this by copying the VECTORHANDLE to another one (L_VecCopy), then converting that one to grayscale. I only have need for groups, polylines, polygons, lines, arcs, circles and text in my drawings, but the other supported types can be added easily enough.</p>
<p>Pass your VECTORHANDLE to the function GrayScaleVectorFile() and you are done.  You will need to modify it if you intend to pass a custom pUserData.</p>
<p><pre class="brush: delphi;">
function GrayScaleColor (InColor : Integer) : Integer;
// a color to greyscale algorithm I found online
var
  GrayShade, Red, Green, Blue : Byte;
  PixelColor : Integer;
begin
  PixelColor := ColorToRGB (InColor);
  Red        := PixelColor;
  Green      := PixelColor shr 8;
  Blue       := PixelColor shr 16;
  Grayshade  := Round(0.3 * Red + 0.6 * Green + 0.1 * Blue);
  Result     := RGB(Grayshade, Grayshade, Grayshade);
end; { GrayScaleColor }

function ProcessVectorGrayScale (pVector : pVECTORHANDLE; pObject : pVECTOROBJECT; pUserData : Pointer) : Integer; far; stdcall;
var
  vp : VECTORPOLYLINE;
  Vo : VECTORPOLYGON;
  Vl : VECTORLINE;
  Va : VECTORARC;
  Vc : VECTORCIRCLE;
  Vt : VECTORTEXT;
  Vclone : VECTORCLONE;
begin
  with PAxSketchData(pUserData)^.CurFile, CurPage do begin
    case pObject.nType of
      VECTOR_CLONE : begin
        L_VecGetObject (pVector, pObject, pObject.nType, @Vclone);
        Vclone.Pen.Pen.elpColor := GrayScaleColor (Vclone.Pen.Pen.elpColor);
        L_VecSetObject (pVector, pObject, pObject.nType, @Vclone);
        end; { VECTOR_CLONE }
      VECTOR_POLYLINE : begin
        L_VecGetObject (pVector, pObject, pObject.nType, @Vp);
        Vp.Pen.Pen.elpColor := GrayScaleColor (Vp.Pen.Pen.elpColor);
        L_VecSetObject (pVector, pObject, pObject.nType, @Vp);
        end; { VECTOR_POLYLINE }
      VECTOR_POLYGON : begin
        L_VecGetObject (pVector, pObject, pObject.nType, @Vo);
        Vo.Pen.Pen.elpColor := GrayScaleColor (Vo.Pen.Pen.elpColor);
        L_VecSetObject (pVector, pObject, pObject.nType, @Vo);
        end; { VECTOR_POLYGON }
      VECTOR_LINE : begin
        L_VecGetObject (pVector, pObject, pObject.nType, @Vl);
        Vl.Pen.Pen.elpColor := GrayScaleColor (Vl.Pen.Pen.elpColor);
        L_VecSetObject (pVector, pObject, pObject.nType, @Vl);
        end; { VECTOR_LINE }
      VECTOR_ARC : begin
        L_VecGetObject (pVector, pObject, pObject.nType, @Va);
        Va.Pen.Pen.elpColor := GrayScaleColor (Va.Pen.Pen.elpColor);
        L_VecSetObject (pVector, pObject, pObject.nType, @Va);
        end; { VECTOR_ARC }
      VECTOR_CIRCLE : begin
        L_VecGetObject (pVector, pObject, pObject.nType, @Vc);
        Vc.Pen.Pen.elpColor := GrayScaleColor (Vc.Pen.Pen.elpColor);
        L_VecSetObject (pVector, pObject, pObject.nType, @Vc);
        end; { VECTOR_CIRCLE }
      VECTOR_TEXT : begin
        L_VecGetObject (pVector, pObject, pObject.nType, @Vt);
        Vt.Pen.Pen.elpColor := GrayScaleColor (Vt.Pen.Pen.elpColor);
        L_VecSetObject (pVector, pObject, pObject.nType, @Vt);
        end;{ VECTOR_TEXT }
    end; { case }
    end; { with }

  Result := SUCCESS;
end; { ProcessVectorGrayScale }

function ProcessVectorObjectsInGroupGrayScale (pVector : pVECTORHANDLE; pObject : pVECTOROBJECT; pUserData : Pointer) : Integer; far; stdcall;
begin
  Result := ProcessVectorGrayScale (pVector, pObject, pUserData);
end; { ProcessVectorObjectsInGroupGrayScale }

function ProcessVectorGroupsGrayScale (pVector : pVECTORHANDLE; pGroup : pVECTORGROUP; pUserData : Pointer) : Integer; far; stdcall;
var
  Grp : VECTORGROUPDESC;
begin
  FillChar (Grp, SizeOf(VECTORGROUPDESC), #0);
  if L_VecGetGroup (pVector, pGroup, @Grp) = SUCCESS then
    L_VecEnumObjectsInGroup (pVector, pGroup, @ProcessVectorObjectsInGroupGrayScale, nil, 0);

  Result := SUCCESS;
end; { ProcessVectorGroupsGrayScale }

procedure GrayScaleVectorFile (pVector : pVECTORHANDLE);
begin
  L_VecEnumObjects (pVector, @ProcessVectorGrayScale, nil, 0);
  L_VecEnumGroups (pVector, @ProcessVectorGroupsGrayScale, nil);
end; { GrayScaleVectorFile }
</pre> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jnjsoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jnjsoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jnjsoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jnjsoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jnjsoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jnjsoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jnjsoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jnjsoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jnjsoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jnjsoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jnjsoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jnjsoftware.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jnjsoftware.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jnjsoftware.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jnjsoftware.com&amp;blog=28273073&amp;post=17&amp;subd=jnjsoftware&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jnjsoftware.com/2010/10/18/leadtools-vector-to-grayscale-conversion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfcf1fb74e103122970f5774c80ca8bc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">macarser</media:title>
		</media:content>
	</item>
	</channel>
</rss>
