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

Search:

Type: Posts; User: Arjay

Page 1 of 80 1 2 3 4

Search: Search took 0.26 seconds.

  1. Replies
    3
    Views
    171

    Re: How to improve my efficiency of debugging?

    Hopefully the code that you are trying to debug is modular and it has a well defined interface. If it is modular, then you can start improving in the code behind the interface boundary. You can add...
  2. Re: Server / client - what kind of solution should I use?

    I'd choose wcf because it gives you more hosting options and other features.

    There is no setting for auto reading, but you can do it yourself with the FileSystemWatcher class.

    Moving to a...
  3. Replies
    8
    Views
    216

    Re: How to break for loop

    Of course it hangs, you never leave the loop and you block the main thread while you are in the loop (if it's MFC, the main thread can process messages so it 'hangs'). Read the port from a worker...
  4. Replies
    1
    Views
    127

    Re: data from excel to sql database?

    Read the data out of excel and put it into a generic<> collection. Bind the collection to the data grid. When you need to save the collection to sql, you walk through the collection and save each...
  5. Replies
    1
    Views
    110

    Re: C# inegrating dll

    You need to pinvoke to each of the dll functions. See http://www.pinvoke.net/ for examples on how to do this.
  6. Replies
    3
    Views
    149

    Re: LoadLibrary("kl2dll32.dll") returning 0

    Why use LoadLibrary? Why not pinvoke to the kl2dll32.dll directly?
  7. Replies
    11
    Views
    553

    Re: Review Component Based Architecture API

    It sure makes the code cleaner when exceptions can be used.
  8. Replies
    25
    Views
    42,740

    Re: How to get the source code of a software/program

    Reverse engineering a program without source code is one of the most challenging tasks for a programmer. If you do not program, then it's even more difficult.

    Of course, looking from the outside,...
  9. Re: [RESOLVED] how make a multithread synchronization correctly?

    Actually, you are getting lucky and it only appears to work on the environment you are testing it on.

    With multithreading code luck only gets you so far, so look forward to some debugging sessions...
  10. Re: [RESOLVED] how make a multithread synchronization correctly?

    With regard to your comment of
    As codeplug mentioned, this isn't the proper way to synchronize access to a shared resource. You need to use a synchronization primitive (e.g. critical section or...
  11. Re: how make a multithread synchronization correctly?

    Why are you responding to this thread? If you have a question, start a new thread?
  12. Re: Printing PDf files from a console application without any additional tools

    Yes, to do it, you are going to need something that takes the pdf and forms a document that you can print.
  13. Replies
    14
    Views
    543

    Re: Passing a struct to and from a DLL

    You can do all of this with a COM dll and not worry at all about the version of compiler that was used to create the dll.
  14. Thread: string literal

    by Arjay
    Replies
    3
    Views
    212

    Re: string literal

    There is some confusion here. In a string literal you can type "ABC\\DB" or @"ABC\DB". In a dynamic string (where you are reading the value from somewhere else like a file), it most likely needs to...
  15. Thread: string literal

    by Arjay
    Replies
    3
    Views
    212

    Re: string literal

    If you are looking at the result of the string in the debugger, you are seeing two \\ because the first \ is an escape character. This is normal and there is really only one \ character (e.g....
  16. Re: Using Events to notify and change a property i.e. button.color

    Where is the event code?
  17. Replies
    14
    Views
    543

    Re: Passing a struct to and from a DLL

    If you need to share code containing objects between different compilers, then the safe way is to use a technology that defines a binary interface, such as COM.

    Otherwise, if it works, you're...
  18. Replies
    3
    Views
    311

    Re: Newbie Needs Help Creating Timer

    Search bing or google for "how to logoff the user in C#". You'll need to pinvoke to ExitWindowsEx.
  19. Replies
    1
    Views
    254

    Re: Client Server Architecture

    WCF would work well. Search bing or google for "wcf tutorial". There are a lot of examples out there. I even have one in my TrayNotify article series listed in my signature line.
  20. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    Have you looked into the answers on the other forum - it seems to give some idea there? Search bing or google for "InitiateShutdown RPC_S_SERVER_UNAVAILABLE".
  21. Replies
    2
    Views
    213

    Re: give path of logo with ~ sign in vc++ 6.0

    I'm guessing it's for website root path familiarity.

    At any rate, you're right, it doesn't add anything.

    @OP, just retrieve the path from the database and see if it exists, if it doesn't assume...
  22. Thread: help in exam

    by Arjay
    Replies
    22
    Views
    587

    Re: help in exam

    Look, you are pretty much out of luck here on this exam, but... In learning this stuff and preparing for a future exam, you have found a great resource. Folks here are willing to help you learn,...
  23. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    It was in reference to another forum post. I should have used a :).
  24. Re: InitiateShutdown fails for a remote computer with RPC_S_SERVER_UNAVAILABLE error

    My only question is whether you are coding in C or C++.
  25. Replies
    2
    Views
    235

    Re: Acces from Thread to user control datas

    One way to do it is rather than attempting to access the list items, share a thread safe list between threads. You may wrap this in a managing class that gets accessed by the UI and worker thread....
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.com survey!


HTML5 Development Center