|
Thank u so much Anshuman For ur Good clarification.
Just Now Iam understanding why C++ is this much tricky.
|
|
|
|
|
Does anybody have any experience with the squirrel scripting library? I have already posted my question on their forums but they look a little inactive.
I'm trying to pass a struct by reference to a script but I am unable to find any example of how to do this.
|
|
|
|
|
Dear All,
I need to know about that stack segment, code segments, data segment and heap.
Where can i get a good article ?
If you know kindly let me know ?
|
|
|
|
|
Sakthiu wrote: stack segment, code segments, data segment and heap.
See Here[^]
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Sakthiu wrote: Where can i get a good article ?
Have you tried Googling for one?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
|
I have inserted class through MFC Class Wizard ->Import library ->WartzODLCOM.dll.
Class = _DBAccess
Base Class = ColeDispatchDriver
And i want to call function in wartxodlcom.cpp.
How to do that.i am trying to create instance by _DBAccess dbaccess it is giving error.Why.
|
|
|
|
|
|
this are the error by just addind this line
_DBAccess dataccess;
error C2146: syntax error : missing ';' before identifier 'dataccess'
c:\myproject\wartz_new\wartz_newdlg.h(41) : error C2501: '_DBAccess' : missing storage-class or type specifiers
c:\myproject\wartz_new\wartz_newdlg.h(41) : error C2501: 'dataccess' : missing storage-class or type specifiers
wartz_newDlg.cpp
c:\myproject\wartz_new\wartz_newdlg.h(41) : error C2146: syntax error : missing ';' before identifier 'dataccess'
c:\myproject\wartz_new\wartz_newdlg.h(41) : error C2501: '_DBAccess' : missing storage-class or type specifiers
c:\myproject\wartz_new\wartz_newdlg.h(41) : error C2501: 'dataccess' : missing storage-class or type specifiers
|
|
|
|
|
Can some one suggest some C++ API or code snipper to check if a TIFF file is compressed using G4 compression.
-- modified at 0:44 Tuesday 26th September, 2006
|
|
|
|
|
Check the compression field in the header. The following values are possible:
Uncompressed 1
CCITT 1D 2
Group 3 Fax 3
Group 4 Fax 4
LZW 5
JPEG 6
PackBits 32773
Have a look at the LibTiff library.
I found the spec at http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf[^]
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
I want to create keys for my Installation of ReMeDi application which is telemedicin kit for giving treatment to patient who is at remote place.
The key should contains some logic which gives version name,mode of operation etc.
For that pls suggest me some C++ application which generate these keys automatically.
Abhijit.
|
|
|
|
|
Hi all!
I've a problem of decoding UTF-8 email. I got emails from my inbox and displayed it. But with emails which were writen by UTF-8, i couldn't decode it although i've used some functions to decode . Who can show me how to solve it.
Thank in advance!
Rgs.
RayCad
|
|
|
|
|
It's a little hard to help you without seeing the code that is giving you trouble, unless of course you want us to write the code for you???
|
|
|
|
|
Hello everyone,
I have a large number of strcture instances, the I can not have all of them in memory. So I have the idea of serialize/deserialize partial of them to/from disk. The operation I need on these structure instances is to enumerate elements one by one, and I want to provide applications which use this interface to enumerate elements be transparent to how and which parts of structure instances is written/read to/from disk -- and the application only will feel read from memory.
I am wondering whether there are any samples/tutorials to make a reference?
thanks in advance,
George
|
|
|
|
|
I don't think enumerating unknown members of a struct is possible. One thing you can do is add the Serialize and Deserialize functions directly to the struct. Both functions should take a byte array/pointer as the paramater for which the serialized data would be written to. From your cade all you need do is call the function and write the data to a file for each of your structs.
|
|
|
|
|
Thank you waldermort!
Serialize/Deserialize methods only provide ways to load to memory/persistent to disk, but the issue is, how to find an object by searching both memory and disk (since the object may not be in memory). How to save and how to decide which parts of objects are needed to be saved on disk? Any samples?
regards,
George
|
|
|
|
|
|
David Howe wrote: VC6.0 is an old IDE, it has no "line-number" feature, but with this VC6 addin, you can get this feature NOW! It is for those people who can't or won't turn to VS.Net, have a try!
Visit http://davidhowecn.googlepages.com/vc6linenumberaddin_english[^] for details.
The IDE shows 121 and your addin shows 114.
|
|
|
|
|
Did you change the font? if you changed the font in editor, a restart of IDE is needed.
|
|
|
|
|
David Howe wrote: Did you change the font? if you changed the font in editor, a restart of IDE is needed.
No I did not. The number font is bigger that the IDE font, that could be the problem.
|
|
|
|
|
Maybe this is a bug, though I didn't met this before. Thanks for the reply.
Btw, I can tell the thing Line-number addin does when it is being activated: it check from the registry to get the font(both font name and size) of VC6's code editor, and create the font to draw line numbers. maybe I need more debug in this process.
|
|
|
|
|
David Howe wrote: VC6.0 is an old IDE, it has no "line-number" feature...
Sure it does.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I have a big problem with my program.
When i run it with Debug file, it run normaly.
But, when i build it to exe in Release directory.
It run with error:
Unhandled exception in VISIODT.exe (COMCTL32.DLL): 0xC0000005: Access Violation.
What proplem is it?
Please help me!
Snow
|
|
|
|
|