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

Search:

Type: Posts; User: MartinL

Page 1 of 42 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    769

    I don't have a time to completelly look into your...

    I don't have a time to completelly look into your code, so I am just guessing...

    Try to replace line:
    char buf[5120];
    with
    char* buf = (char*)malloc(5120);

    martin
  2. Thread: DirectShow

    by MartinL
    Replies
    2
    Views
    751

    there is another problem... it has nothing to do...

    there is another problem... it has nothing to do with mux filter... Mux filter just creates some kind of "stream" from more then one video or audio stream. And.. which kind of mux filter you added...
  3. Replies
    1
    Views
    1,191

    look at Control.Region property and...

    look at Control.Region property and System.Drawing.Region class.

    Create a Region object that will be your irregular-shape window and assign this object into tho Region property of the window...
    ...
  4. Thread: Memory crash

    by MartinL
    Replies
    3
    Views
    523

    Hm... Regarding the application crash... 2GB is...

    Hm...
    Regarding the application crash... 2GB is maximum for amout of memory that application could get. I am talking about the virtual memory... May be, there is something in the rest of memory that...
  5. Thread: Memory crash

    by MartinL
    Replies
    3
    Views
    523

    Generally it is silly idea to load so much...

    Generally it is silly idea to load so much objects into the memory at once. You DON'T need it in ANY case...

    Think about another solution. I don't know details about why do you need so much...
  6. Replies
    5
    Views
    514

    Yes... You are right... That is what I was...

    Yes... You are right... That is what I was talking about... Not just creation however also some initialization... :)

    martin
  7. Replies
    12
    Views
    714

    What is the line? It is a string that ends by...

    What is the line? It is a string that ends by "\r\n"? Or did you mean something else?

    Data transmitted through sockets are binary data. So, there is nothing like one line. You need to define this...
  8. Replies
    5
    Views
    514

    Nice... However you don't need the static...

    Nice... However you don't need the static constructor here...
    You can just write:


    private static Hashtable htSharedMemory = new Hashtable();

    and you get tha same effect.. :)

    martin
  9. Replies
    5
    Views
    514

    Normally you should not need it... :) The...

    Normally you should not need it... :)

    The static constructor is called before the first instance of class is created. So, you can initialize the class... I cannot imagine any situation when it is...
  10. Replies
    3
    Views
    1,197

    What is x? Is it a value type or is it an object?...

    What is x? Is it a value type or is it an object?

    It looks like the x is object.. (maybe string)

    In this case, you passed reference to that object into the Write() member of StreamWriter. Then...
  11. Replies
    2
    Views
    603

    1.) Go to the Visual Studio .NET Command Prompt...

    1.) Go to the Visual Studio .NET Command Prompt and write
    installutil.exe /u yourservicename.exe

    2.) I don't know.

    martin
  12. Replies
    6
    Views
    4,455

    Hm... What about WM_COPYDATA message??? ...

    Hm...

    What about WM_COPYDATA message???

    Look at MSDN at this message. It allows you copying buffers between applications...

    martin
  13. Replies
    18
    Views
    3,110

    Yea guys... MPEGs are allways read using Async...

    Yea guys... MPEGs are allways read using Async File Source filter... (if you use AddSourceFilter() method or RenderFile() method during the graph building).

    Whole problem is not about the loading...
  14. Replies
    5
    Views
    486

    You can be sure! It is same as in Java... Or even...

    You can be sure! It is same as in Java... Or even C++...

    martin
  15. Replies
    18
    Views
    3,110

    Hm.. Even Async File Reader can't open the file...

    Hm.. Even Async File Reader can't open the file if it is locked by another filter (file writer in encoding graph). So once you run the graph for encoding is not possible to build graph for playing...
  16. Yes, it is true... However it works only when you...

    Yes, it is true... However it works only when you exactelly know where you object does the job... It is impossible to use if the object should be alive during the whole programe execution and should...
  17. After compiling your directshow filter you should...

    After compiling your directshow filter you should have a file named like "VIVEoutput_i.c" (or something like that) in directshow filter project directory...

    Try to add that file into the project...
  18. Replies
    2
    Views
    740

    using System.Runtime; using...

    using System.Runtime;
    using System.Runtime.InteropServices;

    // ....

    public int netSend(string sFrom, string sTo, string sMessage)
    {
    byte [] bBuffer =...
  19. Replies
    5
    Views
    584

    Hm... Why do you think that performance of...

    Hm... Why do you think that performance of StringBuilder is better then classical operation between 2 strings? I am just currios about it because when I looked into the source codes of StringBuilder...
  20. Replies
    2
    Views
    1,882

    Throw an exception even if you don't find the row...

    Throw an exception even if you don't find the row you are searching for... Catch the exception in the caller function and handle it there... And the just forget created object. It will be deleted by...
  21. Replies
    1
    Views
    394

    Probably you are putting objects that are not of...

    Probably you are putting objects that are not of type Person in you nameList array... The exception means, that the cast of object returning from nameList array is inpossible convert to Person type....
  22. Replies
    1
    Views
    864

    You have to call Directory.GetFiles() twice to do...

    You have to call Directory.GetFiles() twice to do this...

    martin
  23. Replies
    12
    Views
    763

    I am not sure however maybe it is possible to...

    I am not sure however maybe it is possible to done such thing by defining some attribute for the class or method... I don't know, may be yes... :D

    However why don't you use something like this:
    ...
  24. Replies
    3
    Views
    396

    Yes, you are right.. I appologize... :) There has...

    Yes, you are right.. I appologize... :) There has to be explicit casting.

    martin
  25. Replies
    12
    Views
    763

    The main point is that = is not an operator... It...

    The main point is that = is not an operator... It is assignment... It is command... :)) I know. In C++ you can overload it... However you can overload even new operator in C++. In C# you can't do...
Results 1 to 25 of 1047
Page 1 of 42 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center