472,334 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,334 software developers and data experts.

Canon SDK & .NET

Greetings!
Trying to get the CANON Camera SDK to work with .Net - works well in
VB6, and Canon does say that they're not supporting .Net, but I've seen
messages out here from people who are working with it. So....

I took a working VB6 app and let the wizard convert it to .Net. When
execurint cdStartSDK, I get an 'unable to load dll' error. I've tried
putting the CDSDK.dll in the all folder levels of the app, with no
change.

Anyone working with this, how do you have it set up? I'm using
version 6.1.2 of the SDK.

Thanks, ......Bill

Nov 21 '05 #1
8 8989
Do you have a reference to the dll in your project?

Chris

"Bill Yellin" <wy*****@co.dutchess.ny.us> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Greetings!
Trying to get the CANON Camera SDK to work with .Net - works well in
VB6, and Canon does say that they're not supporting .Net, but I've seen
messages out here from people who are working with it. So....

I took a working VB6 app and let the wizard convert it to .Net. When
execurint cdStartSDK, I get an 'unable to load dll' error. I've tried
putting the CDSDK.dll in the all folder levels of the app, with no
change.

Anyone working with this, how do you have it set up? I'm using
version 6.1.2 of the SDK.

Thanks, ......Bill

Nov 21 '05 #2
No. The dll can't be registered, and in their docs, Canon says that it
just has to be in the app folder. It works fine that way in VB6.

Nov 21 '05 #3
I wasn't asking if it was "registered". I asked if you added a reference to
it in your project. If you can't reference the dll in your project, then I
don't know how your would use it.

Chris

"Bill Yellin" <wy*****@co.dutchess.ny.us> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
No. The dll can't be registered, and in their docs, Canon says that it
just has to be in the app folder. It works fine that way in VB6.

Nov 21 '05 #4
Sorry - I tried adding a reference and I'm told that it's 'not a valid
assembly or COM object'.

Nov 21 '05 #5
Pug
To use the canon sdk you have to reference the sdk by p/invoke methods,
using vs to translate the vb6 example to .net should provide you with a
starting point. I was working on transferring the vb6 example in the v6 sdk
to .net but gave up when they released v7 sdk. It was split into two
libraries for eos and the powershot series with no vb examples and only
support for C. They even mention that they have no plans in developing or
supporting a .net version, which seems a little stupid to me as most
compilers now seem to be for the .net framework.

Steve
"Bill Yellin" <wy*****@co.dutchess.ny.us> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Sorry - I tried adding a reference and I'm told that it's 'not a valid
assembly or COM object'.

Nov 21 '05 #6
Yeah, I've seen that note. That's why I'm using version 6.
Actually, I've gotten past the problem described above by putting the
dll in the app's \bin folder. I can now issue the cdStart SDK command,
and run through the enumeration of the attached cameras (only one, of
course) to fill in the Source_Info structure. Need this to issue the
cdOpenSource command, but it dies there, on a return code of 167772288.

Any ideas?

Stinks not having access to tech support or a decent debug source. The
manual just covers the commands, not errors.

....Bill

Nov 21 '05 #7
Hi,

I have had luck with getting the canon camera sdk to work with
vb.net. Here is a sample in the got dot net web site that works.

http://www.gotdotnet.com/Community/U...8-3ee5ef1b91c0

Ken
------------------------
"Bill Yellin" <wy*****@co.dutchess.ny.us> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Greetings!
Trying to get the CANON Camera SDK to work with .Net - works well in
VB6, and Canon does say that they're not supporting .Net, but I've seen
messages out here from people who are working with it. So....

I took a working VB6 app and let the wizard convert it to .Net. When
execurint cdStartSDK, I get an 'unable to load dll' error. I've tried
putting the CDSDK.dll in the all folder levels of the app, with no
change.

Anyone working with this, how do you have it set up? I'm using
version 6.1.2 of the SDK.

Thanks, ......Bill
Nov 21 '05 #8
Thanks, Ken - I'll check it out out Monday. (Not working tomorrow,
Friday.)

.....Bill

Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DrTebi | last post by:
Hello, I have the following problem: I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link...
0
by: Thomas Scheffler | last post by:
Hi, I runned in trouble using XALAN for XSL-Transformation. The following snipplet show what I mean: <a...
3
by: Michael | last post by:
Hi developers, I downloaded the Canon SDK Version 7.1 and tried to migrate the "RELCTRL" sample to C# (with PInvoke). Almost everything is...
0
by: BILL | last post by:
Camera Sale -Nikon , Canon, Minolta , Sony ,Xcam2 , Fujifilm , http://shopforless.itgo.com/ Camera Sale -Nikon , Canon, Minolta , Sony ,Xcam2...
14
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have...
0
by: robin | last post by:
After the ink cartridge for the Canon Prixma MP 160 have been refilled and test then I press the button Stop / Reset several times but...
0
by: robin | last post by:
PROBLEM i lost my canon mp160 drivers for the printer and scanner. how to i download from the drivers for the printerI lost my start up disk for...
0
by: robin | last post by:
PROBLEM I have a very basic question... how to take black and white print? I am getting colored print even if I press black button on the...
1
by: nowas | last post by:
Hi. Do you know how install printer canon ip3600 to win98 without support drivers for win98?
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.