View: 6306|Reply: 28
|
EDSDK 2.10 canon for 1100D
[Copy link]
|
|
salam forumer sume....
sy nk tanya... kot2 ade sape2 yg da penah wat program tuk canon guna EDSDK 2.10 for live view and save image to PC........
thnx in advance |
|
|
|
|
|
|
|
baru kene sound ngn PM... xdek org tau ke? haishhh... |
|
|
|
|
|
|
|
edsdk? perkataan sdk kat blkng tu mcm familiar - software development kits.
canon mcm bg ko fail2 yg ko perlu gunakan utk bangunkan perisian tu.
kalo x de perisian tu x leh buat la.
so ko baca manual la mcm mn nak guna perisian2 yg canon bg tu.
bila aku sebut perisian ni jgn la ko ingt terus mcm firefox, antivirus, dan ygsewaktu dengannya.
even fail *.dll pun dikira perisian jgk |
|
|
|
|
|
|
|
edsdk? perkataan sdk kat blkng tu mcm familiar - software development kits.
canon mcm bg ko fail2 ...
otai_g Post at 9-1-2012 21:41
ED tu stand for EOS Digital.. aku ade da mende API sume tuh...so cane aku nk phm eh? aku 1st time gune device relate ngn koding...
mcm dlm ni dier tulis... kalo nk capture image... gune la koding no 1....
so lps tu aku nk bt ape? tmbh koding dlm tu ke?? |
|
|
|
|
|
|
|
ED tu stand for EOS Digital.. aku ade da mende API sume tuh...so cane aku nk phm eh? aku 1st tim ...
zienur Post at 10-1-2012 09:17
hmm...
kalo dah ada api /dll tuh suma..
1) add reference
2) just imports/using je lah...
contoh mcm
Imports system.IO -->vb.net
Using System.IO --> c#
3)pastuh guna coding dlm SDK tuh dlm event kita..
Contoh Event Button Click...
guna code grab image yg diberi....
neway;aku pon xpenah try ES Canon DSLR tuh... cuba tempek sket.. nk tgk |
|
|
|
|
|
|
|
Reply 4# zienur
selalunya dlm 1 fail dll tu ada bnyk function. ko kena tau la apa kegunaan setiap function dlm dll tu dan cara nak gunakannya. aku pun x pakar sgt dlm bab api ni ;)
nak senang pakai vb 6.0 jerk. step pertama gi cari buku vb6 api kat mudah.my ;) |
|
|
|
|
|
|
|
edsdk? perkataan sdk kat blkng tu mcm familiar - software development kits.
canon mcm bg ko fail2 ...
otai_g Post at 9-1-2012 21:41
otai wat c++ kan...
selalu kalo wat c++ yg advance sket mcm application yg cantik2 nih .. senang dpt sample kt mana eh?
huhu... sbb dulu belajar x byk sgtt |
|
|
|
|
|
|
|
c++ payah nak dpt source code yg didatangkan dgn gui sekali. susah oo nak buat gui pki c++. aku pun x reti. setakat nak kuar output kat skrin dos itam bleh la aku wat |
|
|
|
|
|
|
|
ni cth........... kalo otai2 phm... ni c++...
xpaham langsung....
so bg aku yg x phm langsung ni cane plak eh??
kene wat dlm vb.net
EdsError startLiveview(EdsCameraRef camera)
{
EdsError err = EDS_ERR_OK;
// Get the output device for the live view image
EdsUInt32 device;
err = EdsGetPropertyData(camera, kEdsPropID_Evf_OutputDevice, 0 , , sizeof(device), &device );
// PC live view starts by setting the PC as the output device for the live view image.
if(err == EDS_ERR_OK)
{
device |= kEdsEvfOutputDevice_PC;
err = EdsSetPropertyData(camera, kEdsPropID_Evf_OutputDevice, 0 , sizeof(device), &device);
}
// A property change event notification is issued from the camera if property settings are made successfully.
// Start downloading of the live view image once the property change notification arrives.
} |
|
|
|
|
|
|
|
skang ni aku ade masalah ngn ni...
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
huhu... ni aku rs nk resign je ni... |
|
|
|
|
|
|
|
koding yg aku nk buat tu aku try amik dr sini...sbb aku zero knowledge psl mende ni...
http://www.overridepro.com/2009/06/28/canon-sdk-live-view/
bile aku run tuk live view kan dier... error ni kuar...
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
please advise... aku da blur giler nih... |
|
|
|
|
|
|
|
hmm...
kalo dah ada api /dll tuh suma..
1) add reference
2) just imports/using je la ...
alam. Post at 10-1-2012 11:23
da import sume da............. tu ade aku tepek coding tuh... skali ngn error...
xlei berpikir ngn baik da ni... cane eh>?? |
|
|
|
|
|
|
|
Reply 10# zienur
ko keje ke student nih? kalo keje nak cerita kat opis aku nih lg maut assignmentnya. dan yg paling penting aku pun x tau mcm mn nak buat |
|
|
|
|
|
|
|
Post Last Edit by alam. at 10-1-2012 13:32
ni cth........... kalo otai2 phm... ni c++...
xpaham langsung....
so bg aku yg x phm langsung ni ...
zienur Post at 10-1-2012 12:46
- EdsError startLiveview(EdsCameraRef camera)
- {
- EdsError err = EDS_ERR_OK;
- // Get the output device for the live view image
- EdsUInt32 device;
- err = EdsGetPropertyData(camera, kEdsPropID_Evf_OutputDevice, 0 , , sizeof(device), &device );
- // PC live view starts by setting the PC as the output device for the live view image.
- if(err == EDS_ERR_OK)
- {
- device |= kEdsEvfOutputDevice_PC;
- err = EdsSetPropertyData(camera, kEdsPropID_Evf_OutputDevice, 0 , sizeof(device), &device);
- }
- // A property change event notification is issued from the camera if property settings are made successfully.
- // Start downloading of the live view image once the property change notification arrives.
- }
Copy the Code
tgh nk paham .. saje nk tgk senang sket nampak |
|
|
|
|
|
|
|
Post Last Edit by alam. at 10-1-2012 13:56
koding yg aku nk buat tu aku try amik dr sini...sbb aku zero knowledge psl mende ni...
bile aku ...
zienur Post at 10-1-2012 12:50
1) utk error nih.. ko dah pastikan suma dll/API... dah ada dlm BIN folder ko???
2) Second ko wat step nih...
- klik " Project" > "{Application} Properties"
- klik "Compile"... pastuh scrolldown bawah sekali... ada button "Advance Compile Options..." klik
- tgk kt "Target CPU" tukar kepada X86...
- rebuild
- run semula
3) pastuh kau bgtaw apa error kuar?
.. hope aku pon dpt belajar wat benda nih.. leh jual kt kedai2 gambar kee.. kannn.... |
|
|
|
|
|
|
|
c++ payah nak dpt source code yg didatangkan dgn gui sekali. susah oo nak buat gui pki c++. aku pun ...
otai_g Post at 10-1-2012 12:27
hah betol2.... susah nk cari source code yg powerfull.. kalo dpt ke saya pon.. bukan leh paham sgt c++..
betol2 bahasa yg fully code by human... hik3.. skang nih dh moden.. drag drop je... dah bleh wat macam2..
dulu zaman belajar.. selalu gak usha forum cari nih...
penah perasan nama shahnazz.. xsilap dia penah wat games kepala singa guna c++.. skang mane ?? dh ilang?? |
|
|
|
|
|
|
|
1) utk error nih.. ko dah pastikan suma dll/API... dah ada dlm BIN folder ko???
2) Second ko ...
alam. Post at 10-1-2012 13:53
got the same error... |
|
|
|
|
|
|
|
tgh nk paham .. saje nk tgk senang sket nampak
alam. Post at 10-1-2012 13:30
alamak...sori2... heheh thx |
|
|
|
|
|
|
|
Reply zienur
ko keje ke student nih? kalo keje nak cerita kat opis aku nih lg maut assignmentny ...
otai_g Post at 10-1-2012 13:22
keje.... hmm... sure la maut korang nyer assignment...
sini stakat wat web/standalone aku lei la...
tibe2 kene bercakap bersama device... aku blur... |
|
|
|
|
|
|
|
got the same error...
zienur Post at 10-1-2012 14:06
same error!!!!!!!!!?????????!...
x banyak yg boleh tolong...
sebab xcukup maklumat, xde apa yg boleh di tgk.. or debug sendiri.... |
|
|
|
|
|
|
| |
|