Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: random numbers rand() Pin
David Crow25-Jun-03 7:01
David Crow25-Jun-03 7:01 
GeneralRe: random numbers rand() Pin
johnstonsk25-Jun-03 7:17
johnstonsk25-Jun-03 7:17 
GeneralRe: random numbers rand() Pin
Jamie Hale25-Jun-03 8:09
Jamie Hale25-Jun-03 8:09 
GeneralRe: random numbers rand() Pin
johnstonsk25-Jun-03 9:00
johnstonsk25-Jun-03 9:00 
GeneralRe: random numbers rand() [edited] Pin
Jamie Hale25-Jun-03 9:16
Jamie Hale25-Jun-03 9:16 
GeneralExecutable Creation time Pin
gbenguita25-Jun-03 6:27
gbenguita25-Jun-03 6:27 
GeneralRe: Executable Creation time Pin
Rob Caldecott25-Jun-03 6:31
Rob Caldecott25-Jun-03 6:31 
GeneralHelp with EDCN2000N CCD Camera Software.... Pin
tonicito25-Jun-03 6:25
tonicito25-Jun-03 6:25 
Hello guys. I'm new in this place and I'm new in the VC++ programming world (although I have tackled on C++ before). Well the thing is that we have 2 CCD cameras, specifically 2 EDCN2000N Cameras from Electrim Corp. and everything is fine and cool but ... they gave us a software that allows us to view the output of 1 camera and change some options, etc. but the most important thing is that it has a Save function (to save the image).

Now, the thing is that we want to have output from the 2 cameras (since we have 2 connected to the same interface card.) We contacted them and they sent us the source code for the new software and it works flawlessly but ... IT DOESN'T HAVE A SAVE FUNCTION!!!!! (you can look at the code in a zip file here: http://www.prtc.net/~eagle1/soft.zip ).

Now, I don't know much about VC++ so I sent them another email and they sent me a code that has a save function (to save to tiff) but again, it works for one camera at the time and I have tried like to copy and paste the code to save as tiff file to the program with multiple camera support but it does nothing (http://www.prtc.net/~eagle1/readedcn.zip) .

So question is, is there an easy way to save those images using the code from the soft.zip and readedcn.zip I posted?

I was also looking at CxImage (or something similar) but ... it seems difficult to use! I made changes in the .rc file and added a Save button and in the sdk_mh.c file I added a case for IDM_Save but I just put a message box to know it was working but,

HOW do I Save the Window contents (i.e. the image) to a Tiff file or jpeg? Can you help me with this?

Thanks in advance!!

GeneralRe: Help with EDCN2000N CCD Camera Software.... Pin
tonicito27-Jun-03 5:24
tonicito27-Jun-03 5:24 
Questionbug or my fault? Pin
nothingremained25-Jun-03 6:22
nothingremained25-Jun-03 6:22 
AnswerRe: bug or my fault? Pin
David Crow25-Jun-03 7:08
David Crow25-Jun-03 7:08 
QuestionMemory leak in CMapStringToOb - Why? Pin
pf725-Jun-03 5:53
pf725-Jun-03 5:53 
AnswerRe: Memory leak in CMapStringToOb - Why? Pin
pf725-Jun-03 8:45
pf725-Jun-03 8:45 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
basementman25-Jun-03 11:27
basementman25-Jun-03 11:27 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf725-Jun-03 11:58
pf725-Jun-03 11:58 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf726-Jun-03 3:52
pf726-Jun-03 3:52 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
John M. Drescher26-Jun-03 23:27
John M. Drescher26-Jun-03 23:27 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf727-Jun-03 4:17
pf727-Jun-03 4:17 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
John M. Drescher27-Jun-03 9:47
John M. Drescher27-Jun-03 9:47 
GeneralRe: Memory leak in CMapStringToOb - Why? Pin
pf727-Jun-03 11:29
pf727-Jun-03 11:29 
Generalmaximum characters in edit box Pin
skinnyreptile25-Jun-03 5:36
skinnyreptile25-Jun-03 5:36 
GeneralRe: maximum characters in edit box Pin
Rob Caldecott25-Jun-03 5:40
Rob Caldecott25-Jun-03 5:40 
GeneralRe: maximum characters in edit box Pin
skinnyreptile25-Jun-03 5:48
skinnyreptile25-Jun-03 5:48 
GeneralRTTI/dynamic_cast Pin
Rob Caldecott25-Jun-03 5:08
Rob Caldecott25-Jun-03 5:08 
GeneralRe: RTTI/dynamic_cast Pin
John M. Drescher25-Jun-03 5:13
John M. Drescher25-Jun-03 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.