0002名前は開発中のものです。2008/09/02(火) 02:39:24ID:5mF5/fHC NDAが辛いわなw 社命なので尚更話せる事少ないけど、なんかやりにくい職場だわ。 Objective-CってAppleのこだわりなのかな? 動的言語ベースなのは面白いんだけど、iPhone/touchって潤沢な リソースのある世界じゃないから色々困るわ うちは結局Cに頼る書き方になっちまってる 0003名前は開発中のものです。2008/09/02(火) 05:24:21ID:KyMw2H65 It is convenient to use CoCreateInstance when you need to create only a single instance of an object on the local machine. If you are creating an instance on remote machine, call CoCreateInstanceEx. When you are creating multiple instances, it is more efficient to obtain a pointer to the class object's IClassFactory interface and use its methods as needed. In the latter case, you should use the CoGetClassObject function.
In the CLSCTX enumeration, you can specify the type of server used to manage the object. The constants can be CLSCTX_INPROC_SERVER, CLSCTX_INPROC_HANDLER, CLSCTX_LOCAL_SERVER, or any combination of these values. The constant CLSCTX_ALL is defined as the combination of all three. For more information about the use of one or a combination of these constants, refer to CLSCTX.
Windows CE: Windows CE supports only the CLSCTX_INPROC_SERVER value for the dwClsContext parameter. Anything else results in a return value of E_NOTIMPL.
Windows CE does not support using the CoCreateInstanceEx function to create a single object on a remote system.
Passing into this function any invalid and, under some circumstances, NULL pointers will result in unexpected termination of the application. For more information about handling exceptions, see Programming Considerations. 0004名前は開発中のものです。2008/09/04(木) 01:07:43ID:k8o8pdXd>>2 うちも話せること少ないわ。 海外とか、平気でソース載せてるサイトあるよな。でも、バージョン古くて開発環境が変わっちゃってるっていう。 日本語情報ないのもしんどい。わずかにある日本語情報もバージョン古いので作る方法だったりして…。