microsoft.public.vc.atl
  Home FAQ Contact Sign in
microsoft.public.vc.atl only
 
Advanced search
December 2008
motuwethfrsasuw
1234567 49
891011121314 50
15161718192021 51
22232425262728 52
293031     1
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
microsoft.public.vc.atl Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  WOW,VOGUETOUCH.com sell nike shoes,tshirt,ugg boots,handbags and so on         


Author: www.voguetouch.com
Date: Dec 26, 2008 08:21

why i sell so cheap and litter menber to come?
if some one were interested with my website: WWW.VOGUETOUCH.COM

things,welcome to my website,you can use paypal or western union to us
buy

items,if you think paypal is more expensive to buy,please use western
union

and add me MSN

MSN:VOGUETOUCH01@MSN.COM
HP:8613559821387
no comments
  Multiple Instances         


Author: John
Date: Dec 26, 2008 05:52

Hi All,

Merry Christmas.

I have created a atl com service application.

I just want to run multiple instances of same code with different names
without creating new workspace. Is it possible?

If Yes, how?

Thanks in adavance.

Thanks and Regards,
John.
1 Comment
  IIS6 Concurrency Issues?         


Author: Jeff Dunlap
Date: Dec 25, 2008 20:45

I'm not very clear about what issues I need to be aware of due to multiple
threads. I'm assuming that an ATL Server application creates threads to
handle multiple concurrent requests, is this correct? Also, I'm guessing
that global variables should not be used for database handles or for storing
writable data, is this correct?

I know I need to learn about threading...but any additional info on what
kinds of issues we should keep in mind would be much appreciated.

Thank you
no comments
  weird problem, register tlb failed using regtlibv12.exe, but succeed by using regtlib.exe         


Author: thinktwice
Date: Dec 25, 2008 18:49

%%SystemRoot%%\Microsoft.NET\Framework\v2.0.50727\regtlibv12.exe
MyPrj.tlb
LoadTypeLib of MyPrj.tlb failed:80029c4a

regtlib.exe MyPrj.tlb
Registration of MyPrj.tlb successful

what might be the problem?
no comments
  Splitting the windows explorer into three parts         


Author: javed.937
Date: Sep 23, 2008 01:34

Hi,

I am customizing the windows explorer namespace to show some virtual
folders in the the tree view. When that virtual folder is selected I
want to show some files in the list view. Now when a file is selected
I want to show some metadata of the file in another viewing area, so
for this purpose I want to add one more viewing area other that the
standard list view and the tree view.

IShellView is the interface which is used to create the view but I am
not able to achieve this. Can anybody suggests please?

Thanks.
no comments
  Why pass array from CDhtmlDialog to javascript fail         


Author: Jerry Ou
Date: Sep 23, 2008 01:10

Dear All
I have used a CDhtmlDialog to show html page, currently, I will call
window.external function in javascript. and return some data back to
javascript. however, It will fail.

code snippet is below

VARIANT CMyHtmlDlgDlg::GetSrInfo()
{
HRESULT hr = E_FAIL;
VARIANT stVar;
CComSafeArray m_oArrSrInfo;

::VariantInit(&stVar);
V_VT(&stVar) = VT_EMPTY;

m_oArrSrInfo.Add(CComVariant(1));
m_oArrSrInfo.Add(CComVariant(2));
m_oArrSrInfo.Add(CComVariant(3));

V_VT(&stVar) = VT_ARRAY | VT_VARIANT;
V_ARRAY(&stVar) = m_oArrSrInfo;

return stVar;
}
Show full article (1.90Kb)
no comments
  How to define the array in structure of IDL$B!)(B         


Author: Zhao Yu
Date: Sep 20, 2008 21:12

Recently I was in trouble of defining the char array in structure in
IDL file. My definitions like:

[uuid(871A9ACF-5FA9-4c1e-80DA-F2A35ED19FA0)]
struct FormattedDelegatePack
{
ULONG Pkgno;
short Type;
char Market;
char Group;
char Flag;
UINT64 Code;
ULONG Time;
float Price;
ULONG Count;
ULONG List[50]; // Here is the problem.
};

After that, I use this structure in C# .NET which declare the pointer
of FormattedDelegatePack. Like:

FormattedDelegatePack* fdp; // The compiler complains herein.
Show full article (1.03Kb)
no comments
  Managing registry via installation package for ATL based BHO         


Author: Microdev1
Date: Sep 19, 2008 10:29

I am thinking of creating a separate registey file to update registry through
installer rather than use .rgs file for self registration.

Here are my questions -

1) How do I convert information in .rgs file to .reg file? Is there any tool
or document which can help me understand more about it?

2) I am thinking of using Inno Setup for this. If there is any better and
easier tool for this, please let me know.
no comments
  Re: Accessing ATL COM DLL object from VB.NET using delegate (asynchronous)         


Author: expvb
Date: Sep 19, 2008 08:36

All the vb newsgroups that you cross posted to are for VB6 and lower, which
is incompatible with VB.Net. Please repost your question in groups with
"dotnet" or "vsnet" in the name. If the group has "vb" in the name without
"dotnet", then it's for VB6 and lower only.
no comments
  ATL singleton         


Author: Alexander Lamaison
Date: Sep 19, 2008 04:01

Hi Everyone,

I'm working on my namespace extension (http://swish.sourceforge.net/) and
I'm trying to pass data between IShellFolder instances. This data is the
current 'connection' to a remote server (a COM object). The idea is to
prevent users having to retype their password every time they navigate to
a subfolder, for instance.

So far, I've tried doing this by creating a 'pool' COM object and passing
its pointer to each subfolder in IShellFolder::BindToObject(). The
subfolder should then be able to fish the connection out of the pool and
use it.

This works for refreshing the same folder but doesn't seem to work for
any other scenario. What appears to happen is that navigating a
subfolder creates an entirely new instance of the (root) parent which, of
course, I haven't been able to pass the pointer to.

So, I thought the best way round this might be with an ATL singleton so I
never need to pass pointers around. However, I have read all sorts of
stuff that I don't really understand about why singletons are a bad idea
so I though I would ask you guys for advice. Is a singleton the way to
go? Where might I trip up? Is there a better way?
Show full article (1.22Kb)
14 Comments
1 2 3 4 5 6 7 8 9