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.20 seconds.

  1. Re: ASP and MySQL - Creating a Mailing List Form

    Rather than coding a .net ASP web app, I would start with an MVC/Razor 5 application. You'll see this option as a new project (not a new web project).
  2. Re: I am trying to write a console app in c for shutdown pause.

    From the docs "To stop the local computer from shutting down, the calling process must have the SE_SHUTDOWN_NAME privilege. To stop a remote computer from shutting down, the calling process must have...
  3. Replies
    3
    Views
    118

    Re: Triple click [ c++]

    No need to bump your posts. That being said, search bing or google for examples on using SendInput.

    Learn how to send simple characters to a window like notepad. Next, form a complex input (like...
  4. Replies
    9
    Views
    337

    Re: A simple vmString class

    I'm wondering about the whole writing your own string class, but using other parts of the std library.
  5. Re: ASP and MySQL - Creating a Mailing List Form

    Most likely, your connection string is invalid. This doesn't look like it's valid:


    ConnString = "SERVER='MYSQL5002.Smarterasp.net';UID=USERID;pwd='PASSWORD';database='DATABASE';"

    Is USERID a...
  6. Re: [C++] The problem with SendMessage hold the key

    Search bing or google for "SendInput function examples"
  7. Re: [C++] The problem with SendMessage hold the key

    See SendInput function in msdn.
  8. Replies
    19
    Views
    501

    Re: Dialog Window Property Question?

    It isn't about questioning your skills - it's about trying to help you solve the problem. If we understand what you are attempting to do in more detail, we might be able to help you solve it in a...
  9. Re: Problem With Sleep() When drawing ananalog clock

    Got it. It actually asks the user a bit more - namely to create an analog clock with movable hands. Do you think it's a bit of a stretch for someone learning C++ to pick up UI programming and be...
  10. Replies
    19
    Views
    501

    Re: Dialog Window Property Question?

    I don't mean to sound flip, but why would you care?

    I say this because unless you are trying to automate the app, having to determine which window is on top could be an indication of a design flaw.
  11. Re: Problem With Sleep() When drawing ananalog clock

    Unfortunately, I didn't have time to read through the book.

    As I suggested earlier, maybe it's time to get this working without the analog clock if the goal is to learn about clock and sleep.
    ...
  12. Re: Problem With Sleep() When drawing ananalog clock

    Reduce the sleep time and pump messages inside the loop. Use a timer. Use a thread. Handle onIdle processing. Lot's of ways to skin this cat.
  13. Re: Problem With Sleep() When drawing ananalog clock

    Fantastic. The OP probably needs to jump back a few chapters to get how to use the graphics library.
  14. Re: Problem With Sleep() When drawing ananalog clock

    One problem that we have (without reading the whole book) is knowing what type of sample code is included in the book. So when exercise 6) states: 'Make an "analog clock," that is, a clock with...
  15. Replies
    6
    Views
    257

    Re: Flight simulator and a dll

    You don't link them per se, but what you do is make the data available across processes (search bing or google on "interprocess communication" for the several different approaches to passing data...
  16. Replies
    6
    Views
    257

    Re: Flight simulator and a dll

    I've discovered that 32-bit dlls may not show up on a 64-bit system (providing you are running a 32-bit app on a 64-bit system). If this is the case, run the ListDlls tool from here:...
  17. Replies
    4
    Views
    928

    Re: How to check version for mfcs42d.pdb

    Since this thread is nearly 15 years ago, you may want to start out by posting a new thread with the relevant details. What the problem is? What OS are you running on? What compiler, etc.?
  18. Replies
    6
    Views
    257

    Re: Flight simulator and a dll

    I've looked at the code and see where you've added the two functions.

    Are you sure the value is getting set? In other words, are the DoCallback and SDKGauge_DispatchProcDLL functions getting...
  19. Re: MFC Proper usage of sending message to dialog to activate

    As we've discussed before, be careful with calling SendMessage from a worker thread. One reason not to do it is because, unlike PostMessage, SendMessage is synchronous, so if the main thread is hung,...
  20. Replies
    2
    Views
    255

    Re: Porting some Java code

    Port the classes that are used by other classes starting with the classes that do not have any dependencies and then work your way out.
  21. Thread: Implementing LDP

    by Arjay
    Replies
    1
    Views
    135

    Re: Implementing LDP

    WCF doesn't care that it's hosted in a console.

    Code that runs an LDAP query doesn't care if it's executed within WCF (as long as the process hosting WCF has permission to run the LDAP query).
    ...
  22. Re: Problem With Sleep() When drawing ananalog clock

    The library you are using is creating a Windows GUI app under the covers in spite of you simply declaring a class and calling a method in the main() function.

    Given that this is now a Windows app,...
  23. Thread: .NET web service

    by Arjay
    Replies
    6
    Views
    264

    Re: .NET web service

    What hosts the WCF service is something called the ServiceHost class. To do this inside your existing WCF Service library solution, you simply add a new project (i.e console project) to your...
  24. Replies
    2
    Views
    214

    Re: Use same interface for different classes

    Instead of declaring the motor as an object, declare it as an interface.



    public class Motor
    {
    private IMotor_motor;
    private string _version;

    public void InitMotor(string version)
  25. Replies
    5
    Views
    224

    Re: Replace character with string

    Assuming that first is a string variable, the for loop gains nothing.

    Just code it as..

    newStr = first.replace ("*", second);

    Notice "*" is used rather than '*'.
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