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

Search:

Type: Posts; User: jolley

Page 1 of 14 1 2 3 4

Search: Search took 0.15 seconds.

  1. Re: how to pack the solution and provide dlls and header file for the client

    hi, cilu, i have thought about the common file twice,and i donot know which way it should be organized, there are two projects currently in the solution, suppose project A has one class, array,with...
  2. how to pack the solution and provide dlls and header file for the client

    the solution is composed of project A, project B,and project C. and i want to pack the solution,and the ideal result is that i can get one engine.dll. one engine.lib,and a header file,which aims to...
  3. Replies
    2
    Views
    799

    the different between event and message

    can anyone who is kind enough give me some explanations on the difference between event and message?
    i have searched around in google,but didn't get a proper explanation or a sample on that.
    thank...
  4. Replies
    8
    Views
    5,301

    Re: silly SignalObjectAndWait problem

    thank u for your advice, i will accept it. (sorry, i donot mean to include both files, u are right on that point that i should only include windows.h there while actually SignalObjectAndWait is only...
  5. Replies
    8
    Views
    5,301

    Re: silly SignalObjectAndWait problem

    u mean the function scope things? if we use global namespace, it means that the compiler will skip the local scope and find the target in a global scope, am i right?

    but i still do not know why...
  6. Replies
    8
    Views
    5,301

    Re: silly SignalObjectAndWait problem

    thank S_M_A for quick reply first, yup, it is declared in winbase.h and defined in windows.h, when i remove winbase.h in my project, still the problem remains. it's win32 console project with MSVC6....
  7. Replies
    8
    Views
    5,301

    silly SignalObjectAndWait problem

    first of all, please allow me to ask such a silly problem, i have spent a certain amount of time on that.
    and i use SignalObjectAndWait here. and of course i have omited the unimportant part of...
  8. Replies
    6
    Views
    19,073

    Re: OpenFileMapping ERROR_FILE_NOT_FOUND

    here is the url that i refer originally for creating named shared memory.

    http://msdn2.microsoft.com/en-us/library/aa366551(VS.85).aspx
    process A uses getchar to wait process B.

    thanks,...
  9. Replies
    6
    Views
    19,073

    Re: OpenFileMapping ERROR_FILE_NOT_FOUND

    :thumb: that's it, as i mentioned ago, msdn sample related to file mapping uses getchar to force the source process to delay when finishing copying the data.

    i have followed the MSDN's idea and...
  10. Replies
    6
    Views
    19,073

    Re: OpenFileMapping ERROR_FILE_NOT_FOUND

    thank u, Arjay for the sources.
    but still i donot know why it doesn't work. also another optional simple method could be just ReadFile/WriteFile.
    can anyone tell me why it comes up with the error?...
  11. Replies
    6
    Views
    19,073

    OpenFileMapping ERROR_FILE_NOT_FOUND

    there is a model: one dll(the source process) sets a file mapping object,place the information into the shared memory and then post a message to notify that there is a modification, the target...
  12. Replies
    2
    Views
    1,011

    file mapping synchronization

    hi all. please help me with the file mapping synchronization problem:
    there is one exe,and one dll, and in the dll, it provides a lot of interfaces for the third-part application, and the dll needs...
  13. Replies
    15
    Views
    1,739

    Re: Function Prototypes

    maybe, these points that i just give are based on personal favors alike,of course declaring function prototype is not a must if u have your own policy, but it has some advantages that i have listed,...
  14. Replies
    15
    Views
    1,739

    Re: Function Prototypes

    several points are here:

    first : declaring function prototype can make another checking on the function typing mistake, usually we find that the function prototype and the function implementation...
  15. Re: how does the dll access the interfaces in the target process?

    sorry but i am in Quality Assurance department, not the development department, so i can not get the source code about the company product.
    also, it's a small company, the QA dept is not allowed to...
  16. Re: how does the dll access the interfaces in the target process?

    hello, igor, today one friend told me that i should disassemble the company products' executable files into txt file, dive into the assemble code, and find the function address, when i use one...
  17. Re: how does the dll access the interfaces in the target process?

    first i feel ashamed for providing something unclear twice, but my intention is to say something like this:


    class CertainClass
    {
    public:
    int get_x(){return xx;}
    void set_x(int...
  18. Replies
    3
    Views
    893

    Re: Bitmap image in a dialog

    CWnd* handle_windows = NULL;
    CDC* handle_cdc = NULL;
    CDC* handle_cdc_other = NULL;
    handle_windows = GetDlgItem(IDC_PIC);// suppose the picture to be loaded with the id IDC_PIC.
    HBITMAP bitmap;...
  19. Re: how does the dll access the interfaces in the target process?

    sorry i am wrong on that point.


    the intefaces here mean the functions, such as the functions to get properties of the objects,and controls,etc.
    thank Igor for pointing me out,

    besides, from...
  20. Re: how does the dll access the interfaces in the target process?

    thanks for the url,Ejaz, but the sample is a bit different from the

    issue i encountered,because the sample perfroms drawing operations on

    the application without accessing the interfaces...
  21. how does the dll access the interfaces in the target process?

    it's like this: it contains 2 parts, one is the dll and the other is the target application.

    the DLL will provide hooking mouse/keyboard message,and most importantly retain the interface, which...
  22. Replies
    10
    Views
    1,870

    Re: ostream has too many parameters problem!

    imo, operator overloading should be with friend, which can provide a good interface(though may ruin the class integrity). to avoid misuse the publicity, u may choose to use gettings to hide the...
  23. Replies
    5
    Views
    1,005

    Re: Function call confusion

    IMO,it is a problem concerning operator overload,though i didnot skip the code attached.
    your code here:

    which means that u have to provide your own operator<< for list(list ,such as user-defined...
  24. Replies
    10
    Views
    3,224

    Re: creating a call function

    here is a hint. maybe a little buggy, anyway, it can explain myself much more:


    #include <iostream>
    using std::cout;
    using std::endl;
    using std::cin;

    struct Student
    {
  25. Replies
    10
    Views
    3,224

    Re: creating a call function

    the code doesnot explain yourself clearly on this subject.
    there are several points concerning your code:
    first, u have to prompt the client how to input, you should make the input clear and...
Results 1 to 25 of 346
Page 1 of 14 1 2 3 4





Click Here to Expand Forum to Full Width

Featured