Yes thanks to both of you. That was it. Of course i didnt want a comparison but an assignement.
I turned all warning on and it got reported like statement value is not used.
Type: Posts; User: BeBu
Yes thanks to both of you. That was it. Of course i didnt want a comparison but an assignement.
I turned all warning on and it got reported like statement value is not used.
Hi i got following code:
void STM32SPI::handleInterrupt() {
if (SPI_I2S_GetITStatus(spiport, SPI_I2S_IT_TXE) == SET) {
if (sendBufferPos != sendBuffer.end()) {...
yes thanks
i figured it out:
its in a const class function.
dude i owe you one. next tiem you are in germany come and i sepnt you a good beer
int index = "SomeNumber";
was just an to show i get some number :D
//well i already figured out how to use find, but i would love to know why the compiler thinks it is illegal access.
// But...
Hi,
i got following code:
typedef std::map<int, LPITEMIDLIST> IdIDListMap;
IdIDListMap map;
oh man thanks.... how stupid from me thats it
Hi i got a problem with following Function:
void GetFiles()
{
FILE* pFile;
DWORD ReadFiles,dwSize;
char buf[1025];
HINTERNET hInternet, hFile;
i found out it has to do with visual studio 2005... rolled back to .NET and i could distribute with ease.
Hi i build a small programm in Visual Studio 2005.
Whenever i hand it out, all who test it get
"The application couldnt be startes, because the configuration data was incorrect. Try reinstalling...
Well actually it showed that the PC System i used had an broken COM Port.
On a new machine the code just runs fine. An admin oculd delete this, please.
Hello,
i wrote a small program which sends one byte data over serial port 0 and receives one as answer.
As the conencted device reported serial overflow we connected another pc to the serial port....
Thank you very much.
I got some problems understanding how broadcasts work.
If anybody could post a link to a good explanation/example
i would appreciate it.
My problems are:
the client sends...
Hi,
i have a small problem.
I wrote a server application running on a linux pc. Now this pc gets conencted to a network with DHCP server, from which it receives its ip.
My problem is now that...
Thank you very much.
I decided to code a kernelmodul.
Sorry not to mention that before.
Well the PCI Card is a self developed one with a Lattice Chip for PCI Communications.
The embedded linux is from IES and based on SuSE 9.2 Kernel, the hardware...
The programm will not run under a desktop system.
It will run on an embedded Linux, which basically, beside system tasks, runs this programm alone.
I directly access the ports at the moment via...
Hi,
i need to write a programm which checks every milisecond for new data through an ioport.
In the meantime it has to do some calculations, but getting the data MUST have priority.
I tried...
thanks guys i love :D
allocating space helped
actually this is the function:
int ExecOrder(char *buf, int acceptfd)
{
char *order;
sscanf(buf, "%s ", order);
if(strcoll(order, "PATH")==0)
{
...
I got this piece of code:
char *buf, path , alias;
printf("Buf: %s \n", buf);
if(sscanf(buf, "%*s %s %s", path, alias)!=2)
{
ErrorOut(ERR_WRONGPAR);
}
printf("Buf: %s \n",buf);