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

Search:

Type: Posts; User: mike@spb

Page 1 of 5 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    552

    I changed this line: sTest.Write(str,...

    I changed this line:


    sTest.Write(str, (str.GetLength()+1) * sizeof(TCHAR));


    with


    sProfile.Write(A2W(_T(str)), (str.GetLength() +1) * sizeof(TCHAR));
  2. Replies
    1
    Views
    552

    Trying to Convert to Unicode Question

    I have a large string that I want to convert to Unicode. For some reason it only does part of it. Here is a sample
    [code]
    #define _UNICODE
    CFile sProfile;
    CString sfile = "C:\\profile.prx";
    ...
  3. More questions. When I use the sample, as you...

    More questions. When I use the sample, as you describe as being correct. It seems to be in UNICODE; however, the application that reads this UNICODE file does not recognize it. If I save the file...
  4. OK, now I'm confused. When I try to open the...

    OK, now I'm confused. When I try to open the original file the first line looks like this in unicode:


    [][][][][]<[]p[]r[]o[]f[]i[]l[]e[][]v[]e[]r[]s[]i[]o[]n[]=[]"[]4[]5[]8[]7[]5[]2[]"[]

    ...
  5. Need Help in Understanding HOWTO Write UNICODE String to a File

    How do I write to a file using UNICODE. I have searched the archives with no real answers. What do I need to do first, second and third.

    I know how to use var.WriteString("whatever");

    What...
  6. Replies
    2
    Views
    927

    WMI seems a little overkill. I have seen other...

    WMI seems a little overkill. I have seen other applications that show you, in a dropdown combo box, your choices to select a video capture card and then one for the audio. This should be fairly...
  7. Replies
    1
    Views
    703

    Did you every get it figure out. I am trying to...

    Did you every get it figure out. I am trying to do the same thing.

    Mike@spb
  8. Replies
    2
    Views
    927

    detecting video and audio devices

    I have searched the archives about detecting devices and it seems a lot of people suggest using wmi. I'm still new to VC++ and am a little confused. Is there a simplier way. I don't need to know...
  9. Replies
    3
    Views
    1,024

    Yes that was the problem I had to remove all...

    Yes that was the problem I had to remove all references to _Alt_MIN_CRT in project->settings

    Thanks,

    Mike@spb
  10. Replies
    3
    Views
    1,024

    ReleaseUMinDependency error

    I have been working with this dll trying to modify it. Things were working pretty good and then all of a sudden I am getting the following error:


    Linking...
    Creating library...
  11. Replies
    7
    Views
    5,189

    CProgressCtrl problem

    How do I get the stdout to fill in the step in a progress bar. Here is what I have so far.


    CProgressCtrl *m_pFileProg = (CProgressCtrl *)GetDlgItem(IDC_FILEPROG);

    STARTUPINFO SUInfo;
    ...
  12. Replies
    3
    Views
    689

    Thanks, I was looking into using sockets. Seems...

    Thanks, I was looking into using sockets. Seems simplier. I got my application to listen on a certain port. Do you know how to connect to it using asp?

    Mike@spb
  13. Replies
    3
    Views
    689

    HOw to access your remote application

    Since I did not get a response, I'll try rewording again and see if I can get a solution.

    I have created an application which runs on a remote machine. I have heard that through DCOM you can...
  14. Replies
    1
    Views
    570

    CreateObject problem and question

    Here is the sample code that I have created on a web page to access my application on a remote machine.




    <body>
    <%
    dim MyApp

    MachName = "123.123.123.123"
  15. I tried the sample and could not get it to work. ...

    I tried the sample and could not get it to work. I have an application residing on a remote machine and I want to createobject("MyApp.Application", "ServerIP"). Then I want to call a function on...
  16. Replies
    0
    Views
    753

    CreateObject question

    I want to connect to my application on a remote machine and call a function on my application. I am having difficulties getting started. What I have so far from a sample seems easy but I can't make...
  17. Not sure what you mean. How do I call it...

    Not sure what you mean. How do I call it remotely using ASP. Do I setup the DCOM parameters to access my application and then just call the function. I am new to this and am confused.
    What I...
  18. Call or click a button on remote application using DECOM

    I have created an application that is automated on a remote machine. Periodically this application updates it's schedule from a database. There is also a menu Schedule->update that I can select to...
  19. Replies
    14
    Views
    2,870

    I got it to work but now I want to redirect...

    I got it to work but now I want to redirect stdout and put the results in a progress bar. Here is what I have so far.



    STARTUPINFO SUInfo;

    SUInfo.cb = sizeof SUInfo;
    SUInfo.lpReserved =...
  20. Replies
    14
    Views
    2,870

    This is great except how do you call your...

    This is great except how do you call your application that has command line arguments?




    STARTUPINFO si = {0};
    PROCESS_INFORMATION pi = {0};
    si.cb = sizeof(STARTUPINFO);...
  21. Replies
    4
    Views
    697

    Would you have a small example? Mike@spb

    Would you have a small example?

    Mike@spb
  22. Replies
    4
    Views
    697

    Not sure what do to question

    I want to create, I believe would be a multi-dimentional array but I am not sure. I am somewhat new to this MFC and VC++. I have 34 items with a corresponding 34 items.

    Here are some examples:...
  23. Replies
    3
    Views
    1,628

    Thanks, this worked out great. Mike@spb

    Thanks, this worked out great.

    Mike@spb
  24. Replies
    3
    Views
    1,628

    How to select CListCtrl item question

    Ok, I searched the archives and have asked this question before with no response so I am asking it again. I am still trying to select an item in the CListCtrl. Current I have the following code:

    ...
  25. Replies
    1
    Views
    777

    CCtrlList Selecting Item Question

    Ok, I searched the archives and I am still trying to select an item in the CCtrlList. Current I have the following code:



    POSITION pos = m_pPList->GetFirstSelectedItemPosition();

    if(pos ==...
Results 1 to 25 of 102
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured