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...
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...
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...
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...
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"...
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...
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...
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...
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 *...
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.