Click here to Skip to main content
15,917,731 members
Home / Discussions / COM
   

COM

 
QuestionWhat is purpose of tlb files? Pin
Zeddan5-Jan-09 12:22
Zeddan5-Jan-09 12:22 
AnswerRe: What is purpose of tlb files? Pin
«_Superman_»5-Jan-09 21:45
professional«_Superman_»5-Jan-09 21:45 
GeneralRe: What is purpose of tlb files? Pin
Zeddan5-Jan-09 23:03
Zeddan5-Jan-09 23:03 
GeneralRe: What is purpose of tlb files? Pin
«_Superman_»5-Jan-09 23:20
professional«_Superman_»5-Jan-09 23:20 
GeneralRe: What is purpose of tlb files? Pin
KarstenK14-Jan-09 23:13
mveKarstenK14-Jan-09 23:13 
QuestionIssue with using Office Web Component Pin
Coding C#5-Jan-09 0:55
Coding C#5-Jan-09 0:55 
QuestionPlease help me by saying what else is missing Pin
indian1434-Jan-09 3:31
indian1434-Jan-09 3:31 
QuestionWindows programming newbie.. Creating ActiveX controls Pin
LoyalServant3-Jan-09 17:13
LoyalServant3-Jan-09 17:13 
Greetings everyone.
I have been doing things in C on *NIX platforms for a long while.
So, I am trying to jump in both feet first I guess.
I am breaking in my nice, new shiny Visual Studio 2008.
What I want to create here for educational purposes is a control that does sockets.
I want to use it in a language I am more familiar with that is Windows based.

I was thinking a control that had some methods, some properties and some events.
Some properties would be say, the remote port and the remote host to connect to.
A method I would want is when there has been data received... and some methods to connect, disconnect, etc.
I guess what I am getting at is implementing a socket engine.

The language in question (Visual Dataflex) to my knowledge cannot deal with anything that complex even with API calls.
I see that Windows has select() - that will work for my experiment and learning experience.

So, to move on I tried making one using the wizard, ended up with an MFC ActiveX control.
For giggles I named it 'test'
I found out that I needed to add methods by expanding the tree in the class view and the item in particular
'testlib' to reveal '_DTest' and right click -> add method.
So, ok.... my function.. return type... CHOKE.
What is CHAR as opposed to char? or CY?.. BYTE? .... BSTR?
Varying OLE_* and so forth....
The *only* one in the list that makes sense to me is 'void' Confused | :confused:
I just want a function like...
int connect(char *server, char *port) {..code..}

So, I started googling for what the 'equivalents' are to char, and int, etc etc.
Then, we have the parameters.... which have the same sort of names, some of them I am assuming are pointers of that type (like BSTR*)

So, to make a long story short I am very lost in the windows world.
I have done C in windows, but not in Visual Studio. (I have used 'edit' and gcc for a long time.. too long Smile | :) )

Is there any hope for a guy like me in the Windows world doing C/C++ ?
Anyone have any pointers to help me over these initial hurdles?
AnswerRe: Windows programming newbie.. Creating ActiveX controls Pin
Randor 6-Jan-09 23:25
professional Randor 6-Jan-09 23:25 
Questiondebug BHO Pin
Maverickcool2-Jan-09 21:34
Maverickcool2-Jan-09 21:34 
AnswerRe: debug BHO Pin
Toastmeister25-Jun-09 6:23
Toastmeister25-Jun-09 6:23 
QuestionHow to enter CLSID in registry? Pin
SanjaySMK30-Dec-08 22:10
SanjaySMK30-Dec-08 22:10 
AnswerRe: How to enter CLSID in registry? Pin
Garth J Lancaster30-Dec-08 23:07
professionalGarth J Lancaster30-Dec-08 23:07 
AnswerRe: How to enter CLSID in registry? Pin
Randor 3-Jan-09 12:01
professional Randor 3-Jan-09 12:01 
QuestionHow to catch CUT event of word file in windows xplorer? Pin
SNI25-Dec-08 22:24
SNI25-Dec-08 22:24 
AnswerRe: How to catch CUT event of word file in windows xplorer? Pin
PC Player26-Dec-08 8:58
PC Player26-Dec-08 8:58 
GeneralRe: How to catch CUT event of word file in windows xplorer? Pin
SNI28-Dec-08 19:11
SNI28-Dec-08 19:11 
QuestionQueryInterface Regarding.... Pin
ganesa moorthy19-Dec-08 4:31
ganesa moorthy19-Dec-08 4:31 
AnswerRe: QueryInterface Regarding.... Pin
Roger Stoltz19-Dec-08 5:07
Roger Stoltz19-Dec-08 5:07 
QuestionCOM and COM+ ? Pin
sajjadlashari18-Dec-08 17:35
sajjadlashari18-Dec-08 17:35 
AnswerRe: COM and COM+ ? Pin
CPallini23-Dec-08 2:58
mveCPallini23-Dec-08 2:58 
AnswerRe: COM and COM+ ? Pin
PC Player26-Dec-08 9:09
PC Player26-Dec-08 9:09 
AnswerRe: COM and COM+ ? Pin
guestcat29-Jan-09 5:50
guestcat29-Jan-09 5:50 
QuestionIssue with SysFreeString... Pin
ganesa moorthy17-Dec-08 17:54
ganesa moorthy17-Dec-08 17:54 
AnswerRe: Issue with SysFreeString... Pin
Jonathan Davies18-Dec-08 2:38
Jonathan Davies18-Dec-08 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.