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

Search:

Type: Posts; User: MrProsser

Search: Search took 0.01 seconds.

  1. HRESULT E_FAIL has been returned from a call to encountered when using dll in C++/CLI

    Hello,
    I have a number of dlls that I wish to use but I do not have the source code for them. They are part of an API that is used for an application but they are also provided for public use. I...
  2. Re: Why might my C# and C++ dlls exhibit different behavior?

    Alright, I guess I will keep looking at this then. I downloaded debugview and processmonitor and hopefully those will help shed some light on this.
  3. Re: Why might my C# and C++ dlls exhibit different behavior?

    Hmm, well at least I am not alone in being confused, though knowing why it did not work would be a lot more satisfying. I thought it was just me as I am pretty new to Windows programming in general,...
  4. Re: Why might my C# and C++ dlls exhibit different behavior?

    Igor,
    I pretty quickly figured out that they were mistaken about this. I eventually found a solution but I do not know why it works, but perhaps someone can enlighten me.

    Originally I had the...
  5. Re: Why might my C# and C++ dlls exhibit different behavior?

    When I say that I mean I cannot get information about the file using their API for accessing that file type. There is little information about error handling with their API though, nothing that I...
  6. Why might my C# and C++ dlls exhibit different behavior?

    I am working on a project that involves the creation of a dll that honours a certain interface in order to plug into some software in order to add functionality to it. This is done by a dll that...
  7. Replies
    1
    Views
    448

    Using COM DLLs with with unmanged c++

    Hi,
    I am still a bit new to Windows programming and sometimes find the documentation and tutorials I find confusing and sometimes contradictory but I hope I can make some sense.
    I am using an API...
  8. Re: Third party DLL throws exception: Error HRESULT E_FAIL has been returned from a c

    Also, when I perform a dumpbin on the dll as I saw recommended elsewhere when using DllImport all I got was:

    Dump of file Peak_Finder4.dll

    File Type: DLL

    Section contains the following...
  9. Re: Third party DLL throws exception: Error HRESULT E_FAIL has been returned from a c

    BioPhysEngr,
    Thanks for the reply. I thought about doing that, though I have never used DllImport before. How would one handle the constructor when importing methods? It was not clear to me how...
  10. Third party DLL throws exception: Error HRESULT E_FAIL has been returned from a call

    I am still fairly new to Windows programming so some of it is rather weird and very mysterious to me. This might be obvious or it might not be. I know this error is exceedingly common but I have...
  11. Re: Process started in dll works correctly in testing but not in final version

    Well, I looked at the environment variables and other than the current directory I did not see anything different. However, I added the path to the executable and some of the dlls it needs...
  12. Re: Process started in dll works correctly in testing but not in final version

    Hi,
    Thanks, I sadly tried that and it did not work. However, perhaps I made a mistaken when doing this so I will try it again. Is there any way to find out what DLL is cannot find? That would...
  13. Re: Process started in dll works correctly in testing but not in final version

    Oh, sorry, I can edit this then to include those tags.

    How can I tell if it is recognising the arguments? I do not get any output from the application, the redirected output is empty so I cannot...
  14. Process started in dll works correctly in testing but not in final version

    I have been struggling with this problem for a while. I am not sure if this is the most appropriate forum to post this in but I did not see anything that seemed like a better fit.

    I am working on...
  15. Capture console output from process created in DLL

    Hi,
    I am working on method in a DLL that gets called by another application. In my method I have been writing to the event log to aid debugging and generally to allow me to determine whether things...
  16. Re: Need Advice - Opening a file once and reading data every time a method is called

    Mutant_Fruit,
    Thanks, I am going to try something like #2 first, even though it might be problematic as well. The problem I have with #1 is that I have no idea what the format of the file is. The...
  17. Re: Need Advice - Opening a file once and reading data every time a method is called

    fcronin,
    Actually I had the same thought just a little while ago. I got so stuck looking at my method (because normally I have not had to look at anything else) that I did not even think about...
  18. Re: Need Advice - Opening a file once and reading data every time a method is called

    fcronin,


    This is basically what is going on. During a run of the experiment on this device there are periodic times when a decision has to be made about what data should next be looked at. ...
  19. Re: Need Advice - Opening a file once and reading data every time a method is called

    DataMiser,
    I am able to open the file and get a file handle so I believe an approach like this is what I need. But sadly the only code I can modify myself is my method that is regularly called. So...
  20. Need Advice - Opening a file once and reading data every time a method is called

    Hi,
    I was not sure what section to post this but I thought this was the most appropriate. I have a bit of a strange programming problem because I am forced to use a number of closed formats and...
Results 1 to 20 of 20





Click Here to Expand Forum to Full Width

Featured