The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > StreetDeck > DigitalMods (Scripts / API)

Reply
 
Thread Tools Display Modes
Old 10-25-2006, 03:27 PM   #16
Newbie
pogitalonx's CarPC Specs
 
Join Date: Aug 2006
Posts: 46
My Photos: (0)
Look up how to create a DLL.

C# is the easiest to use. Unless you are going to be doing something really hardcore that needs to run without .NET installed, don't use C++, especially if you're a beginner.

http://www.google.com/search?hl=en&l...3+creating+dll

Check that out. Then check out how to register it for COM interop after you've made a DLL.
pogitalonx is offline   Reply With Quote
Sponsored Links
Old 10-25-2006, 06:49 PM   #17
Newbie
 
bgallagher's Avatar
 
Join Date: Jul 2006
Location: Oceanside, CA.
Vehicle: 02/Ford/GT Mustang
Posts: 5
My Photos: (0)
COM Interop

I would strongly recommend this book, ".NET and COM: The Complete Interoperability Guide by Adam Nathan" to guide you in the right direction if you plan on creating your DLL with .NET.
bgallagher is offline   Reply With Quote
Old 11-28-2006, 08:21 PM   #18
Newbie
nakinney's CarPC Specs
 
Join Date: Aug 2006
Location: Boise, Idaho
Vehicle: 2005/Nissan/Frontier
Posts: 42
My Photos: (0)
C#.NET COM events

bgallagher, did you ever figure out how to send COM events to vbscript from a DLL written in C#? I have written a Sirius comunication library using C# that is done except for the fact that I'm having difficulty sending the events.

Everything works fine in VB6 and .NET....

Last edited by nakinney : 11-28-2006 at 09:01 PM.
nakinney is offline   Reply With Quote
Old 11-28-2006, 08:52 PM   #19
Newbie
 
bgallagher's Avatar
 
Join Date: Jul 2006
Location: Oceanside, CA.
Vehicle: 02/Ford/GT Mustang
Posts: 5
My Photos: (0)
Quote: Originally Posted by nakinney View Post
bgallagher, did you ever figure out how to send COM events to vbscript from a DLL written in C#? I have a written Sirius comunication library using C# that is done except for the fact that I'm having difficulty sending the events.

Everything works fine in VB6 and .NET....

Regarding the .NET event problem, there are a couple of ways to register events in VBScript but this engine does not support them. Typically, to do this in a scripting environment you would use Wscript's version of
CreateObject that defines a "prefix" to hook the events or you could declare your variables using 'WithEvents'.

I ended up following Chuck's instructions by manually triggering my methods once they are stored and invoking them as needed in my DLL. Now, in .NET when you want to pass parameters by reference when late binding to COM members via IDispatch, you must pass an array with only a single "ParameterModifier" element that is initialized with the number of parameters in the member being invoked. If you need sample code, I can provide.

-Brian
__________________
STIC
bgallagher is offline   Reply With Quote
Old 11-28-2006, 09:28 PM   #20
Newbie
nakinney's CarPC Specs
 
Join Date: Aug 2006
Location: Boise, Idaho
Vehicle: 2005/Nissan/Frontier
Posts: 42
My Photos: (0)
Sample code would be appreciated!
nakinney is offline   Reply With Quote
Sponsored Links
Old 04-06-2008, 05:48 PM   #21
Constant Bitrate
dasaint80's CarPC Specs
 
Join Date: Apr 2004
Location: Philly
Vehicle: 2008/Scion/Xb
Posts: 146
My Photos: (0)
What's a good Book for a basic crash course ???
dasaint80 is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Source Skin Editor for RR lbooker Road Runner 66 04-16-2007 01:51 AM
found in fperrorlog 510SX FP Bug Reports 3 09-21-2006 08:01 AM
Access 2003 help needed veedubya Off Topic 2 05-31-2006 06:49 PM
Bug Reports 1.09 frodobaggins FrodoPlayer 279 10-22-2004 10:24 PM
Bug Reports frodobaggins FrodoPlayer 168 10-16-2004 12:25 AM


All times are GMT -5. The time now is 06:42 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics