Re: Importing MFC resources

Tech-Archive recommends: Speed Up your PC by fixing your registry



Strings are stored 16 strings to a block, so the way a block is computed
is to take the
index / 16, then find elements in the block based on the index % 16.
Exactly.
Which means that in fact you spend less than 16 bits per string.
Imagine having a string Id for each string.

This might not be relevant these days, but at the time when it was
designed was important.

The speed/size limitations are not that important now, but I
still don't see any major advantage with using a string ID.


--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
.



Relevant Pages

  • Re: evenly distributed subset of points on a sphere
    ... I would imagine that you'd just take every 6th point in the Z ... or less randomly distributed around the surface of the globe. ... Now spiral that string around the globe such that it ... beads on the surface of the globe. ...
    (comp.soft-sys.matlab)
  • Re: evenly distributed subset of points on a sphere
    ... I would imagine that you'd just take every 6th point in the Z ... or less randomly distributed around the surface of the globe. ... Now spiral that string around the globe such that it ... beads on the surface of the globe. ...
    (comp.soft-sys.matlab)
  • Re: DBNull.Value Question
    ... You shouldn't need to use IsNull in your SQL and the unit Is DbNull.Value ... I'm not sure why it isn't working...though I imagine it has to ... > Protected Function ImageAs String ... > My Question is would i need to use ISNULL in my SQL statement? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Inserting an Object into a Field
    ... I don't have Access here to check, & I'm no expert on MS Graph. ... imagine you would need to find a property of the Graph object which exposed ... >> The CStr function requires a String or String type data to work. ... And Microsoft's GREAT FRIGGIN ...
    (microsoft.public.access.modulesdaovba)
  • Re: Yet more on Unicode VCL...
    ... extend the string beyond things that CG might imagine *without* messing ... Given the amount of compiler support that underpins String, ... the LAST thing you want to be doing is extending String in ways that the ...
    (borland.public.delphi.non-technical)