Search:

Type: Posts; User: BeBu

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    2,294

    Yes thanks to both of you. That was it. Of course...

    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.
  2. Replies
    10
    Views
    2,294

    vector and iterator problem

    Hi i got following code:




    void STM32SPI::handleInterrupt() {
    if (SPI_I2S_GetITStatus(spiport, SPI_I2S_IT_TXE) == SET) {
    if (sendBufferPos != sendBuffer.end()) {...
  3. Thread: std::map probs

    by BeBu
    Replies
    6
    Views
    1,722

    yes thanks i figured it out: its in a const...

    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
  4. Thread: std::map probs

    by BeBu
    Replies
    6
    Views
    1,722

    int index = "SomeNumber"; was just an to show...

    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...
  5. Thread: std::map probs

    by BeBu
    Replies
    6
    Views
    1,722

    std::map probs

    Hi,

    i got following code:



    typedef std::map<int, LPITEMIDLIST> IdIDListMap;
    IdIDListMap map;
  6. Thread: WinINet Problems

    by BeBu
    Replies
    2
    Views
    928

    oh man thanks.... how stupid from me thats it

    oh man thanks.... how stupid from me thats it
  7. Thread: WinINet Problems

    by BeBu
    Replies
    2
    Views
    928

    WinINet Problems

    Hi i got a problem with following Function:



    void GetFiles()
    {
    FILE* pFile;
    DWORD ReadFiles,dwSize;
    char buf[1025];
    HINTERNET hInternet, hFile;
  8. Replies
    3
    Views
    1,204

    i found out it has to do with visual studio...

    i found out it has to do with visual studio 2005... rolled back to .NET and i could distribute with ease.
  9. Replies
    3
    Views
    1,204

    Redistributing a file

    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...
  10. Replies
    1
    Views
    2,059

    Well actually it showed that the PC System i...

    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.
  11. Replies
    1
    Views
    2,059

    Serial Port problems

    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....
  12. Thread: Finding a server

    by BeBu
    Replies
    6
    Views
    1,577

    Thank you very much. I got some problems...

    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...
  13. Thread: Finding a server

    by BeBu
    Replies
    6
    Views
    1,577

    Finding a server

    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...
  14. Replies
    8
    Views
    1,820

    Thank you very much. I decided to code a...

    Thank you very much.
    I decided to code a kernelmodul.
  15. Replies
    8
    Views
    1,820

    Sorry not to mention that before. Well the PCI...

    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...
  16. Replies
    8
    Views
    1,820

    The programm will not run under a desktop system....

    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...
  17. Replies
    8
    Views
    1,820

    High priority task

    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...
  18. Replies
    7
    Views
    1,749

    thanks guys i love :D allocating space helped

    thanks guys i love :D

    allocating space helped
  19. Replies
    7
    Views
    1,749

    actually this is the function: int...

    actually this is the function:


    int ExecOrder(char *buf, int acceptfd)
    {
    char *order;
    sscanf(buf, "%s ", order);
    if(strcoll(order, "PATH")==0)
    {
    ...
  20. Replies
    7
    Views
    1,749

    strange behaviour of sscanf

    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);
Results 1 to 20 of 20