OK Michael, John -
Removed my 28 globals- inserted a TYPE structure..
Works well save for 2 that I wanted as Dynamic strings because the size could vary so much (Html page and graphic) -
Now I have this as a TYPE, but do I need it as a Global or can I try that pointer method?
And, you mentioned 32 bit pointer vs having all the globals.
Just looking for more clarification on how much better/more optimized this is/ will be...
Everything in the structure was a global.
Removed my 28 globals- inserted a TYPE structure..
Works well save for 2 that I wanted as Dynamic strings because the size could vary so much (Html page and graphic) -
Now I have this as a TYPE, but do I need it as a Global or can I try that pointer method?
And, you mentioned 32 bit pointer vs having all the globals.
Just looking for more clarification on how much better/more optimized this is/ will be...

Everything in the structure was a global.
Code:
'-------------------------------------- Type CCSParams szMine As Asciiz * 9 szVer As Asciiz * 5 szCCS As Asciiz * 28 szCopyrite As Asciiz * 22 IniFile As Asciiz * %MAX_PATH sTunnelLoc As Asciiz * %MAX_PATH hInst As Long hDlg As Long hIcon As Long hMenu As Long pMenu As Long hPop1 As Long hPop2 As Long hPop3 As Long lblHandle As Long txtHandle As Long hStatus As Long IsEvalCopy As Long 'Options wPort As Long StayOnTop As Long RuninSysTray As Long SysStartup As Long ShowSplash As Long Finished As Long 'For threads to end UseSSL As Long SSLKey As Asciiz * %MAX_PATH SSLCert As Asciiz * %MAX_PATH SSLPort As Asciiz * 5 wTimeOut As Long SSLTimeOut As Long ServerIP As Asciiz * 16 LogFile As Asciiz * %MAX_PATH BBSDownFile As Asciiz * %MAX_PATH'Actual html file BBSDownImageFile As Asciiz * %MAX_PATH 'Actual file to read into memory BBSDownString As Asciiz * 256 'String to insert into built in html file End Type Global BBSDown As CCSParams Global hCurHand As Long Global g_BBSDownImage As String Global g_BBSDown As String 'Variable len strings '------------------------------------------------------------------------------ ' Declares
Comment