Re: Sending data to windows

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"2b|!2b==?" <user@xxxxxxxxxxxxxx> wrote in message
news:18qdnc-CCpgEmhzanZ2dnUVZ8uWdnZ2d@xxxxxxxxx
Steve Gerrard wrote:

Since as you point out, you have to specify the size of the data being
passed,
you could also arrange things so that each type of data you are sending
is a
different size, and then use the size itself as the type indicator.


Actually thats a good idea (and simple too) - thanks

It is is also common in Win32 programming where many Structs contain a
'size' element. This element is less important in VB than it is with
languages that can vary the pack size. But is important where 'size' is part
of the mechanics.

If this is two VB6 applications running on the same box, where you have
complete control of all the source - you might check out DDE. It is natively
supported, simple, quick to instrument, and provides built-in exception
handling.

-ralph


.



Relevant Pages

  • Re: parser
    ... be more general than just being 'Common Lisp'... ... lots of brittle glue code and crap to marshall between the respective ... So you have only used languages that require you to write FFI code by ... Market share is a useful measure if you want to make money. ...
    (comp.programming)
  • Re: 98.6% DNA and Evolutionary Logic
    ... Humans are related to *all living things on Earth, ... stretches of DNA, charting a nested hierarchy. ... Some people believe that all languages are related by common ...
    (talk.origins)
  • Re: Object Oriented PHP vs Java
    ... type/interface inheritence, which is about subtyping ... only useful for 'rigidly-typed' languages like Java and C++ - which BTW ... Encapsulation largely predates OO and is of common use in procedural ... Polymorphism is also independant of OO, ...
    (comp.lang.php)
  • Re: Dealing with name clashes in Forth
    ... structs), I would have to do this also: ... In OO languages these situations are handled by dynamic dispatches. ... Chuck Moore has a much smaller kernel (colorforth), ... and discards facilities as he goes. ...
    (comp.lang.forth)
  • Re: Commonalities across synaesthetes
    ... particular uncommon colours? ... tend to pair with common colours. ... To be 'hard-wired' all languages would have to have the same ... of sparking over is systematically modified by environmental ...
    (uk.philosophy.humanism)