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

Search:

Type: Posts; User: sunny_sz

Page 1 of 33 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    14
    Views
    1,917

    Re: C++ dll problem

    I am not sure whether or not I already correctly understand what you are try to explainReference to my first post directly.
  2. Replies
    14
    Views
    1,917

    Re: C++ dll problem

    You want to build a .DLL file with your present C# project or just invoke a C++ dll file in C#??

    If it is the latter, as I mentioned above, just copy and compile simply, otherwise create a new dll...
  3. Replies
    14
    Views
    1,917

    Re: C++ dll problem

    You are doing an application with C# and want to invoke C++ DLL file in C#, right? If yes, please reference to my previous post above, otherwise, please clarify your questions clearly.
  4. Replies
    14
    Views
    1,917

    Re: C++ dll problem

    [DllImport(“MyDLL.dll")]
    public static extern int mySum (int a,int b);
  5. Replies
    4
    Views
    1,034

    Re: Timer more precise than SetTimer

    Reference Creating a reliable timer .
  6. Replies
    6
    Views
    6,194

    Re: Convert CString to Dword and vice versa

    Yes, you are right :cool: ! Its my mistake in my written work. :blush: :blush:
  7. Thread: using LPCTSTR

    by sunny_sz
    Replies
    5
    Views
    1,899

    Re: using LPCTSTR

    You may use it directly.
  8. Replies
    4
    Views
    1,021

    Re: How can use VB dll in VC++ code?

    Assume VB DLL name is project1.dll

    The first thing you have to do in VC++ is to add #import ".\\Project1.dll" no_namespace, then


    .........
    CoInitialize(NULL);
    _Class1Ptr ptr;...
  9. Replies
    6
    Views
    6,194

    Re: Convert CString to Dword and vice versa

    DWORD to CString


    DWORD a
    CString str;
    str.format("%d",a);
    afxmessagebox(str);


    CString to DWORD
  10. Replies
    9
    Views
    3,013

    Re: How can reduce memory usage of application?

    You can try SetProcessWorkingSetSize(IntPtr process, int minSize, int maxSize) at a certain time.


    -------------------------------------------
    If finding this post helps, please Rate this post...
  11. Replies
    2
    Views
    815

    Re: Simple Progress bar?

    In addition to QuinnJohns post, please reference to How to use Progress Bar in C#..??.
  12. Replies
    1
    Views
    1,071

    SQL Server Database Backup Issue

    Hi codeguru Members:

    I am facing an issue about dataase backup, details as below:
    One application is running real-time, and is read/write to the database, now I make some settings or download...
  13. Replies
    4
    Views
    1,109

    Re: app auto close

    In addition to HanneSThEGreaT, you can reference How to Make a Program close itself if it has been inactive for long time also.
  14. Replies
    5
    Views
    1,061

    Re: Transferring of one file to another file

    I don't clearly understand what you mean.
  15. Re: Help need for the alternate function of for loop

    You said you want to change the for loops with some other alternate function, but we do not know to change the number of loops or change functions of loops ??
  16. Replies
    4
    Views
    6,712

    Re: Modal dialogs

    Firstly, please use code tag.
    2nd, Take a look at this
  17. Replies
    1
    Views
    1,760

    Re: how can i exit the program entirely?

    Firstly, Please use code tag for your code snippet.
    Second, your code:


    while (m_nCurFrame++ <m_nMax)
    {
    if(bb)
    {
    break;
    }
  18. Replies
    14
    Views
    14,989

    Re: help:compile log4cxx error

    The files you provide so many and I am using VC6 environment not you are using, I cannot be sure you are missing what lib file, you have to read up your codes and find out. Good luck!
  19. Replies
    14
    Views
    14,989

    Re: help:compile log4cxx error

    Those codes are written by yourself? and what kinds of plateform you are using? You have to go at these points first.
  20. Replies
    5
    Views
    1,092

    Re: printf weird output under Vista

    You have include head file stdio.h, I believe that printf will work in vista.
  21. Replies
    14
    Views
    14,989

    Re: help:compile log4cxx error

    There is Visual C++ 6.0 version only in my pc, but seeing from you post above, I guess that lack of specified files (e.g. .LIB etc) may cause also, please double check.
  22. Replies
    1
    Views
    784

    Re: Position window

    Try SetWindowPos .
  23. Replies
    4
    Views
    1,303

    Re: Video streaming using visual C

    It is a little of complex system, it is impossible to demonstrate this just in few words here.
    Anyway, please try to play vedio that acquired from server real time.
  24. Replies
    4
    Views
    1,303

    Re: Video streaming using visual C

    Theoretically speaking, nothing is impossible.
  25. Replies
    25
    Views
    11,416

    Re: Save button MFC

    Do not forget to close file when writting string into a file.
Results 1 to 25 of 815
Page 1 of 33 1 2 3 4





Click Here to Expand Forum to Full Width

Featured