回複:回複:回複:Need help, anyone is familiar with COM?

來源: 2010-12-20 18:34:47 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

 

....function....(v1,v2,....)

 

.....

 

end function

 

make the class(es) as .dll

 

regedit it or for COM+, go component services -- make sure set up the appropriate user -- yourself and others on the property tab then, start or restart the obj.

 

on your app, BEFORE you apply it, you'd need to add it as the reference/assembly for your app then you can call it.

 

you might, in your case, did not get the full/necessary info about your COM obj so when passing var list into it, it may be in conflict -- int as var, not null but with a "," in between... and so on...

 

well, that was my old story, just to share with you and may not fit to your case since these kind of trouble-shooting needs a bit of details.

 

good luck!

 will try to find some book for you by Friday.