I see that the TEsMachineInfoSet is a customized template class from Set. So CreateMachineID method wants class parameter, not sum of two enums. The correct code is:
CreateMachineID(TEsMachineInfoSet() << midUser << midSystem);
Look online help for using templates and pure C++ classes...
N here is the sample:
TJPEGImage * sumjpg=new TJPEGImage;
Graphics::TBitmap * sumbmp=new Graphics::TBitmap;
try
{
sumjpg->LoadFromFile("c:\\pamelaanderson.jpg");
sumbmp->Assign(sumjpg);
//Add yer code here (to draw bigger tits for ex.)...
Hi all!
Consider that you can write a simple component. It based on TTimer and have an important property called PointedControl. The Timer event should check the control that mouse points, and set it to PointedComponent property.
Header fragment:
.
.
.
private:
TTimer * Timer;
TControl...
Hi!
Using RAD tools like Builder/Delphi gonna costs some. If ya wanna build smaller apps, you should create pure Windows API application. Try console wizard...
[COLOR=blue]unbornchikken
Hi!
Here is my code:
AnsiString __fastcall WithoutFileExt(AnsiString fn)
{
int dp=fn.Length();
while (dp!=0 && fn[dp]!='.') dp--;
if (dp) return fn.SubString(1,dp-1);
return fn;
}
[COLOR=blue]unbornchikken
Hi!
Answers:
1) Now i´m trying to implement a trackbar. For this i use the TrackBar object (is there any other better?).
In the timer function i put something like this (to move the trackbar slider with the video):
TackBar->Position=MediaPlayer->Position*100/MediaPlayer->Length;
And in the...
Try Tools menu item-Internet Settings-Security tab-Custom Level button-Allow ActiveX controls to run:Enabled...
Sorry but i have a Hungarian IE 6.0 so the menus may have different names (but something like that).
[COLOR=blue]unbornchikken
Yes. That was the wisest choice. You should download the DirectX 8 or 8.1 or 9 SDK from Microsoft. Check the DirectShow section. There are almost everything that you need for media programming. There are a tonns of example program and program fragment also.
Good luck,
[COLOR=blue]unbornchikken
Hail!
The first thing you need is the path of the excel.exe. If this is not in the path environment variable this will not run. Check the FindExecutable API function. After this you should use CreateProcess and WaitForSingleObject.
The code:
//AnsiString FileName - hold the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.