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: *

  • Users: slapierre
  • Content: Threads
  • Order by date
  1. slapierre

    LIB file linking error

    Greetings, I'm trying to write a simple application that tests a CAN device, I have a .LIB file that contains the functions I need to "talk" with the hardware, but it won't link - .\Can841m.lib : fatal error LNK1136: invalid or corrupt file - the problem is that I can see the content - the...
  2. slapierre

    Unable to connect to a DB when the application is deployed

    I'm using a TDataBase component to open SQL tables through an ODBC driver (MySQL ODBC 3.51 Driver), and a TTable component to add and update the records. The application is working fine on my computer so I deployed it with the following copiler options : . Linker -> Linking -> Use...
  3. slapierre

    _matherr doesn't catch the exception

    Greetings, I need to handle the exceptions generated by a call of the y = log10(x) when x equates 0 or is a negative number, I then count them and display the number of errors after my linear to logarithmic conversion. I wrote the following piece of code and it worked in another application...
  4. slapierre

    dbExpress : unable to load libmysql.dll

    Greetings, I'm using BC++B6 Professional edition and I wan't to access a database developped in MySQL that is on our corporate intranet. I tried to connect to the DB using dbExpress's MYSQL driver set. When i try to switch the "Connected" proprety to "true" in the Object Inspector, the...
  5. slapierre

    working with LabView array format (array handle pointer)

    Greetings, I need to pass arrays to a LabView DLL that will (eventually) perform math routines on data. For now I want to understant the principle so I wrote a simple VI (result[i] = i + i). The memory allocation seems alright but it crashes when I call the function (Error #3, "memory.cpp"...
  6. slapierre

    OpenDialog : Get the adress (WORD *) of a file

    Greetings, I need to get the adress of a wave file, I used and OpenFile dialog to get the path, now I want to transform the AnsiString into an address (in other words, I want to change a path into an adress). Here's a piece of code that I wrote for an on-click event, I have no clue on how to...
  7. slapierre

    convert 4 bytes to IEEE-754 float

    Greeting's I need to convert 4 bytes in a float, I searched the forums but the answers were all about VB and I can't find an equivalent to the BitConverter method, here's a piece of code from a thread by theoxyde : byte[] input = new byte[4]; // 32-bit byte array // put your bytes into the...
  8. slapierre

    insert infos in a DLL

    Greetings, I wrote a driver and I want to insert basic informations in it so i can legally own the moral rights of my work, i used a DLL analysis application to spy on other drivers and it returned these filled fields: File Name, Internal Name, Product Name, Company, File type, File OS...
  9. slapierre

    BC++B6 - unwanted character when converting AnsiString to char *

    Greetings, I need to save the results of a test procedure that returns HEX data from a memory read, I wan't to be able to enter the name of the output file (data.txt). I used an Edit object to get the filename (which is an AnsiString), when I use the CreateFile function, it requires an char *...

Part and Inventory Search

Back
Top