Paco

Paco

Francisco T. Martinez

iMilDotCalc Available for Sale

4/5/2011

MilDotCalc is now available on the Mac App Sto...

Continue reading

Farewell

3/29/2005

My son's remains were put to rest yesterday in the Dallas/Fort Worth National Cemetery. It was military burial with full honors. Just before we parted to the hollow ground we were given over medal...

Continue reading

Mil Dot Calculation Software

7/28/2007

As many of you know, I have an interest in long range shooting. Here in Texas, there are quite a few shooting ranges that sport...

Continue reading

Paco's Blog

Guess what this does


SECURITY_ATTRIBUTES SecAttib;
SECURITY_ATTRIBUTES ThreadAttrib;
STARTUPINFO StartUpInfo;
PROCESS_INFORMATION ProcInfo;

ZeroMemory(&SecAttib, sizeof(SECURITY_ATTRIBUTES));
ZeroMemory(&ThreadAttrib, sizeof(SECURITY_ATTRIBUTES));
ZeroMemory(&StartUpInfo, sizeof(STARTUPINFO));
ZeroMemory(&ProcInfo, sizeof(PROCESS_INFORMATION));

StartUpInfo.cb = sizeof(STARTUPINFO);

::CreateProcess(
NULL,
_T("C:\\mono\\Mono-1.0\\bin\\mono.bat C:\\mono\\Mono-1.0\\lib\\prj2make-sharp-gtk.exe"),
&SecAttib,
&ThreadAttrib,
TRUE,
CREATE_NO_WINDOW,
NULL,
NULL,
&StartUpInfo,
&ProcInfo
);


Let me know if anyone is interested :)
Comments: Guess what this does

Ugh!

Now I remember why Win32 programming makes me puke!

Where's Duke when I need him? :-)

My guess is this is equivalent to an exec in Unix?

It starts a child process in the background and keeps the app running at the same time (the launcher doesn't wait around for the child process to finish).

Hey young man! Where's the hungarian notation? I'm gonna tell Kevin on you! :-)

I am so looking forward to hanging with you and Kevin at IFLOSS. I like to spell it like Apple spells iPod. :-D

iFloss, do you? < snort! >

PS - We definitely need to get you to the next OSCON. Imagine Kevin, Erik Dasque, Miggy, yourself, and I, hanging out at Champions, at the SNAP Platform 1.0 launch party. ;-p

What does it do? Security options on a child process?

PJ: I am counting the days, to Puerto Rico and IFLOSS.

Mattew: I will give you a hint. It has to do with launching Mono apps in Win32 when usging the Mono Combined installer. This may be the solution to the number one complaint that Linux programmers have when deploying their applications to Windows.