Search:

Type: Posts; User: mjeddi

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    5,239

    What does it mean when it says "The .NET DLL...

    What does it mean when it says "The .NET DLL exposes a COM interface"?

    How do I know if the DLL I am using exposes a COM interface?

    Thanks!
  2. Replies
    5
    Views
    5,239

    Originally a C API was used, but we are being...

    Originally a C API was used, but we are being asked to switch to the .net DLL as their are some issues that arise when using the C dll.
  3. Replies
    5
    Views
    5,239

    Using a .net DLL in C

    Hello,

    I am currently using Visual Studio to write a program in C. My program needs to use c# functions that are in a .net DLL.

    For instance, one of the functions I need to use is in the...
  4. Replies
    2
    Views
    4,217

    cmd.exe and filepath with spaces

    Hello everyone,

    I'm writing a C program which sends a command to cmd.exe.

    I have an executable I need to run and send parameters too. I am trying to make the program more portable, so I am...
  5. Replies
    3
    Views
    2,643

    Thanks Salem! Do you know what library the...

    Thanks Salem!

    Do you know what library the 'popen' function is under? I'm compiling it using LabWindows, and it doesn't seem to recognize that function.
  6. Replies
    3
    Views
    2,643

    Redirecting cmd output to an array?

    Hello everyone,

    I'm writing a program that runs an execution file from within the program.

    When the execution file runs, some text is output in the command screen, which I would like to be...
  7. Replies
    8
    Views
    3,106

    Calloc initializes the allocated memory to 0, got...

    Calloc initializes the allocated memory to 0, got it! So are you adding 1 to the size so that the last bit in the array will contain the zero to terminate the string?

    Sorry about that! I'm...
  8. Replies
    8
    Views
    3,106

    Sorry one more question, why is it necessary to...

    Sorry one more question, why is it necessary to add 1 to the size in the calloc function?
  9. Replies
    8
    Views
    3,106

    Thank you!! I just have a few more questions if...

    Thank you!! I just have a few more questions if you don't mind. Why does calloc work, yet malloc doesn't?

    And I'm just a bit confused about your comment on the fseek-to-end and the strtok...
  10. Replies
    8
    Views
    3,106

    Thank you!

    Thank you!
  11. Replies
    8
    Views
    3,106

    Trouble with Strtok function

    Hello, I have the following code below:



    #include <ansi_c.h>
    #include<stdio.h>


    int main(void)
    {
  12. Question about Dynamic Allocation and reading from a file

    Hello,

    I need to make a program that can read a file and store the file's values in an array.

    My first step was to find the size of the file using FSEEK in conjunction with the ftell function....
Results 1 to 12 of 12