> I use the Synapse TCP toolkit.  I recently updated to 2.0.2 (can't get a
> full working 2.0.3 in Windows yet for some reason) and found that
> Synapse suddenly didn't compile in Linux.
> 
> Now, it's likely that the Synapse toolkit has already been updated, but
> my point is the difference now between Linux and Windows.  Previously
> the same code worked, but now you have to remove the pointer(*) typecast
> from Linux, but it still had to be there for Windows.

> Was this intentional? 

If it worked, it was a coincidence. This because unit dynlibs specifies
"tlibhandle" as library handle. There are some cludges that define a type
"HMODULE" as type, but that might break, e.g. when unit Windows is included
before dynlibs, or some other unit that defines it.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to