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

Search:

Type: Posts; User: Ciralia

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    545

    Detect what sent WM_QUERYENDSESSION?

    I know after reading about WM_QUERYENDSESSION that windows typically sends this message to all running applications when a user is either logging off, restarting, or shutting a PC down. I have an...
  2. Re: Increasing memory related to list allocation?

    I thought that might be the case too. So even though it is bad coding practice, I put a GC.Collect() right after this code executes, but the memory still continued to increase. I thought perhaps...
  3. Increasing memory related to list allocation?

    Using a few memory profilers I am seeing that the memory usage of my program is increasing due to an issue with code that looks like what is shown below. A 'for' loop creates a new instance of...
  4. Replies
    4
    Views
    1,558

    Re: Solving Memory Leaks

    Well the app has 4 executables...3 of which are C++ and 1 which is C# and the one that is C# is the one that is having the memory problem.
  5. Replies
    4
    Views
    1,558

    Solving Memory Leaks

    I have a program that runs C++ for its behind-the-scenes functional operations and runs C# for its GUI portion, however, the C# GUI executable has a memory leak issue and I'm trying to track it down....
  6. Replies
    4
    Views
    1,676

    How to use SetLocalInfo in Windows XP?

    I am trying to use SetLocalInfo to set the language of my program to Arabic so that text received from my edit box will be displayed in Arabic, however, the SetLocalInfo method keeps returning an...
  7. Re: Retrieving Arabic characters using GetWindowText?

    Is there a way to programmatically set the non-Unicode language setting under the Regional Settings area to Arabic?
  8. Re: Retrieving Arabic characters using GetWindowText?

    My project has the _MBCS in its Preprocessor Definitions which means it isn't Unicode. Also in my language settings it is set to English for non-Unicode programs.

    That being said, is there a...
  9. Re: Retrieving Arabic characters using GetWindowText?

    I am not sure how to tell if the build is UNICODE or ANSI. The user locale is set to English so that when my program starts it starts in English and I have to manually switch it to Arabic if I want...
  10. Retrieving Arabic characters using GetWindowText?

    I am using Windows XP and Visual C++ and have the Arabic language pack installed so that I can switch from English to Arabic as needed. In my program I have a RichEditCtrl that allows a user to type...
  11. Replies
    4
    Views
    821

    Attempting to capture Enter key on form

    Hello all,

    I have a form that contains an embedded tree view and another dialog. The dialog contains a multiline text box and when the Enter key is pressed I just want the cursor to go to the next...
  12. Replies
    2
    Views
    1,275

    Batch File - Parse text file

    Hello I have a text file with data like this:

    #@ SAMPLE 1
    #@ SAMPLE 2
    #@ SAMPLE 3
    #@ CONDITION 1
    #@ CONDITION 2
    ...and so on...

    All I need to do is to write a batch file to parse this text...
  13. Replies
    4
    Views
    1,846

    Re: error: initializer element is not constant

    This code is actually a snippet from some source i'm trying to port over to my OS. I can't get it to compile worth a darn, and these macro definitions seem to be the problem.
  14. Replies
    4
    Views
    1,846

    error: initializer element is not constant

    Here is a sample of the C code that caused this error:



    /* file1.h */
    #ifndef MY_ID_MACRO
    #define MY_ID_MACRO(id) id = getID()
    #endif
    /* End file1.h */
  15. Re: Calling non-static function from static function

    Sorry but there is no way you could understand the code if I put it exactly as it is here. So I try to simplify it to give you an idea of what I am trying to solve. Remember these forums are for...
  16. Re: Calling non-static function from static function

    Remember this is sample code to give you an idea of what the problem is, but my code is a bit more complicated. So I run into problems if I try to change functions to static in the classes. I did...
  17. Calling non-static function from static function

    Hello, I know this has been discussed on the forums before but none of the other posts match my scenario. I have 2 classes and from one class I want to call a function from the other class but I get...
  18. Replies
    5
    Views
    648

    Re: Problem declaring static template member

    Igor is there any way to put the whole initialization in the .cpp file ?
  19. Replies
    5
    Views
    648

    Re: Problem declaring static template member

    Well MyStruct is declared in another file, but it is public in the class it is in. I have modified my sample to help signify this.
  20. Replies
    5
    Views
    648

    Problem declaring static template member

    Here is sample code to give you an idea of what my problem is:

    //FileB.hpp


    class CStructClass
    {
    public:
    struct MyStruct
    {
  21. Replies
    0
    Views
    458

    ATL Property Sheet Cancel Button

    Hello, I am using an ATL Property Sheet with multiple tab pages. The property sheet has an OK and a Cancel button at the bottom, therefore all tab pages can access them. For some reason when I click...
  22. Replies
    1
    Views
    1,157

    External password encryption program

    The build tool I am using has a telnet server and password encryption algorithm built in. However, the password encryption program has to be ran separately. For example, if I wanted my password...
  23. Replies
    5
    Views
    1,319

    Creating a simple telnet server

    I am trying to understand the procedures and concepts behind creating a telnet server. Here is the list that I have compiled so far on how to start creating it:

    1. Create a socket
    2. Using the...
  24. Replies
    1
    Views
    1,785

    lwz not working properly?

    Here is the scenario:

    Register 9 = 0x10000000 (this is an address in memory)
    Register 0 = 0x00000000 (this is an address in memory)

    The address 0x10000000 contains the value 0x12345678

    The...
  25. Replies
    2
    Views
    505

    Creating a timer in C

    Hello. I cannot figure out how to create a simple timer in C that just spits out a log message every few seconds. I have tried using Sleep, wait and a task delay, but these do not allow for other...
Results 1 to 25 of 95
Page 1 of 4 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