Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Embedded

Notices

Reply

COM registration

 

LinkBack Thread Tools Display Modes
Old 08-05-2003, 02:57 PM   #1 (permalink)
Default COM registration

Hi,
I want to describe my COM component with Component
Designer. I define files who must be copied and
registry keys used by my component but I don't know how can
I register my component after its copy. Is with Resource
folder in Component Designer. Is anybody can help me ?
Thanks in advance...

Mike
Guest
 
Posts: n/a
Reply With Quote  
Old 08-07-2003, 08:05 PM   #2 (permalink)
Default Re: COM registration

"Mike" <mickael.bomme@axiohm.fr> wrote in
news:8df501c35b61$d8746d50$a001280a@phx.gbl:
Quote:
> Hi,
> I want to describe my COM component with Component
> Designer. I define files who must be copied and
> registry keys used by my component but I don't know how can
> I register my component after its copy. Is with Resource
> folder in Component Designer. Is anybody can help me ?
> Thanks in advance...
Registering a COM component in Component Designer is relatively easy. You
need to create an FBA resource.

In Component Designer, under your component, select Resources.
Right-click Resources, then select Add, FBA DLL/COM Registration. You'll
see an Add Component Resources dialog. Provide a unique name for the
resource (something like "Foo COM Registration") and a Description, if you
like.

In the Extended Properties, set the following:

* FilePath: the fully qualified name of the DLL you want to register.
* DLLRegister: If you want to call DLLRegisterServer in the DLL listed
above, set this to True.
* DLLInstall: If you want to call DLLInstall in
the DLL listed above, set this to True.
* Arguments: Any arguments to pass into the DLLInstall call.
Leave blank if you don't have any.
* Flags: Set as follows:
0 - Call DLLRegisterServer, followed by DLLInstall
1 - Call DLLInstall, followed by DLLRegisterServer
2 - Call DLLUnregisterServer, followed by DLLInstall
3 - Call DLLInstall, followed by DLLUnregisterServer

That should register your COM component during FBA.

--
--Jon, MS

This posting is provided "AS IS" with no warranties, and confers no
rights.
Jon Fincher (MS)
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
COM registration failures mesterak Windows Vista Security 3 04-22-2008 02:44 AM
OCX Registration Andy Allred [MS] Windows XP Embedded 2 01-13-2006 10:51 PM
XP Registration Jupiter Jones [MVP] Windows XP New Users 9 04-16-2004 08:51 PM
Product Registration Key John Wilkinson Windows XP Help & Support 3 07-20-2003 05:59 PM
Registration Shakir Abdul-Mateen Windows XP Hardware 1 07-18-2003 12:56 AM


All times are GMT. The time now is 11:27 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90