Hi, Could anyone here recomend a good SDK/Libraries/Sources that will enable me to use IMAP from my application? I am developing in C++, however I am open to any suggestions. I have checked componentsource who seem to have a lot of PowerTCP and IPWorks componenets. Is there another site that might have more veriaty? Thanks, Jeremy. Jeremy Pullicino C++ Developer Homepage
Jeremy Pullicino
Posts
-
IMAP components -
Tab Order and access keysHi, I have 25 dialogs who's contols have no access keys or tab order assigned to them. I was thinking that these two processes are both automatable. does anyone know of a solution that would auto-tab order and auto-access key my dialogs? Jeremy Pullicino C++ Developer Homepage
-
MMC Wizardshi, I have created a wizard (CPropertySheet) using the visual studio property sheet plug-in. When my pages are shown on the property sheet they are looking odd. A margin is being added to the left and the right of the dialog. Furthermore, the margin on the right is larger than the margin on the left, making my dialog look mis-aligned. I am sure that others have seen the same thing because what I am describing always happens. Can anyone give me suggestions on how to avoid these margins completely? Thanks, Jeremy. Jeremy Pullicino C++ Developer Homepage
-
Icons with flagsHi, I am looking for icons of different flags (spain, germany etc...) Can anyone assist me in finding them? Jeremy Pullicino C++ Developer Homepage
-
Creating Tables on Access/SQL/MSDEADOX sucks. Been a whole day on it and did not even manage to create a primary key... I will be try SQL queries now... maybe I should have gone for that option in the first place. Why do MS keep ADOX if it does not work? :mad::mad::mad::mad::mad: Jeremy Pullicino C++ Developer Homepage
-
Creating Tables on Access/SQL/MSDEHi, I need to create a set of functions that will aid in the creation of tables (and fields) on Access/MS SQL/MSDE databases. I would like as much as possible to keep the same source code for all three database types, even though there might be a couple of small differences. I am looking for different methods of creating tables/fields. Till now I have come across the following: SQL Queries ADOX Am I right in assuming that both these technologies will allow me to create tables/fields on Access/MS SQL/MSDE databases? Are there other alternatives that I should look at? Which would be the best one to use in terms of reusable code? Jeremy. Jeremy Pullicino C++ Developer Homepage
-
SQL Query (on access)HI, Can someone help me with following SQL? I have an array of about 200 string IDs in my program (C++). I need to delete these IDs from a database table. I would like to use the most efficent method of doing this. Any suggestions on the best SQL query? Thanks Jeremy Pullicino C++ Developer Homepage
-
Updating recordset adviceI have a table with only one field of type string. This table is loaded into a list control and the user is allowed to manipulate its data by adding/removing elements on it. When the user is ready he has the option to save this list back to the database. Effectively I have two lists, list A which exists on the database and list B which exists in memory. List B is mofified by the user and must be saved back to List A in the database. In your opinions, what is the best method to use when saving list B? 1. Delete all records from A and dump B into A 2. Iterate B, checking for each item's existence in A. If item does not exist, add to A. Iterate A and check for each item's existence in B. If item does not exist in B, delete it from A 3. Like (2) but other way around. Iterate A checking for each items existence in B. If item does not exist, delete it from A. Iterate B and check for each item's existence in A if item does not exist, add it to A There could be around 10,000 records in the list. List A and list B do not necessarily have to exist on the same computer - they might be connected over the LAN. Jeremy Pullicino C++ Developer Homepage
-
Persisting STL containers to diskHi, I have a vector of classes. I would like to write the entire vector to disk I would like then load the entire vector back into memory. And idea of the best way to do this? Jeremy Pullicino C++ Developer Homepage
-
Configuring remotelyHi, I have a module that performs configuration for a product. It uses access (via ADO) as its underlying db. This module needs to start working remotely. The most direct solution would be to access the remote database via a shared drive. I am looking for alternatives (not excluding .net). Any ideas? Jeremy Pullicino C++ Developer Homepage
-
Visio for VS.NETHi, I am confused. I am a universal MSDN subscriber and gets tons of CDs every few months. I have located and installed VS.NET and now want to use visio. However, I am confused on which visio to use. In the MSDN I have found several ranging from: Visio Visio for Enterprise architects Visio 2003 (Marketing edition) Visio 2000 Visio 2000 SR1 And others... Which one is the corret one for integration with VS.NET? Thanks! Jeremy Pullicino C++ Developer Homepage
-
1and1.com web hostingThere is a good offer on 1and1.com webhosting. Unfortunately you need to be from US or Canada to take advantage of the offer. After applying you are asked for your phone number. They will call the number (with an automatic system) and give you your PIN which you will use for creating the account. Since I live in Malta, I cannot perform the last step. Could any kind hearted CPian (from US or Canada) offer me the service of their phone number in order for me to retrieve the PIN? All I would need them to do is give me their phone number, which I will fill in on the form (or I could link you to the page, and you enter the phone number yourself). Then, when it calls and gives the PIN, email me with it. I would be very, very grateful. Jeremy Pullicino C++ Developer Homepage
-
Upgrading a COM interfaceHi, I need to add a new method to my COM object. Should I create a new COM object which aggregates the first and contains the new method? Or is it OK to add a new method to an existing COM object? Jeremy. Jeremy Pullicino C++ Developer Homepage
-
Passing ADODB.Stream from ASP to C++Hi, I need to pass an ADODB.Stream to a COM object I have created in C++. The object comes in as a VARIANT. I guess I need to get the IDispatch and query interface for something. Has anyone ever done this? All my tests have failed, most of which are reporting "no such interface supported" thanks. Jeremy Pullicino C++ Developer Homepage
-
Virtual List ControlsHi, I have a questionr regarding the useage of a virtual list control. I keep all my data in my own array. From time to time, the data in my array changes. How could I make these changes reflected on the vlist control? Jeremy. Jeremy Pullicino C++ Developer Homepage
-
ATL from VC7 into VC6Hi, This might sound like an impossible task, but I am attempting it anyway. I have a project in VC 7 which uses some of the ATL functions that come with VC 7. I require to compile this project in VC6. As far as i know, there should be no technical limitations in doing this. I am currently copying the ATL files which I am dependent on to my project and attempting to compile that on VC 6. Unfortunately I am getting compile errors, so I was wondering if anyone has any advice. Maybe they have done this before, or maybe they have done something similar and would like to share some experiences. Thanks in advance, Jeremy. Jeremy Pullicino C++ Developer Homepage
-
Is this safe? (map)Is the following safe?
{ map< mp; { CComBSTR& bstrNew = mp[L"1"]; bstrNew = "Hello"; } wprintf(mp[L"1"]); }
Will bstrNew get destroyed, thus invalidating the "Hello" string? Jeremy Pullicino C++ Developer Homepage -
Is this safe? (map)Is the following safe?
{ map<CComBSTR, CComBSTR> mp; { CComBSTR& bstrNew = mp[L"1"]; bstrNew = "Hello"; } wprintf(mp[L"1"]); }
Will bstrNew get destroyed, thus invalidating the "Hello" string? Jeremy Pullicino C++ Developer Homepage -
Lengthy operation without blocking the UIHi, I need to call into a library to perform a lengthy operation after a user presses a button. I would like to bring up a dialog asking the user to wait a moment (no buttons on this dialog). In the background I would like the operation to be performed. When it is ready, the dialog should be destroyed. Has anyone done anything similar to this? Could someone point me to a sample or give me a few tips? I am using MFC. thanks, Jeremy Pullicino C++ Developer Homepage
-
keeping track of pointers to objects with STLI have an stl list of pointers to objects. When I need to insert an object to the list, I new it and push_back its pointer. When the list is not needed any more, I iterate through the entire list and I delete each pointer. First question: Is there a more elegant way to do this or is my implementation ok? Sometimes I wish to copy a pointer for one list into another list, meaning that the two lists will contain a pointer to the same object. When the first list is destroyed, I delete all pointers inside it, as mentioned above. When the second list is destroyed, I do the same, however my pointers are already deleted and this of course crashes the program. My first thought was to implement reference counting on my object, however I am unsure of where to increment the reference. The code looks something like this: std::list list1; std::list list2; CMyObj* pOBJ = new CMyObj; list1.push_back(pOBJ); list2.insert(list2.begin(), list1.begin(), list1.end()); // delete all elements in list1 // delete all elements in list2 (crash) When list2.insert is called, a copy of the pointer from list1 is inserted into list2. I will need to increment the reference of the pointer which is inserted, however I am unsure of how to do this. Does anyone have a solution to this? Thanks in advance, Jeremy Pullicino C++ Developer Homepage