Documentation for implementors of COM interfaces [closed] - com

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm in the process of doing some COM interop from a C# application and I can't seem to find the answer to this.
I was wondering where I could find in the Win32 documentation which concreate implementions that exists of a COM interface. For example I know (thanks to goodgle) that IShellLinkW is implemented by a class that's identified by CLSID_ShellLink, that IObjectArray is implemented by CLSID_EnumerableObjectCollection and so on.
However how am I supposed to know? I have the Windows SDK (latest) version installed and I can't seem to wrap my head around how I was supposed to figure that out based on the information in the docs?

Why do you need to know? The import utilities like tlbimp.exe are figuring out the necessary details from the exe or dll type info and creating wrappers that cover this for you.
Look at the TlbImp example at COM Interop Part 1: C# Client Tutorial:

I dont think what you want is possible without loading every COM object in the system and asking it for a list of classes it has and what Interfaces they implement. This information as far as I am aware is not stored in the Registry (the place all external COM info is stored).
If you could give a concrete example of what you are trying to achieve their may be an alternative way. If you simply want to know what interfaces are implemented by a particular class or .dll you can do that with a viewer such as oleview

most of standard COM objects IIDs and CLSIDs are listed in uuid.lib, included in Windows SDK. So you may write a simple app printing them for you.
Also, you can open regedit, go to HKCR\Interface and analyze records there.

Related

Working example Coldfusion and Linkedin API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Has anyone managed to get the LinkedIn API working from within a coldfusion application?
There are some threads in the Linkedin Developer's community, but any actual working examples or complete code are missing.
In the end I'm looking for a solution to import LinkedIn profiles to our recruitment solution - and also fetch updated profiles regularly - ofcourse after the user gives us access to his/her profile.
Any help appreciated, especially with some kind of working setup (even if only basic)
Since ColdFusion can create and use Java objects, the easiest solution is to use a Java API to access LinkedIn. One option is linkedin-j.
Update
I haven't found any evidence of a CF-based wrapper so unfortunately you're going to have to figure this part out.
You don't need to really know how Java works to use Java objects in ColdFusion; you just have to know what the classes are in the API in question and then create the necessary objects and then call the relevant functions. I assume linkedin-j offers some kind of .jar file. You need to add that to your classpath; there are plenty of resources on line on how to do this (if that link breaks, just search for coldfusion jar classpath). Then, figure out which object you need, create an instance of that object you need using CreateObject.
The getting started page talks about a LinkedInApiClientFactory object. You'd create this in ColdFusion by doing something like
<cfset factory = CreateObject('com.google.code.linkedinapi.client.LinkedInApiClient').newInstance(consumerKeyValue, consumerSecretValue)>
<cfset client = factory.createLinkedInApiClient(accessTokenValue, tokenSecretValue)>
At which point you can use all of the functions available to the LinkedInApiClient, such as getProfileByUrl.
Use the documentation available at the linkedin-j site to find out about the functions you can call on the LinkedInApiClient, and work from there.

(My)SQL in Flex - any good libraries? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to develop a small Flex application that needs to access a MySQL database. Since I have little experience in server-side Java, PHP programming I would prefer to use a library/framework that allows me to write SQL queries in ActionScript/MXML.
After a bit of research, I have come across two 3rd party libraries, AS3FlexDB(free) and Adobe Flex Connector for MySQL(45$). Initial tests with AS3FlexDB are promising, but I'm a bit afraid that I'll start to work on the project only to find out that I need a full-fledged back-end after all.
Do any of you have experience with these tools? If so, are they stable enough for production? Are there any such libraries for other relational databases(PostgreSQL in particular)?
Thank you!
Lawrence
this and CRUD like this and read this
AS SQL Lib and another one CRUD
and final happiness
Flex is a UI Framework and is not designed for database interaction. I strongly recommend you reconsider the approach and learn a server side language. You'll thank yourself in the long run.
that said, another option is FlexSQL. This is the first time I've heard of the two you mentioned.
I have no idea why people keep building these libraries. It's like trying to use a screwdriver and nails together. It is, in theory possible but better tools exist.
I agree that server-side db interaction is the way to go, but nobody has mentioned the possibility of web services. Use this article to create a number of web services that your flex client can connect to directly.

Alternative to OpenCF.FTP - stable [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a STABLE FTP library for Compact Framework. I would prefer a library where I don't have to fix or step through any code, but just use as is.
While the free OpenCf.FTP is great, I think it is at this point creating more work for me than my actual coding and I am afraid I don't have time allotted for this.
Any libs you guys have had experience with? Good/bad?
Our Rebex FTP/SSL supports .NET CF since 2006. It shares the codebase with Rebex FTP which is maintained since 2004. I guess it is probable quite stable - for example Microsoft licensed this FTP/SSL component and is using it in Visual Studio 2010 for web deployment. Source code available.
Xceed also has a solid FTP library for .NET CF.
Check out IP*Works from \n Software. Solid and well supported.
What i find the most bizarre about CF is that it lacks FTP functionality. I mean it is a framework for MOBILE apps for God's sake. Perhaps someone from MS could enlighten me on why file transfer functionality is missing from mobile apps framework.
I am sure someone will come with some long and smart sounding explanation. Knock yourself out, it still makes no sense at all.

What are some great open source Visual Basic .net projects to learn from? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've seen similar questions but I'm not limiting myself to any particular type, I just want to have a wide swath I can look at. They can be oriented towards ASP.net or not. I know Visual Basic.net already, but haven't started to write any actual real pieces of software yet (I have written my own web sites from scratch though).
Please also say WHY you believe it is some good source to follow.
I'd say that
DotNetNuke
is a fairly sizable and mature project specifically written in VB.NET.
It's a good one to look at as it's quite a large project, has been around for quite some time, and has a reasonably good architecture to it as well as having a good module/plugin system (to allow other developers to produce plugins for DotNetNuke in any .NET language).
In fact, it's probably the only "enterprise CMS" system written in .NET that's been done in VB.NET rather than C#.
Check out the website, and specifically the sections under "DotNetNuke Architecture" for other benefits.
You could see if the Paint.Net source code is still available. It's more C# than VB AFAIK, would be definitely a great place to look for an experienced .NET coder.

Automatic Documentation of ColdFusion code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have inherited over 600 files of ColdFusion source code running a internal web site for my company. One of my tasks is to "document" it. The code base represents about 5 years of development and there is no technical specification of what it does.
The developers have maintained a change log of each file and there is a consistent header.
My thought is that I can build a dependency map of the various modules and referenced stored procedures to facilitate this documentation by scanning the source files. I have used Doxygen in the past for c++ source code and am wondering if a tool like this exists for ColdFusion.
One output I am investigating is the ability to create a xmind file as means of visualizing the cross dependencies in module inter-relationships.
Thanks in advance,
Chris
The ColdFusion server has built in introspection that outputs javadoc like documentation for any CFC class.
See: http://YourColdfusionServer/CFIDE/componentutils/componentdoc.cfm
However, it requires an RDS login/password for your server. For delivery to third parties, I set up a recursive script that does a cfhttp fetch against the docs for each cfc file, and then compiles the pages to PDF with cfdocument.
You could start with ColdDoc
Also, heres a UML 2 CFC generator.
I guess what you really need is something to reverse engineer the coldfusion code into uml class diagrams. I don't know of anything off the top of my head.
MagicDraw, Objecteering don't seem to do it yet.
After trying to find an answer to this question myself I ended up writing this solution:
ColdDuck
Maybe it is too late for you now but I am just spreading the word.
Murray
Sounds to me like creating your own Xmind or XMI file is the way to go. The XMI file may be more portable between tools, but the last time I looked at doing that the XMI file formats were a bit daunting for the time I had available to work on the solution. If the formatting of the headers consistent is enough to read with ReFind or Find I'd build a script that uses cfdirectory and cffile to walk the code tree and output the file(s).