Search found 60 matches

by Iczer
Aug 20, 2020 14:06
Forum: Projects
Topic: fbfrog header translator
Replies: 56
Views: 13545

Re: fbfrog header translator

Thanks!
by Iczer
Aug 20, 2020 13:11
Forum: Projects
Topic: fbfrog header translator
Replies: 56
Views: 13545

Re: fbfrog header translator

I'm trying to make zstd.bi - new compression algorithm for curl - but translated header gives error: ...\FreeBASIC-1.07.1-win64\inc\zstd.bi(39) error 14: Expected identifier, found '(' in 'declare function ZSTD_compressBound(byval srcSize as uinteger) as uinteger' /*====== Helper functions ======*/ ...
by Iczer
Jun 04, 2020 14:12
Forum: Windows
Topic: Curl.dll and msvcrt dependence
Replies: 9
Views: 684

Re: Curl.dll and msvcrt dependence

almost everything resolved - mainly it was 2 problems: first - i had wrong lock/unlock functions for curl share interface. It worked until curl v.7.67.0, but in v.7.68.0 they are found and resolved bug in connection cache... wrong: Common Shared As Any Ptr CURLSHLockMutex CURLSHLockMutex = MutexCrea...
by Iczer
Jun 02, 2020 17:07
Forum: Windows
Topic: Curl.dll and msvcrt dependence
Replies: 9
Views: 684

Re: Curl.dll and msvcrt dependence

after 2 days I compiled static an dynamic curl libraries but... it's load and configured OK, but when performing connection it just stops - curl_easy_perform() sends/receives data, but never return. There a some room for improvement - in the cmake log there a too many "not found" and "...
by Iczer
May 31, 2020 18:20
Forum: Windows
Topic: Curl.dll and msvcrt dependence
Replies: 9
Views: 684

Re: Curl.dll and msvcrt dependence

Did you check that VC++ 2010 is the VC++ runtime version required by curl.dll? it's only mentioned that it has msvcrt.dll dependency, I try find out... now that you mention it - in win\system32\ folder there are several msvcr*.dll files belonging Microsoft Visual C++ 2010/2012/2013 redistributables...
by Iczer
May 30, 2020 18:25
Forum: Windows
Topic: Curl.dll and msvcrt dependence
Replies: 9
Views: 684

Curl.dll and msvcrt dependence

Tried to update curl.dll in my project from version 7.67 to any 7.68...7.70 (pre-compiled library from curl-project site) and get error: The procedure entry point _difftime64 could not be located in the dynamic link library msvcrt.dll I have Microsoft Visual C++ 2010 Redistributable installed and ms...
by Iczer
Dec 21, 2019 2:10
Forum: General
Topic: Logic trouble
Replies: 7
Views: 367

Re: Logic trouble

first and third - 2 times?
by Iczer
Dec 20, 2019 18:01
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 228
Views: 20485

Re: FreeBASIC 1.08 Development

for now FreeBasic have #Inclib "" and #LibPath "" pair fo libraries, but there a no #includePath "" for #include "", only -i command line option, with I fail to make work... is it possible to add something like #includePath "" to future FreeBasic 1.08?
by Iczer
Oct 30, 2019 20:29
Forum: Beginners
Topic: UDT Copy assignment operators
Replies: 3
Views: 354

Re: UDT Copy assignment operators

yes, i'm not using [0] element - only from 1 to iCount, so: dim as tagMainREF ptr pMainREF = new tagMainREF[iCount + 1]
by Iczer
Oct 30, 2019 18:37
Forum: Beginners
Topic: UDT Copy assignment operators
Replies: 3
Views: 354

UDT Copy assignment operators

I have some problems copying data between 2 UDT structures with Copy assignment operators. dim as tagMainREF aMainREF() dim as tagMainREF ptr pMainREF = new tagMainREF[iCount + 1] : Init(pMainREF,iCount) redim aMainREF(1 to iCount) For i As Integer = 1 To iCount aMainREF(i) = pMainREF[i] ' <- fail N...
by Iczer
Sep 29, 2019 10:41
Forum: Community Discussion
Topic: FreeBASIC 1.07 Release Discussion
Replies: 44
Views: 12306

Re: FreeBASIC 1.07 Release Discussion

About manual - strptr() changes still not included [changed] - SADD/STRPTR(wstring) returns WSTRING PTR Syntax Declare Operator StrPtr ( ByRef lhs As String ) As ZString Ptr Declare Operator StrPtr ( ByRef lhs As WString )[b] As ZString Ptr[/b] Return Value Returns a ZString Ptr to a string's charac...
by Iczer
Aug 28, 2019 16:43
Forum: Beginners
Topic: Use Clear() function in fb1.07
Replies: 4
Views: 4231

Re: Use Clear() function in fb1.07

Thanks! I think i'm understand my error : Dim As ZString Ptr psTestString = Callocate(64,1) Dim As WString Ptr pwsTestString = Callocate(64,2) ' ............................ *psTestString = String(32,".") Clear(psTestString[10],Asc("x"),1) Print "Case 1 :: '";*psTestStr...
by Iczer
Aug 27, 2019 17:43
Forum: Beginners
Topic: Use Clear() function in fb1.07
Replies: 4
Views: 4231

Use Clear() function in fb1.07

It seems something changed in Clear() function in fb1.06 -> fb1.07 in fb1.06 this worked fine: SetItemWSTR (CPtr(WString Ptr,StrPtr(SomeWString512)), CPtr(WString Ptr,sqlite3_column_text16(sql_stat, 0)), sqlite3_column_bytes16(sql_stat, 0)) Sub SetItemWSTR (ByRef InnerStrAsPtr As WString Ptr, ByRef ...
by Iczer
May 14, 2019 21:27
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 42812

Re: New array features

Maybe Associative array would be great addition and also, to make array-functions list more complete, i think would be interesting to have (mostly for 1d arrays): Array Search (any good algorithms) Array FindAll (Find the indices of all occurrences of a search query between two points in a 1D or 2D ...
by Iczer
Apr 24, 2019 12:38
Forum: Beginners
Topic: Threading questions/problems
Replies: 80
Views: 29215

Re: Threading questions/problems

i'm with XP64

Go to advanced search