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

Search:

Type: Posts; User: Caronte

Page 1 of 21 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    11
    Views
    1,647

    Re: MySQL Driver Connect

    I have tried a lot of things to solve my initial problem, but finally it seems that the problem is in using a query to open a table...

    I mean... the dialog does not seem to appear whe I do...
  2. Replies
    11
    Views
    1,647

    Re: MySQL Driver Connect

    I have read something about MyISAM and InnoDB, and this last seems to be more reliable.

    Am I wrong?
  3. Replies
    11
    Views
    1,647

    Re: MySQL Driver Connect

    Sorry, but this is the first time that I work with a database. What is MYISAM?
  4. Replies
    11
    Views
    1,647

    Re: MySQL Driver Connect

    In other case I would have take into account the idea of this wrapper. However in this case I have no much time to get the solution (I will do a remake of the application next month, but at the...
  5. Replies
    11
    Views
    1,647

    Re: MySQL Driver Connect

    Yes... I understand that the correct way to solve the problem would be in a try... catch.

    Am I doing it wrong in my previous code?
  6. Replies
    11
    Views
    1,647

    MySQL Driver Connect

    Hi you all

    I am using Visual C++ to access a MySQL database. I am using the ODBC connector, and CRecordSet class from the MFC.

    I have included into a DLL all my accesses to the database,...
  7. Replies
    8
    Views
    1,038

    Just a note, because I see that people usually...

    Just a note, because I see that people usually think of pointers being more difficult that they are...

    Just think of variables being stored in memory... If you want another point of the program to...
  8. Replies
    4
    Views
    837

    I don´t think Windows CE emulator has access to...

    I don´t think Windows CE emulator has access to your PC COMs... I think you should try to execute your program in a real device.
  9. Replies
    1
    Views
    684

    Yes, you can program in C++ for a handheld... You...

    Yes, you can program in C++ for a handheld... You can use the "Embedded Visual Studio" to program in C++ or Visual Basic for it.

    I have done a few tries with PocketPCs, but not for PalmOS, and it...
  10. Replies
    4
    Views
    837

    As far as I know you are using the correct...

    As far as I know you are using the correct mechanism to write to the serial port.

    However... Have you checked that COM1 is the serial port for your device?

    Are you sure that it functions...
  11. Thread: How to debug?

    by Caronte
    Replies
    4
    Views
    734

    Do you have the code of the DLL? If so, you can...

    Do you have the code of the DLL? If so, you can debug easily into its code...

    If not... do you have a manual for the DLL? Have you checked in it about recourses liberation?
  12. Replies
    5
    Views
    982

    Thanks to all... I did know the facts that a...

    Thanks to all...

    I did know the facts that a C++ structure can have functions as its members, but I hadn´t realize about the operator =, neither the fact of not needing to use struct to define a...
  13. Replies
    5
    Views
    982

    struct and operator =

    When I began to study C, I was told that operator = didn´t function with struct...

    Seven years since that, and I had never thought again about that. But today I have seen a piece of code with an...
  14. Replies
    10
    Views
    1,188

    What about writting a tlb for the dll and...

    What about writting a tlb for the dll and accessing it through Project->References?
  15. Replies
    6
    Views
    1,000

    You need .h and .lib in order to call DLL...

    You need .h and .lib in order to call DLL functions in an explicit way.

    You can also use LoadLibrary and GetProcAddress to call DLL functions (and don´t need anything else).
  16. Replies
    5
    Views
    1,162

    As Andreas says, imagine you use the dafault...

    As Andreas says, imagine you use the dafault #pragma pack (that is 8)

    struct ControlBlock
    {
    DWORD StartingSector;
    WORD NumberOfSectors;
    DWORD pBuffer;
    };

    Address of struct ControlBlock = x
  17. Thread: why

    by Caronte
    Replies
    26
    Views
    2,569

    If you are getting "symbols that you don´t...

    If you are getting "symbols that you don´t understand" with the debugger, maybe you are building a release version and not a debug one... Check it out.
  18. Thread: Dll

    by Caronte
    Replies
    6
    Views
    1,039

    I don´t understand your problem exactly. If I...

    I don´t understand your problem exactly.

    If I am right you have your DLL built and you experience problems in calling it?

    Why? Are you linking it implicitely or explicitely?
  19. Replies
    4
    Views
    791

    Why don´t you pass a pointer of the main object...

    Why don´t you pass a pointer of the main object to the socket / serial port in their constructors.

    You have to do another constructor, but you gain access to the main class.

    m_comPtr = new...
  20. Replies
    4
    Views
    939

    Just a note to the magistral explanation from...

    Just a note to the magistral explanation from Andreas...

    Be careful with bitfields and #pragma pack
  21. Replies
    4
    Views
    939

    field1:4 is not a variable name... field1 is...

    field1:4 is not a variable name...

    field1 is the variable name

    :4 means that field1 consists on 4 bits of a char.
  22. Replies
    3
    Views
    3,003

    Take a look to: ...

    Take a look to:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp
  23. Replies
    4
    Views
    789

    Just take a look to the paths for your include...

    Just take a look to the paths for your include files
  24. Replies
    9
    Views
    72,737

    Because the decimal value for the '0' Ascii is...

    Because the decimal value for the '0' Ascii is 0x30...

    That is:

    '4' = 4 + '0' = 4 + 0x30.

    However if you have a decimal value that ranges from 0 to 0xff you have first splitt it into three...
  25. Replies
    16
    Views
    2,607

    Seems very strange... How have you inherited...

    Seems very strange...

    How have you inherited from CDialog? Have you checked that you have done it correctly?

    Are you using some kind of version control programm? If your answer is yes, are you...
Results 1 to 25 of 523
Page 1 of 21 1 2 3 4





Click Here to Expand Forum to Full Width

Featured