|
Hi,
I need to know if there is C or C++ code for reading and writing any image format and another source code for creating B-SPLine surface.
Thank you
|
|
|
|
|
Either you use Chris Maunder's DIBSection wrapper[^] or Davide Pizzolato's CxImage[^] (CxImage is a C++ class to load, save, display, transform BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX, TGA, WMF, WBMP, JBG, J2K images), but I don't know anything for creating B-SPLine surface. Good luck!
|
|
|
|
|
Also you can use CImage class for load/save bmp,jpeg,gif,tiff
|
|
|
|
|
send function only send char*, how to send a struct.
thanks!
|
|
|
|
|
you need to write each member to a char buffer, then send that
|
|
|
|
|
Can you please explain what you really need ?
Rinu Raj
|
|
|
|
|
a struct, is finally an array of bytes. and a char* is also such a thing. the only thing to tell to send is how much bytes (chars) it will have to send, with sizeof(YourStruct).
|
|
|
|
|
...that is after he takes care of byte order issues on each member.
|
|
|
|
|
i using this method:
send(s, (char*)&my_struct, sizeof(my_struct), 0);
thanks all for help!
|
|
|
|
|
can anybody tell me which encyption technique is used for encrpting outlook.pst file
|
|
|
|
|
I am afraid that the encryption technique that you are talking about is undisclosed by Microsoft. There are no direct ways to do this. Also the PST file format of 2003 is different from that of 2002. And check this link out.
http://ask-leo.com/what_kind_of_compression_or_encryption_do_i_want_for_outlooks_pst_files.html
Mozilla thunderbird is doing it. Its open source and you may download that source and go through that too, if you are that serious.
It's kind of fun to do the impossible.
|
|
|
|
|
hi all i want to remotely execute the process through the WMI on network,i had searched a lot on the net for that but all examples shows how to make queries but no example to show how to execute a process/exe on another computer.
Tasleem Arif
|
|
|
|
|
tasleem143 wrote: ...but no example to show how to execute a process/exe on another computer.
Are you sure you not looking for RPC? I've never used WMI for remote-type stuff.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
thaks for reply my boss ask me to do so with WMI,i searched a lot n found nothing related to executon of exec on other computer using WMI,now i m searching to do this in the RPC.
Tasleem Arif
|
|
|
|
|
hi,
anybody knows how to change the style of tri-state checkbox to a two-state checkbox and vice versa at runtime?
Thanks
Mohammad
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Might try:
ModifyStyle( BS_AUTO3STATE, BS_AUTOCHECKBOX );
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
i want to read my outlook.pst file through coding
can anybody help me in this
|
|
|
|
|
|
i have already seen this code this is simply picking up the folders which are exsisting there in the pst file my problem is that i want to read deleted items to (that r deleted from deleted items to).is there any type of check or flag bit which is placed infront of deleted folder.or its id is deleted
|
|
|
|
|
Can you use Outlook automation?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Can anybody here explain me wht this code is doing.Thanks
<br />
CDaoDatabase database;<br />
CDaoRecordset recordset(&database);<br />
CString lpszFile = "c:\\Database.mdb";<br />
database.Create(lpszFile);<br />
database.Open(lpszFile);<br />
CString SqlCmd = "CREATE TABLE MYTable.mdb (MarketNo VARCHAR(2),MarketName VARCHAR(8),Bid VARCHAR(10),Ask VARCHAR(10),MarketState VARCHAR(2))";<br />
database.Execute(SqlCmd);<br />
recordset.Open(AFX_DAO_USE_DEFAULT_TYPE,"SELECT * FROM MyTable",0);<br />
database.Execute("INSERT INTO MyTable(MarketNo)");<br />
database.Execute("INSERT INTO MyTable(MarketName)");<br />
database.Execute("INSERT INTO MyTable(Bid)");<br />
database.Execute("INSERT INTO MyTable(Ask)");<br />
database.Execute("INSERT INTO MyTable(MarketState)");<br />
recordset.AddNew();<br />
recordset.SetFieldValue("MarketNo","a");<br />
recordset.SetFieldValue("MarketName",Market);<br />
recordset.SetFieldValue("Bid","b");<br />
recordset.SetFieldValue("Ask","c");<br />
recordset.SetFieldValue("MarketState","d");<br />
recordset.Update();<br />
recordset.MoveNext();<br />
recordset.AddNew();<br />
|
|
|
|
|
It seems that it open a access database and create a table with 5 cols and then read all records of MyTable and insert datas to these cols
|
|
|
|
|
i also think so..then why it is not creating database table with 5 col....and inserting data in that...do you have any idea.....
|
|
|
|
|
And when you create your database why use open and also MoveNext you dont have any records except one
|
|
|
|
|
i also think so..then why it is not creating database table with 5 col....and inserting data in that...do you have any idea.....or can you say hoe to c mytable
|
|
|
|