Languages Cold Fusion Web/Internet/HTML  

Calling a COM DLL from ColdFusion

download download home home  
important code information
author:
Tony Bhimani
minimum requirements:
Calling a COM DLL from ColdFusion description

Example provided by Tony Bhimani (the guy who loves programming)

This example teaches two things.

1. How to create a COM DLL object and register it with Windows.
2. Calling your newly created DLL through ColdFusion.

Directions

callcom.cfm should be placed somewhere on your webserver that uses
ColdFusion. The rest of the files are for the Visual Basic COM DLL object. Uses Apartment model threading (best)

Once the DLL is compiled, you need to register it wth Windows. I suggest copying the DLL to the Windows\System directory. Then use regsvr32.exe to register the DLL.

ex. regsvr32.exe x:\path\filename.dll



Example provided by Tony Bhimani
(the guy who loves programming)


This example teaches two things.

1. How to create a COM DLL object and register it with Windows.
2. Calling your newly created DLL through ColdFusion.


Directions

callcom.cfm should be placed somewhere on your webserver that uses
ColdFusion. The rest of the files are for the Visual Basic COM DLL
object. Uses Apartment model threading (best)

Once the DLL is compiled, you need to register it wth Windows. I
suggest copying the DLL to the Windows\System directory. Then use
regsvr32.exe to register the DLL.

ex. regsvr32.exe x:\path\filename.dll

Any questions should be directed to TonyBhimani@hotmail.com



File List:
@PSC_ReadMe_47_9.txt1Kb
CfmDoc/0b
CfmDoc/callcom.cfm1Kb
VBprj/0b
VBprj/myCFobj.exp1Kb
VBprj/myCFobj.lib3Kb
VBprj/myCFobj.vbp1Kb
VBprj/myCFobj.vbw31b
VBprj/somecls.cls1Kb
readme.txt1Kb

Similar code
Signature Capture Applet (Popularity: ) : Basic signature capture in IE and Firefox so it can be stored to a database etc.
Web based HTML pages editor (Popularity: ) : Using this component user without special knowledge or experience can edit website page content. It is very useful for content manager, webmasters and technical writers.
CF_ICAL (Popularity: ) : This tag automates the creation of iCalendar files (.ics). You can use this tag to create a standards compliant calendar file that will work across different programs such as Microsoft Outlook Calendar, Mozilla Calendar, and iCal.
File Upload (Popularity: ) : Allows users on other pc's upload specified file to your wwwroot folder of your choice, and files of your choice. this could take over for large emails, apply apache HTTP server and dynDNS if your not static.
File Manager (Popularity: ) : This is a simple file manager. It use CFDIRECTORY tag to navigate through ColdFusion server. It is very useful if you do not have RDS access to log files on remote server.
BrowserDetector (Popularity: ) : Detect user's browser type and OS. For example: Browser: IE5, OS: Win98.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 68
version
size in Kb 5
popularity   4434/7916593
user rating 2/10
ad


New Code
Popular Code