Search:
Type: Posts; User: Caronte
Search:
Search took 0.12 seconds.
-
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...
-
I have read something about MyISAM and InnoDB, and this last seems to be more reliable.
Am I wrong?
-
Sorry, but this is the first time that I work with a database. What is MYISAM?
-
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...
-
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?
-
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,...
-
July 16th, 2004, 06:36 AM
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...
-
June 29th, 2004, 11:29 AM
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.
-
June 29th, 2004, 11:24 AM
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...
-
June 29th, 2004, 02:46 AM
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...
-
June 29th, 2004, 02:40 AM
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?
-
June 28th, 2004, 12:50 PM
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...
-
June 28th, 2004, 06:23 AM
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...
-
June 21st, 2004, 06:36 AM
What about writting a tlb for the dll and accessing it through Project->References?
-
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).
-
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
-
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.
-
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?
-
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...
-
Just a note to the magistral explanation from Andreas...
Be careful with bitfields and #pragma pack
-
field1:4 is not a variable name...
field1 is the variable name
:4 means that field1 consists on 4 bits of a char.
-
Take a look to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp
-
Just take a look to the paths for your include files
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|