User Profile

Collapse

Profile Sidebar

Collapse
poldoga
poldoga
Last Activity: Nov 20 '09, 07:24 AM
Joined: Aug 28 '08
Location: Philippines
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • The thing is I kinda need to poll the serialport. After every time it returns data, I need to run code in the original polling thread to basically reboot it. Lastly, I kinda need to poll it since the data doesnt come all at once. The serialdata doesnt all arrive at one time - sometimes the hardware will take up to five data dumps before its complete. This made it a pain before when I was simply using serialdata events to trigger processing. The thread...
    See more | Go to post

    Leave a comment:


  • How to create a separate thread to process events?

    Here is my problem. I have a thread which constantly polls a piece of hardware's serial output. Every time it detects a certain serial sequence, it triggers an event handler wherein I have code which processes said sequence.

    The problem is that the processing is quite time intensive. I noticed that when the program is in the event handler, the hardware is not being polled. If possible, I would like the processing and polling to happen...
    See more | Go to post

  • poldoga
    replied to Importing Custom Types from DLL into C#
    in .NET
    Any help here? Would really appreciate any input. This has been bugging me for days already. Thanks in advance.
    See more | Go to post

    Leave a comment:


  • poldoga
    started a topic Importing Custom Types from DLL into C#
    in .NET

    Importing Custom Types from DLL into C#

    Good day sirs,

    I am currently working on creating windows GUI software for a hardware device. The hardware's functions are stored in a DLL. Here is the structure for a function I need to import

    Code:
    CustomType CustomFunction (CustomType1, CustomType2)
    I use DLLImport to import functions. It seems to work as long as the functions all use default types like int, char and others. My question is how will I go...
    See more | Go to post
No activity results to display
Show More
Working...