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

Search:

Type: Posts; User: Alex F

Page 1 of 80 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    335

    Re: Fill Array with even numbers only

    You can add internal loop and call rand until it generates desired number - odd or even.
  2. Replies
    3
    Views
    259

    Re: Child Window on top of control

    Probably you can explain this better, I don't think somebody can understand your question.
  3. Re: Erorr asigning pointer to iterator ( only after porting to VS2013 )

    OK, you can replace IncBuffer.insert with the code from my first post. Is there some problem with this?
  4. Re: Erorr asigning pointer to iterator ( only after porting to VS2013 )

    So, you need to add some buffer (char*) to vector. I don't see any reason to use vector iterator for reading plain char array. Please show some more code to get an advice how to rewrite it. For...
  5. Replies
    7
    Views
    374

    Re: How long is your build?

    7 min 16 sec 34 ms
  6. Replies
    3
    Views
    396

    Re: Unable to pass arguments to DLL function

    This is not mangling, it just causes GetProcAddress to fail. Maybe calling convention. Anyway, instead of these explanations, please post your code.
  7. Re: How to determine cross platform type during file save?

    Maybe you can detect whether lpszPathName is a network path, and then ask user to select line-end type. If file name is local, save with Windows line-ends.
  8. Replies
    3
    Views
    257

    Re: Incorrect result in Bitwise operations

    What is initial data[j] value?
    Can you reduce this sample to single line of code, with hard-coded j value, which is supposed to give some result, but gives something else?
  9. Replies
    4
    Views
    316

    Re: Question about this website

    This code doesn't worth to copy it. Don't care.
  10. Replies
    9
    Views
    1,194

    Re: Unlcoking a mutex from crashed thread

    It is still not clear what do you mean by "crashed thread". Can you be more specific? Usually, when any thread in the process crashes, the whole process it terminated.
  11. Replies
    9
    Views
    1,194

    Re: Unlcoking a mutex from crashed thread

    It is not clear wht do you mean here: task got crashed. If exception is unhandled, the whole program crashes. If exception is caught, here is the place to release the mutex.
  12. Re: How to convert a C# module into an unmanaged C++ dll?

    Automatic conversion doesn't exist. If your target platform is Windows, you can add .NET support to existing VC++ project. This converts the project to C++/CLI. Then add reference to C# library and...
  13. Thread: cpu ID

    by Alex F
    Replies
    7
    Views
    480

    Re: cpu ID

    Thread doesn't run always on the same core. When thread resumes its execution, it may be executed on any available core.
  14. Re: What technologies to use for modern Windows client development?

    According to your program description, I don't see any reason to use C++ at all. If you don't need to write cross-platform code, C# + WPF is the best choice. Additionally, C# is much better for...
  15. Re: Developing Unmanaged aplications in VS2013 to Work Just Like VC6 Did

    To run VC++application on computer without Visual Studio it is necessary to install Visual C++ 2013 Runtime: http://www.microsoft.com/en-us/download/details.aspx?id=40784
    You can also make...
  16. Replies
    10
    Views
    583

    Re: Creating a Grid?

    Use online C++ compiler, better than Notepad:
    http://www.compileonline.com/compile_cpp11_online.php
    http://codepad.org/
    ...
  17. Re: How do you make this bit of code compatible with both debug and release builds?

    You have different Character set (Multi-byte - Unicode) in Debug and Release configurations.
  18. Re: Calling a DLL written in VC++.NET Native Code from a VB.NET project

    DllImport is correct way to call native function from VB .NET. Better to avoid full path: "C:\_MOPEKS\ ..." and leave only Dll name. Place Dll to .exe directory, current directory or make it...
  19. Re: Debug a Native DLL written in VC++.NET 2010 Express called from a VB.NET .exe fil

    Debugging from VB .NET, ensure that debugger type is Mixed.
  20. Replies
    32
    Views
    1,732

    Re: Moving from VC++ 6.0 to VC++.NET

    1. Unlike VB6 - VB .NET, C++ remains the same language. Conversion is pretty straightforward - open old VC++ project in new Visual Studio, fix all compilation, build and runtime errors. I don't know...
  21. Replies
    32
    Views
    1,732

    Re: Moving from VC++ 6.0 to VC++.NET

    2. Yes, in native C++, but not in x64 build. You can, however, compile Assembly modules and link them with C++ modules. As mentioned before, it is much better to write this stuff in C++.

    3, Yes,...
  22. Thread: explain output

    by Alex F
    Replies
    5
    Views
    2,722

    Re: explain output

    In addition to previous answers, to get 40, replace int* with char*
    Pointer arithmetic results depend on pointers type.
  23. Re: How to recognize a mouse click on a line in picturebox ?

    If you draw these lines, you are supposed to know their coordinates... You can create a region from line and hit test it with mouse point, as it is done here:...
  24. Re: Really need help with Opening Form2,3,4,5 with buttons from Form 1 (With conditio

    Please read my post again: Make Form2 ^form2show class member in the main form
  25. Re: Really need help with Opening Form2,3,4,5 with buttons from Form 1 (With conditio

    Make Form2 ^form2show class member in the main form. When it is null, create and show it. If not null, do something else, for example, hide/show it.

    Then you need to override FormClosing event in...
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 is a CodeGuru survey question.


Featured


HTML5 Development Center