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

Search:

Type: Posts; User: Eri523

Page 1 of 80 1 2 3 4

Search: Search took 0.09 seconds.

  1. Re: Writing managed C++ dll so unmanaged C++ program can use third party c# dll

    That static only approach should work if, instead of creating it locally and instantly discarding the TCB object, you create it only once and preserve it in a static member variable.

    If you...
  2. Replies
    5
    Views
    238

    Re: Nested For Loops in Visual Basic

    That's roughly 1.3 * 10^31 combinations, and brute forcing that takes ages with just about *any* current technology! That's it. Besides, The said number is just the count of the combinations of...
  3. Re: Writing managed C++ dll so unmanaged C++ program can use third party c# dll

    Both functions your wrapper exposes to your unmanaged code instantiate ManagedTCB::DoWork as a local variable which, including its initialization state, is lost as soon as the function returns.
    ...
  4. Re: Pointer to incomplete Class type is not allowed

    Actually, although a C++/CLI wrapper is involved, I'd say this is a native C++ question, at least at this point.

    The reason for the error message you're referring to lies in your AddingWrapper.h:...
  5. Replies
    14
    Views
    2,259

    Re: Help with forms and classes

    Your first code snippet


    private: System::Void Cam1_Click(System::Object^ sender, System::EventArgs^ e);

    seems to be from MyForm.h, and that would correctly declare your event handler. I...
  6. Re: Delegate in C++ VS 2015 in managed class library for wrapping unmanaged C++ libra

    Oops! :o I just noticed that I simply forgot to upload the announced attachment containing my updated version of the demo project to post #2.

    Unfortunately, for obscure reasons, Codeguru currently...
  7. Re: Delegate in C++ VS 2015 in managed class library for wrapping unmanaged C++ libra

    OK, first let's check if you used the correct project types for the DLL projects. For the Unmanaged project you need a Win32 Project (template path Templates/Visual C++/Win32/Win32 Project). In the...
  8. Re: Delegate in C++ VS 2015 in managed class library for wrapping unmanaged C++ libra

    To make that 12 years old demo work under VS 2015, most of which is to be done is updating the old-syntax Managed C++ parts in the Managed.dll wrapper library project to the current C++/CLI syntax....
  9. Re: Unhandled exception at 0x7c22c81a (mfc71d.dll) during InitDialog

    Eventually... It's been in C++/CLI since 11 years... ☺
  10. Re: Error sending Email to default email program

    The code you posted is VB .NET, not VB6 (or VBA). Perhaps that is the problem.
  11. Re: Assembly Direct Addressing Mode (Subtracting) Question

    And what are these errors, and at which locations in your code? You'd best post at least a sample from your code so we can see what you have written. (Please use code tags.)

    Also, in the first...
  12. Re: Interoperability issue between VC++ (ocx) & VB.NET applications

    Good point, Victor, however, if that was the problem, wouldn't then the C++ compiler flag attempts to modify the passed byte array as an error in the first place? Wouldn't const, as it's used here,...
  13. Replies
    2
    Views
    460

    Re: Acces from Thread to user control datas

    Another approach I like to use in scenarios like this is to have the GUI thread, in response to data changes, pass work requests to the worker thread to be processed. A great mechanism for passing...
  14. Re: Use of milli second / micro second / nano second in gcc

    Why has this thread been moved to the C++/CLI section here? Wouln't C++ (non-Visual) have been the better place?
  15. Re: Access violation when trying to create instance of unmanaged class

    I don't see anything obviously wrong with the tiny bits of code you posted, but you provided way too little information to say anything substantial.

    What looks suspicious, though: Why (and how)...
  16. Re: Keep failing at VS 2015 Community Ed registration: just getting "ding!" on sign-i

    Sorry for that panic post yesterday. :blush: I definitely was over-alerted and pretty tired. Tried it again today after I shut down and restarted (not just hibernated and Wolke up) the system and it...
  17. [RESOLVED] Keep failing at VS 2015 Community Ed registration: just getting "ding!" on sign-in

    Well, it's just what the thread title says: Instead of accepting characters in the text box for mail/phone on sign-in (yes, I did create an account), I keep getting that "ding!" sound for each and...
  18. Re: Transferring data from a form to a separate class file

    Your question is rather vague. What are the concrete problems you're facing, like compilation error messages or exceptions you get, or data objects not having the expected values?

    Your...
  19. Replies
    7
    Views
    2,995

    Re: ListView sorting colums

    Ok, this MB/KB thing doesn't really mean varying data types within one column, but one data type formatted in a complex manner. Parsing this from the text representation in the list view is possible...
  20. Replies
    7
    Views
    2,995

    Re: ListView sorting colums

    GetItemValue() is where the actual item data access takes place, so that's what needs to be modified in your class derived from ListViewItemComparer (an this means the abstract class from the earlier...
  21. Replies
    7
    Views
    2,995

    Re: ListView sorting colums

    You can simply modify the numeric comparer from http://forums.codeguru.com/showthread.php?550881-RESOLVED-ListView-Sorting-Alternative so that it takes its input from the subitems rather than the...
  22. Replies
    1
    Views
    779

    Re: Excel VBA combination Generator

    For this purpose, think of the numbers' signs as boolean values in the sense "negate" and "don't negate". Then, essentially, you'll end up with plain binary counting.

    Here's a thread with a...
  23. Replies
    3
    Views
    851

    Re: Custom file association

    No I don't have such an example. As I wrote above, I never needed to do that. But someone else who is reading this may have.

    I took a quick look at one of my own file associations created using...
  24. Replies
    5
    Views
    1,157

    Re: ListView Sorting-Alternative

    You're welcome! :)

    In this case it's good practice to mark the thread [RESOLVED] using the thread tools menu at the top.

    While revisiting the topic I found a small enhancement that can be made:...
  25. Replies
    3
    Views
    851

    Re: Custom file association

    To have your program open files on start-up, let it examine the command line arguments that you can access by calling Environment::GetCommandLineArgs(). If you find a file name as the first argument,...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center