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...
Well... The ODBC connection can be established through the BDE since it's working fine on my computer. I found that I need to deploy the Borland Database Engine along with the application in order to access tables, now I need to find out how.
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...
Bandit! I sent you bits of pieces of codes, you deserve an explanation:
The 'j' increment isn't causing this problem, I only forgot to change it for an 'i', 'j' is used to decimate the array 'cause the PH3 buffer size is 1024, but I only take the even numbers (PH3 - polar form of the...
Hey Bandit!
Your reply is quite interresting but it only catches divisions by zero, the problem is that a y = log10(x) call will return a domain error when x = 0 and a sign error when x is a negative number. The data (an array of 512 values) is acquired by microphones wired to a DSP (which...
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"...
Supernat03:
The WORD* Addr will contain the audio data stream buffer (wav file) start address, I used an OpenDialog to select which file to send, the OpenDialog->Filename returned an AnsiString, now I want to get the address of the selected file. I want to get the address of a file from its...
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...
thx a lot!
it's working great, all i had to do is to invert my bytes(array[3] = b0 ... array[0] = b3) and the digits matched!
Simon Lapierre
slapierre@sonomax.com
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...
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.