Thank you very much! -----Original Message----- From: Carl Cedergren [mailto:asperon@xxxxxxx] Sent: Friday, May 02, 2003 11:14 AM To: shell-coding@xxxxxxxxxxxxx Subject: [shell-coding] Re: Newbie question : Use Microsoft's DDE server If you grab the upcoming release of core (www.coreshell.info), it will contain my vb implementation of TDEWolfs code. /asperon ><?xml version="1.0" ?> >Jaykul, > >my app is built with VB6 :o((. Do you know af any VB implementations? > >Also, I 'd like to make sure that i understand what the code is doing. It >seems that SHDOCVW.DLL is used to access native windows shell dde >functionality. am i way off here? > >i appreciate your help >thank you >gd > >-----Original Message----- >From: Jaykul [mailto:Jaykul@xxxxxxxxxxxxx] >Sent: Thursday, May 01, 2003 9:40 PM >To: shell-coding@xxxxxxxxxxxxx >Subject: [shell-coding] Re: Newbie question : Use Microsoft's DDE server > > >> ncpa.cpl seems to be the only control panel applet that is affected by >the new shell. > >I can ABSOLUTELY confirm that what you need is a DDE server ... >However, thanks to tdewolf, I have a better solution ... > >Just run Microsoft's DDE server! >NOTE: this source is Copyright Tim DeWolf and the GeoShell development >team, 2003 >It is released ONLY under the GPL license, if you want to use it in a NON >GPL shell, you MUST get permission from tdewolf. (#geodev on >irc.freenode.net, or timdewolf [at] hotmail [dot] com ) > > >// Declares >HMODULE hmodShDocVw; >void (__stdcall *ShellDDEInit_shdocvw)(bool bInit) = 0; > >// Initialize DDE >hmodShDocVw = LoadLibrary("SHDOCVW.DLL"); >if(hmodShDocVw) { > ShellDDEInit_shdocvw = (void (__stdcall *)(bool)) >GetProcAddress(hmodShDocVw, (LPSTR) 118); >} >if(ShellDDEInit_shdocvw) { > ShellDDEInit_shdocvw(true); >} else { > MessageBox(NULL, "Unable to start shell DDE. Can't find procedure", >"Error", MB_ICONERROR); >} > > >// Shutdown DDE >if(ShellDDEInit_shdocvw) >{ > ShellDDEInit_shdocvw(false); > FreeLibrary(hmodShDocVw); >} > > >-- >qotd: Only those who attempt the absurd can achieve the impossible. >:: Jaykul > >-- >::Jaykul >Jaykul@xxxxxxxxxxxxx > <http://fragmentized.com/jaykul> http://fragmentized.com/jaykul > > >__________________________________________________ >Subscription options and archive: >http://www.freelists.org/list/shell-coding __________________________________________________ Subscription options and archive: http://www.freelists.org/list/shell-coding __________________________________________________ Subscription options and archive: http://www.freelists.org/list/shell-coding