Thread: digital needle, need help in compileing it.

  1. #16
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    so if im right, it needs to be compiled in that program?,

  2. #17
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    i was compileing it with microsoft C++ 2010

  3. #18
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Nicolaj Larsen View Post
    so if im right, it needs to be compiled in that program?,
    It is likely to compile with that Compiler; I compiled the code with about 20 warnings and one errors using
    "CodeGear C++ 6.10 for Win32 Copyright (c) 1993-2008 CodeGear"

    Code:
    dneedle.cpp:
    Warning W8057 dneedle.cpp 33: Parameter 'Sender' is never used in function _fastcall TfrmMain::btnCenterClick(TObject *)
    Warning W8057 dneedle.cpp 41: Parameter 'Sender' is never used in function _fastcall TfrmMain::btnNeedleClick(TObject *)
    Warning W8057 dneedle.cpp 48: Parameter 'Sender' is never used in function _fastcall TfrmMain::btnLoadClick(TObject *)
    Warning W8057 dneedle.cpp 68: Parameter 'Sender' is never used
     in function _fastcall TfrmMain::imgMouseUp(TObject *,TMouseButton,TShiftState,int,int)
    Warning W8057 dneedle.cpp 68: Parameter 'Button' is never used in function _fastcall TfrmMain::imgMouseUp(TObject *,TMouseButton,TShiftState,int,int)
    Warning W8057 dneedle.cpp 68: Parameter 'Shift' is never used in function _fastcall TfrmMain::imgMouseUp(TObject *,TMouseButton,TShiftState,int,int)
    Warning W8071 dneedle.cpp 119: Conversion may lose significant digits in function _fastcall TfrmMain::btnPlayClick(TObject *)
    Warning W8071 dneedle.cpp 132: Conversion may lose significant digits in function _fastcall TfrmMain::btnPlayClick(TObject *)
    Warning W8080 dneedle.cpp 137: 'radius0' is declared but never used in function _fastcall TfrmMain::btnPlayClick(TObject *)
    Warning W8004 dneedle.cpp 137: 'dr' is assigned a value that is never used in function _fastcall TfrmMain::btnPlayClick(TObject *)
    Warning W8057 dneedle.cpp 137: Parameter 'Sender' is never used in function _fastcall TfrmMain::btnPlayClick(TObject *)
    Warning W8071 dneedle.cpp 199: Conversion may lose significant digits in function _fastcall TfrmMain::getDirection(double *,double *)
    Warning W8071 dneedle.cpp 199: Conversion may lose significant digits in function _fastcall TfrmMain::getDirection(double *,double *)
    Warning W8018 dneedle.cpp 198: Assigning int to TColor in function _fastcall TfrmMain::getDirection(double *,double *)
    Warning W8071 dneedle.cpp 198: Conversion may lose significant digits in function _fastcall TfrmMain::getDirection(double *,double *)
    Warning W8071 dneedle.cpp 198: Conversion may lose significant digits in function _fastcall TfrmMain::getDirection(double *,double *)
    ilink32.exe -q -ap   -L"C:\Program Files\Borland\BDS\4.0\lib" -L"C:\Program Files\Borland\BDS\4.0\lib\psdk"  c0x32 obj\Release\dneedle.obj ,bin\Release\dneedle.exe,,cw32mt.lib import32.lib ,,
    Error: Unable to open file 'DNEEDLE.DFM'
    I am not sure of the cause of the error.

    My random guess on the command to compile.
    Code:
    bcc32.exe -q -w -x  -O2    -I"C:\Program Files\Borland\BDS\4.0\include"  -oobj\Release\dneedle.obj -c dneedle.cpp
    NOTE: I never setup my Borland compiler to do VCL projects; so, it could be a simple configuration error.

    I have no desire to try doing a VCL project; so, I will not be likely to help you further.

    Edit: The last time I used the Borland C++ Compiler on a real project was in 1999-2000 (wrote an DLL that downloaded binary files from an MS SQL 7 server).
    Since, then I have only used it to help newbies do command line projects; it has been too long for me to give any good help with a VCL project. I never did a VCL project in my life; just read a little about them when I used the Compiler in 2000.

    Tim S.
    Last edited by stahta01; 07-25-2012 at 09:24 PM.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  4. #19
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    ill try that comman line, and if its work, ill let you know,
    between, where shall i place it?, if you can clear that out for me.
    Last edited by Nicolaj Larsen; 07-26-2012 at 04:10 AM.

  5. #20
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    im trying with bordland, but i have windows 7 64-bit, C++ 6
    Last edited by Nicolaj Larsen; 07-26-2012 at 10:04 AM.

  6. #21
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    i readed from where i downloaded the source and head file, and it said that the Digital Needle source code source code integrity, and can be used directly

  7. #22
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Nicolaj Larsen View Post
    i readed from where i downloaded the source and head file, and it said that the Digital Needle source code source code integrity, and can be used directly
    I have no idea how to use them.

    Install the correct compiler; try creating an VCL project.
    After you figure out how to do that; try to change it to using the files you downloaded.

    I have no more answers.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  8. #23
    Registered User
    Join Date
    Jul 2012
    Location
    Denmark
    Posts
    15
    hmmm, i hope i can find somebody who has made a functioning version of it i hope.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A Little Help Regarding Digital Root
    By TheUmer in forum C Programming
    Replies: 2
    Last Post: 11-25-2009, 04:31 AM
  2. digital simulator
    By fuzon87 in forum C Programming
    Replies: 1
    Last Post: 03-29-2008, 01:06 PM
  3. ???not Compileing???
    By cjohnson412 in forum C++ Programming
    Replies: 1
    Last Post: 02-25-2008, 08:44 PM
  4. Digital art
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 07-31-2003, 05:32 AM
  5. Digital Needle - A Virtual Gramophone
    By hermit in forum Tech Board
    Replies: 4
    Last Post: 09-07-2002, 02:09 AM