Well I used the GDI "Hack" because the AutoIT functions "GUICtrlCreateLabel" and "GUICtrlSetData" didn't work correctly. I did however leave this original code in the "InstantSupport.au3" file which you are welcome to uncomment... see below:ahinson wrote:I recently made an attempt to move from ChunkVNC 3.1 to the Rat "Fork" version because many of the changes Rat has made thus far are quite attractive. Kudos to you Rat.
After making some modifications to suit my needs (I need the form to display the connection ID) and compiling the "3.1m fork" I began functionality testing and soon hit a wall. It seems that due to the introduction of GDI+ to draw the connection ID labels the "3.1m fork" version won't work with any version of Windows < Windows XP/2003. At least not without first installing the GDI+ redistributable, which is often a rather large hurdle to leap since you're probably already working with someone who's less than computer savvy. Unfortunately for me, this was a deal breaker since many of our customers still run Windows 2000 and a few with 98 - despite my constant prodding to upgrade.
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Perhaps this should be noted as a disclaimer on the front page of this thread?
I may repackage things with the gdiplus.dll included ... or try ChunkVNC 3.2 instead.
Please, share your thoughts on this...
Thanks.
Line 569:
Code: Select all
; Show Connection ID
;$ConnectIdLabel = GUICtrlCreateLabel('ID = ' & $ConnectId, 0, $LogoHeight, $GuiWidth, $IdHeight, $SS_CENTER)
;GUICtrlSetFont(-1, $IdFontSize, 800, 0, 'Arial Black', 2)
;GUICtrlSetColor(-1, $IdFontColor)
;GUICtrlSetBkColor(-1, $IdBackgroundColor)
Code: Select all
; If $ConnectId <> 0 Then GUICtrlSetData($ConnectIdLabel, 'ID = ' & $ConnectId)
p.s. I think I originally wrote this code on a Windows 2000 machine so I would double-check the GDI+ requirement.