Hello, Just a question... With the ATL consumer templates, is there any special need to use ADO and even try to "wrap" it? Best regards, Paul. ... more...
1387
alpeshm@...
Jul 1, 2001 12:42 pm
I have created an SDI application with horizontal splitter with one view as form view. Could any one inform me how to keep the pane size static to the size of...
1388
Brandon Corfman
bcorfman@...
Jul 1, 2001 7:02 pm
Sorry all, I've been off line for past couple of days. Yes, as everyone else is saying it's a heap space problem. I had to increase the heap space available in...
1389
Ramon Smits
exyll@...
Jul 1, 2001 8:18 pm
Well I am using W2k pro :-) Ramon ... Sorry all, I've been off line for past couple of days. Yes, as everyone else is saying it's a heap space problem. I had...
1390
Rashid Thadha
rashid.thadha@...
Jul 1, 2001 9:23 pm
see sample at codeproject http://www.codeproject.com/useritems/atloutlookbar.asp ... From: alpeshm@... [mailto:alpeshm@...] Sent: 01 July 2001 13:42 ...
1391
Brandon Corfman
bcorfman@...
Jul 2, 2001 3:01 am
Oh wow. :) Well, I moved most of the stuff out of the precompiled header and reposted it. Let me know how it works. Thanks, Brandon ... increase ... ...
1392
Ramon Smits
exyll@...
Jul 2, 2001 5:00 am
... Yes, the project compiles ok now. The only thing wrong is the 'working directory'. Ramon...
1393
Brandon Corfman
bcorfman@...
Jul 2, 2001 11:58 am
The program looks for its database in the same directory as the executable. So for execution inside Visual Studio, the working directory needs to be changed to...
1394
Ramon Smits
exyll@...
Jul 2, 2001 12:04 pm
... Well I made the working directory empty and both debug as release mode builds worked perfect....
1395
Brandon Corfman
bcorfman@...
Jul 2, 2001 12:22 pm
I was having problems earlier with this, but you're right, it doesn't show up now. I'm not sure why. I'll make the change in the zip file. Thanks much, Brandon...
1396
Leon Finker
lf21@...
Jul 4, 2001 3:13 am
Hi, Check this: http://www.codeproject.com/shell/dragdrop.asp The DragImg sample comes with PSDK and is under ..\Microsoft Platform...
1397
peteb@...
Jul 4, 2001 6:47 am
Brandon, I do get the printer error dialog (it does take a while) and yes, I can eventually cancel the print but my point is, I can't programmatically detect...
1398
Carlos Ferraro Cavall...
carlos.ferraro-cavall...
Jul 4, 2001 9:18 am
Hi all, Sorry I wasn't clear enough in first place :( Here's the solution: use the /Zm flag. That's the way we do. We set it to 500 and are able to compile an...
1399
tlandry@...
Jul 5, 2001 10:08 am
There are various GetText methods in WTL as I recall (such as CTreeItem::GetText). Usually this method has 3 options: - GetText(LPTSTR lpstrText, int nLen) -...
1400
Claus Michelsen
clausmic@...
Jul 5, 2001 10:22 am
To get the CString version to work, you must include <AtlMisc.h> before the <AtlCtrls.h>. Hope it helps, Claus ... From: tlandry@......
1401
tlandry@...
Jul 5, 2001 2:10 pm
I need the view of my SDI application to act as a DropSource. I inherited the view class from CWindowImpl<>, IDropSource, and CComObjectRootEx<>. I am using...
Might be a problem, since ... STDMETHOD_(ULONG, AddRef)() {ATLASSERT(FALSE);return 0;} STDMETHOD_(ULONG, Release)(){ATLASSERT(FALSE);return 0;} ...
1404
Ted Landry
tlandry@...
Jul 5, 2001 3:02 pm
Yes, CComObjectStack<> seems useless as it is currently implemented. Here's why I want to create the window on the stack: 1. I just have one a window that...
1405
Arnette, Bill
billa@...
Jul 5, 2001 3:06 pm
... I never used it before, but... Apparently it's used for temporary COM object creation and use if you have an ATL class in your server and you want to use...
1406
Arnette, Bill
billa@...
Jul 5, 2001 3:30 pm
You could try CComObjectGlobal<>. It looks very similar to CComObjectStack<> but it does not assert in AddRef/Release/QI. Instead, those methods...
1407
Tim Tabor
tltabor@...
Jul 5, 2001 3:39 pm
... Sorry, I didn't mean to imply I hadn't seen it discussed in the literature, only that I couldn't remember seeing any practical examples. The usual ...
1408
Tim Tabor
tltabor@...
Jul 5, 2001 3:44 pm
... I'm still trying to imagine useful applications for it. First, because the creators of ATL were a smart bunch of boys, and second, because its unlikely...
1409
Arnette, Bill
billa@...
Jul 5, 2001 4:02 pm
... [snip] ... True, you might or might not need FinalConstruct, but if you use CComObjectStack<> you don't have to worry about it; the call is encapsulated ...
1410
Tim Tabor
tltabor@...
Jul 5, 2001 4:56 pm
... I don't follow this *at* all. If your class implements a COM interface, then you need to implement the IUnknown methods - one way or the other. Or else...
1411
Arnette, Bill
billa@...
Jul 5, 2001 5:54 pm
... You're right. Boy, is my face red. I wasn't thinking about the compiler; I was thinking about the COM ref-counting rules. Since you're not passing it to...
1412
Senkwe Chanda
schanda@...
Jul 6, 2001 1:34 pm
Hi guys, Sorry for the message subject being rather wierd. Sorry also for asking beginners questions. I'm still relatively wet behind the ears (compared to...
1413
Arnette, Bill
billa@...
Jul 6, 2001 1:44 pm
I would start with ATL. Get _Beginning ATL 3 COM Programming_ by Grimes, et. al. and then read _Profesional ATL COM Programming_ by Grimes. Also, Get...
1414
Senkwe Chanda
schanda@...
Jul 6, 2001 1:49 pm
Thanks Bill. Gee that's a few thousand Rands worth of books (I'm in South Africa). But I'll invest in one at a time. I believe the first one you mentioned is a...
1415
Tim Tabor
tltabor@...
Jul 6, 2001 1:52 pm
What programming languages do you know, and how well do you know them? cpp_quote("#endif // VC6 hack") -- Unknown.idl // tim...