Search found 52 matches

by Michael Korolev
Thu Apr 23, 2009 2:02 pm
Forum: Coding Questions
Topic: Generation of embedded thumbnails in JPEG images
Replies: 0
Views: 808

Generation of embedded thumbnails in JPEG images

Who knows, how I can generate and insert EXIF thumbnail into JPEG image? :cry:
by Michael Korolev
Sun Jul 13, 2008 5:28 pm
Forum: Tricks 'n' Tips
Topic: IMAPIv2 for Vista
Replies: 58
Views: 39501

Works! I didn't know that I need to define drive letter, I thought, this code enumerating them all :D. How I can thank you!?

One thing is confusing that to know a drive letter I need to write 278 strings! I afraid to look at this code in C++ :shock:

So, user need to have minimun WinXP SP2 with ...
by Michael Korolev
Sun Jul 13, 2008 3:58 pm
Forum: Tricks 'n' Tips
Topic: IMAPIv2 for Vista
Replies: 58
Views: 39501

I know. But line 11. I testing on Win Vista SP1. Checked with PureBasic 4.02 and 4.20
by Michael Korolev
Sun Jul 13, 2008 3:07 pm
Forum: Tricks 'n' Tips
Topic: IMAPIv2 for Vista
Replies: 58
Views: 39501

Damn, IMAPI is too difficult for me :? . No, Invalid memory access in line 11 :(
by Michael Korolev
Sun Jul 13, 2008 4:26 am
Forum: Tricks 'n' Tips
Topic: IMAPIv2 for Vista
Replies: 58
Views: 39501

Michael Korolev wrote:sfs_Get_VariantString() function is absent everywhere: in Droopy and in include file :?:
by Michael Korolev
Sun Jul 13, 2008 12:24 am
Forum: Tricks 'n' Tips
Topic: IMAPIv2 for Vista
Replies: 58
Views: 39501

sfs_Get_VariantString() function is absent everywhere, in Droopy and in include file :?:
by Michael Korolev
Sat Jul 12, 2008 11:43 pm
Forum: Tricks 'n' Tips
Topic: IMAPIv2 for Vista
Replies: 58
Views: 39501

ax_Uni2Ansi() is not a function and bla-bla-bla.. when I declared it, this appeared: sfs_Get_VariantString() is not a function, e.t.c.
by Michael Korolev
Sat Jul 12, 2008 11:49 am
Forum: Tricks 'n' Tips
Topic: IMAPIv2 for Vista
Replies: 58
Views: 39501

Hi. Is there way to know media type using not only imapi v2? How I can link media type info with drive letter? Piece of code will be helpful )
by Michael Korolev
Mon Sep 03, 2007 4:07 pm
Forum: Coding Questions
Topic: Disabling of CD autorun. TEMPORARY. [Resolved]
Replies: 8
Views: 3069

Hmm.. that way works not always :(

More exact way:

Code: Select all

keybd_event_(#VK_SHIFT,0,0,0)
Delay(10000)
keybd_event_(#VK_SHIFT,0,#KEYEVENTF_KEYUP,0)
Works great :)
by Michael Korolev
Sun Sep 02, 2007 7:47 pm
Forum: Coding Questions
Topic: Disabling of CD autorun. TEMPORARY. [Resolved]
Replies: 8
Views: 3069

Disabling of CD autorun. TEMPORARY. [Resolved]

Thanks guys, all works correct.
by Michael Korolev
Sun Sep 02, 2007 12:20 pm
Forum: Coding Questions
Topic: Disabling of CD autorun. TEMPORARY. [Resolved]
Replies: 8
Views: 3069

WTF? And how I can translate it to PB? What a stupid programming language... Dear Bill Gates, it was necesary to do it so difficult to understand???
by Michael Korolev
Sun Sep 02, 2007 7:35 am
Forum: Coding Questions
Topic: Disabling of CD autorun. TEMPORARY. [Resolved]
Replies: 8
Views: 3069

Disabling of CD autorun. TEMPORARY. [Resolved]

Shit, I have this problem.

It is necessary, that at insert of a CD there was no autorun window. But don't disable it from registry, that requires system restart. I need to disable autorun temporarily, while my program is running...

At first I thought, that by PostMessage_() I have to send SHIFT ...
by Michael Korolev
Tue Aug 28, 2007 8:09 am
Forum: Coding Questions
Topic: Get handle of console buffer?
Replies: 4
Views: 1274

Äà ÿ çàðåãèí íà purebasic.spb.ru :). Äà íåò, âîâñå íåò, ìíå êàæåòñÿ òóò õîðîøî îòíîñÿòñÿ êî âñåì.. ìíå âñåãäà îòâå÷àëè ïî êðàéíåé ìåðå. Ïðîñòî òóò îòâå÷àþò áûñòðåå.

À msdn ÿ ïðîñòî íåíàâèæó. Õðåí ÷å íàéäåøü è âåñèò ñòàíèöà òîííû êèëîáàéò..

PB, it is national secret :). Do not pay attention...
by Michael Korolev
Mon Aug 27, 2007 2:35 pm
Forum: Coding Questions
Topic: Get handle of console buffer?
Replies: 4
Views: 1274

Get handle of console buffer?

How i can get handle of console buffer created by anoter program (ex: cmd.exe)? And do manipulations with it?

Even, how I can get handle of buffer, created by Purebasic during launching console exe?
by Michael Korolev
Fri Aug 24, 2007 3:46 pm
Forum: Coding Questions
Topic: Error of RunProgram() with #PB_Program_Hide
Replies: 3
Views: 1220

No reading. Just launch...