Search found 62 matches

by pidgi2009
Thu Sep 19, 2019 6:03 am
Forum: Technical
Topic: Localisation
Replies: 2
Views: 11323

Re: Localisation

RAD Studio 10.3 I did not try to localize, meaning that everything is written in French, for French users. For the moment. Later, once debugged and fluent, I will. I live in Québec, Canada, all the language settings are default, but almost all in French. I have 3 of my 6 children living far away: Ch...
by pidgi2009
Wed Sep 18, 2019 9:49 am
Forum: Technical
Topic: Localisation
Replies: 2
Views: 11323

Localisation

I have a problem, i cannot solve by myself. I wrote something that will become a game. It is about evolution of animal species in different environnements. I do write in French, with the accents (planète, évolution, créatures, and the like). My app has many Buttons, labeled in French. And a few Labe...
by pidgi2009
Sat Mar 10, 2018 5:20 pm
Forum: Technical
Topic: TWebBrowser
Replies: 9
Views: 41874

Re: TWebBrowser

Interresting... If I do place, via the IDE, a TcppWebBrowser on a form, the IDE automatically puts: #include "SHDocVw.hpp" But if, instead I do add a TWebBrowser, then the following line is added: #include <SHDocVw.hpp> A subtle difference. Does it change anything? Don't seem to because if I then do...
by pidgi2009
Thu Mar 08, 2018 1:40 pm
Forum: Technical
Topic: TWebBrowser
Replies: 9
Views: 41874

Re: TWebBrowser

OK, now it does compile. And... it works! My code connects correctly. Many thanks, M. Lebeau! here is the modified code: #include <vcl.h> #include <mshtml.h> #include <utilcls.h> #include "SHDocVw.hpp" #include <memory> _DEF_SMARTPTR_IID(IHTMLDocument2, IID_IHTMLDocument2); _DEF_SMARTPTR_IID(IHTMLEl...
by pidgi2009
Thu Mar 08, 2018 9:41 am
Forum: Technical
Topic: TWebBrowser
Replies: 9
Views: 41874

Re: TWebBrowser

But still working on it. If I use #include <mshtml.h> instead of #include <MSHTML.hpp> with the code you provided, there is only one error that is left, it is: [bcc32 Erreur] MotDePasses.cpp(669): E2316 'click' n'est pas un membre de 'IHTMLAnchorElement' I am now in the process of investigating what...
by pidgi2009
Thu Mar 08, 2018 9:26 am
Forum: Technical
Topic: TWebBrowser
Replies: 9
Views: 41874

Re: TWebBrowser

many error messages like: (Sorry, French speaking...) [bcc32 Erreur] mshtmhst.h(191): E2015 Ambiguïté entre 'IHTMLWindow2' et 'Mshtml::IHTMLWindow2' [bcc32 Erreur] mshtmhst.h(215): E2015 Ambiguïté entre 'IHTMLWindow2' et 'Mshtml::IHTMLWindow2' [bcc32 Erreur] MotDePasses.cpp(474): E2285 Impossible de...
by pidgi2009
Wed Mar 07, 2018 2:33 pm
Forum: Technical
Topic: TWebBrowser
Replies: 9
Views: 41874

Re: TWebBrowser

Thank you very much for the very detailed help! I will study it in greater depth. Until now, the code doesn't compile... my version of Tokyo tells me that _di_IHTMLElementCollection and the other _di_xxxxx are not recognized. I tried to include <MSHTML.hpp> (instead of, or in addition to, or before ...
by pidgi2009
Mon Mar 05, 2018 12:49 pm
Forum: Technical
Topic: TWebBrowser
Replies: 9
Views: 41874

TWebBrowser

2 questions. Intro: I have a Form, with a TcppWebBrowser on it. I Navigate() to a known URL. I fill the edit boxes on the page with username and password, programmatically. I then simulate a click on a "Validate" button that leads me to another page. On that last page, I do have elements, some of wh...
by pidgi2009
Sat Jan 27, 2018 5:01 pm
Forum: General
Topic: Upgrading from XE7 to Tokyo
Replies: 1
Views: 9534

Upgrading from XE7 to Tokyo

I am seriously considering upgrading fromStudio XE7 to C++ Tokyo. Reason: I never used Delphi proper. But it is a very expensive move, considering the price (more than $2400 canadian dollars) and the fact that I am a hobbyist, not a pro. But I use my XE7 every day for a few softwares I wrote, and I ...
by pidgi2009
Sat Oct 21, 2017 3:51 pm
Forum: General
Topic: BCB Journal
Replies: 6
Views: 32582

Re: BCB Journal

How much?

How much would be OK, I mean in terms of number of accounts, and terms of how much each should pay?

Otherwise, if I could donate to help, how much would be OK? I am really very, very, very interested.
by pidgi2009
Mon Dec 26, 2016 8:45 am
Forum: Technical
Topic: How to split a string correctly
Replies: 7
Views: 34420

Re: How to split a string correctly

Sorry. More solid and foolproof is: String ConvertLink2Number(String string) { std::auto_ptr<TStringList>stringlist( new TStringList()); if (stringlist.get() { stringlist->Delimiter = '/'; stringlist->DelimitedText = string; if (stringlist->Count > 1) return(stringlist->Strings[stringlist->Count - 2...
by pidgi2009
Sun Dec 25, 2016 10:42 pm
Forum: Technical
Topic: How to split a string correctly
Replies: 7
Views: 34420

Re: How to split a string correctly

What would you think of this: String ConvertLink2Number(String string) { std::auto_ptr<TStringList>stringlist( new TStringList()); stringlist->Delimiter = '/'; stringlist->DelimitedText = string; if (stringlist->Count > 1) return(stringlist->Strings[stringlist->Count - 2] + stringlist->Strings[strin...
by pidgi2009
Mon Jul 11, 2016 5:32 am
Forum: Technical
Topic: $#%@@ Berlin - Access Violation
Replies: 12
Views: 57046

Re: $#%@@ Berlin - Access Violation

A long time ago, I did have somewhat the same kind of problem, I can't remember well which version of Builder I had. Random crashes, strange behavior, etc. I have then been lucky enough to have an answer on this very forum that suggested I do uninstall my RAD version, do a complete low level CHKDSK,...
by pidgi2009
Mon Jan 04, 2016 10:38 am
Forum: Technical
Topic: when exit outside ide get "stopped working" error
Replies: 11
Views: 52676

Re: when exit outside ide get "stopped working" error

I once had the very same problem, which I finally assumed came from threads opened in components and not closing fast enough. I added a short delay just before leaving the application, in a window saying something like: The application is now closing. Wait a short moment... With a timer closing the ...
by pidgi2009
Sat Nov 14, 2015 12:39 pm
Forum: Technical
Topic: XE7 - 'Debug process not initialized'
Replies: 25
Views: 122391

Re: XE7 - 'Debug process not initialized'

May I suggest something that seems to work for me. I often runs into the LME288 or LME286 errors, that seem to be on the same magnitude than your own. 1 - Run 'Command Prompt' as administrator 2 - type this, replacing the XXXX by your RAM amount in Megs ( 3 Gigs = 3 X 1024 = 3072) bcdedit /set Incre...