User Profile

Collapse

Profile Sidebar

Collapse
ApocDev
ApocDev
Last Activity: Jul 7 '09, 11:12 PM
Joined: Apr 16 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ApocDev
    replied to Calling method in referenced DLL failed
    The pre-call write line worked, however, the writeline within Engine.Pulse and the write after Engine.Pulse were never called.

    Also, yes, I'm fine now. Just a very strange bug.
    See more | Go to post

    Leave a comment:


  • ApocDev
    replied to Calling method in referenced DLL failed
    Already did that, still nothing.

    It's odd, I changed the call to another method in the same class, and it worked just fine. Gotta love weird bugs....
    See more | Go to post

    Leave a comment:


  • ApocDev
    replied to Calling method in referenced DLL failed
    Like I said, Logging is an event based wrapper. It's threadsafe, and coded specifically to make logging to the GUI thread easier. (It fires an event, which is handled in the main form, which then does all the invoking to make sure it adds the new text on the GUI thread.)...
    See more | Go to post

    Leave a comment:


  • ApocDev
    replied to Calling method in referenced DLL failed
    Engine.Pulse(); is never called. It seems like it hits the Engine.Pulse() method, then just dies.
    See more | Go to post

    Leave a comment:


  • ApocDev
    started a topic Calling method in referenced DLL failed

    Calling method in referenced DLL failed

    I've got a program that hooks 'EndScene' of a D3D device via native code, with a C++/CLI wrapper to inject into the process (think of an application such as Fraps, or other game video capture apps).

    The C++/CLI wrapper loads my assembly, and calls a statically named method (OnFrame) every time EndScene is called from within the game. There is no issues with the C++/CLI wrapper, or the invocation, that all works fine and dandy.
    ...
    See more | Go to post

  • Code:
            public string[] Contains(IEnumerable<string> array, string val)
            {
                return (new List<string>(array)).FindAll(s => s.ToLower() == val.ToLower()).ToArray();
            }
    Or

    Code:
            public string Contains(IEnumerable<string> array, string val)
            {
                return (new List<string>(array)).Find(s => s.ToLower() == val.ToLower());
    ...
    See more | Go to post

    Leave a comment:


  • ApocDev
    replied to search in listview
    Code:
            // This should hold all of our items. Whenever you call
            // listView1.Items.Add() you should also add the item to this List
            private readonly List<ListViewItem> ListItems = new List<ListViewItem>();
    
            private void textBox1_TextChanged(object sender, EventArgs e)
            {
                List<ListViewItem> tmp = new List<ListViewItem>();
    ...
    See more | Go to post

    Leave a comment:


  • ApocDev
    started a topic Exception Reporting WebService

    Exception Reporting WebService

    I'm trying to write an exception logging/reporting WebService.

    My client application will report any unhandled exceptions to this web service.

    The 'preferred' method signature would be;

    [WebMethod]
    public string ReportException (Exception ex, IEnumerable<Ass emblyName> loadedAssemblie s, SystemInfo sysInfo, string userName);

    Currently, I'm forced to write a small 'wrapper' around...
    See more | Go to post
No activity results to display
Show More
Working...