Does Key = 0;
give an error?
Search found 344 matches
- Tue Feb 16, 2021 5:27 pm
- Forum: Technical
- Topic: Filtering keystrokes using FMX
- Replies: 6
- Views: 134
- Wed Dec 30, 2020 11:29 am
- Forum: Technical
- Topic: Embarcadero CoCreateInstance exception 0x40000015
- Replies: 22
- Views: 3865
Re: Embarcadero CoCreateInstance exception 0x40000015
This is a VC project but the code in the renderer.cpp might be informative.
https://hackaday.io/project/47195-examp ... or-windows
https://hackaday.io/project/47195-examp ... or-windows
- Wed Dec 30, 2020 4:01 am
- Forum: Technical
- Topic: Embarcadero CoCreateInstance exception 0x40000015
- Replies: 22
- Views: 3865
Re: Embarcadero CoCreateInstance exception 0x40000015
You only need to call CoInitialize(NULL); once, like when your form loads the
first time...as long as you have not called CoUninitilize(); it should stay ok.
You probably should call CoUninitialize(); as your program closes.
first time...as long as you have not called CoUninitilize(); it should stay ok.
You probably should call CoUninitialize(); as your program closes.
- Mon Dec 28, 2020 8:33 am
- Forum: Technical
- Topic: Embarcadero CoCreateInstance exception 0x40000015
- Replies: 22
- Views: 3865
Re: Embarcadero CoCreateInstance exception 0x40000015
Been years since i worked with COM but you may need to add
CoInitialize(NULL);
at the top of the code
CoInitialize(NULL);
at the top of the code
- Wed Dec 16, 2020 1:37 pm
- Forum: Technical
- Topic: Win64 Sstand alone SQLite
- Replies: 5
- Views: 1589
- Sun Dec 13, 2020 1:28 am
- Forum: Technical
- Topic: Win64 Sstand alone SQLite
- Replies: 5
- Views: 1589
Re: Win64 Sstand alone SQLite
Have you tried it without setting these setting to false to see if it makes a difference?
C++ Linker Link with Dynamic RTL = false
Runtime Packages - Link with runtime packages = false
C++ Linker Link with Dynamic RTL = false
Runtime Packages - Link with runtime packages = false
- Thu Dec 03, 2020 8:27 am
- Forum: Technical
- Topic: C++Builder IDE maximize
- Replies: 3
- Views: 1514
- Thu Dec 03, 2020 8:27 am
- Forum: Technical
- Topic: C++Builder IDE maximize
- Replies: 3
- Views: 1514
Re: C++Builder IDE maximize
Arrange your IDE however you like, then click the "Save current desktop" button on the toolbar.
Name it something like "Default Layout 1" and then it will start up as you have set it. Note that
i am using older XE5 version but i assume the later versions have this also.
Name it something like "Default Layout 1" and then it will start up as you have set it. Note that
i am using older XE5 version but i assume the later versions have this also.
- Sun Nov 29, 2020 2:15 am
- Forum: Technical
- Topic: Form not displaying correctly on Laptop
- Replies: 10
- Views: 4110
Re: Form not displaying correctly on Laptop
You make a new package in c++ and add the pas to it and install it as a item in your tool palette.
- Sat Nov 28, 2020 11:31 am
- Forum: Technical
- Topic: Form not displaying correctly on Laptop
- Replies: 10
- Views: 4110
Re: Form not displaying correctly on Laptop
I tried this component and it works well. I do not know if it will work the way you want it to but it seems as it would. Just follow the instructions once you have made it into a package for install to your tool palette. If your form is sizeable with the mouse it should do what you need it to. https...
- Thu Nov 26, 2020 7:18 pm
- Forum: Technical
- Topic: Loading file
- Replies: 2
- Views: 1740
Re: Loading file
This is how to open a file per the Help example code: void __fastcall TestFileOpen() { int iFileHandle; int iFileLength; int iBytesRead; PAnsiChar pszBuffer = 0; String Path = L"C:\\Temp\\readme.txt"; try { iFileHandle = FileOpen(Path, fmOpenRead); if (iFileHandle > 0) { iFileLength = FileSeek(iFile...
- Mon Nov 23, 2020 4:10 am
- Forum: Technical
- Topic: Form not displaying correctly on Laptop
- Replies: 10
- Views: 4110
Re: Form not displaying correctly on Laptop
I had this problem once myself, the only option you have is to make your form smaller
if you have a laptop with an unusual resolution....as far as i know.
if you have a laptop with an unusual resolution....as far as i know.
- Sat Oct 24, 2020 12:35 am
- Forum: Technical
- Topic: Use of TZCompressionStream
- Replies: 3
- Views: 2512
Re: Use of TZCompressionStream
I tried it in XE5 and it works this way. Must keep Edit1 and Edit2
texts the same format used in this source.
texts the same format used in this source.
- Wed Oct 21, 2020 4:07 am
- Forum: Technical
- Topic: Update Progressbar
- Replies: 14
- Views: 6241
Re: Update Progressbar
try
ProgressBar1.Update();
ProgressBar1.Update();
- Fri Oct 02, 2020 1:41 am
- Forum: Technical
- Topic: [Android]BASS
- Replies: 31
- Views: 15240
Re: [Android]BASS
Have you tried using
BASS_ChannelSetAttribute(str, BASS_ATTRIB_VOL, float(TrackVol->Position / 100.0));
or whatever version of that call that android uses.
BASS_SetVolume() changes the OS volume.
BASS_ChannelSetAttribute(str, BASS_ATTRIB_VOL, float(TrackVol->Position / 100.0));
or whatever version of that call that android uses.
BASS_SetVolume() changes the OS volume.