Hey stumon,
Thanks for replying. The errors I am getting are all like the following:
I don't know why it is using System.Data when they all should be MySql.Data. I do have a reference...
Type: Posts; User: Brownie
Hey stumon,
Thanks for replying. The errors I am getting are all like the following:
I don't know why it is using System.Data when they all should be MySql.Data. I do have a reference...
Also trying to connection to a local mssql server, but not having any luck with that. Just if anyone is wondering why this
is commented out.
The end result of the code will be deployed on...
Hi,
Trying to use c# to connect to a mysql database that I have set up on a server somewhere, but I am currently getting the following error:
The code I am using is the following:
...
Hi Mats,
The program runs ok, no errors generated by the compiler. It seems to just fail in opening the connection to the port located at /dev/ttyUSB1. It skips straight to the else and prints...
Hi,
I want to pass strings to the following port (/dev/ttyUSB1) using Linux, but I can't get a succesful connection. The code I am using is the following:
#include <stdio.h>
#include...
I am entering stuff into the string. It's nothing big, so the 9 characters will handle it.
Previously I was relying on the fact that what was being overwritten was not harming the computer.
Hi mats,
So you are suggesting something like the following:
starthour = new char[10];
From the small tests I have been doing on the code, the one char seems to be sufficient, but thanks...
Hi,
I needed to use char * for some of the other functions I was using. For instance strcat was giving out if it didn't have it.
What you said Salem got me thinking and adding in the following...
Hi Guys,
This is proabably some stupid error on my part, but I can't seem to see why the following piece of code isn't working:
char *starthour, *startmin;
ifstream starttime;...
Sorry,
forgot to mention. I do have windows.h included, so the system command is working ok. The problem is just with changing directory:
that line of code
Hi,
I would like my program to go to another directory and open a text file with notepad. Currently I am trying to do it with the following code, with no success.
system("c:");
system("cd...
Thanks.... Pointers have always confused me.
Brownie
Hi All,
I am having problems with the following bit of code.
void setTxParams(int h, int s, int p)
{
ETHTransmit Tx;
//Transmit Parameters
Tx.ucTransmitMode = SINGLE_BURST_MODE;
Hi,
Just need a bit of advice on some C++ related issues. I have the following:
#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include <memory.h>
#include <windows.h>
Hi,
I have written a program using Dev C++. The program needs to call on functions from a .dll to run, so I have loaded the corresponding .lib into the project and all of the headers and the .dll...
Sorry,
Figured out how myself.
For future reference, if anyone gets a similar problem, just do the following:
Go to Project>>Project Options
Click on the "Parameters" tab
Click on "Add...
HI,
I am trying to use Dev C++ to compile some sample code I got, which was written in C. With the code I have the necessary header files, .lib file and .dll files I need and they are all in the...
Thanks for the help Mats and Twomers. I'll try that out later and see how it works
Ok so..... Found all that stuff. So what do I do with it? I'm guessing I include the headers as normal, but what about the .dll and the .lib
Brownie
[Windows XP & Visual C++ 2005 Express...
Hi,
I am fairly clueless when it comes to C++, so I'd appreciate any help.
So.... I have a dll for a machine. What exactly do I do with it? i.e. How do I include it into the code, access and...
i would like to open the site in the browser. a friend in college recommended to use shellexecute and so did a lecturer in programming. the system("run ...") did not work, for me anyway.
thanks for...
hey, i knda new to c programming so please don't be too harsh.
anyway i would like to open a website using a c program. (eg. www.google.ie).
does anyone know of a function that can do this?? would...