Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MechanicalBoy

    irregular Tasm fatal error

    Hi all. I posted a few days ago a question relevant to assembler statements. I had a problem with following warning & error: [C++ Warning] Unit1.cpp(14): W8002 Restarting compile using assembly. [Tasm Fatal Error] Invalid command line. Now i know that #pragma option -w-asc // causes that...
  2. MechanicalBoy

    assembler statements

    Hi All. I have a problem with assembler statemets nasted in my source code. I spend some time reading help on asm, _asm , __asm directives. In my program i wrote such simple instruction: asm mov ax,5 But when i run it i see following warning & error: [C++ Warning] Unit1.cpp(14): W8002...
  3. MechanicalBoy

    Getting LPT

    I wanna write a program (using C++Borland) wich would get full access to LPT. Can anybody commend me any good resource on this ?? Thank in advance!
  4. MechanicalBoy

    problem concerning static library

    Hi All. Sometimes my project consist of many object modules and i decided replace them with just one static library. I have done so by way of Tlib.exe furnished with each environment. Ready "mylib.lib" was placed in current directory, I hadn't forgotten to add current directory to a...
  5. MechanicalBoy

    how can i recognize & obtain a access to certain

    Hi ALL. Ok I'd better begin from the first :). I create an array of panels using the following function: void __fastcall TForm1::butt1Click(TObject *Sender) { for(int i=0 ; i < 5 ; i++) { array[i] = new TPalel(this); array[i]->setBounds(40*i,40*i,50,30); array[i]->Tag = i...
  6. MechanicalBoy

    it's me and my TImage again

    Hi All ! I have a problem with my image (img). I create it when i click on (butt1) : TImage *img; . . . void __fastcall TForm1::butt1Click(TObject *Sender) { if((img = new TImage(this))!=NULL) { img->SetBounds(0,0,300,10); img->Canvas->Brush->Color = clGreen...
  7. MechanicalBoy

    Add image visibilty

    I realize that the condition: if((IMG = new TImage(this))!=NULL) ShowMessage(&quot;Error ! [cannot create it]&quot;); is incorrectly written [or upside down :)] ( '!=' replace '==' ) Im my application i needs to create & delete images during runtime. I've been told that every visible object...
  8. MechanicalBoy

    problem with Image visibility

    I have two buttons on the form (butt1 and butt3). when i click on butt1 i start the following fuction : void __fastcall TForm1::butt1Click(TObject *Sender) { if((IMG = new TImage(this))!=NULL) ShowMessage(&quot;Error ! [cannot create it]&quot;); IMG->SetBounds(10,10,60,60)...
  9. MechanicalBoy

    problem with cursor image

    My problem concerns mouse pointer image. On the form i have a panel (which name is 'pan') and when i click on it OnMouseDown event is called immediately: void __fastcall TForm1::panMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y) { pan->Cursor = crDrag...

Part and Inventory Search

Back
Top