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

C / C++ / MFC

 
GeneralRe: insert text into notepad Pin
CPallini6-Feb-08 23:23
mveCPallini6-Feb-08 23:23 
GeneralRe: insert text into notepad Pin
<color>Aljechin 6-Feb-08 22:38
<color>Aljechin 6-Feb-08 22:38 
GeneralRe: insert text into notepad Pin
Mark Salsbery7-Feb-08 6:13
Mark Salsbery7-Feb-08 6:13 
GeneralRe: insert text into notepad Pin
baerten6-Feb-08 22:18
baerten6-Feb-08 22:18 
JokeRe: insert text into notepad Pin
CPallini6-Feb-08 22:22
mveCPallini6-Feb-08 22:22 
GeneralRe: insert text into notepad [modified] Pin
Rajkumar R7-Feb-08 0:30
Rajkumar R7-Feb-08 0:30 
Generalfrom resource Pin
josip cagalj6-Feb-08 21:55
josip cagalj6-Feb-08 21:55 
GeneralRe: from resource Pin
Iain Clarke, Warrior Programmer6-Feb-08 22:38
Iain Clarke, Warrior Programmer6-Feb-08 22:38 
You can use FindResource to get an HRSRC handle to your resource.

Then SizeofResource to get it's size, and LoadResource / LockResource to get a handle on it.

Using that information, you can save the binary data to a temp file, then do whatever you like with it - including using APIs to FTP it somewhere.

Searching for those functions will give you their parameters.

Lastly, if you're using MFC, you may need AfxFindResourceHandle(?) to get the HINSTANCE the resource lives in in your app / dlls.

Good luck,

Iain.

Iain Clarke appearing regardless of CPallini.

GeneralRe: from resource Pin
josip cagalj7-Feb-08 0:28
josip cagalj7-Feb-08 0:28 
GeneralRe: from resource Pin
josip cagalj7-Feb-08 1:55
josip cagalj7-Feb-08 1:55 
GeneralRe: from resource Pin
Iain Clarke, Warrior Programmer7-Feb-08 2:14
Iain Clarke, Warrior Programmer7-Feb-08 2:14 
Generalstore and retrieve images from sql database Pin
Paulraj G6-Feb-08 21:45
Paulraj G6-Feb-08 21:45 
GeneralRe: store and retrieve images from sql database Pin
Iain Clarke, Warrior Programmer6-Feb-08 22:44
Iain Clarke, Warrior Programmer6-Feb-08 22:44 
GeneralRe: store and retrieve images from sql database Pin
David Crow7-Feb-08 2:37
David Crow7-Feb-08 2:37 
GeneralRe: store and retrieve images from sql database Pin
Paulraj G7-Feb-08 2:48
Paulraj G7-Feb-08 2:48 
GeneralRe: store and retrieve images from sql database Pin
David Crow7-Feb-08 2:59
David Crow7-Feb-08 2:59 
Generalencryption algorithm using cstring Pin
Francis K Antony6-Feb-08 21:42
Francis K Antony6-Feb-08 21:42 
GeneralRe: encryption algorithm using cstring [modified] Pin
Iain Clarke, Warrior Programmer6-Feb-08 22:50
Iain Clarke, Warrior Programmer6-Feb-08 22:50 
JokeRe: encryption algorithm using cstring Pin
kakan7-Feb-08 0:16
professionalkakan7-Feb-08 0:16 
JokeRe: encryption algorithm using cstring Pin
David Crow7-Feb-08 2:39
David Crow7-Feb-08 2:39 
GeneralRe: encryption algorithm using cstring Pin
David Crow7-Feb-08 2:38
David Crow7-Feb-08 2:38 
GeneralRequire help on self extracting .exe and cab file Pin
H4u326-Feb-08 21:26
H4u326-Feb-08 21:26 
GeneralRe: Require help on self extracting .exe and cab file Pin
Iain Clarke, Warrior Programmer6-Feb-08 23:00
Iain Clarke, Warrior Programmer6-Feb-08 23:00 
GeneralRe: Require help on self extracting .exe and cab file Pin
H4u327-Feb-08 0:10
H4u327-Feb-08 0:10 
GeneralRe: Require help on self extracting .exe and cab file Pin
Waldermort7-Feb-08 1:18
Waldermort7-Feb-08 1:18 

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.