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

Search:

Type: Posts; User: VbEndUser

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    424

    Re: Passing variant variable through LPVOID

    Dear 2Kaud,

    I'm using Microsoft Visual Studio 2008 compiler.
    Of cause you can not copy direct the coding from my post cause there are syntax error.
    But the casting part is correct.

    Thanks.
  2. Replies
    6
    Views
    424

    Re: Passing variant variable through LPVOID

    Dear 2Kaud,

    I have solved my problem.


    void main()
    {
    CClassA a;

    BOOL bAssign=FALSE;
  3. Replies
    6
    Views
    424

    Re: Passing variant variable through LPVOID

    Dear 2kaud,

    Yes. I understand.
    Regarding the coding, it was an example of what i trying to do.
    Sorry that there are syntax errors...

    About the answer that you suggest, it was an alternative...
  4. Replies
    6
    Views
    424

    Passing variant variable through LPVOID

    Dear Gurus,

    I have create a function which able to return value for variant of variable through a LPVOID parameter function.
    But some how it cannot work.
    Maybe i have did wrong in some point....
  5. Replies
    3
    Views
    460

    Re: _TrackMouseEvent not working

    Dear D_Drmmr,

    Thanks for pointing out my thread's problem.
    I always want to post my code in the
    window just that i did not know the script.
    There was no shortcut key or button.

    Refer...
  6. Replies
    3
    Views
    460

    _TrackMouseEvent not working

    Dear Gurus,

    I'm facing a problem with the _TrackMouseEvent
    Below is my coding:



    void CMyDlg::OnMouseMove(UINT nFlags, CPoint point)
    {
  7. Replies
    7
    Views
    755

    Re: Append Data to CFile via FILE*

    Dear All,

    I have tested the strerror(errno) message. It seem to store the previous error message which confuse me.
    I thought the error message was for my _fdopen() function. Is actually not.
    ...
  8. Replies
    6
    Views
    600

    Re: DLL errors in vc++ program

    Did you specific the "Additional Library Directory" where you lib is?
    When you have set your "Additional Dependencies" at the project properties->input.
  9. Replies
    7
    Views
    755

    Re: Append Data to CFile via FILE*

    Dear GCDEF,

    I need to do that cause a third party library's save function needed the FILE* handle.
    This is why i needed to call this function:
    pFILE = _wfdopen(fd, _T("a+"));


    Dear VictorN,...
  10. Replies
    7
    Views
    755

    Append Data to CFile via FILE*

    Dear All,

    I having a problem here.
    I'm trying to append data to a CFile using FILE*
    But when execute the application, it always give error saying "No such file or directory".
    I can actually see...
  11. Re: WaitForMultipleObjects (counter less than number of phandler)

    Dear Skizmo,

    Thanks. I have go though the MSDN help page.
    It seem like if i want to change the nCount, i have to reset my plHandles array as well.
    This is because my lphandles need to be...
  12. WaitForMultipleObjects (counter less than number of phandler)

    Dear All,

    I have a question here.
    I'm using WaitForMultipleObjects function.
    I have 4 lpHandles.
    my software are running fine now.

    If let said i change the nCount to 2 but i still pass in 4...
  13. Replies
    11
    Views
    1,428

    Re: sqlite static complie

    Dear VictorN,

    I copy both the file sqlite3.def and sqlite.dll to the LIB.exe folder
    (C:\Program Files\Microsoft Visual Studio\VC98\Bin).
    I did not copy to the c:/ path

    Thanks.
  14. Replies
    11
    Views
    1,428

    Re: sqlite static complie

    Dear laserlight,

    yes. I have disable the pre-compiled headers and the compilation is successful.
    i just not understand the usage of the pre-compiled headers.

    another question here is how can i...
  15. Replies
    11
    Views
    1,428

    Re: sqlite static complie

    Dear laserlight,

    I was trying to use sqlite library as well.
    I follow you instruction by adding in the 2 file sqlite3.h and sqlite3.c to my project.
    But i get this compilation error:

    [QUOTE]...
  16. Replies
    2
    Views
    773

    Problem with WaitForMultipleObjects

    Dear all GURUs,

    I'm facing a problem with my WaitForMultipleObjects function.
    I'm writing a thread to wait for 3 result using event.
    When getting all the result, then only i proceed to next...
  17. Re: how to refer to 2 dimensional array address

    Dear D_Drmmr,

    Thanks. it work just like what i want.
    Forget how to input the quote into the code.
    Thanks again.
  18. how to refer to 2 dimensional array address

    i have a problem here. I want to retrieve a data using memcpy.

    code
    ////////////////////////////////////////////////////////////////////////////
    unsigned char m_Data[256];
    //m_Data = "Hello...
  19. Replies
    17
    Views
    1,208

    Re: How to embed dialog onto another dialog

    Dear DataMiser,

    the calculation work. Thanks.
    but there another problem. when i drag the from1 dialog, the form2 dialog will not move together.
  20. Replies
    17
    Views
    1,208

    Re: How to embed dialog onto another dialog

    yes. i know about it that is why i try to embed the dialog at the Form1.
    I know in VC++, we can do like this but i don't know how to do in VB.
    Thanks
  21. Replies
    17
    Views
    1,208

    Re: How to embed dialog onto another dialog

    Dear DataMiser,

    I have try the calculation but the form2 position is follow the monitor screen coordinate.
    Is not following the Form1 coordinate.

    Thanks
  22. Replies
    17
    Views
    1,208

    Re: How to embed dialog onto another dialog

    Dear DataMiser,

    I developing a dialog base application.
    one Main dialog and few child dialog.
    I'm not creating a MDI application.



    Private Sub Form_Load()
    frmInfo.Show vbModaless, Me
  23. Replies
    17
    Views
    1,208

    Re: How to embed dialog onto another dialog

    Dear DataMiser and WoF,

    Sorry that i did not explain my problem clearly.
    Attached is the structure of what i'm try to do.
    Hope that with my drawing, it able to express what i'm try to say.

    I...
  24. Replies
    17
    Views
    1,208

    How to embed dialog onto another dialog

    I'm facing a problem to embed dialog into another dialog.
    Reason to do is i have a bunch of dialog to show but i don't want user to see it as dialog.

    I have created a Main dialogbox and want to...
  25. Replies
    0
    Views
    992

    how to get # key when button is press?

    Dear all,

    i'm developing a Midlet application using the netbeans IDE.
    i facing some problem where if i want to key in # or * from the emulator, i just can't get it right.

    1.when i press the...
Results 1 to 25 of 58
Page 1 of 3 1 2 3



HTML5 Development Center

Click Here to Expand Forum to Full Width