Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Danja91

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    285

    Memory leak in multithreaded program

    Hello,

    A while ago I wrote a program to interface with a scientific instrument. The program works as intended but if I leave it on for long periods of time it behaves sluggishly, and task manager...
  2. Replies
    1
    Views
    144

    Order of parameters passed to Main

    Hello,

    I've made a simple application that accepts text files output by several scientific instruments, parses them, interfaces with Excel, and plots them. One feature of the program is supposed...
  3. Excel Interop - Putting error bars in chart

    Edit: I solved the previous problem I had with figuring out how to put error bars into my Excel chart. I now have one more question which I suspect has a simple answer, but I can't find the toggle. I...
  4. Re: Synchronizing a function with the message loop?

    Thanks guys! I managed to spawn my temperature controlling function in a new thread and have its function depend on a global temperature variable set by the message loop in the original thread....
  5. Synchronizing a function with the message loop?

    Hello,

    I'm a brand new WinAPI programmer trying to figure out the language, and I'm a bit stuck. I have the following scenario:

    I am controlling a laboratory instrument via the instrument's...
  6. Re: Receiving a Windows Message in a Console Application

    Thanks for your help! I tried the multithreading and that was too tough for me but I read a few Win32 tutorials over the weekend and was just able to construct a simple program to send and receive...
  7. Receiving a Windows Message in a Console Application

    Hello,

    I'm trying to write a program that passes Windows messages back and forth from another program that controls a laboratory instrument. I'm in a bit over my head but with the help of the...
  8. Replies
    3
    Views
    349

    Re: Can I pass a new bool as a reference?

    That's a little bit annoying. In that case, could you tell me if there's a better way to execute the following?




    int main()
    {
    List<string> results = new List<string>();...
  9. Replies
    3
    Views
    349

    Can I pass a new bool as a reference?

    I have a quick question about how to condense two lines into one.

    The following code works:

    bool pass = false;
    MyFunction(ref pass);

    I would like to turn it into the following:
    ...
  10. Replies
    1
    Views
    347

    Accessing executable permissions

    Hello,

    I'm trying to write a short program that changes the "Read and Execute" permission on a single exe. I have no idea how to access that parameter, and a google search did not help me find it....
  11. Replies
    6
    Views
    1,516

    Re: C Language: scanf being skipped

    Thanks! I put a getchar() after my scanf and now everything is working. I'm used to working with Console.ReadLine() in C# rather than scanf in C, so I'd never seen a problem like that before.


    ...
  12. Replies
    6
    Views
    1,516

    C Language: scanf being skipped

    Sorry for posting in C++; I didn't see a C forum and I figured there should be a lot of cross-language forumgoers here. If there is a better place to put this thread, please relocate it.

    A few of...
  13. Re: Using Regex to get text between delimeters

    Sorry to bring this thread up back from the dead... I was unable to rep you so I just wanted to say thanks again for your help. That's twice in a row now that you've helped me out.
  14. Using Regex to get text between delimeters

    Hello,

    I'm trying to parse a string and I'm having trouble getting arguments from it. The string may appear as follows:

    "Banannas(1) garbage Apples(2) iheartcodeguru"

    where each substring...
  15. Replies
    0
    Views
    275

    Compare list by component of int[]

    Hi guys,
    I'm trying to compare some classes and list them in order based on multiple attributes. This is a bit beyond me, so I went online to look for a public domain algorithm to do it. I believe I...
  16. Replies
    3
    Views
    583

    Re: Please help me make some permutations.

    Thank you so much for the help! That was an excellent explanation. After posting last night I realized that I was actually using a different data structure than I had described in the OP, given that...
  17. Replies
    3
    Views
    583

    [RESOLVED] Please help me make some permutations.

    I've been working on a segment of a project all day and can't get past this bottleneck. I need to make permutations out of some generic lists/arrays, and I don't know how to do it. My problem is that...
  18. Replies
    1
    Views
    380

    List adding Objects incorrectly

    Hello,

    I've run into a problem with my code. The following is a small snippet which focuses on the issue. Note that in this snippet, I am within nested for loops iterating through a...
  19. Replies
    4
    Views
    909

    Counting spaces between words

    I'm writing a small program that reads a file of a certain format, makes changes, and then outputs the modified file. The file consists of columns such as:

    X---YYY----4-Z-----AA (I replaced space...
  20. Can't figure out how to structure my loops

    Hello,

    I'm trying to write a program which requires nesting an undetermined number of loops. I am completely confused by how I can do this without hard coding the actual loops. To say the entire...
  21. Re: InvalidOperationException: Collection was modified

    Here are the details... I don't see any useful info in them...
  22. InvalidOperationException: Collection was modified

    Hello,

    I'm getting the error in the title of this thread but as far as I can tell I'm not modifying my collection. Could someone please look and see what can be triggering this? I've been looking...
  23. Replies
    1
    Views
    365

    Best way to compare and edit lists?

    Hello,

    I'm trying to edit a set of lists based on another list and I'm having trouble figuring out a good, efficient way to do it. If someone could advise me on the best way I'd appreciate it. The...
  24. Replies
    4
    Views
    11,591

    Re: Integrating MatLab with C#

    Hmm... I looked at the error more closely and it says it can't load MWarray version 2.9.10. Both the local copy of MWArray and the one in gacutil are version 2.10.0.0, and the reference path in VS...
  25. Replies
    4
    Views
    11,591

    Integrating MatLab with C#

    Hello,

    I'm trying to learn how to integrate MatLab code with C# via .dll. I found the following example project and attempted to compile it:...
Results 1 to 25 of 50
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center