Search   Feed   Browse   Add
Feed items 1 - 2 of 2 for August 2006

more fun with GetCommandLine() - August 10, 2006

Raymond mentioned this particular API once.  I mention it, because I had to call it today.  A certain third party app has existed for many years, happily calling CreateProcess() and not putting a space in the lpCommandLine string between the executable name and the first argument.  (I assume this was a bug, not intentional.) This worked for them because the program files directory has a space in it; thus the full path to the executable has quotes around it. ...
http://blogs.msdn.com/jeffdav/archive/2006/08/09/694118.aspx

on CoUnmarshalInterface - August 7, 2006

CoUnmarshalInterface() and CoGetInterfaceAndReleaseStream() are not re-entrancy safe.  This has certain implications for objects that attempt to unmarshal interfaces into member variables, as a member of my team recently discovered. Suppose you have something that looks like this: class MyObject public:    MyObject() _pUnk = NULL;    HRESULT DoStuff(IStream pStream)         ...       hr =...
http://blogs.msdn.com/jeffdav/archive/2006/08/07/691526.aspx
Available Archives
- March (1 item)
- April (3 items)
- May (2 items)
- July (2 items)
- August (2 items)
- September (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact