Search found 773 matches

by Xusinboy Bekchanov
Dec 27, 2023 6:47
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 890
Views: 130571

Re: VisualFBEditor - IDE for FreeBasic

are there any functions for strings conversion between ansi/utf-8/unicode? Hello, yes there are functions ToUTF8 and FromUTF8. https://github.com/XusinboyBekchanov/MyFbFramework/wiki/ToUtf8 https://github.com/XusinboyBekchanov/MyFbFramework/wiki/FromUtf8 when i use "debug.print webbrowser.Getb...
by Xusinboy Bekchanov
Dec 12, 2023 11:21
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 890
Views: 130571

Re: VisualFBEditor - IDE for FreeBasic

Wonderful! The first try in this afternoon I set: loCdoMessage.From="peterhu.peterhu@outlook.com" '''---->Compare to :loCdoMessage.From = "Peter"""" <peterhu.peterhu@outlook.com>" smtpserverport->Value=587 '''----->25 then failed to connect and send. After ch...
by Xusinboy Bekchanov
Dec 12, 2023 5:36
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 890
Views: 130571

Re: VisualFBEditor - IDE for FreeBasic

The sender mail is outlook.com,AFAIK the SMTP setting should be smtp-mail.outlook.com,the port should be 587(but I don't know how to handle STARTTLS in the source code).The receiver mailbox to test is QQ mailbox,that is userQQid@qq.com.In my case, Sender:Peter Sender mailbox:peterhu.peterhu@outlook...
by Xusinboy Bekchanov
Dec 12, 2023 4:24
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 890
Views: 130571

Re: VisualFBEditor - IDE for FreeBasic

To send through a proxy you need to add these codes: loConfig.Fields.Item("http://schemas.microsoft.com/cdo/configuration/urlproxyserver").Value = "Server:80" loConfig.Fields.Item("http://schemas.microsoft.com/cdo/configuration/urlproxybypass").Value = "<local>&quo...
by Xusinboy Bekchanov
Dec 12, 2023 4:05
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 890
Views: 130571

Re: VisualFBEditor - IDE for FreeBasic

Thanks.It compiles but failed to send the email out.Both "proxy" and "connection to server" failed. fyi.failed sending also when using libcurl+c to find a workable solution.Neet more time to try. In this example, the mail.ru settings are set, in your case there will be other set...
by Xusinboy Bekchanov
Dec 12, 2023 1:27
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 890
Views: 130571

Re: VisualFBEditor - IDE for FreeBasic

Just wondering is there any smtp/sending email sdk/library/functions/demos accompany with mff/vfe?Never mind if not. This is how you can send mail: SimpleVariantPlus.bi (I created this using COMWrapperBuilder tool): 'SimpleVariantPlus.bi: a "lean and mean" (not library-dependent) LateBoun...
by Xusinboy Bekchanov
Nov 29, 2023 11:31
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 81
Views: 21364

Re: MyFbFramework - My FreeBasic Framework

Please let us know which version is more stable after you fixed the issue.Thank you so much. Ok. Just let you know It is ok now with the fresh rebuilt with most updated MyFbFrameWork of today.Maybe it is not related to mff,but this time it just works. Thanks for reporting this, I think it's due to ...
by Xusinboy Bekchanov
Nov 29, 2023 2:23
Forum: Sources, Examples, Tips and Tricks
Topic: sqlite - create db,table and insert some rec
Replies: 22
Views: 5254

Re: sqlite - create db,table and insert some rec

Thanks!May I ask by the way the WebView Example compiling in 64bit workable now?If so,I would like to rebuild the IDE shortly.I have updated the fbc to the pakcage as of Nov.27 but still can't compile the web example under 64 bit. Changed: The IDE now adds a New window in UTF8 without BOM encoding ...
by Xusinboy Bekchanov
Nov 29, 2023 2:03
Forum: Sources, Examples, Tips and Tricks
Topic: sqlite - create db,table and insert some rec
Replies: 22
Views: 5254

Re: sqlite - create db,table and insert some rec

Great!Now it runs perfect.I once guess it could be fbc related issue,not even thinking about the source encoding. But,so should I have to change the source encoding between ansi and UTFs from time to time?I can't recall there is such requirement in pure C,they just asked me to save source to UTF8 a...
by Xusinboy Bekchanov
Nov 29, 2023 1:24
Forum: Sources, Examples, Tips and Tricks
Topic: sqlite - create db,table and insert some rec
Replies: 22
Views: 5254

Re: sqlite - create db,table and insert some rec

You must change to Plain text because line 35 sets ZString Ptr to text, which in UTF8 would be WString Ptr: Great!Now it runs perfect.I once guess it could be fbc related issue,not even thinking about the source encoding. But,so should I have to change the source encoding between ansi and UTFs from...
by Xusinboy Bekchanov
Nov 29, 2023 0:34
Forum: Sources, Examples, Tips and Tricks
Topic: sqlite - create db,table and insert some rec
Replies: 22
Views: 5254

Re: sqlite - create db,table and insert some rec

Getting metadata eg. info about tables etc #include once "sqlite3.bi" ' written by ike 2014 - function callback cdecl (byval NotUsed as any ptr, byval argc as integer, byval argv as zstring ptr ptr, byval colName as zstring ptr ptr) as integer dim as integer i dim as string text ? "A...
by Xusinboy Bekchanov
Nov 26, 2023 2:20
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 269
Views: 24962

Re: Freebasic 1.20.0 Development

re 3a) The result of Reallocate() is thrown away - you can fix it https://github.com/XusinboyBekchanov/VisualFBEditor/blob/d585e18f4c949e2a181caaedfbff169d8010343c/Examples/MDINotepad/Text.bas#L138 Thanks, I fixed it. This had not been noticed by me before. This was an example from one of the IDE u...
by Xusinboy Bekchanov
Nov 25, 2023 20:41
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 269
Views: 24962

Re: Freebasic 1.20.0 Development

3a) And after giving the path to the missing include directory, this looks like should be corrected from user code: D:\fbrepo\vfbe.git\Examples\MDIScintillaControl>fbc-win64 -b MDIMain.frm -i ../../../mff.git -i ../../Controls/ScintillaControl MDIMain.c: In function '_Z13FINDCOUNTWSTRRKwS0_RPu7INTE...
by Xusinboy Bekchanov
Nov 25, 2023 17:47
Forum: Projects
Topic: MyFbFramework - My FreeBasic Framework
Replies: 81
Views: 21364

Re: MyFbFramework - My FreeBasic Framework

Maybe it works for you but there is other problems under the surface like dealing with temporary variables and temporary instances of objects that fbc won't handle well. The intent of namespaces is that access to its contents is well controlled and contents are contained within the namespace withou...
by Xusinboy Bekchanov
Nov 25, 2023 17:10
Forum: Community Discussion
Topic: Freebasic 1.20.0 Development
Replies: 269
Views: 24962

Re: Freebasic 1.20.0 Development

I can't compile this example in version 1.20: https://github.com/XusinboyBekchanov/VisualFBEditor/tree/master/Examples/MDIScintillaControl It gives an error: 21:46:45: Compilation: "D:\FreeBasic\fbc_win64_mingw_0835_2023-11-19\fbc_win64_mingw\fbc.exe" -b "MDIMain.frm" -v -x "...