Some people are probably thinking "Matty, your crazy. Coupling
is how programs do things; there is no way around it!" Well...
all I have to say is its time to put on your big girl panties
and grasp the larger picture.
All software projects grow until they are abandoned. The more
flexible the project--th…
is how programs do things; there is no way around it!" Well...
all I have to say is its time to put on your big girl panties
and grasp the larger picture.
All software projects grow until they are abandoned. The more
flexible the project--th…
It is impossible to write any non-trivial software without having to deal with
some variant of coupling. Even simple applications need to be coupled against
standard OS or Framework functionality to achieve many tasks.
Coupling is the action of having two independent entities where; for one to
function…
some variant of coupling. Even simple applications need to be coupled against
standard OS or Framework functionality to achieve many tasks.
Coupling is the action of having two independent entities where; for one to
function…
Hello fellow developers! I'm working a project where I can share info with
the public again so I figured I would restart my developer journal.
I've been tasked with re-architecting a large project. The project grew
'organically' and has evolved into a large tangled mess. At this point it is
impossible …
the public again so I figured I would restart my developer journal.
I've been tasked with re-architecting a large project. The project grew
'organically' and has evolved into a large tangled mess. At this point it is
impossible …
This is one of the most annoying issues when coping with installers.
At least its better than "your boned, good luck finding it;" however,
is pretty frustrating.
Luckily, for once, it actually put an error in the eve…
At least its better than "your boned, good luck finding it;" however,
Error 1935. An error occured during the installation of assembly component
{} HRESULT:
is pretty frustrating.
Luckily, for once, it actually put an error in the eve…
If you've been following my manifest journal entries, then at this point you
will have everything you need to use winsxs/fusion--save one major problem: to
place files into \windows\winsxs you have to be running from a .msi installer.
The the days of xcopy and regsvr32 are officially over.
I've found …
will have everything you need to use winsxs/fusion--save one major problem: to
place files into \windows\winsxs you have to be running from a .msi installer.
The the days of xcopy and regsvr32 are officially over.
I've found …
Anyone, like me, who started off in the land of "C" or before
stl really got standardized probably uses, or has legacy code that has strtok
for tokenization.
On Unix/Mac platforms--strtok has been replaced by strsep.
To me, this is more for convenience: strsep is smart enough to know
to skip double deli…
stl really got standardized probably uses, or has legacy code that has strtok
for tokenization.
On Unix/Mac platforms--strtok has been replaced by strsep.
To me, this is more for convenience: strsep is smart enough to know
to skip double deli…
Revision control software is one of the most important tools a developer will ever use.
If you on windows and developing alone, microsoft source safe (VSS) will often be all you need to use.
VSS uses the SMB protocol for transferring files and as such, is not suitable for access across networks.
There…
If you on windows and developing alone, microsoft source safe (VSS) will often be all you need to use.
VSS uses the SMB protocol for transferring files and as such, is not suitable for access across networks.
There…
I've you've been following my posts at this point you are almost
ready to install as many versions of your application on a system as you want.
Ready for another speed bump?
WinSxS is really only appropriate for compiled code:
You will have to change your distribution to place files in a versioned
locat…
ready to install as many versions of your application on a system as you want.
Ready for another speed bump?
WinSxS is really only appropriate for compiled code:
You will have to change your distribution to place files in a versioned
locat…
If you are writing an application in c++ application in visual studio you will
typically be linking against the "microsoft c runtime."
If you look in your windows\system32 folder you will see a few of these.
typically be linking against the "microsoft c runtime."
If you look in your windows\system32 folder you will see a few of these.
...
Directory of C:\Windows\System32
07/13/2009 09:15 PM 149,019 crtdll.dll
07/13/200…
[Bear with my, I'm journaling this as I debug... we will find the solution
together, since I won't have time to do a post edit on this entry.]
As powerful as WinSxS is, its not without its pitfalls. After adding a new
component to our install, I was hit with the application failing to start,
and this i…
together, since I won't have time to do a post edit on this entry.]
As powerful as WinSxS is, its not without its pitfalls. After adding a new
component to our install, I was hit with the application failing to start,
and this i…
Manifests are loaded two ways: by the OS loader, and manually. They can
either be embedded or the can be on the file system. For MFC Dll's MS
decided that it would manually be managed by the MFC state source. (See my
entry from last week if you missed it.)
It can be argued MFC and COM are legacy, but …
either be embedded or the can be on the file system. For MFC Dll's MS
decided that it would manually be managed by the MFC state source. (See my
entry from last week if you missed it.)
It can be argued MFC and COM are legacy, but …
This entry is a little out of order for my manifest discussion; however,
I've finally mastered this monstrosity and its a good time to share the
the wealth. To do a winsxs install on Vista or 7 MS requires you to
sign with a trusted 2048bit cert.
This is a MAJOR problem, and is probably the reason that…
I've finally mastered this monstrosity and its a good time to share the
the wealth. To do a winsxs install on Vista or 7 MS requires you to
sign with a trusted 2048bit cert.
This is a MAJOR problem, and is probably the reason that…
The visual studio ide provides limited support for Reg Free COM generation but
its not really a complete solution. I decided to bail on using it. Unfortunately
this moves a lot of code to the prebuild, postbuild, and external batch files.
First things first... You have to understand that a Reg Free …
its not really a complete solution. I decided to bail on using it. Unfortunately
this moves a lot of code to the prebuild, postbuild, and external batch files.
First things first... You have to understand that a Reg Free …
First, you cannot understand manifests without understanding the Activation
Context (ActCtx) API. I'll go into more details later, but the ActCtx API
subverts ::LoadLibrary, ::CoCreateInstance and a couple other windows functions
that deal with loading libraries and resources.
This allows a module…
Context (ActCtx) API. I'll go into more details later, but the ActCtx API
subverts ::LoadLibrary, ::CoCreateInstance and a couple other windows functions
that deal with loading libraries and resources.
This allows a module…
There are a few types of manifest formats that I understand: Application,
Assembly, SxS Assembly, and Dependency.
Application manifests will usually appear as "myprogram.exe.manifest" or
embedded in the exe as an RT_MANIFEST (more on this later).
Assembly manifests are analogous to Application manif…
Assembly, SxS Assembly, and Dependency.
Application manifests will usually appear as "myprogram.exe.manifest" or
embedded in the exe as an RT_MANIFEST (more on this later).
Assembly manifests are analogous to Application manif…
.NET has taken over much of Windows development; however, for those of us that
have large applications in COM we can't simply jump ship. COM/C++ is still a
valid development platform. The major drawback of COM was actually once one of
its selling points: there can only be one component on a system …
have large applications in COM we can't simply jump ship. COM/C++ is still a
valid development platform. The major drawback of COM was actually once one of
its selling points: there can only be one component on a system …
Advertisement
Popular Blogs
Advertisement